- class
superclass
Availability
Technology
@protocol NSObject
Note 注意
This protocol is imported into Swift with the name NSObject
.
An object that conforms to this protocol can be considered a first-class object. Such an object can be asked about its:
Class, and the place of its class in the inheritance hierarchy.
Conformance to protocols.
Ability to respond to a particular message.
The Cocoa root class NSObject
adopts this protocol, so all objects inheriting from NSObject
have the features described by this protocol.
- class
superclass
- isEqual:
hash
- self
- isKindOfClass:
- isMemberOfClass:
- respondsToSelector:
- conformsToProtocol:
description
debugDescription
- performSelector:
- performSelector:withObject:
- performSelector:withObject:withObject:
- retain
- release
- autorelease
- retainCount
- zone
ABImageClient
ABNewPersonViewControllerDelegate
ABPeoplePickerNavigationControllerDelegate
ABPersonPickerDelegate
ABPersonViewControllerDelegate
ABUnknownPersonViewControllerDelegate
AEAssessmentSessionDelegate
AMWorkflowControllerDelegate
ARCoachingOverlayViewDelegate
ARSessionObserver
ARSessionProviding
ARTrackable
ASAccountAuthenticationModificationControllerDelegate
ASAccountAuthenticationModificationControllerPresentationContextProviding
ASAuthorizationControllerDelegate
ASAuthorizationControllerPresentationContextProviding
ASAuthorizationCredential
ASAuthorizationProvider
ASAuthorizationProviderExtensionAuthorizationRequestHandler
ASAuthorizationPublicKeyCredentialAssertionRequest
ASAuthorizationPublicKeyCredentialDescriptor
ASAuthorizationPublicKeyCredentialRegistrationRequest
ASWebAuthenticationPresentationContextProviding
ASWebAuthenticationSessionRequestDelegate
AVAssetReaderCaptionValidationHandling
AVAssetResourceLoaderDelegate
AVAssetWriterDelegate
AVAudio3DMixing
AVAudioPlayerDelegate
AVAudioRecorderDelegate
AVAudioSessionDelegate
AVAudioStereoMixing
AVCaptureAudioDataOutputSampleBufferDelegate
AVCaptureDataOutputSynchronizerDelegate
AVCaptureDepthDataOutputDelegate
AVCaptureFileOutputDelegate
AVCaptureFileOutputRecordingDelegate
AVCaptureMetadataOutputObjectsDelegate
AVCapturePhotoCaptureDelegate
AVCapturePhotoFileDataRepresentationCustomizer
AVCaptureVideoDataOutputSampleBufferDelegate
AVCaptureViewDelegate
AVContentKeySessionDelegate
AVPictureInPictureControllerDelegate
AVPictureInPictureSampleBufferPlaybackDelegate
AVPlaybackCoordinatorPlaybackControlDelegate
AVPlayerItemMetadataCollectorPushDelegate
AVPlayerItemOutputPullDelegate
AVPlayerItemOutputPushDelegate
AVPlayerPlaybackCoordinatorDelegate
AVPlayerViewControllerAnimationCoordinator
AVPlayerViewControllerDelegate
AVPlayerViewDelegate
AVPlayerViewPictureInPictureDelegate
AVQueuedSampleBufferRendering
AVRoutePickerViewDelegate
AVSpeechSynthesizerDelegate
AVVideoCompositing
AVVideoCompositionInstruction
AVVideoCompositionValidationHandling
AXBrailleMapRenderer
AXChart
AXCustomContentProvider
CAAnimationDelegate
CALayerDelegate
CALayoutManager
CBCentralManagerDelegate
CBPeripheralDelegate
CBPeripheralManagerDelegate
CHHapticParameterAttributes
CHHapticPatternPlayer
CKRecordKeyValueSetting
CKRecordValue
CLKComplicationDataSource
CLLocationManagerDelegate
CLLocationPushServiceExtension
CLSDataStoreDelegate
CMFallDetectionDelegate
CMHeadphoneMotionManagerDelegate
CMIOExtensionDeviceSource
CMIOExtensionProviderSource
CMIOExtensionStreamSource
CNChangeHistoryEventVisitor
CNContactPickerDelegate
CNContactViewControllerDelegate
CPBarButtonProviding
CPInstrumentClusterControllerDelegate
CPInterfaceControllerDelegate
CPListTemplateDelegate
CPListTemplateItem
CPMapTemplateDelegate
CPNowPlayingTemplateObserver
CPPointOfInterestTemplateDelegate
CPSearchTemplateDelegate
CPSessionConfigurationDelegate
CPTabBarTemplateDelegate
CSSearchableIndexDelegate
CTTelephonyNetworkInfoDelegate
CXCallDirectoryExtensionContextDelegate
CXCallObserverDelegate
CXProviderDelegate
DOMEventListener
DOMEventTarget
DOMNodeFilter
DOMXPathNSResolver
EAAccessoryDelegate
EAWiFiUnconfiguredAccessoryBrowserDelegate
EKCalendarChooserDelegate
EKEventEditViewDelegate
EKEventViewDelegate
GCDevice
GKAchievementViewControllerDelegate
GKAgentDelegate
GKChallengeEventHandlerDelegate
GKChallengeListener
GKGameCenterControllerDelegate
GKGameModel
GKGameModelPlayer
GKGameModelUpdate
GKGameSessionEventListener
GKGameSessionSharingViewControllerDelegate
GKLeaderboardViewControllerDelegate
GKMatchDelegate
GKMatchmakerViewControllerDelegate
GKPeerPickerControllerDelegate
GKSavedGameListener
GKSceneRootNodeType
GKSessionDelegate
GKStrategist
GKTurnBasedMatchmakerViewControllerDelegate
GKVoiceChatClient
GLKViewControllerDelegate
GLKViewDelegate
HKLiveWorkoutBuilderDelegate
HKWorkoutSessionDelegate
HMAccessoryBrowserDelegate
HMAccessoryDelegate
HMCameraSnapshotControlDelegate
HMCameraStreamControlDelegate
HMHomeDelegate
HMHomeManagerDelegate
HMNetworkConfigurationProfileDelegate
ICCameraDeviceDownloadDelegate
ICDeviceBrowserDelegate
ICDeviceDelegate
ILMessageFilterQueryHandling
INActivateCarSignalIntentHandling
INAddMediaIntentHandling
INAddTasksIntentHandling
INAppendToNoteIntentHandling
INBookRestaurantReservationIntentHandling
INCancelRideIntentHandling
INCancelWorkoutIntentHandling
INCreateNoteIntentHandling
INCreateTaskListIntentHandling
INDeleteTasksIntentHandling
INEndWorkoutIntentHandling
INGetAvailableRestaurantReservationBookingDefaultsIntentHandling
INGetAvailableRestaurantReservationBookingsIntentHandling
INGetCarLockStatusIntentHandling
INGetCarPowerLevelStatusIntentHandling
INGetCarPowerLevelStatusIntentResponseObserver
INGetRestaurantGuestIntentHandling
INGetRideStatusIntentHandling
INGetRideStatusIntentResponseObserver
INGetUserCurrentRestaurantReservationBookingsIntentHandling
INGetVisualCodeIntentHandling
INIntentHandlerProviding
INListCarsIntentHandling
INListRideOptionsIntentHandling
INPauseWorkoutIntentHandling
INPayBillIntentHandling
INPlayMediaIntentHandling
INRequestPaymentIntentHandling
INRequestRideIntentHandling
INResumeWorkoutIntentHandling
INSaveProfileInCarIntentHandling
INSearchCallHistoryIntentHandling
INSearchForAccountsIntentHandling
INSearchForBillsIntentHandling
INSearchForMediaIntentHandling
INSearchForMessagesIntentHandling
INSearchForNotebookItemsIntentHandling
INSearchForPhotosIntentHandling
INSendMessageIntentHandling
INSendPaymentIntentHandling
INSendRideFeedbackIntentHandling
INSetAudioSourceInCarIntentHandling
INSetCarLockStatusIntentHandling
INSetClimateSettingsInCarIntentHandling
INSetDefrosterSettingsInCarIntentHandling
INSetMessageAttributeIntentHandling
INSetProfileInCarIntentHandling
INSetRadioStationIntentHandling
INSetSeatSettingsInCarIntentHandling
INSetTaskAttributeIntentHandling
INShareFocusStatusIntentHandling
INSnoozeTasksIntentHandling
INSpeakable
INStartAudioCallIntentHandling
INStartCallIntentHandling
INStartPhotoPlaybackIntentHandling
INStartVideoCallIntentHandling
INStartWorkoutIntentHandling
INTransferMoneyIntentHandling
INUIAddVoiceShortcutButtonDelegate
INUIAddVoiceShortcutViewControllerDelegate
INUIEditVoiceShortcutViewControllerDelegate
INUIHostedViewControlling
INUIHostedViewSiriProviding
INUpdateMediaAffinityIntentHandling
IOBluetoothDeviceInquiryDelegate
IOBluetoothDevicePairDelegate
IOBluetoothHandsFreeDelegate
MCAdvertiserAssistantDelegate
MCBrowserViewControllerDelegate
MCNearbyServiceAdvertiserDelegate
MCNearbyServiceBrowserDelegate
MCSessionDelegate
MDLAssetResolver
MDLComponent
MDLLightProbeIrradianceDataSource
MDLMeshBuffer
MDLMeshBufferAllocator
MDLMeshBufferZone
MEComposeSessionHandler
MEContentBlocker
MEExtension
MEMessageActionHandler
MEMessageDecoder
MEMessageEncoder
MFMailComposeViewControllerDelegate
MFMessageComposeViewControllerDelegate
MIDICIProfileResponderDelegate
MKAnnotation
MKGeoJSONObject
MKLocalSearchCompleterDelegate
MKMapViewDelegate
MKReverseGeocoderDelegate
MLWritable
MPMediaPickerControllerDelegate
MPNowPlayingSessionDelegate
MPPlayableContentDataSource
MPPlayableContentDelegate
MPSCNNBatchNormalizationDataSource
MPSCNNConvolutionDataSource
MPSCNNGroupNormalizationDataSource
MPSCNNInstanceNormalizationDataSource
MPSHandle
MPSHeapProvider
MPSImageAllocator
MPSImageSizeEncodingState
MPSImageTransformProvider
MPSNDArrayAllocator
MPSNNGramMatrixCallback
MPSNNLossCallback
MPSNNPadding
MPSNNTrainableNode
MPSSVGFTextureAllocator
MPSystemMusicPlayerController
MSAuthenticationPresentationContext
MSStickerBrowserViewDataSource
MTKViewDelegate
MTLArgumentEncoder
MTLBinaryArchive
MTLCaptureScope
MTLCommandBuffer
MTLCommandBufferEncoderInfo
MTLCommandEncoder
MTLCommandQueue
MTLComputePipelineState
MTLCounter
MTLCounterSampleBuffer
MTLCounterSet
MTLDepthStencilState
MTLDevice
MTLDrawable
MTLDynamicLibrary
MTLEvent
MTLFence
MTLFunction
MTLFunctionHandle
MTLFunctionLog
MTLFunctionLogDebugLocation
MTLFunctionStitchingAttribute
MTLFunctionStitchingNode
MTLHeap
MTLIndirectComputeCommand
MTLIndirectRenderCommand
MTLLibrary
MTLRasterizationRateMap
MTLRenderPipelineState
MTLResource
MTLSamplerState
MXMetricManagerSubscriber
NCWidgetListViewDelegate
NCWidgetProviding
NCWidgetSearchViewDelegate
NEAppPushDelegate
NFCNDEFReaderSessionDelegate
NFCNDEFTag
NFCReaderSession
NFCReaderSessionDelegate
NFCTag
NFCTagReaderSessionDelegate
NFCVASReaderSessionDelegate
NISessionDelegate
NSAccessibility
NSAccessibilityCustomRotorItemSearchDelegate
NSAccessibilityElement
NSAccessibilityElementLoading
NSAlertDelegate
NSAlignmentFeedbackToken
NSAnimationDelegate
NSAppearanceCustomization
NSApplicationDelegate
NSBrowserDelegate
NSCacheDelegate
NSCandidateListTouchBarItemDelegate
NSCloudSharingValidation
NSCollectionLayoutContainer
NSCollectionLayoutEnvironment
NSCollectionLayoutVisibleItem
NSCollectionViewDataSource
NSCollectionViewDelegate
NSCollectionViewElement
NSCollectionViewPrefetching
NSColorChanging
NSComboBoxCellDataSource
NSComboBoxDataSource
NSConnectionDelegate
NSControlTextEditingDelegate
NSDatePickerCellDelegate
NSDockTilePlugIn
NSDraggingDestination
NSDraggingInfo
NSDraggingSource
NSDrawerDelegate
NSEditor
NSEditorRegistration
NSExtensionRequestHandling
NSFetchRequestResult
NSFetchedResultsControllerDelegate
NSFileManagerDelegate
NSFilePresenter
NSFilePromiseProviderDelegate
NSFileProviderChangeObserver
NSFileProviderCustomAction
NSFileProviderDomainState
NSFileProviderEnumerating
NSFileProviderEnumerationObserver
NSFileProviderEnumerator
NSFileProviderIncrementalContentFetching
NSFileProviderItem
NSFileProviderPartialContentFetching
NSFileProviderReplicatedExtension
NSFileProviderServicing
NSFileProviderTestingOperation
NSFileProviderThumbnailing
NSFileProviderUserInteractionSuppressing
NSFontChanging
NSGestureRecognizerDelegate
NSHapticFeedbackPerformer
NSImageDelegate
NSItemProviderReading
NSItemProviderWriting
NSKeyedArchiverDelegate
NSKeyedUnarchiverDelegate
NSLayoutManagerDelegate
NSMenuDelegate
NSMenuItemValidation
NSMetadataQueryDelegate
NSNetServiceBrowserDelegate
NSNetServiceDelegate
NSOpenSavePanelDelegate
NSOutlineViewDataSource
NSPageControllerDelegate
NSPasteboardItemDataProvider
NSPasteboardReading
NSPasteboardTypeOwner
NSPasteboardWriting
NSPathCellDelegate
NSPathControlDelegate
NSPopoverDelegate
NSPortDelegate
NSProgressReporting
NSRuleEditorDelegate
NSScrubberDataSource
NSScrubberDelegate
NSSeguePerforming
NSServicesMenuRequestor
NSSharingServiceDelegate
NSSharingServicePickerDelegate
NSSoundDelegate
NSSpeechRecognizerDelegate
NSSpeechSynthesizerDelegate
NSSpellServerDelegate
NSSplitViewDelegate
NSSpringLoadingDestination
NSStackViewDelegate
NSStandardKeyBindingResponding
NSStreamDelegate
NSTabViewDelegate
NSTableViewDataSource
NSTextAttachmentCell
NSTextAttachmentContainer
NSTextAttachmentLayout
NSTextContentManagerDelegate
NSTextDelegate
NSTextElementProvider
NSTextFinderBarContainer
NSTextFinderClient
NSTextLayoutManagerDelegate
NSTextLocation
NSTextSelectionDataSource
NSTextStorageDelegate
NSTextStorageObserving
NSTextViewportLayoutControllerDelegate
NSTokenFieldCellDelegate
NSToolbarDelegate
NSToolbarItemValidation
NSTouchBarDelegate
NSTouchBarProvider
NSURLAuthenticationChallengeSender
NSURLConnectionDelegate
NSURLDownloadDelegate
NSURLProtocolClient
NSURLSessionDelegate
NSUserActivityDelegate
NSUserActivityRestoring
NSUserInterfaceItemSearching
NSUserNotificationCenterDelegate
NSViewControllerPresentationAnimator
NSViewLayerContentScaleDelegate
NSViewToolTipOwner
NSWindowDelegate
NSWindowRestoration
NSXMLParserDelegate
NSXPCListenerDelegate
NWTCPConnectionAuthenticationDelegate
ODQueryDelegate
OSSystemExtensionRequestDelegate
OS_dispatch_object
OS_hv_vcpu_config
OS_hv_vm_config
OS_nw_advertise_descriptor
OS_nw_browse_descriptor
OS_nw_browse_result
OS_nw_browser
OS_nw_connection
OS_nw_connection_group
OS_nw_content_context
OS_nw_data_transfer_report
OS_nw_endpoint
OS_nw_error
OS_nw_establishment_report
OS_nw_ethernet_channel
OS_nw_framer
OS_nw_group_descriptor
OS_nw_interface
OS_nw_listener
OS_nw_object
OS_nw_parameters
OS_nw_path
OS_nw_path_monitor
OS_nw_privacy_context
OS_nw_protocol_definition
OS_nw_protocol_metadata
OS_nw_protocol_options
OS_nw_protocol_stack
OS_nw_resolution_report
OS_nw_resolver_config
OS_nw_txt_record
OS_nw_ws_request
OS_nw_ws_response
OS_os_log
OS_sec_certificate
OS_sec_identity
OS_sec_object
OS_sec_protocol_metadata
OS_sec_protocol_options
OS_sec_trust
OS_xpc_object
PDFDocumentDelegate
PDFViewDelegate
PGDevice
PGDisplay
PHContentEditingController
PHLivePhotoViewDelegate
PHPhotoLibraryAvailabilityObserver
PHPhotoLibraryChangeObserver
PHPickerViewControllerDelegate
PHProjectExtensionController
PHProjectTypeDescriptionDataSource
PHProjectTypeDescriptionInvalidator
PKAddPassesViewControllerDelegate
PKAddPaymentPassViewControllerDelegate
PKAddSecureElementPassViewControllerDelegate
PKCanvasViewDelegate
PKIssuerProvisioningExtensionAuthorizationProviding
PKPaymentAuthorizationControllerDelegate
PKPaymentAuthorizationViewControllerDelegate
PKPushRegistryDelegate
PKToolPickerObserver
PKVehicleConnectionDelegate
QLPreviewControllerDelegate
QLPreviewItem
QLPreviewingController
RPBroadcastActivityControllerDelegate
RPBroadcastActivityViewControllerDelegate
RPBroadcastControllerDelegate
RPPreviewViewControllerDelegate
RPScreenRecorderDelegate
SCNActionable
SCNAnimatable
SCNAnimation
SCNAvoidOccluderConstraintDelegate
SCNBoundingVolume
SCNBufferStream
SCNCameraControlConfiguration
SCNCameraControllerDelegate
SCNNodeRendererDelegate
SCNPhysicsContactDelegate
SCNProgramDelegate
SCNSceneExportDelegate
SCNSceneRenderer
SCNSceneRendererDelegate
SCNShadable
SCNTechniqueSupport
SCStreamDelegate
SCStreamOutput
SFSafariExtensionHandling
SFSafariViewControllerDelegate
SFSpeechRecognitionTaskDelegate
SFSpeechRecognizerDelegate
SHSessionDelegate
SKCloudServiceSetupViewControllerDelegate
SKOverlayDelegate
SKPaymentQueueDelegate
SKPaymentTransactionObserver
SKPhysicsContactDelegate
SKRequestDelegate
SKSceneDelegate
SKStoreProductViewControllerDelegate
SKViewDelegate
SKWarpable
SNRequest
SNResult
SNResultsObserving
SRSensorReaderDelegate
TKTokenDelegate
TKTokenDriverDelegate
TKTokenSessionDelegate
TVApplicationControllerDelegate
TVBrowserViewControllerDataSource
TVBrowserViewControllerDelegate
TVDocumentViewControllerDelegate
TVInterfaceCreating
TVLockupViewComponent
TVPlaybackEventMarshaling
TVTopShelfContent
UIAccelerometerDelegate
UIAccessibilityContainerDataTable
UIAccessibilityContainerDataTableCell
UIAccessibilityContentSizeCategoryImageAdjusting
UIAccessibilityIdentification
UIActionSheetDelegate
UIActivityItemSource
UIActivityItemsConfigurationProviding
UIActivityItemsConfigurationReading
UIAdaptivePresentationControllerDelegate
UIAlertViewDelegate
UIAppearance
UIAppearanceContainer
UIApplicationDelegate
UIBarPositioning
UIBarPositioningDelegate
UICloudSharingControllerDelegate
UICollectionViewDataSource
UICollectionViewDataSourcePrefetching
UICollectionViewDragDelegate
UICollectionViewDropCoordinator
UICollectionViewDropDelegate
UICollectionViewDropItem
UICollisionBehaviorDelegate
UIColorPickerViewControllerDelegate
UIConfigurationState
UIContentConfiguration
UIContentContainer
UIContentSizeCategoryAdjusting
UIContentView
UIContextMenuInteractionAnimating
UIContextMenuInteractionDelegate
UICoordinateSpace
UIDataSourceTranslating
UIDocumentBrowserViewControllerDelegate
UIDocumentInteractionControllerDelegate
UIDocumentMenuDelegate
UIDocumentPickerDelegate
UIDragAnimating
UIDragDropSession
UIDragInteractionDelegate
UIDropInteractionDelegate
UIDynamicAnimatorDelegate
UIDynamicItem
UIFocusAnimationContext
UIFocusDebuggerOutput
UIFocusEnvironment
UIFocusItemContainer
UIFontPickerViewControllerDelegate
UIGestureRecognizerDelegate
UIGuidedAccessRestrictionDelegate
UIImagePickerControllerDelegate
UIIndirectScribbleInteractionDelegate
UIInputViewAudioFeedback
UIInteraction
UIItemProviderPresentationSizeProviding
UILargeContentViewerInteractionDelegate
UILargeContentViewerItem
UILayoutSupport
UINavigationControllerDelegate
UIPageViewControllerDataSource
UIPageViewControllerDelegate
UIPasteConfigurationSupporting
UIPencilInteractionDelegate
UIPickerViewDataSource
UIPickerViewDelegate
UIPointerInteractionAnimating
UIPointerInteractionDelegate
UIPopoverControllerDelegate
UIPreviewActionItem
UIPreviewInteractionDelegate
UIPrintInteractionControllerDelegate
UIPrinterPickerControllerDelegate
UIResponderStandardEditActions
UISceneDelegate
UIScreenshotServiceDelegate
UIScribbleInteractionDelegate
UIScrollViewDelegate
UISearchControllerDelegate
UISearchDisplayDelegate
UISearchResultsUpdating
UISearchSuggestion
UISpringLoadedInteractionBehavior
UISpringLoadedInteractionContext
UISpringLoadedInteractionEffect
UISpringLoadedInteractionSupporting
UIStateRestoring
UITabBarControllerDelegate
UITabBarDelegate
UITableViewDataSource
UITableViewDataSourcePrefetching
UITableViewDelegate
UITableViewDragDelegate
UITableViewDropCoordinator
UITableViewDropDelegate
UITableViewDropItem
UITextDragDelegate
UITextDragRequest
UITextDropDelegate
UITextDropRequest
UITextFieldDelegate
UITextFormattingCoordinatorDelegate
UITextInputDelegate
UITextInputTokenizer
UITextInputTraits
UITextInteractionDelegate
UITextPasteDelegate
UITextPasteItem
UITextViewDelegate
UIToolTipInteractionDelegate
UITraitEnvironment
UIUserActivityRestoring
UIVideoEditorControllerDelegate
UIViewAnimating
UIViewControllerAnimatedTransitioning
UIViewControllerContextTransitioning
UIViewControllerInteractiveTransitioning
UIViewControllerPreviewing
UIViewControllerPreviewingDelegate
UIViewControllerTransitionCoordinatorContext
UIViewControllerTransitioningDelegate
UIWebViewDelegate
UNNotificationContentExtension
UNNotificationContentProviding
UNUserNotificationCenterDelegate
VNDocumentCameraViewControllerDelegate
VNFaceObservationAccepting
VNRequestProgressProviding
VSAccountManagerDelegate
VZVirtioSocketListenerDelegate
VZVirtualMachineDelegate
WCSessionDelegate
WKCrownDelegate
WKDownloadDelegate
WKExtendedRuntimeSessionDelegate
WKExtensionDelegate
WKHTTPCookieStoreObserver
WKImageAnimatable
WKNavigationDelegate
WKScriptMessageHandler
WKScriptMessageHandlerWithReply
WKUIDelegate
WKURLSchemeHandler
WKURLSchemeTask
WebDocumentRepresentation
WebDocumentSearching
WebDocumentText
WebDocumentView
WebEditingDelegate
WebFrameLoadDelegate
WebOpenPanelResultListener
WebPlugInViewFactory
WebPolicyDecisionListener
WebPolicyDelegate
WebResourceLoadDelegate
WebUIDelegate
XCSourceEditorCommand
XCSourceEditorExtension
XCTActivity
XCTMetric
XCTWaiterDelegate
XCTestObservation
XCUIElementSnapshotProviding
XCUIScreenshotProviding
NSObject