Documentation Archive Developer
Search

ObjectiveC Changes

ObjectiveC (Added)

Added NSObject
Added NSObject.init()
Added NSObject.alloc() -> Self! [class]
Added NSObject.allocWithZone(NSZone) -> Self! [class]
Added NSObject.conformsToProtocol(Protocol) -> Bool [class]
Added NSObject.copy() -> AnyObject
Added NSObject.debugDescription() -> String [class]
Added NSObject.description() -> String [class]
Added NSObject.doesNotRecognizeSelector(Selector)
Added NSObject.finalize()
Added NSObject.forwardingTargetForSelector(Selector) -> AnyObject?
Added NSObject.hash() -> Int [class]
Added NSObject.initialize() [class]
Added NSObject.instanceMethodForSelector(Selector) -> IMP [class]
Added NSObject.instancesRespondToSelector(Selector) -> Bool [class]
Added NSObject.isSubclassOfClass(AnyClass) -> Bool [class]
Added NSObject.load() [class]
Added NSObject.methodForSelector(Selector) -> IMP
Added NSObject.mutableCopy() -> AnyObject
Added NSObject.new() -> Self! [class]
Added NSObject.resolveClassMethod(Selector) -> Bool [class]
Added NSObject.resolveInstanceMethod(Selector) -> Bool [class]
Added NSObject.superclass() -> AnyClass? [class]
Added NSObjectProtocol
Added NSObjectProtocol.conformsToProtocol(Protocol) -> Bool
Added NSObjectProtocol.debugDescription
Added NSObjectProtocol.description
Added NSObjectProtocol.hash
Added NSObjectProtocol.isEqual(AnyObject?) -> Bool
Added NSObjectProtocol.isKindOfClass(AnyClass) -> Bool
Added NSObjectProtocol.isMemberOfClass(AnyClass) -> Bool
Added NSObjectProtocol.isProxy() -> Bool
Added NSObjectProtocol.respondsToSelector(Selector) -> Bool
Added NSObjectProtocol.self() -> Self!
Added NSObjectProtocol.superclass
Added NSZone [struct]
Added NSZone.init()
Added NSZone.init(nilLiteral: ())
Added NSZone.pointer
Added ObjCBool [struct]
Added ObjCBool.init(_: Bool)
Added ObjCBool.init(_: Int8)
Added ObjCBool.boolValue
Added ObjCBool.init(booleanLiteral: Bool)
Added ObjCBool.description
Added ObjCBool.getMirror() -> MirrorType
Added ObjCBool.value
Added Protocol
Added Selector [struct]
Added Selector.init()
Added Selector.init(_: String)
Added Selector.description
Added Selector.init(extendedGraphemeClusterLiteral: String)
Added Selector.getMirror() -> MirrorType
Added Selector.hashValue
Added Selector.init(nilLiteral: ())
Added Selector.ptr
Added Selector.init(stringLiteral: String)
Added Selector.init(unicodeScalarLiteral: String)
Added objc_method_description [struct]
Added objc_method_description.name
Added objc_method_description.types
Added objc_object [struct]
Added objc_property_attribute_t [struct]
Added objc_property_attribute_t.name
Added objc_property_attribute_t.value
Added objc_super [struct]
Added objc_super.receiver
Added objc_super.super_class
Added Category
Added IMP
Added Ivar
Added Method
Added NSInteger
Added NSIntegerMax
Added NSUIntegerMax
Added OBJC_API_VERSION
Added OBJC_ASSOCIATION_ASSIGN
Added OBJC_ASSOCIATION_COPY
Added OBJC_ASSOCIATION_COPY_NONATOMIC
Added OBJC_ASSOCIATION_RETAIN
Added OBJC_ASSOCIATION_RETAIN_NONATOMIC
Added OBJC_CLEAR_RESIDENT_STACK
Added OBJC_COLLECT_IF_NEEDED
Added OBJC_EXHAUSTIVE_COLLECTION
Added OBJC_FULL_COLLECTION
Added OBJC_GENERATIONAL_COLLECTION
Added OBJC_NEXT_METHOD_LIST
Added OBJC_OLD_DISPATCH_PROTOTYPES
Added OBJC_RATIO_COLLECTION
Added OBJC_SYNC_NOT_INITIALIZED
Added OBJC_SYNC_NOT_OWNING_THREAD_ERROR
Added OBJC_SYNC_SUCCESS
Added OBJC_SYNC_TIMED_OUT
Added OBJC_WAIT_UNTIL_DONE
Added OBSOLETE_OBJC_GETCLASSES
Added autoreleasepool(() -> ())
Added class_addIvar(AnyClass!, UnsafePointer<Int8>, UInt, UInt8, UnsafePointer<Int8>) -> Bool
Added class_addMethod(AnyClass!, Selector, IMP, UnsafePointer<Int8>) -> Bool
Added class_addProperty(AnyClass!, UnsafePointer<Int8>, UnsafePointer<objc_property_attribute_t>, UInt32) -> Bool
Added class_addProtocol(AnyClass!, Protocol!) -> Bool
Added class_conformsToProtocol(AnyClass!, Protocol!) -> Bool
Added class_copyIvarList(AnyClass!, UnsafeMutablePointer<UInt32>) -> UnsafeMutablePointer<Ivar>
Added class_copyMethodList(AnyClass!, UnsafeMutablePointer<UInt32>) -> UnsafeMutablePointer<Method>
Added class_copyPropertyList(AnyClass!, UnsafeMutablePointer<UInt32>) -> UnsafeMutablePointer<objc_property_t>
Added class_copyProtocolList(AnyClass!, UnsafeMutablePointer<UInt32>) -> AutoreleasingUnsafeMutablePointer<Protocol?>
Added class_getClassMethod(AnyClass!, Selector) -> Method
Added class_getClassVariable(AnyClass!, UnsafePointer<Int8>) -> Ivar
Added class_getImageName(AnyClass!) -> UnsafePointer<Int8>
Added class_getInstanceMethod(AnyClass!, Selector) -> Method
Added class_getInstanceSize(AnyClass!) -> UInt
Added class_getInstanceVariable(AnyClass!, UnsafePointer<Int8>) -> Ivar
Added class_getIvarLayout(AnyClass!) -> UnsafePointer<UInt8>
Added class_getMethodImplementation(AnyClass!, Selector) -> IMP
Added class_getMethodImplementation_stret(AnyClass!, Selector) -> IMP
Added class_getName(AnyClass!) -> UnsafePointer<Int8>
Added class_getProperty(AnyClass!, UnsafePointer<Int8>) -> objc_property_t
Added class_getSuperclass(AnyClass!) -> AnyClass!
Added class_getVersion(AnyClass!) -> Int32
Added class_getWeakIvarLayout(AnyClass!) -> UnsafePointer<UInt8>
Added class_isMetaClass(AnyClass!) -> Bool
Added class_replaceMethod(AnyClass!, Selector, IMP, UnsafePointer<Int8>) -> IMP
Added class_replaceProperty(AnyClass!, UnsafePointer<Int8>, UnsafePointer<objc_property_attribute_t>, UInt32)
Added class_respondsToSelector(AnyClass!, Selector) -> Bool
Added class_setIvarLayout(AnyClass!, UnsafePointer<UInt8>)
Added class_setVersion(AnyClass!, Int32)
Added class_setWeakIvarLayout(AnyClass!, UnsafePointer<UInt8>)
Added imp_getBlock(IMP) -> AnyObject!
Added imp_implementationWithBlock(AnyObject!) -> IMP
Added imp_removeBlock(IMP) -> Bool
Added ivar_getName(Ivar) -> UnsafePointer<Int8>
Added ivar_getOffset(Ivar) -> Int
Added ivar_getTypeEncoding(Ivar) -> UnsafePointer<Int8>
Added marg_list
Added method_copyArgumentType(Method, UInt32) -> UnsafeMutablePointer<Int8>
Added method_copyReturnType(Method) -> UnsafeMutablePointer<Int8>
Added method_exchangeImplementations(Method, Method)
Added method_getArgumentType(Method, UInt32, UnsafeMutablePointer<Int8>, UInt)
Added method_getDescription(Method) -> UnsafeMutablePointer<objc_method_description>
Added method_getImplementation(Method) -> IMP
Added method_getName(Method) -> Selector
Added method_getNumberOfArguments(Method) -> UInt32
Added method_getReturnType(Method, UnsafeMutablePointer<Int8>, UInt)
Added method_getTypeEncoding(Method) -> UnsafePointer<Int8>
Added method_setImplementation(Method, IMP) -> IMP
Added objc_AssociationPolicy
Added objc_addExceptionHandler(objc_exception_handler, UnsafeMutablePointer<Void>) -> UInt
Added objc_allocateClassPair(AnyClass!, UnsafePointer<Int8>, UInt) -> AnyClass!
Added objc_allocateProtocol(UnsafePointer<Int8>) -> Protocol!
Added objc_assertRegisteredThreadWithCollector()
Added objc_assign_global(AnyObject!, AutoreleasingUnsafeMutablePointer<AnyObject?>) -> AnyObject!
Added objc_assign_ivar(AnyObject!, AnyObject!, Int) -> AnyObject!
Added objc_assign_strongCast(AnyObject!, AutoreleasingUnsafeMutablePointer<AnyObject?>) -> AnyObject!
Added objc_assign_threadlocal(AnyObject!, AutoreleasingUnsafeMutablePointer<AnyObject?>) -> AnyObject!
Added objc_assign_weak(AnyObject!, AutoreleasingUnsafeMutablePointer<AnyObject?>) -> AnyObject!
Added objc_begin_catch(UnsafeMutablePointer<Void>) -> AnyObject!
Added objc_clear_stack(UInt)
Added objc_collect(UInt)
Added objc_collectableZone() -> UnsafeMutablePointer<malloc_zone_t>
Added objc_collectingEnabled() -> Bool
Added objc_copyClassList(UnsafeMutablePointer<UInt32>) -> AutoreleasingUnsafeMutablePointer<AnyClass?>
Added objc_copyClassNamesForImage(UnsafePointer<Int8>, UnsafeMutablePointer<UInt32>) -> UnsafeMutablePointer<UnsafePointer<Int8>>
Added objc_copyImageNames(UnsafeMutablePointer<UInt32>) -> UnsafeMutablePointer<UnsafePointer<Int8>>
Added objc_copyProtocolList(UnsafeMutablePointer<UInt32>) -> AutoreleasingUnsafeMutablePointer<Protocol?>
Added objc_disposeClassPair(AnyClass!)
Added objc_duplicateClass(AnyClass!, UnsafePointer<Int8>, UInt) -> AnyClass!
Added objc_end_catch()
Added objc_enumerationMutation(AnyObject!)
Added objc_exception_handler
Added objc_exception_matcher
Added objc_exception_preprocessor
Added objc_exception_rethrow()
Added objc_exception_throw(AnyObject!)
Added objc_getAssociatedObject(AnyObject!, UnsafePointer<Void>) -> AnyObject!
Added objc_getClass(UnsafePointer<Int8>) -> AnyObject!
Added objc_getClassList(AutoreleasingUnsafeMutablePointer<AnyClass?>, Int32) -> Int32
Added objc_getMetaClass(UnsafePointer<Int8>) -> AnyObject!
Added objc_getProtocol(UnsafePointer<Int8>) -> Protocol!
Added objc_getRequiredClass(UnsafePointer<Int8>) -> AnyClass!
Added objc_is_finalized(UnsafeMutablePointer<Void>) -> Bool
Added objc_loadWeak(AutoreleasingUnsafeMutablePointer<AnyObject?>) -> AnyObject!
Added objc_lookUpClass(UnsafePointer<Int8>) -> AnyClass!
Added objc_memmove_collectable(UnsafeMutablePointer<Void>, UnsafePointer<Void>, UInt) -> UnsafeMutablePointer<Void>
Added objc_objectptr_t
Added objc_property_t
Added objc_read_weak(AutoreleasingUnsafeMutablePointer<AnyObject?>) -> AnyObject!
Added objc_registerClassPair(AnyClass!)
Added objc_registerProtocol(Protocol!)
Added objc_registerThreadWithCollector()
Added objc_removeAssociatedObjects(AnyObject!)
Added objc_removeExceptionHandler(UInt)
Added objc_setAssociatedObject(AnyObject!, UnsafePointer<Void>, AnyObject!, objc_AssociationPolicy)
Added objc_setCollectionRatio(UInt)
Added objc_setCollectionThreshold(UInt)
Added objc_setEnumerationMutationHandler(CFunctionPointer<((AnyObject!) -> Void)>)
Added objc_setExceptionMatcher(objc_exception_matcher) -> objc_exception_matcher
Added objc_setExceptionPreprocessor(objc_exception_preprocessor) -> objc_exception_preprocessor
Added objc_setForwardHandler(UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>)
Added objc_setUncaughtExceptionHandler(objc_uncaught_exception_handler) -> objc_uncaught_exception_handler
Added objc_storeWeak(AutoreleasingUnsafeMutablePointer<AnyObject?>, AnyObject!) -> AnyObject!
Added objc_sync_enter(AnyObject!) -> Int32
Added objc_sync_exit(AnyObject!) -> Int32
Added objc_terminate()
Added objc_uncaught_exception_handler
Added objc_unregisterThreadWithCollector()
Added object_getClass(AnyObject!) -> AnyClass!
Added object_getClassName(AnyObject!) -> UnsafePointer<Int8>
Added object_getIvar(AnyObject!, Ivar) -> AnyObject!
Added object_isClass(AnyObject!) -> Bool
Added object_setClass(AnyObject!, AnyClass!) -> AnyClass!
Added object_setIvar(AnyObject!, Ivar, AnyObject!)
Added property_copyAttributeList(objc_property_t, UnsafeMutablePointer<UInt32>) -> UnsafeMutablePointer<objc_property_attribute_t>
Added property_copyAttributeValue(objc_property_t, UnsafePointer<Int8>) -> UnsafeMutablePointer<Int8>
Added property_getAttributes(objc_property_t) -> UnsafePointer<Int8>
Added property_getName(objc_property_t) -> UnsafePointer<Int8>
Added protocol_addMethodDescription(Protocol!, Selector, UnsafePointer<Int8>, Bool, Bool)
Added protocol_addProperty(Protocol!, UnsafePointer<Int8>, UnsafePointer<objc_property_attribute_t>, UInt32, Bool, Bool)
Added protocol_addProtocol(Protocol!, Protocol!)
Added protocol_conformsToProtocol(Protocol!, Protocol!) -> Bool
Added protocol_copyMethodDescriptionList(Protocol!, Bool, Bool, UnsafeMutablePointer<UInt32>) -> UnsafeMutablePointer<objc_method_description>
Added protocol_copyPropertyList(Protocol!, UnsafeMutablePointer<UInt32>) -> UnsafeMutablePointer<objc_property_t>
Added protocol_copyProtocolList(Protocol!, UnsafeMutablePointer<UInt32>) -> AutoreleasingUnsafeMutablePointer<Protocol?>
Added protocol_getMethodDescription(Protocol!, Selector, Bool, Bool) -> objc_method_description
Added protocol_getName(Protocol!) -> UnsafePointer<Int8>
Added protocol_getProperty(Protocol!, UnsafePointer<Int8>, Bool, Bool) -> objc_property_t
Added protocol_isEqual(Protocol!, Protocol!) -> Bool
Added sel_getName(Selector) -> UnsafePointer<Int8>
Added sel_getUid(UnsafePointer<Int8>) -> Selector
Added sel_isEqual(Selector, Selector) -> Bool
Added sel_isMapped(Selector) -> Bool
Added sel_registerName(UnsafePointer<Int8>) -> Selector