Platforms to show: All Mac Windows Linux Cross-Platform
NSRangeMBS class
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | Cocoa | MBS Main Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
- 4 properties
- 10 methods
- method Constructor
- method Constructor(Location as UInt32, Length as UInt32)
- method Constructor(p as Ptr)
- method Constructor(s as string)
- method Equal(other as NSRangeMBS) as boolean
- method Intersection(other as NSRangeMBS) as NSRangeMBS
- method LocationInRange(location as UInt32) as boolean
- method Operator_Convert as String
- method String as String
- method Union(other as NSRangeMBS) as NSRangeMBS
This class has no sub classes.
Blog Entries
- Using writing tools in Xojo for Apple Intelligence
- Styled Text for Labels in your Xojo iOS app
- MBS Xojo / Real Studio Plugins, version 16.1pr1
- Tip of the day: Adding links to Textarea on OS X
- Apply fonts to font PopupMenu
- Nearly 2000 new Functions in the 9.6 prerelease of MBS
- MBS REALbasic plug-in 9.6
Xojo Developer Magazine
Some useful global functions for this class:
- NSMakeRangeMBS(location as UInt32, length as UInt32) as NSRangeMBS
Some methods using this class:
- MLMultiArrayShapeConstraintMBS.sizeRangeForDimension as NSRangeMBS()
- NSAttributedStringMBS.lineRangeForRange(range as NSRangeMBS) as NSRangeMBS
- NSLayoutManagerMBS.lineFragmentRectForGlyphAtIndex(glyphIndex as Integer, byref effectiveRange as NSRangeMBS, withoutAdditionalLayout as boolean) as NSRectMBS
- NSMutableAttributedStringMBS.addAttribute(name as string, value as Variant, range as NSRangeMBS)
- NSMutableCharacterSetMBS.removeCharactersInRange(aRange as NSRangeMBS)
- NSSpellCheckerMBS.requestCandidatesForSelectedRange(selectedRange as NSRangeMBS, stringToCheck as string, types as Int64 = -1, options as Dictionary = nil, tag as Variant = nil) as Integer
- NSSpellCheckerMBS.requestCheckingOfString(stringToCheck as string, range as NSRangeMBS, types as Int64 = -1, options as Dictionary = nil, tag as Variant = nil) as Integer
- NSTableViewMBS.rowsInRect(rect as NSRectMBS) as NSRangeMBS
- NSTextCheckingResultMBS.dateCheckingResult(Range as NSRangeMBS, date as DateTime, timeZone as NSTimeZoneMBS, duration as double) as NSTextCheckingResultMBS
- NSTextStorageMBS.editedRange as NSRangeMBS
Some properties using for this class:
- AVSpeechSynthesisMarkerMBS.textRange as NSRangeMBS
- MLImageSizeConstraintMBS.pixelsWideRange as NSRangeMBS
- MLSequenceConstraintMBS.countRange as NSRangeMBS
- NSAttributedStringMBS.Range as NSRangeMBS
- NSLinguisticValueMBS.sentenceRange as NSRangeMBS
- NSLinguisticValueMBS.tokenRange as NSRangeMBS
- NSTextCheckingResultMBS.range as NSRangeMBS
- SCNGeometryElementMBS.primitiveRange as NSRangeMBS
- SFTranscriptionSegmentMBS.substringRange as NSRangeMBS
- NSTextMBS.selectedRange as NSRangeMBS
Some events using this class:
- AVSpeechSynthesizerMBS.willSpeakRangeOfSpeechString(characterRange as NSRangeMBS, utterance as AVSpeechUtteranceMBS)
- DesktopNSTextViewControlMBS.shouldChangeTextInRange(affectedCharRange as NSRangeMBS, replacementString as string) as boolean
- DesktopOSAScriptControlMBS.shouldChangeTextInRange(affectedCharRange as NSRangeMBS, replacementString as string) as boolean
- NSSpellCheckerMBS.requestCandidatesForSelectedRangeCompleted(sequenceNumber as Integer, candidates() as NSTextCheckingResultMBS, stringToCheck as String, selectedRange as NSRangeMBS, checkingTypes as Int64, options as Dictionary, tag as Variant)
- NSSpellCheckerMBS.requestCheckingOfStringCompleted(sequenceNumber as Integer, results() as NSTextCheckingResultMBS, orthography as NSOrthographyMBS, wordCount as Integer, stringToCheck as String, Range as NSRangeMBS, checkingTypes as Int64, options as Dictionary, tag as Variant)
- NSTextViewControlMBS.shouldChangeTextInRange(affectedCharRange as NSRangeMBS, replacementString as string) as boolean
- NSTextViewMBS.shouldChangeTextInRange(affectedCharRange as NSRangeMBS, replacementString as string) as boolean
- OSAScriptControlMBS.shouldChangeTextInRange(affectedCharRange as NSRangeMBS, replacementString as string) as boolean
Some examples using this class:
- /Mac64bit/CoreML/CoreML Model Info
- /MacCocoa/Data Detectors
- /MacCocoa/Print RTF via NSGraphics
- /MacControls/HUDPopupMenu
- /MacControls/NSTextField Focus on KeyDown
- /MacControls/NSTextView Selection
- /MacControls/TextEdit MBS
- /MacFrameworks/Cocoa Controls/Cocoa Controls
- /MacFrameworks/Cocoa Controls/Custom NSView
- /Win/TextArea Strikeout
Some related classes:
- class AVSpeechSynthesisMarkerMBS
- class AVSpeechSynthesizerMBS
- class MLSequenceConstraintMBS
- class NSLayoutManagerMBS
- class NSMutableCharacterSetMBS
- class NSRectMBS
- class NSSpellCheckerMBS
- class NSTableViewMBS
- class NSTimeZoneMBS
- class SFTranscriptionSegmentMBS
The items on this page are in the following plugins: MBS Main Plugin.
NSProgressIndicatorMBS - NSRectMBS