Изменения ObjectiveC
ObjectiveC
Удаленный NSUIntegerMax
Добавленный objc_method_description.init ()
Добавленный objc_method_description.init (имя: Селектор, типы: UnsafeMutablePointer <Int8>)
Добавленный objc_object.init ()
Добавленный objc_object.init (isa: AnyClass!)
Добавленный objc_property_attribute_t.init ()
Добавленный objc_property_attribute_t.init (имя: UnsafePointer <Int8>, значение: UnsafePointer <Int8>)
Добавленный objc_super.init ()
Добавленный objc_super.init (получатель: AnyObject!, super_class: AnyClass!)
Измененный NSObject.alloc ()-> Сам [класс]
| Объявление | Введение | |
|---|---|---|
| От | class func alloc() -> Self! | iOS 8.0 |
| К | class func alloc() -> Self | iOS 8.3 |
Измененный NSObject.allocWithZone (NSZone)-> Сам [класс]
| Объявление | Введение | |
|---|---|---|
| От | class func allocWithZone(_ zone: NSZone) -> Self! | iOS 8.1 |
| К | class func allocWithZone(_ zone: NSZone) -> Self | iOS 8.3 |
Измененный NSObject.new ()-> Сам [класс]
| Объявление | Введение | |
|---|---|---|
| От | class func `new`() -> Self! | iOS 8.0 |
| К | class func new() -> Self | iOS 8.3 |
Измененный NSObjectProtocol.self ()-> Сам
| Объявление | Введение | |
|---|---|---|
| От | func `self`() -> Self! | iOS 8.0 |
| К | func `self`() -> Self | iOS 8.3 |
Измененный objc_method_description [структура]
| Объявление | |
|---|---|
| От | struct objc_method_description {
var name: Selector
var types: UnsafeMutablePointer<Int8>
} |
| К | struct objc_method_description {
var name: Selector
var types: UnsafeMutablePointer<Int8>
init()
init(name name: Selector, types types: UnsafeMutablePointer<Int8>)
} |
Измененный objc_object [структура]
| Объявление | |
|---|---|
| От | struct objc_object {
var isa: AnyClass!
} |
| К | struct objc_object {
var isa: AnyClass!
init()
init(isa isa: AnyClass!)
} |
Измененный objc_property_attribute_t [структура]
| Объявление | |
|---|---|
| От | struct objc_property_attribute_t {
var name: UnsafePointer<Int8>
var value: UnsafePointer<Int8>
} |
| К | struct objc_property_attribute_t {
var name: UnsafePointer<Int8>
var value: UnsafePointer<Int8>
init()
init(name name: UnsafePointer<Int8>, value value: UnsafePointer<Int8>)
} |
Измененный objc_super [структура]
| Объявление | |
|---|---|
| От | struct objc_super {
var receiver: AnyObject!
var super_class: AnyClass!
} |
| К | struct objc_super {
var receiver: AnyObject!
var super_class: AnyClass!
init()
init(receiver receiver: AnyObject!, super_class super_class: AnyClass!)
} |
Измененный autoreleasepool (()-> ())
| Объявление | |
|---|---|
| От | func autoreleasepool(_ code: () -> ()) |
| К | func autoreleasepool(_ code: @noescape () -> ()) |
Измененный class_addIvar (AnyClass!, UnsafePointer <Int8>, Интервал, UInt8, UnsafePointer <Int8>)-> Bool
| Объявление | |
|---|---|
| От | func class_addIvar(_ cls: AnyClass!, _ name: UnsafePointer<Int8>, _ size: UInt, _ alignment: UInt8, _ types: UnsafePointer<Int8>) -> Bool |
| К | func class_addIvar(_ cls: AnyClass!, _ name: UnsafePointer<Int8>, _ size: Int, _ alignment: UInt8, _ types: UnsafePointer<Int8>) -> Bool |
Измененный class_getInstanceSize (AnyClass!)-> Интервал
| Объявление | |
|---|---|
| От | func class_getInstanceSize(_ cls: AnyClass!) -> UInt |
| К | func class_getInstanceSize(_ cls: AnyClass!) -> Int |
Измененный method_getArgumentType (Метод, UInt32, UnsafeMutablePointer <Int8>, Интервал)
| Объявление | |
|---|---|
| От | func method_getArgumentType(_ m: Method, _ index: UInt32, _ dst: UnsafeMutablePointer<Int8>, _ dst_len: UInt) |
| К | func method_getArgumentType(_ m: Method, _ index: UInt32, _ dst: UnsafeMutablePointer<Int8>, _ dst_len: Int) |
Измененный method_getReturnType (Метод, UnsafeMutablePointer <Int8>, Интервал)
| Объявление | |
|---|---|
| От | func method_getReturnType(_ m: Method, _ dst: UnsafeMutablePointer<Int8>, _ dst_len: UInt) |
| К | func method_getReturnType(_ m: Method, _ dst: UnsafeMutablePointer<Int8>, _ dst_len: Int) |
Измененный objc_allocateClassPair (AnyClass!, UnsafePointer <Int8>, Интервал)-> AnyClass!
| Объявление | |
|---|---|
| От | func objc_allocateClassPair(_ superclass: AnyClass!, _ name: UnsafePointer<Int8>, _ extraBytes: UInt) -> AnyClass! |
| К | func objc_allocateClassPair(_ superclass: AnyClass!, _ name: UnsafePointer<Int8>, _ extraBytes: Int) -> AnyClass! |
Измененный objc_duplicateClass (AnyClass!, UnsafePointer <Int8>, Интервал)-> AnyClass!
| Объявление | |
|---|---|
| От | func objc_duplicateClass(_ original: AnyClass!, _ name: UnsafePointer<Int8>, _ extraBytes: UInt) -> AnyClass! |
| К | func objc_duplicateClass(_ original: AnyClass!, _ name: UnsafePointer<Int8>, _ extraBytes: Int) -> AnyClass! |
Измененный objc_memmove_collectable (<Недействительный> UnsafeMutablePointer, UnsafePointer <Недействительный>, Международный)-> <Недействительный> UnsafeMutablePointer
| Объявление | Введение | |
|---|---|---|
| От | func objc_memmove_collectable(_ dst: UnsafeMutablePointer<Void>, _ src: UnsafePointer<Void>, _ size: UInt) -> UnsafeMutablePointer<Void> | iOS 8.0 |
| К | func objc_memmove_collectable(_ dst: UnsafeMutablePointer<Void>, _ src: UnsafePointer<Void>, _ size: Int) -> UnsafeMutablePointer<Void> | iOS 8.3 |
Измененный objc_setCollectionRatio (Интервал)
| Объявление | Введение | |
|---|---|---|
| От | func objc_setCollectionRatio(_ ratio: UInt) | iOS 8.0 |
| К | func objc_setCollectionRatio(_ ratio: Int) | iOS 8.3 |
Измененный objc_setCollectionThreshold (Интервал)
| Объявление | Введение | |
|---|---|---|
| От | func objc_setCollectionThreshold(_ threshold: UInt) | iOS 8.0 |
| К | func objc_setCollectionThreshold(_ threshold: Int) | iOS 8.3 |
Измененный objc_set_collection_ratio (Интервал)
| Объявление | Введение | |
|---|---|---|
| От | func objc_set_collection_ratio(_ ratio: UInt) | iOS 8.0 |
| К | func objc_set_collection_ratio(_ ratio: Int) | iOS 8.3 |
Измененный objc_set_collection_threshold (Интервал)
| Объявление | Введение | |
|---|---|---|
| От | func objc_set_collection_threshold(_ threshold: UInt) | iOS 8.0 |
| К | func objc_set_collection_threshold(_ threshold: Int) | iOS 8.3 |