pub unsafe trait NSObjectProtocol {
// Provided methods
fn isEqual(&self, other: Option<&AnyObject>) -> bool
where Self: Sized + Message { ... }
fn hash(&self) -> usize
where Self: Sized + Message { ... }
fn isKindOfClass(&self, cls: &AnyClass) -> bool
where Self: Sized + Message { ... }
fn is_kind_of<T>(&self) -> bool
where T: ClassType,
Self: Sized + Message { ... }
fn isMemberOfClass(&self, cls: &AnyClass) -> bool
where Self: Sized + Message { ... }
fn respondsToSelector(&self, aSelector: Sel) -> bool
where Self: Sized + Message { ... }
fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
where Self: Sized + Message { ... }
fn description(&self) -> Retained<NSObject>
where Self: Sized + Message { ... }
fn debugDescription(&self) -> Retained<NSObject>
where Self: Sized + Message { ... }
fn isProxy(&self) -> bool
where Self: Sized + Message { ... }
fn retainCount(&self) -> usize
where Self: Sized + Message { ... }
}Expand description
The methods that are fundamental to most Objective-C objects.
This represents the NSObject protocol.
You should rarely need to use this for anything other than as a trait
bound in extern_protocol!, to allow your protocol to implement Debug
Hash, PartialEq and Eq.
This trait is exported under objc2_foundation::NSObjectProtocol, you
probably want to use that path instead.
§Safety
Like with other protocols, the type must represent a class
that implements the NSObject protocol.
Provided Methods§
Sourcefn isEqual(&self, other: Option<&AnyObject>) -> bool
fn isEqual(&self, other: Option<&AnyObject>) -> bool
Check whether the object is equal to an arbitrary other object.
Most objects that implement NSObjectProtocol also implements the
PartialEq trait. If the objects you are comparing are of the same
type, you likely want to use that instead.
See Apple’s documentation for details.
Sourcefn hash(&self) -> usize
fn hash(&self) -> usize
An integer that can be used as a table address in a hash table structure.
Most objects that implement NSObjectProtocol also implements the
Hash trait, you likely want to use that instead.
See Apple’s documentation for details.
Sourcefn isKindOfClass(&self, cls: &AnyClass) -> bool
fn isKindOfClass(&self, cls: &AnyClass) -> bool
Check if the object is an instance of the class, or one of its subclasses.
See AnyObject::downcast_ref or Retained::downcast if your
intention is to use this to cast an object to another, and see
Apple’s documentation for more details on what you may
(and what you may not) do with this information in general.
Sourcefn is_kind_of<T>(&self) -> bool
👎Deprecated: use isKindOfClass directly, or cast your objects with AnyObject::downcast_ref
fn is_kind_of<T>(&self) -> bool
isKindOfClass directly, or cast your objects with AnyObject::downcast_refCheck if the object is an instance of the class type, or one of its subclasses.
See isKindOfClass for details.
Sourcefn isMemberOfClass(&self, cls: &AnyClass) -> bool
fn isMemberOfClass(&self, cls: &AnyClass) -> bool
Check if the object is an instance of a specific class, without checking subclasses.
Note that this is rarely what you want, the specific class of an
object is considered a private implementation detail. Use
isKindOfClass instead to check whether an
object is an instance of a given class.
See Apple’s documentation for more details.
Sourcefn respondsToSelector(&self, aSelector: Sel) -> bool
fn respondsToSelector(&self, aSelector: Sel) -> bool
Check whether the object implements or inherits a method with the given selector.
See Apple’s documentation for more details.
If using this for availability checking, you might want to consider
using the available! macro instead, as it is often more
performant than this runtime check.
Sourcefn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
Check whether the object conforms to a given protocol.
See Apple’s documentation for details.
Sourcefn description(&self) -> Retained<NSObject>
fn description(&self) -> Retained<NSObject>
A textual representation of the object.
The returned class is NSString, but since that is defined in
objc2-foundation, and NSObjectProtocol is defined in objc2, the
declared return type is unfortunately restricted to be NSObject.
It is always safe to cast the return value of this to NSString.
You might want to use the Debug impl of the object
instead, or if the object implements Display, the
to_string method.
§Example
use objc2::rc::Retained;
use objc2_foundation::{NSObject, NSObjectProtocol, NSString};
// SAFETY: Descriptions are always `NSString`.
let desc: Retained<NSString> = unsafe { Retained::cast_unchecked(obj.description()) };
println!("{desc:?}");Sourcefn debugDescription(&self) -> Retained<NSObject>
fn debugDescription(&self) -> Retained<NSObject>
A textual representation of the object to use when debugging.
Like with description, the return type of this
is always NSString.
LLVM’s po command uses this property to create a textual
representation of the object. The default implementation returns the
same value as description. Override either to provide custom object
descriptions.
Sourcefn isProxy(&self) -> bool
fn isProxy(&self) -> bool
Check whether the receiver is a subclass of the NSProxy root class
instead of the usual NSObject.
See Apple’s documentation for details.
§Example
use objc2::runtime::{NSObject, NSObjectProtocol};
let obj = NSObject::new();
assert!(!obj.isProxy());Sourcefn retainCount(&self) -> usize
fn retainCount(&self) -> usize
The reference count of the object.
This can rarely be useful when debugging memory management issues, though beware that in most real-world scenarios, your object may be retained by several autorelease pools, especially when debug assertions are enabled, so this value may not represent what you’d expect.
§Example
use objc2::ClassType;
use objc2::runtime::{NSObject, NSObjectProtocol};
let obj = NSObject::new();
assert_eq!(obj.retainCount(), 1);
let obj2 = obj.clone();
assert_eq!(obj.retainCount(), 2);
drop(obj2);
assert_eq!(obj.retainCount(), 1);Trait Implementations§
Source§impl ProtocolType for dyn NSObjectProtocol
impl ProtocolType for dyn NSObjectProtocol
impl<T> ImplementedBy<T> for dyn NSObjectProtocol
impl<T> ImplementedBy<T> for dyn NSObjectProtocol + Send
impl<T> ImplementedBy<T> for dyn NSObjectProtocol + Sync + Send
impl<T> ImplementedBy<T> for dyn NSObjectProtocol + Sync
Implementors§
impl NSObjectProtocol for NSAffineTransform
NSAffineTransform only.impl NSObjectProtocol for NSAppleEventDescriptor
NSAppleEventDescriptor only.impl NSObjectProtocol for NSAppleEventManager
NSAppleEventManager only.impl NSObjectProtocol for NSAppleScript
NSAppleScript only.impl NSObjectProtocol for NSArchiver
NSArchiver only.impl NSObjectProtocol for NSAssertionHandler
NSException only.impl NSObjectProtocol for NSAttributedString
NSAttributedString only.impl NSObjectProtocol for NSAttributedStringMarkdownParsingOptions
NSAttributedString only.impl NSObjectProtocol for NSAttributedStringMarkdownSourcePosition
NSAttributedString only.impl NSObjectProtocol for NSAutoreleasePool
NSAutoreleasePool only.impl NSObjectProtocol for NSBackgroundActivityScheduler
NSBackgroundActivityScheduler only.impl NSObjectProtocol for NSBlockOperation
NSOperation only.impl NSObjectProtocol for NSBundle
NSBundle only.impl NSObjectProtocol for NSBundleResourceRequest
NSBundle only.impl NSObjectProtocol for NSByteCountFormatter
NSByteCountFormatter only.impl NSObjectProtocol for NSCachedURLResponse
NSURLCache only.impl NSObjectProtocol for NSCalendar
NSCalendar only.impl NSObjectProtocol for NSCalendarDate
NSCalendarDate only.impl NSObjectProtocol for NSCharacterSet
NSCharacterSet only.impl NSObjectProtocol for NSClassDescription
NSClassDescription only.impl NSObjectProtocol for NSCloneCommand
NSScriptStandardSuiteCommands only.impl NSObjectProtocol for NSCloseCommand
NSScriptStandardSuiteCommands only.impl NSObjectProtocol for NSCoder
NSCoder only.impl NSObjectProtocol for NSComparisonPredicate
NSComparisonPredicate only.impl NSObjectProtocol for NSCompoundPredicate
NSCompoundPredicate only.impl NSObjectProtocol for NSCondition
NSLock only.impl NSObjectProtocol for NSConditionLock
NSLock only.impl NSObjectProtocol for NSConnection
NSConnection only.impl NSObjectProtocol for NSConstantString
NSString only.impl NSObjectProtocol for NSCountCommand
NSScriptStandardSuiteCommands only.impl NSObjectProtocol for NSCreateCommand
NSScriptStandardSuiteCommands only.impl NSObjectProtocol for NSData
NSData only.impl NSObjectProtocol for NSDataDetector
NSRegularExpression only.impl NSObjectProtocol for NSDate
NSDate only.impl NSObjectProtocol for NSDateComponents
NSCalendar only.impl NSObjectProtocol for NSDateComponentsFormatter
NSDateComponentsFormatter only.impl NSObjectProtocol for NSDateFormatter
NSDateFormatter only.impl NSObjectProtocol for NSDateInterval
NSDateInterval only.impl NSObjectProtocol for NSDateIntervalFormatter
NSDateIntervalFormatter only.impl NSObjectProtocol for NSDecimalNumber
NSDecimalNumber only.impl NSObjectProtocol for NSDecimalNumberHandler
NSDecimalNumber only.impl NSObjectProtocol for NSDeleteCommand
NSScriptStandardSuiteCommands only.impl NSObjectProtocol for NSDimension
NSUnit only.impl NSObjectProtocol for NSDistantObject
NSDistantObject only.impl NSObjectProtocol for NSDistantObjectRequest
NSConnection only.impl NSObjectProtocol for NSDistributedLock
NSDistributedLock only.impl NSObjectProtocol for NSDistributedNotificationCenter
NSDistributedNotificationCenter only.impl NSObjectProtocol for NSEnergyFormatter
NSEnergyFormatter only.impl NSObjectProtocol for NSError
NSError only.impl NSObjectProtocol for NSException
NSException only.impl NSObjectProtocol for NSExistsCommand
NSScriptStandardSuiteCommands only.impl NSObjectProtocol for NSExpression
NSExpression only.impl NSObjectProtocol for NSExtensionContext
NSExtensionContext only.impl NSObjectProtocol for NSExtensionItem
NSExtensionItem only.impl NSObjectProtocol for NSFileAccessIntent
NSFileCoordinator only.impl NSObjectProtocol for NSFileCoordinator
NSFileCoordinator only.impl NSObjectProtocol for NSFileHandle
NSFileHandle only.impl NSObjectProtocol for NSFileManager
NSFileManager only.impl NSObjectProtocol for NSFileProviderService
NSFileManager only.impl NSObjectProtocol for NSFileSecurity
NSURL only.impl NSObjectProtocol for NSFileVersion
NSFileVersion only.impl NSObjectProtocol for NSFileWrapper
NSFileWrapper only.impl NSObjectProtocol for NSFormatter
NSFormatter only.impl NSObjectProtocol for NSGarbageCollector
NSGarbageCollector only.impl NSObjectProtocol for NSGetCommand
NSScriptStandardSuiteCommands only.impl NSObjectProtocol for NSHTTPCookie
NSHTTPCookie only.impl NSObjectProtocol for NSHTTPCookieStorage
NSHTTPCookieStorage only.impl NSObjectProtocol for NSHTTPURLResponse
NSURLResponse only.impl NSObjectProtocol for NSHost
NSHost only.impl NSObjectProtocol for NSISO8601DateFormatter
NSISO8601DateFormatter only.impl NSObjectProtocol for NSIndexPath
NSIndexPath only.impl NSObjectProtocol for NSIndexSet
NSIndexSet only.impl NSObjectProtocol for NSIndexSpecifier
NSScriptObjectSpecifiers only.impl NSObjectProtocol for NSInflectionRule
NSInflectionRule only.impl NSObjectProtocol for NSInflectionRuleExplicit
NSInflectionRule only.impl NSObjectProtocol for NSInputStream
NSStream only.impl NSObjectProtocol for NSInvocation
NSInvocation only.impl NSObjectProtocol for NSInvocationOperation
NSOperation only.impl NSObjectProtocol for NSItemProvider
NSItemProvider only.impl NSObjectProtocol for NSJSONSerialization
NSJSONSerialization only.impl NSObjectProtocol for NSKeyedArchiver
NSKeyedArchiver only.impl NSObjectProtocol for NSKeyedUnarchiver
NSKeyedArchiver only.impl NSObjectProtocol for NSLengthFormatter
NSLengthFormatter only.impl NSObjectProtocol for NSLinguisticTagger
NSLinguisticTagger only.impl NSObjectProtocol for NSListFormatter
NSListFormatter only.impl NSObjectProtocol for NSLocale
NSLocale only.impl NSObjectProtocol for NSLocalizedNumberFormatRule
NSLocalizedNumberFormatRule only.impl NSObjectProtocol for NSLock
NSLock only.impl NSObjectProtocol for NSLogicalTest
NSScriptWhoseTests only.impl NSObjectProtocol for NSMachBootstrapServer
NSPortNameServer only.impl NSObjectProtocol for NSMachPort
NSPort only.impl NSObjectProtocol for NSMassFormatter
NSMassFormatter only.impl NSObjectProtocol for NSMeasurementFormatter
NSMeasurementFormatter only.impl NSObjectProtocol for NSMessagePort
NSPort only.impl NSObjectProtocol for NSMessagePortNameServer
NSPortNameServer only.impl NSObjectProtocol for NSMetadataItem
NSMetadata only.impl NSObjectProtocol for NSMetadataQuery
NSMetadata only.impl NSObjectProtocol for NSMetadataQueryAttributeValueTuple
NSMetadata only.impl NSObjectProtocol for NSMetadataQueryResultGroup
NSMetadata only.impl NSObjectProtocol for NSMethodSignature
NSMethodSignature only.impl NSObjectProtocol for NSMiddleSpecifier
NSScriptObjectSpecifiers only.impl NSObjectProtocol for NSMorphology
NSMorphology only.impl NSObjectProtocol for NSMorphologyCustomPronoun
NSMorphology only.impl NSObjectProtocol for NSMorphologyPronoun
NSMorphology only.impl NSObjectProtocol for NSMoveCommand
NSScriptStandardSuiteCommands only.impl NSObjectProtocol for NSMutableAttributedString
NSAttributedString only.impl NSObjectProtocol for NSMutableCharacterSet
NSCharacterSet only.impl NSObjectProtocol for NSMutableData
NSData only.impl NSObjectProtocol for NSMutableIndexSet
NSIndexSet only.impl NSObjectProtocol for NSMutableString
NSString only.impl NSObjectProtocol for NSMutableURLRequest
NSURLRequest only.impl NSObjectProtocol for NSNameSpecifier
NSScriptObjectSpecifiers only.impl NSObjectProtocol for NSNetService
NSNetServices only.impl NSObjectProtocol for NSNetServiceBrowser
NSNetServices only.impl NSObjectProtocol for NSNotification
NSNotification only.impl NSObjectProtocol for NSNotificationCenter
NSNotification only.impl NSObjectProtocol for NSNotificationQueue
NSNotificationQueue only.impl NSObjectProtocol for NSNull
NSNull only.impl NSObjectProtocol for NSNumber
NSValue only.impl NSObjectProtocol for NSNumberFormatter
NSNumberFormatter only.impl NSObjectProtocol for NSObject
impl NSObjectProtocol for NSOperation
NSOperation only.impl NSObjectProtocol for NSOperationQueue
NSOperation only.impl NSObjectProtocol for NSOrthography
NSOrthography only.impl NSObjectProtocol for NSOutputStream
NSStream only.impl NSObjectProtocol for NSPersonNameComponents
NSPersonNameComponents only.impl NSObjectProtocol for NSPersonNameComponentsFormatter
NSPersonNameComponentsFormatter only.impl NSObjectProtocol for NSPipe
NSFileHandle only.impl NSObjectProtocol for NSPointerArray
NSPointerArray only.impl NSObjectProtocol for NSPointerFunctions
NSPointerFunctions only.impl NSObjectProtocol for NSPort
NSPort only.impl NSObjectProtocol for NSPortCoder
NSPortCoder only.impl NSObjectProtocol for NSPortMessage
NSPortMessage only.impl NSObjectProtocol for NSPortNameServer
NSPortNameServer only.impl NSObjectProtocol for NSPositionalSpecifier
NSScriptObjectSpecifiers only.impl NSObjectProtocol for NSPredicate
NSPredicate only.impl NSObjectProtocol for NSPresentationIntent
NSAttributedString only.impl NSObjectProtocol for NSProcessInfo
NSProcessInfo only.impl NSObjectProtocol for NSProgress
NSProgress only.impl NSObjectProtocol for NSPropertyListSerialization
NSPropertyList only.impl NSObjectProtocol for NSPropertySpecifier
NSScriptObjectSpecifiers only.impl NSObjectProtocol for NSProtocolChecker
NSProtocolChecker only.impl NSObjectProtocol for NSProxy
impl NSObjectProtocol for NSPurgeableData
NSData only.impl NSObjectProtocol for NSQuitCommand
NSScriptStandardSuiteCommands only.impl NSObjectProtocol for NSRandomSpecifier
NSScriptObjectSpecifiers only.impl NSObjectProtocol for NSRangeSpecifier
NSScriptObjectSpecifiers only.impl NSObjectProtocol for NSRecursiveLock
NSLock only.impl NSObjectProtocol for NSRegularExpression
NSRegularExpression only.impl NSObjectProtocol for NSRelativeDateTimeFormatter
NSRelativeDateTimeFormatter only.impl NSObjectProtocol for NSRelativeSpecifier
NSScriptObjectSpecifiers only.impl NSObjectProtocol for NSRunLoop
NSRunLoop only.impl NSObjectProtocol for NSScanner
NSScanner only.impl NSObjectProtocol for NSScriptClassDescription
NSScriptClassDescription only.impl NSObjectProtocol for NSScriptCoercionHandler
NSScriptCoercionHandler only.impl NSObjectProtocol for NSScriptCommand
NSScriptCommand only.impl NSObjectProtocol for NSScriptCommandDescription
NSScriptCommandDescription only.impl NSObjectProtocol for NSScriptExecutionContext
NSScriptExecutionContext only.impl NSObjectProtocol for NSScriptObjectSpecifier
NSScriptObjectSpecifiers only.impl NSObjectProtocol for NSScriptSuiteRegistry
NSScriptSuiteRegistry only.impl NSObjectProtocol for NSScriptWhoseTest
NSScriptWhoseTests only.impl NSObjectProtocol for NSSecureUnarchiveFromDataTransformer
NSValueTransformer only.impl NSObjectProtocol for NSSetCommand
NSScriptStandardSuiteCommands only.impl NSObjectProtocol for NSSimpleCString
NSString only.impl NSObjectProtocol for NSSocketPort
NSPort only.impl NSObjectProtocol for NSSocketPortNameServer
NSPortNameServer only.impl NSObjectProtocol for NSSortDescriptor
NSSortDescriptor only.impl NSObjectProtocol for NSSpecifierTest
NSScriptWhoseTests only.impl NSObjectProtocol for NSSpellServer
NSSpellServer only.impl NSObjectProtocol for NSStream
NSStream only.impl NSObjectProtocol for NSString
NSString only.impl NSObjectProtocol for NSTask
NSTask only.impl NSObjectProtocol for NSTermOfAddress
NSTermOfAddress only.impl NSObjectProtocol for NSTextCheckingResult
NSTextCheckingResult only.impl NSObjectProtocol for NSThread
NSThread only.impl NSObjectProtocol for NSTimeZone
NSTimeZone only.impl NSObjectProtocol for NSTimer
NSTimer only.impl NSObjectProtocol for NSURL
NSURL only.impl NSObjectProtocol for NSURLAuthenticationChallenge
NSURLAuthenticationChallenge only.impl NSObjectProtocol for NSURLCache
NSURLCache only.impl NSObjectProtocol for NSURLComponents
NSURL only.impl NSObjectProtocol for NSURLConnection
NSURLConnection only.impl NSObjectProtocol for NSURLCredential
NSURLCredential only.impl NSObjectProtocol for NSURLCredentialStorage
NSURLCredentialStorage only.impl NSObjectProtocol for NSURLDownload
NSURLDownload only.impl NSObjectProtocol for NSURLHandle
NSURLHandle only.impl NSObjectProtocol for NSURLProtectionSpace
NSURLProtectionSpace only.impl NSObjectProtocol for NSURLProtocol
NSURLProtocol only.impl NSObjectProtocol for NSURLQueryItem
NSURL only.impl NSObjectProtocol for NSURLRequest
NSURLRequest only.impl NSObjectProtocol for NSURLResponse
NSURLResponse only.impl NSObjectProtocol for NSURLSession
NSURLSession only.impl NSObjectProtocol for NSURLSessionConfiguration
NSURLSession only.impl NSObjectProtocol for NSURLSessionDataTask
NSURLSession only.impl NSObjectProtocol for NSURLSessionDownloadTask
NSURLSession only.impl NSObjectProtocol for NSURLSessionStreamTask
NSURLSession only.impl NSObjectProtocol for NSURLSessionTask
NSURLSession only.impl NSObjectProtocol for NSURLSessionTaskMetrics
NSURLSession only.impl NSObjectProtocol for NSURLSessionTaskTransactionMetrics
NSURLSession only.impl NSObjectProtocol for NSURLSessionUploadTask
NSURLSession only.impl NSObjectProtocol for NSURLSessionWebSocketMessage
NSURLSession only.impl NSObjectProtocol for NSURLSessionWebSocketTask
NSURLSession only.impl NSObjectProtocol for NSUUID
NSUUID only.impl NSObjectProtocol for NSUbiquitousKeyValueStore
NSUbiquitousKeyValueStore only.impl NSObjectProtocol for NSUnarchiver
NSArchiver only.impl NSObjectProtocol for NSUndoManager
NSUndoManager only.impl NSObjectProtocol for NSUniqueIDSpecifier
NSScriptObjectSpecifiers only.impl NSObjectProtocol for NSUnit
NSUnit only.impl NSObjectProtocol for NSUnitAcceleration
NSUnit only.impl NSObjectProtocol for NSUnitAngle
NSUnit only.impl NSObjectProtocol for NSUnitArea
NSUnit only.impl NSObjectProtocol for NSUnitConcentrationMass
NSUnit only.impl NSObjectProtocol for NSUnitConverter
NSUnit only.impl NSObjectProtocol for NSUnitConverterLinear
NSUnit only.impl NSObjectProtocol for NSUnitDispersion
NSUnit only.impl NSObjectProtocol for NSUnitDuration
NSUnit only.impl NSObjectProtocol for NSUnitElectricCharge
NSUnit only.impl NSObjectProtocol for NSUnitElectricCurrent
NSUnit only.impl NSObjectProtocol for NSUnitElectricPotentialDifference
NSUnit only.impl NSObjectProtocol for NSUnitElectricResistance
NSUnit only.impl NSObjectProtocol for NSUnitEnergy
NSUnit only.impl NSObjectProtocol for NSUnitFrequency
NSUnit only.impl NSObjectProtocol for NSUnitFuelEfficiency
NSUnit only.impl NSObjectProtocol for NSUnitIlluminance
NSUnit only.impl NSObjectProtocol for NSUnitInformationStorage
NSUnit only.impl NSObjectProtocol for NSUnitLength
NSUnit only.impl NSObjectProtocol for NSUnitMass
NSUnit only.impl NSObjectProtocol for NSUnitPower
NSUnit only.impl NSObjectProtocol for NSUnitPressure
NSUnit only.impl NSObjectProtocol for NSUnitSpeed
NSUnit only.impl NSObjectProtocol for NSUnitTemperature
NSUnit only.impl NSObjectProtocol for NSUnitVolume
NSUnit only.impl NSObjectProtocol for NSUserActivity
NSUserActivity only.impl NSObjectProtocol for NSUserAppleScriptTask
NSUserScriptTask only.impl NSObjectProtocol for NSUserAutomatorTask
NSUserScriptTask only.impl NSObjectProtocol for NSUserDefaults
NSUserDefaults only.impl NSObjectProtocol for NSUserNotification
NSUserNotification only.impl NSObjectProtocol for NSUserNotificationAction
NSUserNotification only.impl NSObjectProtocol for NSUserNotificationCenter
NSUserNotification only.impl NSObjectProtocol for NSUserScriptTask
NSUserScriptTask only.impl NSObjectProtocol for NSUserUnixTask
NSUserScriptTask only.impl NSObjectProtocol for NSValue
NSValue only.impl NSObjectProtocol for NSValueTransformer
NSValueTransformer only.impl NSObjectProtocol for NSWhoseSpecifier
NSScriptObjectSpecifiers only.impl NSObjectProtocol for NSXMLDTD
NSXMLDTD only.impl NSObjectProtocol for NSXMLDTDNode
NSXMLDTDNode only.impl NSObjectProtocol for NSXMLDocument
NSXMLDocument only.impl NSObjectProtocol for NSXMLElement
NSXMLElement only.impl NSObjectProtocol for NSXMLNode
NSXMLNode only.impl NSObjectProtocol for NSXMLParser
NSXMLParser only.impl NSObjectProtocol for NSXPCCoder
NSXPCConnection only.impl NSObjectProtocol for NSXPCConnection
NSXPCConnection only.impl NSObjectProtocol for NSXPCInterface
NSXPCConnection only.impl NSObjectProtocol for NSXPCListener
NSXPCConnection only.impl NSObjectProtocol for NSXPCListenerEndpoint
NSXPCConnection only.impl<KeyType: ?Sized, ObjectType: ?Sized> NSObjectProtocol for NSCache<KeyType, ObjectType>
NSCache only.impl<KeyType: ?Sized, ObjectType: ?Sized> NSObjectProtocol for NSDictionary<KeyType, ObjectType>
NSDictionary only.impl<KeyType: ?Sized, ObjectType: ?Sized> NSObjectProtocol for NSMapTable<KeyType, ObjectType>
NSMapTable only.impl<KeyType: ?Sized, ObjectType: ?Sized> NSObjectProtocol for NSMutableDictionary<KeyType, ObjectType>
NSDictionary only.impl<ObjectType: ?Sized> NSObjectProtocol for NSArray<ObjectType>
NSArray only.impl<ObjectType: ?Sized> NSObjectProtocol for NSCountedSet<ObjectType>
NSSet only.impl<ObjectType: ?Sized> NSObjectProtocol for NSDirectoryEnumerator<ObjectType>
NSFileManager only.impl<ObjectType: ?Sized> NSObjectProtocol for NSEnumerator<ObjectType>
NSEnumerator only.impl<ObjectType: ?Sized> NSObjectProtocol for NSHashTable<ObjectType>
NSHashTable only.impl<ObjectType: ?Sized> NSObjectProtocol for NSMutableArray<ObjectType>
NSArray only.impl<ObjectType: ?Sized> NSObjectProtocol for NSMutableOrderedSet<ObjectType>
NSOrderedSet only.impl<ObjectType: ?Sized> NSObjectProtocol for NSMutableSet<ObjectType>
NSSet only.impl<ObjectType: ?Sized> NSObjectProtocol for NSOrderedCollectionChange<ObjectType>
NSOrderedCollectionChange only.impl<ObjectType: ?Sized> NSObjectProtocol for NSOrderedCollectionDifference<ObjectType>
NSOrderedCollectionDifference only.impl<ObjectType: ?Sized> NSObjectProtocol for NSOrderedSet<ObjectType>
NSOrderedSet only.impl<ObjectType: ?Sized> NSObjectProtocol for NSSet<ObjectType>
NSSet only.impl<T> NSObjectProtocol for ProtocolObject<T>where
T: NSObjectProtocol + ?Sized,
impl<UnitType: ?Sized + AsRef<NSUnit>> NSObjectProtocol for NSMeasurement<UnitType>
NSMeasurement only.