UIKit Changes for Swift
UIKit
Modified UICollectionViewUpdateItem
Declaration | |
---|---|
From | class UICollectionViewUpdateItem : NSObject { var indexPathBeforeUpdate: NSIndexPath { get } var indexPathAfterUpdate: NSIndexPath { get } var updateAction: UICollectionUpdateAction { get } } |
To | class UICollectionViewUpdateItem : NSObject { var indexPathBeforeUpdate: NSIndexPath? { get } var indexPathAfterUpdate: NSIndexPath? { get } var updateAction: UICollectionUpdateAction { get } } |
Declaration | |
---|---|
From | var indexPathAfterUpdate: NSIndexPath { get } |
To | var indexPathAfterUpdate: NSIndexPath? { get } |
Declaration | |
---|---|
From | var indexPathBeforeUpdate: NSIndexPath { get } |
To | var indexPathBeforeUpdate: NSIndexPath? { get } |