Package apple
Class NSObject
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- All Implemented Interfaces:
NSObject
- Direct Known Subclasses:
ACAccount,ACAccountCredential,ACAccountStore,ACAccountType,ADClient,ADInterstitialAd,ALAsset,ALAssetRepresentation,ALAssetsFilter,ALAssetsGroup,ALAssetsLibrary,ARAnchor,ARBody2D,ARCamera,ARCollaborationData,ARConfiguration,ARDepthData,ARFaceGeometry,ARFrame,ARGeometryElement,ARGeometrySource,ARGeoTrackingStatus,ARHitTestResult,ARLightEstimate,ARMatteGenerator,ARMeshGeometry,ARPlaneGeometry,ARPointCloud,ARQuickLookPreviewItem,ARRaycastQuery,ARRaycastResult,ARReferenceImage,ARReferenceObject,ARSession,ARSkeleton,ARSkeletonDefinition,ARTrackedRaycast,ARVideoFormat,ARWorldMap,ASAccountAuthenticationModificationController,ASAccountAuthenticationModificationRequest,ASAuthorization,ASAuthorizationAppleIDCredential,ASAuthorizationAppleIDProvider,ASAuthorizationController,ASAuthorizationPasswordProvider,ASAuthorizationProviderExtensionAuthorizationRequest,ASAuthorizationRequest,ASAuthorizationSingleSignOnCredential,ASAuthorizationSingleSignOnProvider,ASCredentialIdentityStore,ASCredentialIdentityStoreState,ASCredentialServiceIdentifier,ASIdentifierManager,ASPasswordCredential,ASPasswordCredentialIdentity,ASWebAuthenticationSession,AUAudioUnit,AUAudioUnitBus,AUAudioUnitBusArray,AUAudioUnitPreset,AUAudioUnitViewConfiguration,AUParameterNode,AVAsset,AVAssetCache,AVAssetDownloadStorageManagementPolicy,AVAssetDownloadStorageManager,AVAssetExportSession,AVAssetImageGenerator,AVAssetReader,AVAssetReaderOutput,AVAssetReaderOutputMetadataAdaptor,AVAssetResourceLoader,AVAssetResourceLoadingContentInformationRequest,AVAssetResourceLoadingDataRequest,AVAssetResourceLoadingRequest,AVAssetResourceLoadingRequestor,AVAssetSegmentReport,AVAssetSegmentReportSampleInformation,AVAssetSegmentTrackReport,AVAssetTrack,AVAssetTrackGroup,AVAssetTrackSegment,AVAssetWriter,AVAssetWriterInput,AVAssetWriterInputMetadataAdaptor,AVAssetWriterInputPassDescription,AVAssetWriterInputPixelBufferAdaptor,AVAsynchronousCIImageFilteringRequest,AVAsynchronousVideoCompositionRequest,AVAudioBuffer,AVAudioChannelLayout,AVAudioConnectionPoint,AVAudioConverter,AVAudioEngine,AVAudioEnvironmentDistanceAttenuationParameters,AVAudioEnvironmentReverbParameters,AVAudioFile,AVAudioFormat,AVAudioMix,AVAudioMixingDestination,AVAudioMixInputParameters,AVAudioNode,AVAudioPlayer,AVAudioRecorder,AVAudioSequencer,AVAudioSession,AVAudioSessionChannelDescription,AVAudioSessionDataSourceDescription,AVAudioSessionPortDescription,AVAudioSessionRouteDescription,AVAudioTime,AVAudioUnitComponent,AVAudioUnitComponentManager,AVAudioUnitEQFilterParameters,AVCameraCalibrationData,AVCaptureAudioChannel,AVCaptureBracketedStillImageSettings,AVCaptureConnection,AVCaptureDataOutputSynchronizer,AVCaptureDevice,AVCaptureDeviceDiscoverySession,AVCaptureDeviceFormat,AVCaptureInput,AVCaptureInputPort,AVCaptureOutput,AVCapturePhoto,AVCapturePhotoSettings,AVCaptureResolvedPhotoSettings,AVCaptureSession,AVCaptureSynchronizedData,AVCaptureSynchronizedDataCollection,AVCaptureSystemPressureState,AVCompositionTrackFormatDescriptionReplacement,AVContentKeyRequest,AVContentKeyResponse,AVContentKeySession,AVDepthData,AVFragmentedAssetMinder,AVFrameRateRange,AVMediaDataStorage,AVMediaSelection,AVMediaSelectionGroup,AVMediaSelectionOption,AVMetadataGroup,AVMetadataItem,AVMetadataItemFilter,AVMetadataItemValueRequest,AVMetadataObject,AVMIDIPlayer,AVMusicTrack,AVOutputSettingsAssistant,AVPictureInPictureController,AVPlayer,AVPlayerItem,AVPlayerItemAccessLog,AVPlayerItemAccessLogEvent,AVPlayerItemErrorLog,AVPlayerItemErrorLogEvent,AVPlayerItemMediaDataCollector,AVPlayerItemOutput,AVPlayerItemTrack,AVPlayerLooper,AVPlayerMediaSelectionCriteria,AVPortraitEffectsMatte,AVRouteDetector,AVSampleBufferAudioRenderer,AVSampleBufferRenderSynchronizer,AVSemanticSegmentationMatte,AVSpeechSynthesisVoice,AVSpeechSynthesizer,AVSpeechUtterance,AVTextStyleRule,AVVideoComposition,AVVideoCompositionCoreAnimationTool,AVVideoCompositionInstruction,AVVideoCompositionLayerInstruction,AVVideoCompositionRenderContext,AVVideoCompositionRenderHint,BCChatAction,BGTask,BGTaskRequest,BGTaskScheduler,CAAnimation,CADisplayLink,CAEmitterCell,CALayer,CAMediaTimingFunction,CATransaction,CAValueFunction,CBATTRequest,CBAttribute,CBL2CAPChannel,CBManager,CBPeer,CBUUID,CHHapticDynamicParameter,CHHapticEngine,CHHapticEvent,CHHapticEventParameter,CHHapticParameterCurve,CHHapticParameterCurveControlPoint,CHHapticPattern,CIBarcodeDescriptor,CIColor,CIContext,CIDetector,CIFeature,CIFilter,CIFilterShape,CIImage,CIImageAccumulator,CIImageProcessorKernel,CIKernel,CIRenderDestination,CIRenderInfo,CIRenderTask,CISampler,CIVector,CKAsset,CKContainer,CKDatabase,CKFetchRecordZoneChangesConfiguration,CKFetchRecordZoneChangesOptions,CKNotification,CKNotificationID,CKNotificationInfo,CKOperationConfiguration,CKOperationGroup,CKQuery,CKQueryCursor,CKRecord,CKRecordID,CKRecordZone,CKRecordZoneID,CKReference,CKServerChangeToken,CKShareMetadata,CKShareParticipant,CKSubscription,CKUserIdentity,CKUserIdentityLookupInfo,CLBeacon,CLBeaconIdentityConstraint,CLFloor,CLGeocoder,CLHeading,CLLocation,CLLocationManager,CLPlacemark,CLRegion,CLSDataStore,CLSObject,CLVisit,CMAltimeter,CMAttitude,CMDyskineticSymptomResult,CMHeadphoneMotionManager,CMLogItem,CMMotionActivityManager,CMMotionManager,CMPedometer,CMPedometerData,CMPedometerEvent,CMSensorDataList,CMSensorRecorder,CMStepCounter,CMTremorResult,CNChangeHistoryEvent,CNContact,CNContactProperty,CNContactRelation,CNContactStore,CNContactsUserDefaults,CNContactVCardSerialization,CNContainer,CNFetchRequest,CNFetchResult,CNGroup,CNInstantMessageAddress,CNLabeledValue,CNPhoneNumber,CNPostalAddress,CNSaveRequest,CNSocialProfile,CPAlertAction,CPBarButton,CPButton,CPContact,CPDashboardButton,CPDashboardController,CPGridButton,CPImageSet,CPInformationItem,CPInterfaceController,CPListImageRowItem,CPListItem,CPListSection,CPManeuver,CPMapButton,CPMessageListItem,CPMessageListItemLeadingConfiguration,CPMessageListItemTrailingConfiguration,CPNavigationAlert,CPNavigationSession,CPNowPlayingButton,CPPointOfInterest,CPRouteChoice,CPSessionConfiguration,CPTemplate,CPTextButton,CPTravelEstimates,CPTrip,CPTripPreviewTextConfiguration,CPVoiceControlState,CSCustomAttributeKey,CSIndexExtensionRequestHandler,CSPerson,CSSearchableIndex,CSSearchableItem,CSSearchableItemAttributeSet,CSSearchQuery,CTCall,CTCallCenter,CTCarrier,CTCellularData,CTCellularPlanProvisioning,CTCellularPlanProvisioningRequest,CTSubscriber,CTSubscriberInfo,CTTelephonyNetworkInfo,CXAction,CXCall,CXCallController,CXCallDirectoryManager,CXCallDirectoryProvider,CXCallObserver,CXCallUpdate,CXHandle,CXProvider,CXProviderConfiguration,CXTransaction,DCAppAttestService,DCDevice,EAAccessory,EAAccessoryManager,EAGLContext,EAGLSharegroup,EASession,EAWiFiUnconfiguredAccessory,EAWiFiUnconfiguredAccessoryBrowser,EKEventStore,EKObject,EKRecurrenceDayOfWeek,EKRecurrenceEnd,GCColor,GCController,GCControllerElement,GCDeviceBattery,GCDeviceHaptics,GCDeviceLight,GCKeyboard,GCMotion,GCMouse,GCPhysicalInputProfile,GCUtil,GKAccessPoint,GKAchievement,GKAchievementDescription,GKBasePlayer,GKBehavior,GKChallenge,GKChallengeEventHandler,GKComponent,GKComponentSystem,GKDecisionNode,GKDecisionTree,GKEntity,GKGameSession,GKGoal,GKGraph,GKGraphNode,GKInvite,GKLeaderboard,GKLeaderboardEntry,GKLeaderboardScore,GKLeaderboardSet,GKMatch,GKMatchmaker,GKMatchRequest,GKMinmaxStrategist,GKMonteCarloStrategist,GKNoise,GKNoiseMap,GKNoiseSource,GKNotificationBanner,GKObstacle,GKOctree,GKOctreeNode,GKPath,GKPeerPickerController,GKQuadtree,GKQuadtreeNode,GKRandomDistribution,GKRandomSource,GKRTree,GKRule,GKRuleSystem,GKSavedGame,GKScene,GKScore,GKSession,GKState,GKStateMachine,GKTurnBasedEventHandler,GKTurnBasedExchange,GKTurnBasedExchangeReply,GKTurnBasedMatch,GKTurnBasedParticipant,GKVoiceChat,GKVoiceChatService,GLKBaseEffect,GLKEffectProperty,GLKMesh,GLKMeshBuffer,GLKMeshBufferAllocator,GLKSkyboxEffect,GLKSubmesh,GLKTextureInfo,GLKTextureLoader,HKActivityMoveModeObject,HKActivitySummary,HKAudiogramSensitivityPoint,HKBiologicalSexObject,HKBloodTypeObject,HKCDADocument,HKDeletedObject,HKDevice,HKElectrocardiogramVoltageMeasurement,HKFHIRResource,HKFHIRVersion,HKFitzpatrickSkinTypeObject,HKHealthStore,HKObject,HKObjectType,HKQuantity,HKQuantitySeriesSampleBuilder,HKQuery,HKQueryAnchor,HKSeriesBuilder,HKSource,HKSourceRevision,HKStatistics,HKStatisticsCollection,HKUnit,HKWheelchairUseObject,HKWorkoutBuilder,HKWorkoutConfiguration,HKWorkoutEvent,HMAccessControl,HMAccessory,HMAccessoryBrowser,HMAccessoryCategory,HMAccessoryOwnershipToken,HMAccessoryProfile,HMAccessorySetupPayload,HMAction,HMActionSet,HMAddAccessoryRequest,HMCameraControl,HMCameraSource,HMCharacteristic,HMCharacteristicMetadata,HMEvent,HMHome,HMHomeManager,HMNumberRange,HMRoom,HMService,HMServiceGroup,HMTrigger,HMUser,HMZone,ICCameraItem,ICDevice,ICDeviceBrowser,ILClassificationRequest,ILClassificationResponse,ILCommunication,ILMessageFilterExtension,ILMessageFilterQueryRequest,ILMessageFilterQueryResponse,ILNetworkResponse,INAirline,INAirport,INAirportGate,INBalanceAmount,INBillDetails,INBillPayee,INBoatTrip,INBusTrip,INCallRecord,INCallRecordFilter,INCar,INCarHeadUnit,INCurrencyAmount,INDateComponentsRange,INDefaultCardTemplate,INExtension,INFile,INFlight,INImage,INIntent,INIntentResolutionResult,INIntentResponse,INInteraction,INMediaDestination,INMediaItem,INMediaSearch,INMessage,INNote,INNoteContent,INObject,INObjectCollection,INObjectSection,INParameter,INPaymentAccount,INPaymentAmount,INPaymentMethod,INPaymentRecord,INPerson,INPersonHandle,INPreferences,INPriceRange,INRecurrenceRule,INRelevanceProvider,INRelevantShortcut,INRelevantShortcutStore,INRentalCar,INReservation,INReservationAction,INRestaurant,INRestaurantGuestDisplayPreferences,INRestaurantOffer,INRestaurantReservationBooking,INRideCompletionStatus,INRideFareLineItem,INRideOption,INRidePartySizeOption,INRideStatus,INRideVehicle,INSeat,INSendMessageAttachment,INShortcut,INSpatialEventTrigger,INSpeakableString,INTask,INTaskList,INTemporalEventTrigger,INTermsAndConditions,INTicketedEvent,INTrainTrip,INUpcomingMediaManager,INUserContext,INVocabulary,INVoiceShortcut,INVoiceShortcutCenter,IOSurface,JSContext,JSManagedValue,JSValue,JSVirtualMachine,LAContext,LPLinkMetadata,LPMetadataProvider,MCAdvertiserAssistant,MCNearbyServiceAdvertiser,MCNearbyServiceBrowser,MCPeerID,MCSession,MDLAnimatedValue,MDLAnimationBindComponent,MDLAsset,MDLBundleAssetResolver,MDLMaterial,MDLMaterialProperty,MDLMaterialPropertyConnection,MDLMaterialPropertyNode,MDLMatrix4x4Array,MDLMeshBufferData,MDLMeshBufferDataAllocator,MDLMeshBufferMap,MDLMeshBufferZoneDefault,MDLObject,MDLObjectContainer,MDLPathAssetResolver,MDLRelativeAssetResolver,MDLScatteringFunction,MDLSubmesh,MDLSubmeshTopology,MDLTexture,MDLTextureFilter,MDLTextureSampler,MDLTransform,MDLTransformMatrixOp,MDLTransformOrientOp,MDLTransformRotateOp,MDLTransformRotateXOp,MDLTransformRotateYOp,MDLTransformRotateZOp,MDLTransformScaleOp,MDLTransformStack,MDLTransformTranslateOp,MDLVertexAttribute,MDLVertexAttributeData,MDLVertexBufferLayout,MDLVertexDescriptor,MIDICIDeviceInfo,MIDICIDiscoveredNode,MIDICIDiscoveryManager,MIDICIProfile,MIDICIProfileState,MIDICIResponder,MIDICISession,MIDINetworkConnection,MIDINetworkHost,MIDINetworkSession,MKClusterAnnotation,MKDirections,MKDirectionsRequest,MKDirectionsResponse,MKETAResponse,MKGeoJSONDecoder,MKGeoJSONFeature,MKLocalPointsOfInterestRequest,MKLocalSearch,MKLocalSearchCompleter,MKLocalSearchCompletion,MKLocalSearchRequest,MKLocalSearchResponse,MKMapCamera,MKMapCameraBoundary,MKMapCameraZoomRange,MKMapItem,MKMapSnapshot,MKMapSnapshotOptions,MKMapSnapshotter,MKOverlayRenderer,MKPointOfInterestFilter,MKReverseGeocoder,MKRoute,MKRouteStep,MKShape,MKTileOverlay,MKUserLocation,MLArrayBatchProvider,MLDictionaryConstraint,MLDictionaryFeatureProvider,MLFeatureDescription,MLFeatureValue,MLImageConstraint,MLImageSize,MLImageSizeConstraint,MLKey,MLModel,MLModelCollection,MLModelCollectionEntry,MLModelConfiguration,MLModelDescription,MLMultiArray,MLMultiArrayConstraint,MLMultiArrayShapeConstraint,MLNumericConstraint,MLParameterDescription,MLPredictionOptions,MLSequence,MLSequenceConstraint,MLTask,MLUpdateContext,MLUpdateProgressHandlers,MPContentItem,MPMediaEntity,MPMediaItemArtwork,MPMediaLibrary,MPMediaPlaylistCreationMetadata,MPMediaPredicate,MPMediaQuery,MPMediaQuerySection,MPMovieAccessLog,MPMovieAccessLogEvent,MPMovieErrorLog,MPMovieErrorLogEvent,MPMoviePlayerController,MPMusicPlayerController,MPMusicPlayerControllerQueue,MPMusicPlayerPlayParameters,MPMusicPlayerQueueDescriptor,MPNowPlayingInfoCenter,MPNowPlayingInfoLanguageOption,MPNowPlayingInfoLanguageOptionGroup,MPPlayableContentManager,MPPlayableContentManagerContext,MPRemoteCommand,MPRemoteCommandCenter,MPRemoteCommandEvent,MPSAccelerationStructureGroup,MPSCNNConvolutionDescriptor,MPSCNNLossDataDescriptor,MPSCNNLossDescriptor,MPSCNNYOLOLossDescriptor,MPSCommandBuffer,MPSImage,MPSImageDescriptor,MPSKernel,MPSMatrix,MPSMatrixCopyDescriptor,MPSMatrixDescriptor,MPSMatrixRandomDistributionDescriptor,MPSNDArray,MPSNDArrayDescriptor,MPSNNDefaultPadding,MPSNNFilterNode,MPSNNImageNode,MPSNNNeuronDescriptor,MPSNNOptimizerDescriptor,MPSNNStateNode,MPSPolygonBuffer,MPSPredicate,MPSRNNDescriptor,MPSState,MPSStateResourceList,MPSSVGFDefaultTextureAllocator,MPSSVGFDenoiser,MPSVector,MPSVectorDescriptor,MPTimedMetadata,MSConversation,MSMessage,MSMessageLayout,MSSession,MSSticker,MTKMesh,MTKMeshBuffer,MTKMeshBufferAllocator,MTKSubmesh,MTKTextureLoader,MTLAccelerationStructureDescriptor,MTLAccelerationStructureGeometryDescriptor,MTLArgument,MTLArgumentDescriptor,MTLAttribute,MTLAttributeDescriptor,MTLAttributeDescriptorArray,MTLBinaryArchiveDescriptor,MTLBlitPassDescriptor,MTLBlitPassSampleBufferAttachmentDescriptor,MTLBlitPassSampleBufferAttachmentDescriptorArray,MTLBufferLayoutDescriptor,MTLBufferLayoutDescriptorArray,MTLCaptureDescriptor,MTLCaptureManager,MTLCommandBufferDescriptor,MTLCompileOptions,MTLComputePassDescriptor,MTLComputePassSampleBufferAttachmentDescriptor,MTLComputePassSampleBufferAttachmentDescriptorArray,MTLComputePipelineDescriptor,MTLComputePipelineReflection,MTLCounterSampleBufferDescriptor,MTLDepthStencilDescriptor,MTLFunctionConstant,MTLFunctionConstantValues,MTLFunctionDescriptor,MTLHeapDescriptor,MTLIndirectCommandBufferDescriptor,MTLIntersectionFunctionTableDescriptor,MTLLinkedFunctions,MTLPipelineBufferDescriptor,MTLPipelineBufferDescriptorArray,MTLRasterizationRateLayerArray,MTLRasterizationRateLayerDescriptor,MTLRasterizationRateMapDescriptor,MTLRasterizationRateSampleArray,MTLRenderPassAttachmentDescriptor,MTLRenderPassColorAttachmentDescriptorArray,MTLRenderPassDescriptor,MTLRenderPassSampleBufferAttachmentDescriptor,MTLRenderPassSampleBufferAttachmentDescriptorArray,MTLRenderPipelineColorAttachmentDescriptor,MTLRenderPipelineColorAttachmentDescriptorArray,MTLRenderPipelineDescriptor,MTLRenderPipelineReflection,MTLResourceStatePassDescriptor,MTLResourceStatePassSampleBufferAttachmentDescriptor,MTLResourceStatePassSampleBufferAttachmentDescriptorArray,MTLSamplerDescriptor,MTLSharedEventHandle,MTLSharedEventListener,MTLSharedTextureHandle,MTLStageInputOutputDescriptor,MTLStencilDescriptor,MTLStructMember,MTLTextureDescriptor,MTLTileRenderPipelineColorAttachmentDescriptor,MTLTileRenderPipelineColorAttachmentDescriptorArray,MTLTileRenderPipelineDescriptor,MTLType,MTLVertexAttribute,MTLVertexAttributeDescriptor,MTLVertexAttributeDescriptorArray,MTLVertexBufferLayoutDescriptor,MTLVertexBufferLayoutDescriptorArray,MTLVertexDescriptor,MTLVisibleFunctionTableDescriptor,MXAverage,MXBackgroundExitData,MXCallStackTree,MXDiagnostic,MXDiagnosticPayload,MXForegroundExitData,MXHistogram,MXHistogramBucket,MXMetaData,MXMetric,MXMetricManager,MXMetricPayload,MXSignpostIntervalData,NCWidgetController,NEAppProxyFlow,NEAppPushManager,NEAppRule,NEDNSProxyManager,NEDNSSettings,NEDNSSettingsManager,NEEvaluateConnectionRule,NEFilterFlow,NEFilterManager,NEFilterProviderConfiguration,NEFilterReport,NEFilterVerdict,NEFlowMetaData,NEHotspotConfiguration,NEHotspotConfigurationManager,NEHotspotEAPSettings,NEHotspotHelper,NEHotspotHelperCommand,NEHotspotHelperResponse,NEHotspotHS20Settings,NEHotspotNetwork,NEIPv4Route,NEIPv4Settings,NEIPv6Route,NEIPv6Settings,NEOnDemandRule,NEPacket,NEPacketTunnelFlow,NEProvider,NEProxyServer,NEProxySettings,NETunnelNetworkSettings,NEVPNConnection,NEVPNIKEv2SecurityAssociationParameters,NEVPNManager,NEVPNProtocol,NFCISO7816APDU,NFCNDEFMessage,NFCNDEFPayload,NFCReaderSession,NFCTagCommandConfiguration,NFCVASCommandConfiguration,NFCVASResponse,NKAssetDownload,NKIssue,NKLibrary,NLEmbedding,NLGazetteer,NLLanguageRecognizer,NLModel,NLModelConfiguration,NLTagger,NLTokenizer,NSArray,NSAssertionHandler,NSAtomicStoreCacheNode,NSAttributedString,NSBundle,NSBundleResourceRequest,NSCache,NSCachedURLResponse,NSCalendar,NSCharacterSet,NSCoder,NSCollectionLayoutAnchor,NSCollectionLayoutDimension,NSCollectionLayoutEdgeSpacing,NSCollectionLayoutGroupCustomItem,NSCollectionLayoutItem,NSCollectionLayoutSection,NSCollectionLayoutSize,NSCollectionLayoutSpacing,NSCondition,NSConditionLock,NSConstraintConflict,NSCoreDataCoreSpotlightDelegate,NSData,NSDataAsset,NSDate,NSDateComponents,NSDateInterval,NSDecimalNumberHandler,NSDictionary,NSDiffableDataSourceSectionSnapshot,NSDiffableDataSourceSectionTransaction,NSDiffableDataSourceSnapshot,NSDiffableDataSourceTransaction,NSEntityDescription,NSEntityMapping,NSEntityMigrationPolicy,NSEnumerator,NSError,NSException,NSExpression,NSExtensionContext,NSExtensionItem,NSFetchedResultsController,NSFetchIndexDescription,NSFetchIndexElementDescription,NSFileAccessIntent,NSFileCoordinator,NSFileHandle,NSFileManager,NSFileProviderDomain,NSFileProviderExtension,NSFileProviderManager,NSFileProviderService,NSFileSecurity,NSFileVersion,NSFileWrapper,NSFormatter,NSHashTable,NSHTTPCookie,NSHTTPCookieStorage,NSIncrementalStoreNode,NSIndexPath,NSIndexSet,NSInvocation,NSItemProvider,NSJSONSerialization,NSLayoutAnchor,NSLayoutConstraint,NSLayoutManager,NSLinguisticTagger,NSLocale,NSLock,NSManagedObject,NSManagedObjectContext,NSManagedObjectID,NSManagedObjectModel,NSMappingModel,NSMapTable,NSMeasurement,NSMergeConflict,NSMergePolicy,NSMetadataItem,NSMetadataQuery,NSMetadataQueryAttributeValueTuple,NSMetadataQueryResultGroup,NSMethodSignature,NSMigrationManager,NSNetService,NSNetServiceBrowser,NSNotification,NSNotificationCenter,NSNotificationQueue,NSNull,NSOperation,NSOperationQueue,NSOrderedCollectionChange,NSOrderedCollectionDifference,NSOrderedSet,NSOrthography,NSParagraphStyle,NSPersistentCloudKitContainerEvent,NSPersistentCloudKitContainerOptions,NSPersistentContainer,NSPersistentHistoryChange,NSPersistentHistoryToken,NSPersistentHistoryTransaction,NSPersistentStore,NSPersistentStoreCoordinator,NSPersistentStoreDescription,NSPersistentStoreRequest,NSPersistentStoreResult,NSPersonNameComponents,NSPipe,NSPointerArray,NSPointerFunctions,NSPort,NSPredicate,NSProcessInfo,NSProgress,NSPropertyDescription,NSPropertyListSerialization,NSPropertyMapping,NSQueryGenerationToken,NSRecursiveLock,NSRegularExpression,NSRunLoop,NSScanner,NSSet,NSShadow,NSSortDescriptor,NSStream,NSString,NSStringDrawingContext,NSTextAttachment,NSTextCheckingResult,NSTextContainer,NSTextTab,NSThread,NSTimer,NSTimeZone,NSUbiquitousKeyValueStore,NSUndoManager,NSUnit,NSUnitConverter,NSURL,NSURLAuthenticationChallenge,NSURLCache,NSURLComponents,NSURLConnection,NSURLCredential,NSURLCredentialStorage,NSURLProtectionSpace,NSURLProtocol,NSURLQueryItem,NSURLRequest,NSURLResponse,NSURLSession,NSURLSessionConfiguration,NSURLSessionTask,NSURLSessionTaskMetrics,NSURLSessionTaskTransactionMetrics,NSURLSessionWebSocketMessage,NSUserActivity,NSUserDefaults,NSUUID,NSValue,NSValueTransformer,NSXMLParser,NSXPCConnection,NSXPCInterface,NSXPCListener,NSXPCListenerEndpoint,NWEndpoint,NWPath,NWTCPConnection,NWTLSParameters,NWUDPSession,OS_object,PDFAction,PDFAnnotation,PDFAppearanceCharacteristics,PDFBorder,PDFDestination,PDFDocument,PDFOutline,PDFPage,PDFSelection,PHAdjustmentData,PHAssetResource,PHAssetResourceCreationOptions,PHAssetResourceManager,PHAssetResourceRequestOptions,PHChange,PHChangeRequest,PHCloudIdentifier,PHContentEditingInput,PHContentEditingInputRequestOptions,PHContentEditingOutput,PHFetchOptions,PHFetchResult,PHFetchResultChangeDetails,PHImageManager,PHImageRequestOptions,PHLivePhoto,PHLivePhotoEditingContext,PHLivePhotoRequestOptions,PHObject,PHObjectChangeDetails,PHPhotoLibrary,PHPickerConfiguration,PHPickerFilter,PHPickerResult,PHVideoRequestOptions,PKAddPaymentPassRequest,PKAddPaymentPassRequestConfiguration,PKAddSecureElementPassConfiguration,PKBarcodeEventConfigurationRequest,PKBarcodeEventMetadataRequest,PKBarcodeEventMetadataResponse,PKBarcodeEventSignatureRequest,PKBarcodeEventSignatureResponse,PKContact,PKDisbursementAuthorizationController,PKDisbursementRequest,PKDisbursementVoucher,PKDrawing,PKFloatRange,PKInk,PKIssuerProvisioningExtensionHandler,PKIssuerProvisioningExtensionPassEntry,PKIssuerProvisioningExtensionStatus,PKLabeledValue,PKObject,PKPassLibrary,PKPayment,PKPaymentAuthorizationController,PKPaymentAuthorizationResult,PKPaymentInformationEventExtension,PKPaymentMerchantSession,PKPaymentMethod,PKPaymentRequest,PKPaymentRequestMerchantSessionUpdate,PKPaymentRequestUpdate,PKPaymentSummaryItem,PKPaymentToken,PKPushCredentials,PKPushPayload,PKPushRegistry,PKShareablePassMetadata,PKStroke,PKStrokePath,PKStrokePoint,PKTool,PKToolPicker,PKTransitPassProperties,QLFileThumbnailRequest,QLThumbnailGenerationRequest,QLThumbnailGenerator,QLThumbnailProvider,QLThumbnailReply,QLThumbnailRepresentation,RPBroadcastConfiguration,RPBroadcastController,RPBroadcastHandler,RPScreenRecorder,SCNAction,SCNAnimation,SCNAnimationEvent,SCNAnimationPlayer,SCNAudioPlayer,SCNAudioSource,SCNCamera,SCNCameraController,SCNConstraint,SCNGeometry,SCNGeometryElement,SCNGeometrySource,SCNGeometryTessellator,SCNHitTestResult,SCNLevelOfDetail,SCNLight,SCNMaterial,SCNMaterialProperty,SCNMorpher,SCNNode,SCNParticlePropertyController,SCNParticleSystem,SCNPhysicsBehavior,SCNPhysicsBody,SCNPhysicsContact,SCNPhysicsField,SCNPhysicsShape,SCNPhysicsVehicleWheel,SCNPhysicsWorld,SCNProgram,SCNRenderer,SCNScene,SCNSceneSource,SCNSkinner,SCNTechnique,SCNTimingFunction,SCNTransaction,SFAcousticFeature,SFAuthenticationSession,SFContentBlockerManager,SFContentBlockerState,SFSafariViewControllerConfiguration,SFSpeechRecognitionRequest,SFSpeechRecognitionResult,SFSpeechRecognitionTask,SFSpeechRecognizer,SFTranscription,SFTranscriptionSegment,SFVoiceAnalytics,SKAction,SKAdNetwork,SKArcadeService,SKAttribute,SKAttributeValue,SKCloudServiceController,SKConstraint,SKDownload,SKKeyframeSequence,SKOverlay,SKOverlayConfiguration,SKOverlayTransitionContext,SKPayment,SKPaymentDiscount,SKPaymentQueue,SKPaymentTransaction,SKPhysicsBody,SKPhysicsContact,SKPhysicsJoint,SKPhysicsWorld,SKProduct,SKProductDiscount,SKProductsResponse,SKProductStorePromotionController,SKProductSubscriptionPeriod,SKRange,SKReachConstraints,SKRegion,SKRenderer,SKRequest,SKShader,SKStorefront,SKStoreReviewController,SKTexture,SKTextureAtlas,SKTileDefinition,SKTileGroup,SKTileGroupRule,SKTileSet,SKTransition,SKUniform,SKWarpGeometry,SLComposeSheetConfigurationItem,SLRequest,SNAudioFileAnalyzer,SNAudioStreamAnalyzer,SNClassification,SNClassificationResult,SNClassifySoundRequest,SSReadingList,TKSmartCard,TKSmartCardATR,TKSmartCardATRInterfaceGroup,TKSmartCardPINFormat,TKSmartCardSlot,TKSmartCardSlotManager,TKSmartCardUserInteraction,TKTLVRecord,TKToken,TKTokenAuthOperation,TKTokenConfiguration,TKTokenDriver,TKTokenDriverConfiguration,TKTokenKeyAlgorithm,TKTokenKeychainContents,TKTokenKeychainItem,TKTokenKeyExchangeParameters,TKTokenSession,TKTokenWatcher,TWRequest,UIAcceleration,UIAccelerometer,UIAccessibilityCustomAction,UIAccessibilityCustomRotor,UIAccessibilityCustomRotorItemResult,UIAccessibilityCustomRotorSearchPredicate,UIAccessibilityLocationDescriptor,UIActivity,UIActivityItemsConfiguration,UIAlertAction,UIApplicationShortcutIcon,UIApplicationShortcutItem,UIBackgroundConfiguration,UIBarAppearance,UIBarButtonItemAppearance,UIBarButtonItemGroup,UIBarButtonItemStateAppearance,UIBarItem,UIBezierPath,UICellAccessory,UICollectionLayoutListConfiguration,UICollectionViewCellRegistration,UICollectionViewCompositionalLayoutConfiguration,UICollectionViewDiffableDataSource,UICollectionViewDiffableDataSourceReorderingHandlers,UICollectionViewDiffableDataSourceSectionSnapshotHandlers,UICollectionViewLayout,UICollectionViewLayoutAttributes,UICollectionViewLayoutInvalidationContext,UICollectionViewPlaceholder,UICollectionViewSupplementaryRegistration,UICollectionViewUpdateItem,UIColor,UICommandAlternate,UIContextMenuConfiguration,UIContextMenuInteraction,UIContextualAction,UICubicTimingParameters,UIDevice,UIDictationPhrase,UIDocument,UIDocumentBrowserAction,UIDocumentBrowserTransitionController,UIDocumentInteractionController,UIDragInteraction,UIDragItem,UIDragPreview,UIDropInteraction,UIDropProposal,UIDynamicAnimator,UIDynamicBehavior,UIDynamicItemGroup,UIEvent,UIFeedbackGenerator,UIFocusAnimationCoordinator,UIFocusDebugger,UIFocusMovementHint,UIFocusSystem,UIFocusUpdateContext,UIFont,UIFontDescriptor,UIFontMetrics,UIFontPickerViewControllerConfiguration,UIGestureRecognizer,UIGraphicsRenderer,UIGraphicsRendererContext,UIGraphicsRendererFormat,UIImage,UIImageAsset,UIImageConfiguration,UIIndirectScribbleInteraction,UIKey,UILargeContentViewerInteraction,UILayoutGuide,UILexicon,UILexiconEntry,UIListContentConfiguration,UIListContentImageProperties,UIListContentTextProperties,UILocalizedIndexedCollation,UILocalNotification,UIMenuController,UIMenuElement,UIMenuItem,UIMenuSystem,UIMotionEffect,UINavigationItem,UINib,UIOpenURLContext,UIPasteboard,UIPasteConfiguration,UIPencilInteraction,UIPercentDrivenInteractiveTransition,UIPointerEffect,UIPointerInteraction,UIPointerLockState,UIPointerRegion,UIPointerRegionRequest,UIPointerShape,UIPointerStyle,UIPopoverController,UIPresentationController,UIPress,UIPreviewAction,UIPreviewActionGroup,UIPreviewInteraction,UIPreviewParameters,UIPreviewTarget,UIPrinter,UIPrinterPickerController,UIPrintFormatter,UIPrintInfo,UIPrintInteractionController,UIPrintPageRenderer,UIPrintPaper,UIRegion,UIResponder,UISceneActivationConditions,UISceneActivationRequestOptions,UISceneConfiguration,UISceneConnectionOptions,UISceneDestructionRequestOptions,UISceneOpenExternalURLOptions,UISceneOpenURLOptions,UISceneSession,UISceneSizeRestrictions,UIScreen,UIScreenMode,UIScreenshotService,UIScribbleInteraction,UISearchDisplayController,UISearchToken,UISpringLoadedInteraction,UISpringTimingParameters,UIStatusBarManager,UIStoryboard,UIStoryboardSegue,UIStoryboardUnwindSegueSource,UISwipeActionsConfiguration,UITabBarItemAppearance,UITabBarItemStateAppearance,UITableViewDiffableDataSource,UITableViewPlaceholder,UITableViewRowAction,UITargetedPreview,UITextChecker,UITextDragPreviewRenderer,UITextFormattingCoordinator,UITextInputAssistantItem,UITextInputMode,UITextInputPasswordRules,UITextInputStringTokenizer,UITextInteraction,UITextPlaceholder,UITextPosition,UITextRange,UITextSelectionRect,UITouch,UITraitCollection,UIUserNotificationAction,UIUserNotificationCategory,UIUserNotificationSettings,UIViewConfigurationState,UIViewPropertyAnimator,UIVisualEffect,UNNotification,UNNotificationAction,UNNotificationAttachment,UNNotificationCategory,UNNotificationContent,UNNotificationRequest,UNNotificationResponse,UNNotificationServiceExtension,UNNotificationSettings,UNNotificationSound,UNNotificationTrigger,UNUserNotificationCenter,UTType,VNCircle,VNContour,VNCoreMLModel,VNDocumentCameraScan,VNFaceLandmarkRegion,VNFaceLandmarks,VNGeometryUtils,VNImageRequestHandler,VNObservation,VNPoint,VNRecognizedText,VNRequest,VNSequenceRequestHandler,VNVector,VNVideoProcessor,VNVideoProcessorCadence,VNVideoProcessorRequestProcessingOptions,VSAccountManager,VSAccountManagerResult,VSAccountMetadata,VSAccountMetadataRequest,VSAccountProviderResponse,VSSubscription,VSSubscriptionRegistrationCenter,WCSession,WCSessionFile,WCSessionFileTransfer,WCSessionUserInfoTransfer,WKBackForwardList,WKBackForwardListItem,WKContentRuleList,WKContentRuleListStore,WKContentWorld,WKContextMenuElementInfo,WKFindConfiguration,WKFindResult,WKFrameInfo,WKHTTPCookieStore,WKNavigation,WKNavigationAction,WKNavigationResponse,WKPDFConfiguration,WKPreferences,WKPreviewElementInfo,WKProcessPool,WKScriptMessage,WKSecurityOrigin,WKSnapshotConfiguration,WKUserContentController,WKUserScript,WKWebpagePreferences,WKWebsiteDataRecord,WKWebsiteDataStore,WKWebViewConfiguration,WKWindowFeatures
public class NSObject extends org.moe.natj.objc.ObjCObject implements NSObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNSObject.Function_instanceMethodForSelector_retstatic interfaceNSObject.Function_methodForSelector_ret
-
Constructor Summary
Constructors Modifier Constructor Description protectedNSObject(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanaccessibilityActivate()Implement accessibilityActivate on an element in order to handle the default action.CGPointaccessibilityActivationPoint()Returns the activation point for an accessible element in screen coordinates.NSSet<java.lang.String>accessibilityAssistiveTechnologyFocusedIdentifiers()Returns a set of identifier keys indicating which technology is focused on this objectNSAttributedStringaccessibilityAttributedHint()The underlying attributed version of the accessibility hint.NSAttributedStringaccessibilityAttributedLabel()The underlying attributed version of the accessibility label.NSArray<? extends NSAttributedString>accessibilityAttributedUserInputLabels()The underlying attributed versions of the accessibility user input label(s).NSAttributedStringaccessibilityAttributedValue()The underlying attributed version of the accessibility value.longaccessibilityContainerType()Some containers provide more context for accessibility elements, such as tables or lists.NSArray<? extends UIAccessibilityCustomAction>accessibilityCustomActions()Return an array of UIAccessibilityCustomAction objects to make custom actions for an element accessible to an assistive technology.NSArray<? extends UIAccessibilityCustomRotor>accessibilityCustomRotors()voidaccessibilityDecrement()NSArray<? extends UIAccessibilityLocationDescriptor>accessibilityDragSourceDescriptors()By default, if an accessible view or its subtree has drag and/or drop interactions, they will be automatically exposed by assistive technologies.NSArray<? extends UIAccessibilityLocationDescriptor>accessibilityDropPointDescriptors()java.lang.ObjectaccessibilityElementAtIndex(long index)Returns the accessibility element in order, based on index.longaccessibilityElementCount()Returns the number of accessibility elements in the container.voidaccessibilityElementDidBecomeFocused()Override the following methods to know when an assistive technology has set or unset its virtual focus on the element.voidaccessibilityElementDidLoseFocus()booleanaccessibilityElementIsFocused()Returns whether an assistive technology is focused on the element.NSArray<?>accessibilityElements()A list of container elements managed by the receiver.booleanaccessibilityElementsHidden()Marks all the accessible elements contained within as hidden.CGRectaccessibilityFrame()Returns the frame of the element in screen coordinates.java.lang.StringaccessibilityHint()Returns a localized string that describes the result of performing an action on the element, when the result is non-obvious.voidaccessibilityIncrement()If an element has the UIAccessibilityTraitAdjustable trait, it must also implement the following methods.java.lang.StringaccessibilityLabel()Returns the localized label that represents the element.java.lang.StringaccessibilityLanguage()Returns the language code that the element's label, value and hint should be spoken in.longaccessibilityNavigationStyle()Some assistive technologies allow the user to select a parent view or container to navigate its elements.UIBezierPathaccessibilityPath()Returns the path of the element in screen coordinates.booleanaccessibilityPerformEscape()Implement accessibilityPerformEscape on an element or containing view to exit a modal or hierarchical interface view.booleanaccessibilityPerformMagicTap()Implement accessibilityPerformMagicTap on an element, or the application, in order to provide a context-sensitive action.booleanaccessibilityRespondsToUserInteraction()Returns whether the element performs an action based on user interaction.booleanaccessibilityScroll(long direction)java.lang.StringaccessibilityTextualContext()Returns an appropriate, named context to help identify and classify the type of text inside this element.longaccessibilityTraits()Returns a UIAccessibilityTraits mask that is the OR combination of all accessibility traits that best characterize the element.NSArray<java.lang.String>accessibilityUserInputLabels()Returns the localized label(s) that should be provided by the user to refer to this element.java.lang.StringaccessibilityValue()Returns a localized string that represents the value of the element, such as the value of a slider or the text in a text field.booleanaccessibilityViewIsModal()Informs whether the receiving view should be considered modal by accessibility.static booleanaccessInstanceVariablesDirectly()Return YES if -valueForKey:, -setValue:forKey:, -mutableArrayValueForKey:, -storedValueForKey:, -takeStoredValue:forKey:, and -takeValue:forKey: may directly manipulate instance variables when sent to instances of the receiving class, NO otherwise.voidaddObserverForKeyPathOptionsContext(NSObject observer, java.lang.String keyPath, long options, org.moe.natj.general.ptr.VoidPtr context)Register or deregister as an observer of the value at a key path relative to the receiver.static NSObjectalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)booleanattemptRecoveryFromErrorOptionIndex(NSError error, long recoveryOptionIndex)Given that an error alert has been presented applicaton-modally to the user, and the user has chosen one of the error's recovery options, attempt recovery from the error, and return YES if error recovery was completely successful, NO otherwise.voidattemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo(NSError error, long recoveryOptionIndex, java.lang.Object delegate, org.moe.natj.objc.SEL didRecoverSelector, org.moe.natj.general.ptr.VoidPtr contextInfo)Given that an error alert has been presented document-modally to the user, and the user has chosen one of the error's recovery options, attempt recovery from the error, and send the selected message to the specified delegate.java.lang.ObjectautoContentAccessingProxy()static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)Return YES if the key-value observing machinery should automatically invoke -willChangeValueForKey:/-didChangeValueForKey:, -willChange:valuesAtIndexes:forKey:/-didChange:valuesAtIndexes:forKey:, or -willChangeValueForKey:withSetMutation:usingObjects:/-didChangeValueForKey:withSetMutation:usingObjects: whenever instances of the class receive key-value coding messages for the key, or mutating key-value coding-compliant methods for the key are invoked.java.lang.ObjectawakeAfterUsingCoder(NSCoder coder)voidawakeFromNib()static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)org.moe.natj.objc.Classclass_objc()static NSArray<java.lang.String>classFallbacksForKeyedArchiver()Implemented by classes to substitute new instances for the receiving instance during encoding.org.moe.natj.objc.ClassclassForCoder()org.moe.natj.objc.ClassclassForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()java.lang.Objectcopy()voiddealloc()java.lang.StringdebugDescription()static java.lang.StringdebugDescription_static()java.lang.Stringdescription()static java.lang.Stringdescription_static()NSDictionary<java.lang.String,?>dictionaryWithValuesForKeys(NSArray<java.lang.String> keys)Given an array of keys, return a dictionary containing the keyed attribute values, to-one-related objects, and/or collections of to-many-related objects.voiddidChangeValueForKey(java.lang.String key)voiddidChangeValueForKeyWithSetMutationUsingObjects(java.lang.String key, long mutationKind, NSSet<?> objects)voiddidChangeValuesAtIndexesForKey(long changeKind, NSIndexSet indexes, java.lang.String key)voiddoesNotRecognizeSelector(org.moe.natj.objc.SEL aSelector)booleanfileManagerShouldProceedAfterError(NSFileManager fm, NSDictionary<?,?> errorInfo)Deprecated.voidfileManagerWillProcessPath(NSFileManager fm, java.lang.String path)Deprecated.voidfinalize_objc()Deprecated.java.lang.ObjectforwardingTargetForSelector(org.moe.natj.objc.SEL aSelector)voidforwardInvocation(NSInvocation anInvocation)longhash()static longhash_static()longindexOfAccessibilityElement(java.lang.Object element)Returns the ordered index for an accessibility element default == NSNotFoundNSObjectinit()static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisAccessibilityElement()Return YES if the receiver should be exposed as an accessibility element.booleanisEqual(java.lang.Object object)booleanisKindOfClass(org.moe.natj.objc.Class aClass)booleanisMemberOfClass(org.moe.natj.objc.Class aClass)booleanisProxy()static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)Return a set of key paths for properties whose values affect the value of the keyed property.NSObject.Function_methodForSelector_retmethodForSelector(org.moe.natj.objc.SEL aSelector)NSMethodSignaturemethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)NSMutableArray<?>mutableArrayValueForKey(java.lang.String key)Given a key that identifies an _ordered_ to-many relationship, return a mutable array that provides read-write access to the related objects.NSMutableArray<?>mutableArrayValueForKeyPath(java.lang.String keyPath)java.lang.ObjectmutableCopy()NSMutableOrderedSet<?>mutableOrderedSetValueForKey(java.lang.String key)Given a key that identifies an _ordered_ and uniquing to-many relationship, return a mutable ordered set that provides read-write access to the related objects.NSMutableOrderedSet<?>mutableOrderedSetValueForKeyPath(java.lang.String keyPath)NSMutableSet<?>mutableSetValueForKey(java.lang.String key)Given a key that identifies an _unordered_ and uniquing to-many relationship, return a mutable set that provides read-write access to the related objects.NSMutableSet<?>mutableSetValueForKeyPath(java.lang.String keyPath)static java.lang.Objectnew_objc()org.moe.natj.general.ptr.VoidPtrobservationInfo()Take or return a pointer that identifies information about all of the observers that are registered with the receiver, the options that were used at registration-time, etc.voidobserveValueForKeyPathOfObjectChangeContext(java.lang.String keyPath, java.lang.Object object, NSDictionary<java.lang.String,?> change, org.moe.natj.general.ptr.VoidPtr context)Given that the receiver has been registered as an observer of the value at a key path relative to an object, be notified of a change to that value.java.lang.ObjectperformSelector(org.moe.natj.objc.SEL aSelector)voidperformSelectorInBackgroundWithObject(org.moe.natj.objc.SEL aSelector, java.lang.Object arg)equivalent to the first method with kCFRunLoopCommonModesvoidperformSelectorOnMainThreadWithObjectWaitUntilDone(org.moe.natj.objc.SEL aSelector, java.lang.Object arg, boolean wait_)voidperformSelectorOnMainThreadWithObjectWaitUntilDoneModes(org.moe.natj.objc.SEL aSelector, java.lang.Object arg, boolean wait_, NSArray<java.lang.String> array)voidperformSelectorOnThreadWithObjectWaitUntilDone(org.moe.natj.objc.SEL aSelector, NSThread thr, java.lang.Object arg, boolean wait_)voidperformSelectorOnThreadWithObjectWaitUntilDoneModes(org.moe.natj.objc.SEL aSelector, NSThread thr, java.lang.Object arg, boolean wait_, NSArray<java.lang.String> array)equivalent to the first method with kCFRunLoopCommonModesjava.lang.ObjectperformSelectorWithObject(org.moe.natj.objc.SEL aSelector, java.lang.Object object)voidperformSelectorWithObjectAfterDelay(org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument, double delay)voidperformSelectorWithObjectAfterDelayInModes(org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument, double delay, NSArray<java.lang.String> modes)java.lang.ObjectperformSelectorWithObjectWithObject(org.moe.natj.objc.SEL aSelector, java.lang.Object object1, java.lang.Object object2)voidprepareForInterfaceBuilder()voidprovideImageDataBytesPerRowOrigin_Size_UserInfo(org.moe.natj.general.ptr.VoidPtr data, long rowbytes, long x, long y, long width, long height, java.lang.Object info)Callee should initialize the given bitmap with the subregion x,y width,height of the image.voidremoveObserverForKeyPath(NSObject observer, java.lang.String keyPath)voidremoveObserverForKeyPathContext(NSObject observer, java.lang.String keyPath, org.moe.natj.general.ptr.VoidPtr context)java.lang.ObjectreplacementObjectForCoder(NSCoder coder)java.lang.ObjectreplacementObjectForKeyedArchiver(NSKeyedArchiver archiver)Implemented by classes to substitute a new class for instances during encoding.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)booleanrespondsToSelector(org.moe.natj.objc.SEL aSelector)java.lang.Objectself()voidsetAccessibilityActivationPoint(CGPoint value)Returns the activation point for an accessible element in screen coordinates.voidsetAccessibilityAttributedHint(NSAttributedString value)The underlying attributed version of the accessibility hint.voidsetAccessibilityAttributedLabel(NSAttributedString value)The underlying attributed version of the accessibility label.voidsetAccessibilityAttributedUserInputLabels(NSArray<? extends NSAttributedString> value)The underlying attributed versions of the accessibility user input label(s).voidsetAccessibilityAttributedValue(NSAttributedString value)The underlying attributed version of the accessibility value.voidsetAccessibilityContainerType(long value)Some containers provide more context for accessibility elements, such as tables or lists.voidsetAccessibilityCustomActions(NSArray<? extends UIAccessibilityCustomAction> value)Return an array of UIAccessibilityCustomAction objects to make custom actions for an element accessible to an assistive technology.voidsetAccessibilityCustomRotors(NSArray<? extends UIAccessibilityCustomRotor> value)voidsetAccessibilityDragSourceDescriptors(NSArray<? extends UIAccessibilityLocationDescriptor> value)By default, if an accessible view or its subtree has drag and/or drop interactions, they will be automatically exposed by assistive technologies.voidsetAccessibilityDropPointDescriptors(NSArray<? extends UIAccessibilityLocationDescriptor> value)voidsetAccessibilityElements(NSArray<?> value)A list of container elements managed by the receiver.voidsetAccessibilityElementsHidden(boolean value)Marks all the accessible elements contained within as hidden.voidsetAccessibilityFrame(CGRect value)Returns the frame of the element in screen coordinates.voidsetAccessibilityHint(java.lang.String value)Returns a localized string that describes the result of performing an action on the element, when the result is non-obvious.voidsetAccessibilityLabel(java.lang.String value)Returns the localized label that represents the element.voidsetAccessibilityLanguage(java.lang.String value)Returns the language code that the element's label, value and hint should be spoken in.voidsetAccessibilityNavigationStyle(long value)Some assistive technologies allow the user to select a parent view or container to navigate its elements.voidsetAccessibilityPath(UIBezierPath value)Returns the path of the element in screen coordinates.voidsetAccessibilityRespondsToUserInteraction(boolean value)Returns whether the element performs an action based on user interaction.voidsetAccessibilityTextualContext(java.lang.String value)Returns an appropriate, named context to help identify and classify the type of text inside this element.voidsetAccessibilityTraits(long value)Returns a UIAccessibilityTraits mask that is the OR combination of all accessibility traits that best characterize the element.voidsetAccessibilityUserInputLabels(NSArray<java.lang.String> value)Returns the localized label(s) that should be provided by the user to refer to this element.voidsetAccessibilityValue(java.lang.String value)Returns a localized string that represents the value of the element, such as the value of a slider or the text in a text field.voidsetAccessibilityViewIsModal(boolean value)Informs whether the receiving view should be considered modal by accessibility.voidsetIsAccessibilityElement(boolean value)Return YES if the receiver should be exposed as an accessibility element.voidsetNilValueForKey(java.lang.String key)Given that an invocation of -setValue:forKey: would be unable to set the keyed value because the type of the parameter of the corresponding accessor method is an NSNumber scalar type or NSValue structure type but the value is nil, set the keyed value using some other mechanism.voidsetObservationInfo(org.moe.natj.general.ptr.VoidPtr value)Take or return a pointer that identifies information about all of the observers that are registered with the receiver, the options that were used at registration-time, etc.voidsetShouldGroupAccessibilityChildren(boolean value)Forces children elements to be grouped together regardless of their position on screen.voidsetValueForKey(java.lang.Object value, java.lang.String key)Given a value and a key that identifies an attribute, set the value of the attribute.voidsetValueForKeyPath(java.lang.Object value, java.lang.String keyPath)voidsetValueForUndefinedKey(java.lang.Object value, java.lang.String key)Given that an invocation of -setValue:forKey: would be unable to set the keyed value using its default mechanism, set the keyed value using some other mechanism.voidsetValuesForKeysWithDictionary(NSDictionary<java.lang.String,?> keyedValues)Given a dictionary containing keyed attribute values, to-one-related objects, and/or collections of to-many-related objects, set the keyed values.static voidsetVersion_static(long aVersion)booleanshouldGroupAccessibilityChildren()Forces children elements to be grouped together regardless of their position on screen.org.moe.natj.objc.Classsuperclass()static org.moe.natj.objc.Classsuperclass_static()booleanvalidateValueForKeyError(org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> ioValue, java.lang.String inKey, org.moe.natj.general.ptr.Ptr<NSError> outError)Given a pointer to a value pointer, a key that identifies an attribute or to-one relationship, and a pointer to an NSError pointer, return a value that is suitable for use in subsequent -setValue:forKey: messages sent to the same receiver.booleanvalidateValueForKeyPathError(org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> ioValue, java.lang.String inKeyPath, org.moe.natj.general.ptr.Ptr<NSError> outError)java.lang.ObjectvalueForKey(java.lang.String key)Given a key that identifies an attribute or to-one relationship, return the attribute value or the related object.java.lang.ObjectvalueForKeyPath(java.lang.String keyPath)Key-path-taking variants of like-named methods.java.lang.ObjectvalueForUndefinedKey(java.lang.String key)Given that an invocation of -valueForKey: would be unable to get a keyed value using its default access mechanism, return the keyed value using some other mechanism.static longversion_static()voidwillChangeValueForKey(java.lang.String key)Given a key that identifies a property (attribute, to-one relationship, or ordered or unordered to-many relationship), send -observeValueForKeyPath:ofObject:change:context: notification messages of kind NSKeyValueChangeSetting to each observer registered for the key, including those that are registered with other objects using key paths that locate the keyed value in this object.voidwillChangeValueForKeyWithSetMutationUsingObjects(java.lang.String key, long mutationKind, NSSet<?> objects)Given a key that identifies an _unordered_ to-many relationship, send -observeValueForKeyPath:ofObject:change:context: notification messages to each observer registered for the key, including those that are registered with other objects using key paths that locate the keyed value in this object.voidwillChangeValuesAtIndexesForKey(long changeKind, NSIndexSet indexes, java.lang.String key)Given a key that identifies an _ordered_ to-many relationship, send -observeValueForKeyPath:ofObject:change:context: notification messages of the passed-in change kind to each observer registered for the key, including those that are registered with other objects using key paths that locate the keyed value in this object.
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
Return YES if -valueForKey:, -setValue:forKey:, -mutableArrayValueForKey:, -storedValueForKey:, -takeStoredValue:forKey:, and -takeValue:forKey: may directly manipulate instance variables when sent to instances of the receiving class, NO otherwise. The default implementation of this property returns YES.
-
alloc
public static NSObject alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
Return YES if the key-value observing machinery should automatically invoke -willChangeValueForKey:/-didChangeValueForKey:, -willChange:valuesAtIndexes:forKey:/-didChange:valuesAtIndexes:forKey:, or -willChangeValueForKey:withSetMutation:usingObjects:/-didChangeValueForKey:withSetMutation:usingObjects: whenever instances of the class receive key-value coding messages for the key, or mutating key-value coding-compliant methods for the key are invoked. Return NO otherwise. Starting in Mac OS 10.5, the default implementation of this method searches the receiving class for a method whose name matches the pattern +automaticallyNotifiesObserversOf, and returns the result of invoking that method if it is found. So, any such method must return BOOL too. If no such method is found YES is returned.
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
Implemented by classes to substitute new instances for the receiving instance during encoding. The returned object will be encoded instead of the receiver (if different). This method is called only if no replacement mapping for the object has been set up in the archiver yet (for example, due to a previous call of replacementObjectForKeyedArchiver: to that object). This method returns the result of [self replacementObjectForArchiver:nil] by default, NOT -replacementObjectForCoder: as might be expected. This is a concession to source compatibility.
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
Return a set of key paths for properties whose values affect the value of the keyed property. When an observer for the key is registered with an instance of the receiving class, KVO itself automatically observes all of the key paths for the same instance, and sends change notifications for the key to the observer when the value for any of those key paths changes. The default implementation of this method searches the receiving class for a method whose name matches the pattern +keyPathsForValuesAffecting, and returns the result of invoking that method if it is found. So, any such method must return an NSSet too. If no such method is found, an NSSet that is computed from information provided by previous invocations of the now-deprecated +setKeys:triggerChangeNotificationsForDependentKey: method is returned, for backward binary compatibility. This method and KVO's automatic use of it comprise a dependency mechanism that you can use instead of sending -willChangeValueForKey:/-didChangeValueForKey: messages for dependent, computed, properties. You can override this method when the getter method of one of your properties computes a value to return using the values of other properties, including those that are located by key paths. Your override should typically invoke super and return a set that includes any members in the set that result from doing that (so as not to interfere with overrides of this method in superclasses). You can't really override this method when you add a computed property to an existing class using a category, because you're not supposed to override methods in categories. In that case, implement a matching +keyPathsForValuesAffecting to take advantage of this mechanism.
-
new_objc
public static java.lang.Object new_objc()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
accessibilityActivate
public boolean accessibilityActivate()
Implement accessibilityActivate on an element in order to handle the default action. For example, if a native control requires a swipe gesture, you may implement this method so that a VoiceOver user will perform a double-tap to activate the item. If your implementation successfully handles activate, return YES, otherwise return NO. default == NO
-
accessibilityActivationPoint
public CGPoint accessibilityActivationPoint()
Returns the activation point for an accessible element in screen coordinates. default == Mid-point of the accessibilityFrame.
-
accessibilityAssistiveTechnologyFocusedIdentifiers
public NSSet<java.lang.String> accessibilityAssistiveTechnologyFocusedIdentifiers()
Returns a set of identifier keys indicating which technology is focused on this object
-
accessibilityCustomActions
public NSArray<? extends UIAccessibilityCustomAction> accessibilityCustomActions()
Return an array of UIAccessibilityCustomAction objects to make custom actions for an element accessible to an assistive technology. For example, a photo app might have a view that deletes its corresponding photo in response to a flick gesture. If the view returns a delete action from this property, VoiceOver and Switch Control users will be able to delete photos without performing the flick gesture. default == nil
-
accessibilityCustomRotors
public NSArray<? extends UIAccessibilityCustomRotor> accessibilityCustomRotors()
-
accessibilityDecrement
public void accessibilityDecrement()
-
accessibilityElementAtIndex
public java.lang.Object accessibilityElementAtIndex(long index)
Returns the accessibility element in order, based on index. default == nil
-
accessibilityElementCount
public long accessibilityElementCount()
Returns the number of accessibility elements in the container.
-
accessibilityElementDidBecomeFocused
public void accessibilityElementDidBecomeFocused()
Override the following methods to know when an assistive technology has set or unset its virtual focus on the element.
-
accessibilityElementDidLoseFocus
public void accessibilityElementDidLoseFocus()
-
accessibilityElementIsFocused
public boolean accessibilityElementIsFocused()
Returns whether an assistive technology is focused on the element.
-
accessibilityElements
public NSArray<?> accessibilityElements()
A list of container elements managed by the receiver. This can be used as an alternative to implementing the dynamic methods. default == nil
-
accessibilityElementsHidden
public boolean accessibilityElementsHidden()
Marks all the accessible elements contained within as hidden. default == NO
-
accessibilityFrame
public CGRect accessibilityFrame()
Returns the frame of the element in screen coordinates. default == CGRectZero default on UIViews == the frame of the view Setting the property will change the frame that is returned to the accessibility client.
-
accessibilityHint
public java.lang.String accessibilityHint()
Returns a localized string that describes the result of performing an action on the element, when the result is non-obvious. The hint should be a brief phrase. For example: "Purchases the item." or "Downloads the attachment." default == nil Setting the property will change the hint that is returned to the accessibility client.
-
accessibilityIncrement
public void accessibilityIncrement()
If an element has the UIAccessibilityTraitAdjustable trait, it must also implement the following methods. Incrementing will adjust the element so that it increases its content, while decrementing decreases its content. For example, accessibilityIncrement will increase the value of a UISlider, and accessibilityDecrement will decrease the value.
-
accessibilityLabel
public java.lang.String accessibilityLabel()
Returns the localized label that represents the element. If the element does not display text (an icon for example), this method should return text that best labels the element. For example: "Play" could be used for a button that is used to play music. "Play button" should not be used, since there is a trait that identifies the control is a button. default == nil default on UIKit controls == derived from the title Setting the property will change the label that is returned to the accessibility client.
-
accessibilityLanguage
public java.lang.String accessibilityLanguage()
Returns the language code that the element's label, value and hint should be spoken in. If no language is set, the user's language is used. The format for the language code should follow Internet BCP 47 for language tags. For example, en-US specifies U.S. English. default == nil
-
accessibilityNavigationStyle
public long accessibilityNavigationStyle()
Some assistive technologies allow the user to select a parent view or container to navigate its elements. This property allows an app to specify whether that behavior should apply to the receiver. Currently, this property only affects Switch Control, not VoiceOver or other assistive technologies. See UIAccessibilityConstants.h for the list of supported values. default == UIAccessibilityNavigationStyleAutomatic
-
accessibilityPath
public UIBezierPath accessibilityPath()
Returns the path of the element in screen coordinates. default == nil Setting the property, or overriding the method, will cause the assistive technology to prefer the path over the accessibility. frame when highlighting the element.
-
accessibilityPerformEscape
public boolean accessibilityPerformEscape()
Implement accessibilityPerformEscape on an element or containing view to exit a modal or hierarchical interface view. For example, UIPopoverController implements accessibilityPerformEscape on it's root view, so that when called (as a result of a VoiceOver user action), it dismisses the popover. If your implementation successfully dismisses the current UI, return YES, otherwise return NO. default == NO
-
accessibilityPerformMagicTap
public boolean accessibilityPerformMagicTap()
Implement accessibilityPerformMagicTap on an element, or the application, in order to provide a context-sensitive action. For example, a music player can implement this to start and stop playback, or a recording app could start and stop recording. Return YES to indicate that the action was handled. default == NO
-
accessibilityScroll
public boolean accessibilityScroll(long direction)
-
accessibilityTraits
public long accessibilityTraits()
Returns a UIAccessibilityTraits mask that is the OR combination of all accessibility traits that best characterize the element. See UIAccessibilityConstants.h for a list of traits. When overriding this method, remember to combine your custom traits with [super accessibilityTraits]. default == UIAccessibilityTraitNone default on UIKit controls == traits that best characterize individual controls. Setting the property will change the traits that are returned to the accessibility client.
-
accessibilityValue
public java.lang.String accessibilityValue()
Returns a localized string that represents the value of the element, such as the value of a slider or the text in a text field. Use only when the label of the element differs from a value. For example: A volume slider has a label of "Volume", but a value of "60%". default == nil default on UIKit controls == values for appropriate controls Setting the property will change the value that is returned to the accessibility client.
-
accessibilityViewIsModal
public boolean accessibilityViewIsModal()
Informs whether the receiving view should be considered modal by accessibility. If YES, then elements outside this view will be ignored. Only elements inside this view will be exposed. default == NO
-
addObserverForKeyPathOptionsContext
public void addObserverForKeyPathOptionsContext(NSObject observer, java.lang.String keyPath, long options, org.moe.natj.general.ptr.VoidPtr context)
Register or deregister as an observer of the value at a key path relative to the receiver. The options determine what is included in observer notifications and when they're sent, as described above, and the context is passed in observer notifications as described above. You should use -removeObserver:forKeyPath:context: instead of -removeObserver:forKeyPath: whenever possible because it allows you to more precisely specify your intent. When the same observer is registered for the same key path multiple times, but with different context pointers each time, -removeObserver:forKeyPath: has to guess at the context pointer when deciding what exactly to remove, and it can guess wrong.
-
attemptRecoveryFromErrorOptionIndex
public boolean attemptRecoveryFromErrorOptionIndex(NSError error, long recoveryOptionIndex)
Given that an error alert has been presented applicaton-modally to the user, and the user has chosen one of the error's recovery options, attempt recovery from the error, and return YES if error recovery was completely successful, NO otherwise. The recovery option index is an index into the error's array of localized recovery options.
-
attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo
public void attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo(NSError error, long recoveryOptionIndex, java.lang.Object delegate, org.moe.natj.objc.SEL didRecoverSelector, org.moe.natj.general.ptr.VoidPtr contextInfo)
Given that an error alert has been presented document-modally to the user, and the user has chosen one of the error's recovery options, attempt recovery from the error, and send the selected message to the specified delegate. The option index is an index into the error's array of localized recovery options. The method selected by didRecoverSelector must have the same signature as: - (void)didPresentErrorWithRecovery:(BOOL)didRecover contextInfo:(void *)contextInfo; The value passed for didRecover must be YES if error recovery was completely successful, NO otherwise.
-
autoContentAccessingProxy
public java.lang.Object autoContentAccessingProxy()
-
awakeAfterUsingCoder
public java.lang.Object awakeAfterUsingCoder(NSCoder coder)
-
awakeFromNib
public void awakeFromNib()
-
class_objc
public org.moe.natj.objc.Class class_objc()
- Specified by:
class_objcin interfaceNSObject
-
classForCoder
public org.moe.natj.objc.Class classForCoder()
-
classForKeyedArchiver
public org.moe.natj.objc.Class classForKeyedArchiver()
-
copy
public java.lang.Object copy()
-
dealloc
public final void dealloc()
-
debugDescription
public java.lang.String debugDescription()
- Specified by:
debugDescriptionin interfaceNSObject
-
description
public java.lang.String description()
- Specified by:
descriptionin interfaceNSObject
-
dictionaryWithValuesForKeys
public NSDictionary<java.lang.String,?> dictionaryWithValuesForKeys(NSArray<java.lang.String> keys)
Given an array of keys, return a dictionary containing the keyed attribute values, to-one-related objects, and/or collections of to-many-related objects. Entries for which -valueForKey: returns nil have NSNull as their value in the returned dictionary.
-
didChangeValuesAtIndexesForKey
public void didChangeValuesAtIndexesForKey(long changeKind, NSIndexSet indexes, java.lang.String key)
-
didChangeValueForKey
public void didChangeValueForKey(java.lang.String key)
-
didChangeValueForKeyWithSetMutationUsingObjects
public void didChangeValueForKeyWithSetMutationUsingObjects(java.lang.String key, long mutationKind, NSSet<?> objects)
-
doesNotRecognizeSelector
public void doesNotRecognizeSelector(org.moe.natj.objc.SEL aSelector)
-
fileManagerShouldProceedAfterError
@Deprecated public boolean fileManagerShouldProceedAfterError(NSFileManager fm, NSDictionary<?,?> errorInfo)
Deprecated.
-
fileManagerWillProcessPath
@Deprecated public void fileManagerWillProcessPath(NSFileManager fm, java.lang.String path)
Deprecated.
-
finalize_objc
@Deprecated public void finalize_objc()
Deprecated.
-
forwardInvocation
public void forwardInvocation(NSInvocation anInvocation)
-
forwardingTargetForSelector
public java.lang.Object forwardingTargetForSelector(org.moe.natj.objc.SEL aSelector)
-
indexOfAccessibilityElement
public long indexOfAccessibilityElement(java.lang.Object element)
Returns the ordered index for an accessibility element default == NSNotFound
-
init
public NSObject init()
-
isAccessibilityElement
public boolean isAccessibilityElement()
Return YES if the receiver should be exposed as an accessibility element. default == NO default on UIKit controls == YES Setting the property to YES will cause the receiver to be visible to assistive applications.
-
isEqual
public boolean isEqual(java.lang.Object object)
-
isKindOfClass
public boolean isKindOfClass(org.moe.natj.objc.Class aClass)
- Specified by:
isKindOfClassin interfaceNSObject
-
isMemberOfClass
public boolean isMemberOfClass(org.moe.natj.objc.Class aClass)
- Specified by:
isMemberOfClassin interfaceNSObject
-
methodForSelector
public NSObject.Function_methodForSelector_ret methodForSelector(org.moe.natj.objc.SEL aSelector)
-
methodSignatureForSelector
public NSMethodSignature methodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
mutableArrayValueForKey
public NSMutableArray<?> mutableArrayValueForKey(java.lang.String key)
Given a key that identifies an _ordered_ to-many relationship, return a mutable array that provides read-write access to the related objects. Objects added to the mutable array will become related to the receiver, and objects removed from the mutable array will become unrelated. The default implementation of this method recognizes the same simple accessor methods and array accessor methods as -valueForKey:'s, and follows the same direct instance variable access policies, but always returns a mutable collection proxy object instead of the immutable collection that -valueForKey: would return. It also: 1. Searches the class of the receiver for methods whose names match the patterns -insertObject:inAtIndex: and -removeObjectFrom AtIndex: (corresponding to the two most primitive methods defined by the NSMutableArray class), and (introduced in Mac OS 10.4) also -insert :atIndexes: and -remove AtIndexes: (corresponding to -[NSMutableArray insertObjects:atIndexes:] and -[NSMutableArray removeObjectsAtIndexes:). If at least one insertion method and at least one removal method are found each NSMutableArray message sent to the collection proxy object will result in some combination of -insertObject:in AtIndex:, -removeObjectFrom AtIndex:, -insert :atIndexes:, and -remove AtIndexes: messages being sent to the original receiver of -mutableArrayValueForKey:. If the class of the receiver also implements an optional method whose name matches the pattern -replaceObjectIn AtIndex:withObject: or (introduced in Mac OS 10.4) -replace AtIndexes:with : that method will be used when appropriate for best performance. 2. Otherwise (no set of array mutation methods is found), searches the class of the receiver for an accessor method whose name matches the pattern -set :. If such a method is found each NSMutableArray message sent to the collection proxy object will result in a -set : message being sent to the original receiver of -mutableArrayValueForKey:. 3. Otherwise (no set of array mutation methods or simple accessor method is found), if the receiver's class' +accessInstanceVariablesDirectly property returns YES, searches the class of the receiver for an instance variable whose name matches the pattern _ or , in that order. If such an instance variable is found, each NSMutableArray message sent to the collection proxy object will be forwarded to the instance variable's value, which therefore must typically be an instance of NSMutableArray or a subclass of NSMutableArray. 4. Otherwise (no set of array mutation methods, simple accessor method, or instance variable is found), returns a mutable collection proxy object anyway. Each NSMutableArray message sent to the collection proxy object will result in a -setValue:forUndefinedKey: message being sent to the original receiver of -mutableArrayValueForKey:. The default implementation of -setValue:forUndefinedKey: raises an NSUndefinedKeyException, but you can override it in your application. Performance note: the repetitive -set : messages implied by step 2's description are a potential performance problem. For better performance implement insertion and removal methods that fulfill the requirements for step 1 in your KVC-compliant class. For best performance implement a replacement method too.
-
mutableArrayValueForKeyPath
public NSMutableArray<?> mutableArrayValueForKeyPath(java.lang.String keyPath)
-
mutableCopy
public java.lang.Object mutableCopy()
-
mutableOrderedSetValueForKey
public NSMutableOrderedSet<?> mutableOrderedSetValueForKey(java.lang.String key)
Given a key that identifies an _ordered_ and uniquing to-many relationship, return a mutable ordered set that provides read-write access to the related objects. Objects added to the mutable ordered set will become related to the receiver, and objects removed from the mutable ordered set will become unrelated. The default implementation of this method recognizes the same simple accessor methods and ordered set accessor methods as -valueForKey:'s, and follows the same direct instance variable access policies, but always returns a mutable collection proxy object instead of the immutable collection that -valueForKey: would return. It also: 1. Searches the class of the receiver for methods whose names match the patterns -insertObject:inAtIndex: and -removeObjectFrom AtIndex: (corresponding to the two most primitive methods defined by the NSMutableOrderedSet class), and also -insert :atIndexes: and -remove AtIndexes: (corresponding to -[NSMutableOrderedSet insertObjects:atIndexes:] and -[NSMutableOrderedSet removeObjectsAtIndexes:). If at least one insertion method and at least one removal method are found each NSMutableOrderedSet message sent to the collection proxy object will result in some combination of -insertObject:in AtIndex:, -removeObjectFrom AtIndex:, -insert :atIndexes:, and -remove AtIndexes: messages being sent to the original receiver of -mutableOrderedSetValueForKey:. If the class of the receiver also implements an optional method whose name matches the pattern -replaceObjectIn AtIndex:withObject: or -replace AtIndexes:with : that method will be used when appropriate for best performance. 2. Otherwise (no set of ordered set mutation methods is found), searches the class of the receiver for an accessor method whose name matches the pattern -set :. If such a method is found each NSMutableOrderedSet message sent to the collection proxy object will result in a -set : message being sent to the original receiver of -mutableOrderedSetValueForKey:. 3. Otherwise (no set of ordered set mutation methods or simple accessor method is found), if the receiver's class' +accessInstanceVariablesDirectly property returns YES, searches the class of the receiver for an instance variable whose name matches the pattern _ or , in that order. If such an instance variable is found, each NSMutableOrderedSet message sent to the collection proxy object will be forwarded to the instance variable's value, which therefore must typically be an instance of NSMutableOrderedSet or a subclass of NSMutableOrderedSet. 4. Otherwise (no set of ordered set mutation methods, simple accessor method, or instance variable is found), returns a mutable collection proxy object anyway. Each NSMutableOrderedSet message sent to the collection proxy object will result in a -setValue:forUndefinedKey: message being sent to the original receiver of -mutableOrderedSetValueForKey:. The default implementation of -setValue:forUndefinedKey: raises an NSUndefinedKeyException, but you can override it in your application. Performance note: the repetitive -set : messages implied by step 2's description are a potential performance problem. For better performance implement insertion and removal methods that fulfill the requirements for step 1 in your KVC-compliant class. For best performance implement a replacement method too.
-
mutableOrderedSetValueForKeyPath
public NSMutableOrderedSet<?> mutableOrderedSetValueForKeyPath(java.lang.String keyPath)
-
mutableSetValueForKey
public NSMutableSet<?> mutableSetValueForKey(java.lang.String key)
Given a key that identifies an _unordered_ and uniquing to-many relationship, return a mutable set that provides read-write access to the related objects. Objects added to the mutable set will become related to the receiver, and objects removed from the mutable set will become unrelated. The default implementation of this method recognizes the same simple accessor methods and set accessor methods as -valueForKey:'s, and follows the same direct instance variable access policies, but always returns a mutable collection proxy object instead of the immutable collection that -valueForKey: would return. It also: 1. Searches the class of the receiver for methods whose names match the patterns -addObject: and -remove Object: (corresponding to the two primitive methods defined by the NSMutableSet class) and also -add : and -remove : (corresponding to -[NSMutableSet unionSet:] and -[NSMutableSet minusSet:]). If at least one addition method and at least one removal method are found each NSMutableSet message sent to the collection proxy object will result in some combination of -add Object:, -remove Object:, -add :, and -remove : messages being sent to the original receiver of -mutableSetValueForKey:. If the class of the receiver also implements an optional method whose name matches the pattern -intersect : or -set : that method will be used when appropriate for best performance. 2. Otherwise (no set of set mutation methods is found), searches the class of the receiver for an accessor method whose name matches the pattern -set :. If such a method is found each NSMutableSet message sent to the collection proxy object will result in a -set : message being sent to the original receiver of -mutableSetValueForKey:. 3. Otherwise (no set of set mutation methods or simple accessor method is found), if the receiver's class' +accessInstanceVariablesDirectly property returns YES, searches the class of the receiver for an instance variable whose name matches the pattern _ or , in that order. If such an instance variable is found, each NSMutableSet message sent to the collection proxy object will be forwarded to the instance variable's value, which therefore must typically be an instance of NSMutableSet or a subclass of NSMutableSet. 4. Otherwise (no set of set mutation methods, simple accessor method, or instance variable is found), returns a mutable collection proxy object anyway. Each NSMutableSet message sent to the collection proxy object will result in a -setValue:forUndefinedKey: message being sent to the original receiver of -mutableSetValueForKey:. The default implementation of -setValue:forUndefinedKey: raises an NSUndefinedKeyException, but you can override it in your application. Performance note: the repetitive -set : messages implied by step 2's description are a potential performance problem. For better performance implement methods that fulfill the requirements for step 1 in your KVC-compliant class.
-
mutableSetValueForKeyPath
public NSMutableSet<?> mutableSetValueForKeyPath(java.lang.String keyPath)
-
observationInfo
public org.moe.natj.general.ptr.VoidPtr observationInfo()
Take or return a pointer that identifies information about all of the observers that are registered with the receiver, the options that were used at registration-time, etc. The default implementation of these methods store observation info in a global dictionary keyed by the receivers' pointers. For improved performance, you can override these methods to store the opaque data pointer in an instance variable. Overrides of these methods must not attempt to send Objective-C messages to the passed-in observation info, including -retain and -release.
-
observeValueForKeyPathOfObjectChangeContext
public void observeValueForKeyPathOfObjectChangeContext(java.lang.String keyPath, java.lang.Object object, NSDictionary<java.lang.String,?> change, org.moe.natj.general.ptr.VoidPtr context)Given that the receiver has been registered as an observer of the value at a key path relative to an object, be notified of a change to that value. The change dictionary always contains an NSKeyValueChangeKindKey entry whose value is an NSNumber wrapping an NSKeyValueChange (use -[NSNumber unsignedIntegerValue]). The meaning of NSKeyValueChange depends on what sort of property is identified by the key path: - For any sort of property (attribute, to-one relationship, or ordered or unordered to-many relationship) NSKeyValueChangeSetting indicates that the observed object has received a -setValue:forKey: message, or that the key-value coding-compliant set method for the key has been invoked, or that a -willChangeValueForKey:/-didChangeValueForKey: pair has otherwise been invoked. - For an _ordered_ to-many relationship, NSKeyValueChangeInsertion, NSKeyValueChangeRemoval, and NSKeyValueChangeReplacement indicate that a mutating message has been sent to the array returned by a -mutableArrayValueForKey: message sent to the object, or sent to the ordered set returned by a -mutableOrderedSetValueForKey: message sent to the object, or that one of the key-value coding-compliant array or ordered set mutation methods for the key has been invoked, or that a -willChange:valuesAtIndexes:forKey:/-didChange:valuesAtIndexes:forKey: pair has otherwise been invoked. - For an _unordered_ to-many relationship (introduced in Mac OS 10.4), NSKeyValueChangeInsertion, NSKeyValueChangeRemoval, and NSKeyValueChangeReplacement indicate that a mutating message has been sent to the set returned by a -mutableSetValueForKey: message sent to the object, or that one of the key-value coding-compliant set mutation methods for the key has been invoked, or that a -willChangeValueForKey:withSetMutation:usingObjects:/-didChangeValueForKey:withSetMutation:usingObjects: pair has otherwise been invoked. For any sort of property, the change dictionary contains an NSKeyValueChangeNewKey entry if NSKeyValueObservingOptionNew was specified at observer registration time, it's the right kind of change, and this isn't a prior notification. The change dictionary contains an NSKeyValueChangeOldKey if NSKeyValueObservingOptionOld was specified and it's the right kind of change. See the comments for the NSKeyValueObserverNotification informal protocol methods for what the values of those entries can be. For an _ordered_ to-many relationship, the change dictionary always contains an NSKeyValueChangeIndexesKey entry whose value is an NSIndexSet containing the indexes of the inserted, removed, or replaced objects, unless the change is an NSKeyValueChangeSetting. If NSKeyValueObservingOptionPrior (introduced in Mac OS 10.5) was specified at observer registration time, and this notification is one being sent prior to a change as a result, the change dictionary contains an NSKeyValueChangeNotificationIsPriorKey entry whose value is an NSNumber wrapping YES (use -[NSNumber boolValue]). context is always the same pointer that was passed in at observer registration time.
-
performSelector
public java.lang.Object performSelector(org.moe.natj.objc.SEL aSelector)
- Specified by:
performSelectorin interfaceNSObject
-
performSelectorOnThreadWithObjectWaitUntilDone
public void performSelectorOnThreadWithObjectWaitUntilDone(org.moe.natj.objc.SEL aSelector, NSThread thr, java.lang.Object arg, boolean wait_)
-
performSelectorOnThreadWithObjectWaitUntilDoneModes
public void performSelectorOnThreadWithObjectWaitUntilDoneModes(org.moe.natj.objc.SEL aSelector, NSThread thr, java.lang.Object arg, boolean wait_, NSArray<java.lang.String> array)equivalent to the first method with kCFRunLoopCommonModes
-
performSelectorWithObject
public java.lang.Object performSelectorWithObject(org.moe.natj.objc.SEL aSelector, java.lang.Object object)- Specified by:
performSelectorWithObjectin interfaceNSObject
-
performSelectorWithObjectAfterDelay
public void performSelectorWithObjectAfterDelay(org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument, double delay)
-
performSelectorWithObjectAfterDelayInModes
public void performSelectorWithObjectAfterDelayInModes(org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument, double delay, NSArray<java.lang.String> modes)
-
performSelectorWithObjectWithObject
public java.lang.Object performSelectorWithObjectWithObject(org.moe.natj.objc.SEL aSelector, java.lang.Object object1, java.lang.Object object2)- Specified by:
performSelectorWithObjectWithObjectin interfaceNSObject
-
performSelectorInBackgroundWithObject
public void performSelectorInBackgroundWithObject(org.moe.natj.objc.SEL aSelector, java.lang.Object arg)equivalent to the first method with kCFRunLoopCommonModes
-
performSelectorOnMainThreadWithObjectWaitUntilDone
public void performSelectorOnMainThreadWithObjectWaitUntilDone(org.moe.natj.objc.SEL aSelector, java.lang.Object arg, boolean wait_)
-
performSelectorOnMainThreadWithObjectWaitUntilDoneModes
public void performSelectorOnMainThreadWithObjectWaitUntilDoneModes(org.moe.natj.objc.SEL aSelector, java.lang.Object arg, boolean wait_, NSArray<java.lang.String> array)
-
prepareForInterfaceBuilder
public void prepareForInterfaceBuilder()
-
provideImageDataBytesPerRowOrigin_Size_UserInfo
public void provideImageDataBytesPerRowOrigin_Size_UserInfo(org.moe.natj.general.ptr.VoidPtr data, long rowbytes, long x, long y, long width, long height, java.lang.Object info)Callee should initialize the given bitmap with the subregion x,y width,height of the image. (this subregion is defined in the image's local coordinate space, i.e. the origin is the top left corner of the image). By default, this method will be called to requests the full image data regardless of what subregion is needed for the current render. All of the image is loaded or none of it is. If the kCIImageProviderTileSize option is specified, then only the tiles that are needed are requested. Changing the virtual memory mapping of the supplied buffer (e.g. using vm_copy () to modify it) will give undefined behavior.
-
removeObserverForKeyPath
public void removeObserverForKeyPath(NSObject observer, java.lang.String keyPath)
-
removeObserverForKeyPathContext
public void removeObserverForKeyPathContext(NSObject observer, java.lang.String keyPath, org.moe.natj.general.ptr.VoidPtr context)
-
replacementObjectForCoder
public java.lang.Object replacementObjectForCoder(NSCoder coder)
-
replacementObjectForKeyedArchiver
public java.lang.Object replacementObjectForKeyedArchiver(NSKeyedArchiver archiver)
Implemented by classes to substitute a new class for instances during encoding. The object will be encoded as if it were a member of the returned class. The results of this method are overridden by the archiver class and instance name<->class encoding tables. If nil is returned, the result of this method is ignored. This method returns the result of [self classForArchiver] by default, NOT -classForCoder as might be expected. This is a concession to source compatibility.
-
respondsToSelector
public boolean respondsToSelector(org.moe.natj.objc.SEL aSelector)
- Specified by:
respondsToSelectorin interfaceNSObject
-
setAccessibilityActivationPoint
public void setAccessibilityActivationPoint(CGPoint value)
Returns the activation point for an accessible element in screen coordinates. default == Mid-point of the accessibilityFrame.
-
setAccessibilityCustomActions
public void setAccessibilityCustomActions(NSArray<? extends UIAccessibilityCustomAction> value)
Return an array of UIAccessibilityCustomAction objects to make custom actions for an element accessible to an assistive technology. For example, a photo app might have a view that deletes its corresponding photo in response to a flick gesture. If the view returns a delete action from this property, VoiceOver and Switch Control users will be able to delete photos without performing the flick gesture. default == nil
-
setAccessibilityCustomRotors
public void setAccessibilityCustomRotors(NSArray<? extends UIAccessibilityCustomRotor> value)
-
setAccessibilityElements
public void setAccessibilityElements(NSArray<?> value)
A list of container elements managed by the receiver. This can be used as an alternative to implementing the dynamic methods. default == nil
-
setAccessibilityElementsHidden
public void setAccessibilityElementsHidden(boolean value)
Marks all the accessible elements contained within as hidden. default == NO
-
setAccessibilityFrame
public void setAccessibilityFrame(CGRect value)
Returns the frame of the element in screen coordinates. default == CGRectZero default on UIViews == the frame of the view Setting the property will change the frame that is returned to the accessibility client.
-
setAccessibilityHint
public void setAccessibilityHint(java.lang.String value)
Returns a localized string that describes the result of performing an action on the element, when the result is non-obvious. The hint should be a brief phrase. For example: "Purchases the item." or "Downloads the attachment." default == nil Setting the property will change the hint that is returned to the accessibility client.
-
setAccessibilityLabel
public void setAccessibilityLabel(java.lang.String value)
Returns the localized label that represents the element. If the element does not display text (an icon for example), this method should return text that best labels the element. For example: "Play" could be used for a button that is used to play music. "Play button" should not be used, since there is a trait that identifies the control is a button. default == nil default on UIKit controls == derived from the title Setting the property will change the label that is returned to the accessibility client.
-
setAccessibilityLanguage
public void setAccessibilityLanguage(java.lang.String value)
Returns the language code that the element's label, value and hint should be spoken in. If no language is set, the user's language is used. The format for the language code should follow Internet BCP 47 for language tags. For example, en-US specifies U.S. English. default == nil
-
setAccessibilityNavigationStyle
public void setAccessibilityNavigationStyle(long value)
Some assistive technologies allow the user to select a parent view or container to navigate its elements. This property allows an app to specify whether that behavior should apply to the receiver. Currently, this property only affects Switch Control, not VoiceOver or other assistive technologies. See UIAccessibilityConstants.h for the list of supported values. default == UIAccessibilityNavigationStyleAutomatic
-
setAccessibilityPath
public void setAccessibilityPath(UIBezierPath value)
Returns the path of the element in screen coordinates. default == nil Setting the property, or overriding the method, will cause the assistive technology to prefer the path over the accessibility. frame when highlighting the element.
-
setAccessibilityTraits
public void setAccessibilityTraits(long value)
Returns a UIAccessibilityTraits mask that is the OR combination of all accessibility traits that best characterize the element. See UIAccessibilityConstants.h for a list of traits. When overriding this method, remember to combine your custom traits with [super accessibilityTraits]. default == UIAccessibilityTraitNone default on UIKit controls == traits that best characterize individual controls. Setting the property will change the traits that are returned to the accessibility client.
-
setAccessibilityValue
public void setAccessibilityValue(java.lang.String value)
Returns a localized string that represents the value of the element, such as the value of a slider or the text in a text field. Use only when the label of the element differs from a value. For example: A volume slider has a label of "Volume", but a value of "60%". default == nil default on UIKit controls == values for appropriate controls Setting the property will change the value that is returned to the accessibility client.
-
setAccessibilityViewIsModal
public void setAccessibilityViewIsModal(boolean value)
Informs whether the receiving view should be considered modal by accessibility. If YES, then elements outside this view will be ignored. Only elements inside this view will be exposed. default == NO
-
setIsAccessibilityElement
public void setIsAccessibilityElement(boolean value)
Return YES if the receiver should be exposed as an accessibility element. default == NO default on UIKit controls == YES Setting the property to YES will cause the receiver to be visible to assistive applications.
-
setNilValueForKey
public void setNilValueForKey(java.lang.String key)
Given that an invocation of -setValue:forKey: would be unable to set the keyed value because the type of the parameter of the corresponding accessor method is an NSNumber scalar type or NSValue structure type but the value is nil, set the keyed value using some other mechanism. The default implementation of this method raises an NSInvalidArgumentException. You can override it to map nil values to something meaningful in the context of your application.
-
setObservationInfo
public void setObservationInfo(org.moe.natj.general.ptr.VoidPtr value)
Take or return a pointer that identifies information about all of the observers that are registered with the receiver, the options that were used at registration-time, etc. The default implementation of these methods store observation info in a global dictionary keyed by the receivers' pointers. For improved performance, you can override these methods to store the opaque data pointer in an instance variable. Overrides of these methods must not attempt to send Objective-C messages to the passed-in observation info, including -retain and -release.
-
setShouldGroupAccessibilityChildren
public void setShouldGroupAccessibilityChildren(boolean value)
Forces children elements to be grouped together regardless of their position on screen. For example, your app may show items that are meant to be grouped together in vertical columns. By default, VoiceOver will navigate those items in horizontal rows. If shouldGroupAccessibilityChildren is set on a parent view of the items in the vertical column, VoiceOver will navigate the order correctly. default == NO
-
setValueForKey
public void setValueForKey(java.lang.Object value, java.lang.String key)Given a value and a key that identifies an attribute, set the value of the attribute. Given an object and a key that identifies a to-one relationship, relate the object to the receiver, unrelating the previously related object if there was one. Given a collection object and a key that identifies a to-many relationship, relate the objects contained in the collection to the receiver, unrelating previously related objects if there were any. The default implementation of this method does the following: 1. Searches the class of the receiver for an accessor method whose name matches the pattern -set:. If such a method is found the type of its parameter is checked. If the parameter type is not an object pointer type but the value is nil -setNilValueForKey: is invoked. The default implementation of -setNilValueForKey: raises an NSInvalidArgumentException, but you can override it in your application. Otherwise, if the type of the method's parameter is an object pointer type the method is simply invoked with the value as the argument. If the type of the method's parameter is some other type the inverse of the NSNumber/NSValue conversion done by -valueForKey: is performed before the method is invoked. 2. Otherwise (no accessor method is found), if the receiver's class' +accessInstanceVariablesDirectly property returns YES, searches the class of the receiver for an instance variable whose name matches the pattern _ , _is , , or is , in that order. If such an instance variable is found and its type is an object pointer type the value is retained and the result is set in the instance variable, after the instance variable's old value is first released. If the instance variable's type is some other type its value is set after the same sort of conversion from NSNumber or NSValue as in step 1. 3. Otherwise (no accessor method or instance variable is found), invokes -setValue:forUndefinedKey:. The default implementation of -setValue:forUndefinedKey: raises an NSUndefinedKeyException, but you can override it in your application. Compatibility notes: - For backward binary compatibility with -takeValue:forKey:'s behavior, a method whose name matches the pattern -_set : is also recognized in step 1. KVC accessor methods whose names start with underscores were deprecated as of Mac OS 10.3 though. - For backward binary compatibility, -unableToSetNilForKey: will be invoked instead of -setNilValueForKey: in step 1, if the implementation of -unableToSetNilForKey: in the receiver's class is not NSObject's. - The behavior described in step 2 is different from -takeValue:forKey:'s, in which the instance variable search order is , _ . - For backward binary compatibility with -takeValue:forKey:'s behavior, -handleTakeValue:forUnboundKey: will be invoked instead of -setValue:forUndefinedKey: in step 3, if the implementation of -handleTakeValue:forUnboundKey: in the receiver's class is not NSObject's.
-
setValueForKeyPath
public void setValueForKeyPath(java.lang.Object value, java.lang.String keyPath)
-
setValueForUndefinedKey
public void setValueForUndefinedKey(java.lang.Object value, java.lang.String key)Given that an invocation of -setValue:forKey: would be unable to set the keyed value using its default mechanism, set the keyed value using some other mechanism. The default implementation of this method raises an NSUndefinedKeyException. You can override it to handle properties that are dynamically defined at run-time.
-
setValuesForKeysWithDictionary
public void setValuesForKeysWithDictionary(NSDictionary<java.lang.String,?> keyedValues)
Given a dictionary containing keyed attribute values, to-one-related objects, and/or collections of to-many-related objects, set the keyed values. Dictionary entries whose values are NSNull result in -setValue:nil forKey:key messages being sent to the receiver.
-
shouldGroupAccessibilityChildren
public boolean shouldGroupAccessibilityChildren()
Forces children elements to be grouped together regardless of their position on screen. For example, your app may show items that are meant to be grouped together in vertical columns. By default, VoiceOver will navigate those items in horizontal rows. If shouldGroupAccessibilityChildren is set on a parent view of the items in the vertical column, VoiceOver will navigate the order correctly. default == NO
-
superclass
public org.moe.natj.objc.Class superclass()
- Specified by:
superclassin interfaceNSObject
-
validateValueForKeyError
public boolean validateValueForKeyError(org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> ioValue, java.lang.String inKey, org.moe.natj.general.ptr.Ptr<NSError> outError)Given a pointer to a value pointer, a key that identifies an attribute or to-one relationship, and a pointer to an NSError pointer, return a value that is suitable for use in subsequent -setValue:forKey: messages sent to the same receiver. If no validation is necessary, return YES without altering *ioValue or *outError. If validation is necessary and possible, return YES after setting *ioValue to an object that is the validated version of the original value, but without altering *outError. If validation is necessary but not possible, return NO after setting *outError to an NSError that encapsulates the reason that validation was not possible, but without altering *ioValue. The sender of the message is never given responsibility for releasing ioValue or outError. The default implementation of this method searches the class of the receiver for a validator method whose name matches the pattern -validate:error:. If such a method is found it is invoked and the result is returned. If no such method is found, YES is returned.
-
validateValueForKeyPathError
public boolean validateValueForKeyPathError(org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> ioValue, java.lang.String inKeyPath, org.moe.natj.general.ptr.Ptr<NSError> outError)
-
valueForKey
public java.lang.Object valueForKey(java.lang.String key)
Given a key that identifies an attribute or to-one relationship, return the attribute value or the related object. Given a key that identifies a to-many relationship, return an immutable array or an immutable set that contains all of the related objects. The default implementation of this method does the following: 1. Searches the class of the receiver for an accessor method whose name matches the pattern -get, - , or -is , in that order. If such a method is found it is invoked. If the type of the method's result is an object pointer type the result is simply returned. If the type of the result is one of the scalar types supported by NSNumber conversion is done and an NSNumber is returned. Otherwise, conversion is done and an NSValue is returned (new in Mac OS 10.5: results of arbitrary type are converted to NSValues, not just NSPoint, NRange, NSRect, and NSSize). 2 (introduced in Mac OS 10.7). Otherwise (no simple accessor method is found), searches the class of the receiver for methods whose names match the patterns -countOf and -indexIn OfObject: and -objectIn AtIndex: (corresponding to the primitive methods defined by the NSOrderedSet class) and also - AtIndexes: (corresponding to -[NSOrderedSet objectsAtIndexes:]). If a count method and an indexOf method and at least one of the other two possible methods are found, a collection proxy object that responds to all NSOrderedSet methods is returned. Each NSOrderedSet message sent to the collection proxy object will result in some combination of -countOf , -indexIn OfObject:, -objectIn AtIndex:, and - AtIndexes: messages being sent to the original receiver of -valueForKey:. If the class of the receiver also implements an optional method whose name matches the pattern -get :range: that method will be used when appropriate for best performance. 3. Otherwise (no simple accessor method or set of ordered set access methods is found), searches the class of the receiver for methods whose names match the patterns -countOf and -objectIn AtIndex: (corresponding to the primitive methods defined by the NSArray class) and (introduced in Mac OS 10.4) also - AtIndexes: (corresponding to -[NSArray objectsAtIndexes:]). If a count method and at least one of the other two possible methods are found, a collection proxy object that responds to all NSArray methods is returned. Each NSArray message sent to the collection proxy object will result in some combination of -countOf , -objectIn AtIndex:, and - AtIndexes: messages being sent to the original receiver of -valueForKey:. If the class of the receiver also implements an optional method whose name matches the pattern -get :range: that method will be used when appropriate for best performance. 4 (introduced in Mac OS 10.4). Otherwise (no simple accessor method or set of ordered set or array access methods is found), searches the class of the receiver for a threesome of methods whose names match the patterns -countOf , -enumeratorOf , and -memberOf : (corresponding to the primitive methods defined by the NSSet class). If all three such methods are found a collection proxy object that responds to all NSSet methods is returned. Each NSSet message sent to the collection proxy object will result in some combination of -countOf , -enumeratorOf , and -memberOf : messages being sent to the original receiver of -valueForKey:. 5. Otherwise (no simple accessor method or set of collection access methods is found), if the receiver's class' +accessInstanceVariablesDirectly property returns YES, searches the class of the receiver for an instance variable whose name matches the pattern _ , _is , , or is , in that order. If such an instance variable is found, the value of the instance variable in the receiver is returned, with the same sort of conversion to NSNumber or NSValue as in step 1. 6. Otherwise (no simple accessor method, set of collection access methods, or instance variable is found), invokes -valueForUndefinedKey: and returns the result. The default implementation of -valueForUndefinedKey: raises an NSUndefinedKeyException, but you can override it in your application. Compatibility notes: - For backward binary compatibility, an accessor method whose name matches the pattern -_get , or -_ is searched for between steps 1 and 3. If such a method is found it is invoked, with the same sort of conversion to NSNumber or NSValue as in step 1. KVC accessor methods whose names start with underscores were deprecated as of Mac OS 10.3 though. - The behavior described in step 5 is a change from Mac OS 10.2, in which the instance variable search order was , _ . - For backward binary compatibility, -handleQueryWithUnboundKey: will be invoked instead of -valueForUndefinedKey: in step 6, if the implementation of -handleQueryWithUnboundKey: in the receiver's class is not NSObject's.
-
valueForKeyPath
public java.lang.Object valueForKeyPath(java.lang.String keyPath)
Key-path-taking variants of like-named methods. The default implementation of each parses the key path enough to determine whether or not it has more than one component (key path components are separated by periods). If so, -valueForKey: is invoked with the first key path component as the argument, and the method being invoked is invoked recursively on the result, with the remainder of the key path passed as an argument. If not, the like-named non-key-path-taking method is invoked.
-
valueForUndefinedKey
public java.lang.Object valueForUndefinedKey(java.lang.String key)
Given that an invocation of -valueForKey: would be unable to get a keyed value using its default access mechanism, return the keyed value using some other mechanism. The default implementation of this method raises an NSUndefinedKeyException. You can override it to handle properties that are dynamically defined at run-time.
-
willChangeValuesAtIndexesForKey
public void willChangeValuesAtIndexesForKey(long changeKind, NSIndexSet indexes, java.lang.String key)Given a key that identifies an _ordered_ to-many relationship, send -observeValueForKeyPath:ofObject:change:context: notification messages of the passed-in change kind to each observer registered for the key, including those that are registered with other objects using key paths that locate the keyed value in this object. The passed-in kind must be NSKeyValueChangeInsertion, NSKeyValueChangeRemoval, or NSKeyValueChangeReplacement. The passed-in index set must be the indexes of the objects being inserted, removed, or replaced. Invocations of these methods must always be paired, with identical arguments. The change dictionaries in notifications resulting from use of these methods contain optional entries if requested at observer registration time: - The NSKeyValueChangeOldKey entry, if present (only for NSKeyValueChangeRemoval and NSKeyValueChangeReplacement), contains an array of the indexed objects from the array returned by -valueForKey: at the instant that -willChangeValueForKey:valuesAtIndexes:forKey: is invoked. - The NSKeyValueChangeNewKey entry, if present (only for NSKeyValueChangeInsertion and NSKeyValueChangeReplacement), contains an array of the indexed objects from the array returned by -valueForKey: at the instant that -didChangeValueForKey:valuesAtIndexes:forKey: is invoked.
-
willChangeValueForKey
public void willChangeValueForKey(java.lang.String key)
Given a key that identifies a property (attribute, to-one relationship, or ordered or unordered to-many relationship), send -observeValueForKeyPath:ofObject:change:context: notification messages of kind NSKeyValueChangeSetting to each observer registered for the key, including those that are registered with other objects using key paths that locate the keyed value in this object. Invocations of these methods must always be paired. The change dictionaries in notifications resulting from use of these methods contain optional entries if requested at observer registration time: - The NSKeyValueChangeOldKey entry, if present, contains the value returned by -valueForKey: at the instant that -willChangeValueForKey: is invoked (or an NSNull if -valueForKey: returns nil). - The NSKeyValueChangeNewKey entry, if present, contains the value returned by -valueForKey: at the instant that -didChangeValueForKey: is invoked (or an NSNull if -valueForKey: returns nil).
-
willChangeValueForKeyWithSetMutationUsingObjects
public void willChangeValueForKeyWithSetMutationUsingObjects(java.lang.String key, long mutationKind, NSSet<?> objects)Given a key that identifies an _unordered_ to-many relationship, send -observeValueForKeyPath:ofObject:change:context: notification messages to each observer registered for the key, including those that are registered with other objects using key paths that locate the keyed value in this object. The passed-in mutation kind corresponds to an NSMutableSet method. The passed-in set must contain the set that would be passed to the corresponding NSMutableSet method. Invocations of these methods must always be paired, with identical arguments. The value of the NSKeyValueChangeKindKey entry in change dictionaries in notifications resulting from use of these methods depends on the passed-in mutationKind value: - NSKeyValueUnionSetMutation -> NSKeyValueChangeInsertion - NSKeyValueMinusSetMutation -> NSKeyValueChangeRemoval - NSKeyValueIntersectSetMutation -> NSKeyValueChangeRemoval - NSKeyValueSetSetMutation -> NSKeyValueChangeReplacement The change dictionaries may also contain optional entries: - The NSKeyValueChangeOldKey entry, if present (only for for NSKeyValueChangeRemoval and NSKeyValueChangeReplacement), contains the set of objects that were removed. - The NSKeyValueChangeNewKey entry, if present (only for NSKeyValueChangeInsertion and NSKeyValueChangeReplacement), contains the set of objects that were added.
-
accessibilityAttributedHint
public NSAttributedString accessibilityAttributedHint()
The underlying attributed version of the accessibility hint. Setting this property will change the value of the accessibilityHint property and vice-versa.
-
accessibilityAttributedLabel
public NSAttributedString accessibilityAttributedLabel()
The underlying attributed version of the accessibility label. Setting this property will change the value of the accessibilityLabel property and vice-versa.
-
accessibilityAttributedValue
public NSAttributedString accessibilityAttributedValue()
The underlying attributed version of the accessibility value. Setting this property will change the value of the accessibilityValue property and vice-versa.
-
accessibilityContainerType
public long accessibilityContainerType()
Some containers provide more context for accessibility elements, such as tables or lists. Set this property so that assistive technologies can output more information. default == UIAccessibilityContainerTypeNone
-
accessibilityDragSourceDescriptors
public NSArray<? extends UIAccessibilityLocationDescriptor> accessibilityDragSourceDescriptors()
By default, if an accessible view or its subtree has drag and/or drop interactions, they will be automatically exposed by assistive technologies. However, if there is more than one such interaction, each drag or drop should have a name to disambiguate it and give a good user experience. Also, there may be situations in which you want to expose drags or drops from an element, and those interactions are installed on views that are not part of that element's view hierarchy subtree. This is trivially the case when the element is not a view at all, but an instance of UIAccessibilityElement. Another example is when a container view maintains interactions that are logically associated with subviews. For instance, UITableView has associated drag interactions that allow for dragging its rows; to make the rows draggable by assistive technologies, UITableViewCell has drag descriptors that describe where in the table view to start a drag to activate dragging of the cell. (Note that this implementation detail is noted here for expository purposes only and may change at any time without warning.) Properties defined here allow you to fine-tune how drags and drops are exposed to assistive technologies. Both of their getter methods can be overridden to provide information on-demand. For each location descriptor, the associated view should be the UIView with the appropriate UIInteraction object for that drag or drop. `accessibilityDragSourceDescriptors` is an array of UIAccessibilityLocationDescriptor objects and is used to define and describe what drags are available from an element. `accessibilityDropPointDescriptors` is similarly an array of UIAccessibilityLocationDescriptor objects and is used to define and describe where drops are possible on this element. To restore the default automatic behavior for these properties, assign (or return) the default value of nil. Note that nil does not describe the same behavior as the empty array, which specifies that there are no relevant interactions for this element.
-
accessibilityDropPointDescriptors
public NSArray<? extends UIAccessibilityLocationDescriptor> accessibilityDropPointDescriptors()
-
setAccessibilityAttributedHint
public void setAccessibilityAttributedHint(NSAttributedString value)
The underlying attributed version of the accessibility hint. Setting this property will change the value of the accessibilityHint property and vice-versa.
-
setAccessibilityAttributedLabel
public void setAccessibilityAttributedLabel(NSAttributedString value)
The underlying attributed version of the accessibility label. Setting this property will change the value of the accessibilityLabel property and vice-versa.
-
setAccessibilityAttributedValue
public void setAccessibilityAttributedValue(NSAttributedString value)
The underlying attributed version of the accessibility value. Setting this property will change the value of the accessibilityValue property and vice-versa.
-
setAccessibilityContainerType
public void setAccessibilityContainerType(long value)
Some containers provide more context for accessibility elements, such as tables or lists. Set this property so that assistive technologies can output more information. default == UIAccessibilityContainerTypeNone
-
setAccessibilityDragSourceDescriptors
public void setAccessibilityDragSourceDescriptors(NSArray<? extends UIAccessibilityLocationDescriptor> value)
By default, if an accessible view or its subtree has drag and/or drop interactions, they will be automatically exposed by assistive technologies. However, if there is more than one such interaction, each drag or drop should have a name to disambiguate it and give a good user experience. Also, there may be situations in which you want to expose drags or drops from an element, and those interactions are installed on views that are not part of that element's view hierarchy subtree. This is trivially the case when the element is not a view at all, but an instance of UIAccessibilityElement. Another example is when a container view maintains interactions that are logically associated with subviews. For instance, UITableView has associated drag interactions that allow for dragging its rows; to make the rows draggable by assistive technologies, UITableViewCell has drag descriptors that describe where in the table view to start a drag to activate dragging of the cell. (Note that this implementation detail is noted here for expository purposes only and may change at any time without warning.) Properties defined here allow you to fine-tune how drags and drops are exposed to assistive technologies. Both of their getter methods can be overridden to provide information on-demand. For each location descriptor, the associated view should be the UIView with the appropriate UIInteraction object for that drag or drop. `accessibilityDragSourceDescriptors` is an array of UIAccessibilityLocationDescriptor objects and is used to define and describe what drags are available from an element. `accessibilityDropPointDescriptors` is similarly an array of UIAccessibilityLocationDescriptor objects and is used to define and describe where drops are possible on this element. To restore the default automatic behavior for these properties, assign (or return) the default value of nil. Note that nil does not describe the same behavior as the empty array, which specifies that there are no relevant interactions for this element.
-
setAccessibilityDropPointDescriptors
public void setAccessibilityDropPointDescriptors(NSArray<? extends UIAccessibilityLocationDescriptor> value)
-
accessibilityAttributedUserInputLabels
public NSArray<? extends NSAttributedString> accessibilityAttributedUserInputLabels()
The underlying attributed versions of the accessibility user input label(s). Setting this property will change the value of the accessibilityUserInputLabels property and vice versa.
-
accessibilityRespondsToUserInteraction
public boolean accessibilityRespondsToUserInteraction()
Returns whether the element performs an action based on user interaction. For example, a button that causes UI to update when it is tapped should return YES. A label whose only purpose is to display information should return NO. default == derived from other accessibility properties (for example, an element with UIAccessibilityTraitNotEnabled returns NO)
-
accessibilityTextualContext
public java.lang.String accessibilityTextualContext()
Returns an appropriate, named context to help identify and classify the type of text inside this element. This can be used by assistive technologies to choose an appropriate way to output the text. For example, when encountering a source coding context, VoiceOver could choose to speak all punctuation. To specify a substring within the textual context, use the UIAccessibilityTextAttributeContext attributed key. default == nil
-
accessibilityUserInputLabels
public NSArray<java.lang.String> accessibilityUserInputLabels()
Returns the localized label(s) that should be provided by the user to refer to this element. Use this property when the accessibilityLabel is not appropriate for dictated or typed input. For example, an element that contains additional descriptive information in its accessibilityLabel can return a more concise label. The primary label should be first in the array, optionally followed by alternative labels in descending order of importance. If this property returns an empty or invalid value, the accessibilityLabel will be used instead. default == an empty array default on UIKit controls == an array with an appropriate label, if different from accessibilityLabel
-
setAccessibilityAttributedUserInputLabels
public void setAccessibilityAttributedUserInputLabels(NSArray<? extends NSAttributedString> value)
The underlying attributed versions of the accessibility user input label(s). Setting this property will change the value of the accessibilityUserInputLabels property and vice versa.
-
setAccessibilityRespondsToUserInteraction
public void setAccessibilityRespondsToUserInteraction(boolean value)
Returns whether the element performs an action based on user interaction. For example, a button that causes UI to update when it is tapped should return YES. A label whose only purpose is to display information should return NO. default == derived from other accessibility properties (for example, an element with UIAccessibilityTraitNotEnabled returns NO)
-
setAccessibilityTextualContext
public void setAccessibilityTextualContext(java.lang.String value)
Returns an appropriate, named context to help identify and classify the type of text inside this element. This can be used by assistive technologies to choose an appropriate way to output the text. For example, when encountering a source coding context, VoiceOver could choose to speak all punctuation. To specify a substring within the textual context, use the UIAccessibilityTextAttributeContext attributed key. default == nil
-
setAccessibilityUserInputLabels
public void setAccessibilityUserInputLabels(NSArray<java.lang.String> value)
Returns the localized label(s) that should be provided by the user to refer to this element. Use this property when the accessibilityLabel is not appropriate for dictated or typed input. For example, an element that contains additional descriptive information in its accessibilityLabel can return a more concise label. The primary label should be first in the array, optionally followed by alternative labels in descending order of importance. If this property returns an empty or invalid value, the accessibilityLabel will be used instead. default == an empty array default on UIKit controls == an array with an appropriate label, if different from accessibilityLabel
-
-