UIKit Changes for Swift
UIKit
Removed NSControlCharacterAction.ContainerBreakAction
Removed NSControlCharacterAction.HorizontalTabAction
Removed NSControlCharacterAction.LineBreakAction
Removed NSControlCharacterAction.ParagraphBreakAction
Removed NSControlCharacterAction.WhitespaceAction
Removed NSControlCharacterAction.ZeroAdvancementAction
Removed NSLayoutFormatOptions.init(_: UInt)
Removed NSStringDrawingOptions.init(_: Int)
Removed NSTextStorageEditActions.init(_: UInt)
Removed UICollectionViewScrollPosition.init(_: UInt)
Removed UICollisionBehaviorMode.init(_: UInt)
Removed UIColor.init(CGColor: CGColor!) -> UIColor
Removed UIControlEvents.init(_: UInt)
Removed UIControlState.init(_: UInt)
Removed UIDataDetectorTypes.init(_: UInt)
Removed UIDocumentState.init(_: UInt)
Removed UIFontDescriptor.init(fontAttributes: [NSObject : AnyObject]!) -> UIFontDescriptor
Removed UIFontDescriptorSymbolicTraits.init(_: UInt32)
Removed UIInterfaceOrientationMask.init(_: UInt)
Removed UIKeyModifierFlags.init(_: Int)
Removed UIPopoverArrowDirection.init(_: UInt)
Removed UIPrinterJobTypes.init(_: Int)
Removed UIRectCorner.init(_: UInt)
Removed UIRectEdge.init(_: UInt)
Removed UIRemoteNotificationType.init(_: UInt)
Removed UISwipeGestureRecognizerDirection.init(_: UInt)
Removed UITabBarItem.setTitlePositionAdjustment(_: UIOffset)
Removed UITabBarItem.titlePositionAdjustment() -> UIOffset
Removed UITableView.indexPathForSelectedRow() -> NSIndexPath?
Removed UITableView.indexPathsForSelectedRows() -> [AnyObject]?
Removed UITableView.indexPathsForVisibleRows() -> [AnyObject]?
Removed UITableView.numberOfSections() -> Int
Removed UITableView.visibleCells() -> [AnyObject]
Removed UITableViewCellStateMask.init(_: UInt)
Removed UIUserNotificationType.init(_: UInt)
Removed UIView.constraints() -> [AnyObject]
Removed UIView.getMirror() -> MirrorType
Removed UIView.setTranslatesAutoresizingMaskIntoConstraints(_: Bool)
Removed UIView.translatesAutoresizingMaskIntoConstraints() -> Bool
Removed UIViewAnimationOptions.init(_: UInt)
Removed UIViewAutoresizing.init(_: UInt)
Removed UIViewKeyframeAnimationOptions.init(_: UInt)
Added NSDataAsset
Added NSDataAsset.data
Added NSDataAsset.name
Added NSLayoutAnchor
Added NSLayoutAnchor.constraintEqualToAnchor(_: NSLayoutAnchor!, constant: CGFloat) -> NSLayoutConstraint!
Added NSLayoutAnchor.constraintGreaterThanOrEqualToAnchor(_: NSLayoutAnchor!) -> NSLayoutConstraint!
Added NSLayoutDimension
Added NSLayoutManager.CGGlyphAtIndex(_: Int, isValidIndex: UnsafeMutablePointer<ObjCBool>) -> CGGlyph
Added NSLayoutManager.init()
Added NSLayoutXAxisAnchor
Added NSLayoutYAxisAnchor
Added NSShadow.init()
Added UIBarButtonItem.init()
Added UIBarButtonItemGroup
Added UIBarButtonItemGroup.init(barButtonItems: [UIBarButtonItem], representativeItem: UIBarButtonItem?)
Added UIBarItem.init()
Added UIBarStyle.BlackOpaque
Added UIBezierPath.init()
Added UIButtonType.RoundedRect
Added UIDynamicItemGroup
Added UIDynamicItemGroup.items
Added UIFieldBehavior
Added UIFieldBehavior.falloff
Added UIFieldBehavior.items
Added UIFieldBehavior.position
Added UIFieldBehavior.region
Added UIFieldBehavior.strength
Added UIFieldBehavior.turbulenceFieldWithSmoothness(_: CGFloat, animationSpeed: CGFloat) -> Self [class]
Added UIFloatRange [struct]
Added UIFloatRange.init()
Added UIFloatRange.init(minimum: CGFloat, maximum: CGFloat)
Added UIFloatRange.maximum
Added UIFloatRange.minimum
Added UIFontDescriptor.init()
Added UIImageAsset.init()
Added UIKeyboardType.Alphabet
Added UIKeyCommand.init()
Added UILayoutGuide
Added UILayoutGuide.identifier
Added UILayoutGuide.leftAnchor
Added UILayoutGuide.owningView
Added UILayoutGuide.topAnchor
Added UIMotionEffect.init()
Added UIPreviewAction
Added UIPreviewAction.handler
Added UIPreviewActionGroup
Added UIPreviewActionGroup.init(title: String, style: UIPreviewActionStyle, actions: [UIPreviewAction])
Added UIPreviewActionItem
Added UIRegion
Added UIReturnKeyType.Continue
Added UISearchBar.init()
Added UISnapBehavior.snapPoint
Added UIStackView
Added UIStackView.alignment
Added UIStackView.axis
Added UIStackView.distribution
Added UIStackView.spacing
Added UIStackViewAlignment.Top
Added UITabBarItem.init()
Added UITableView.visibleCells
Added UITextInputAssistantItem
Added UITouch.force
Added UITraitCollection.init()
Added UIView.bottomAnchor
Added UIView.centerXAnchor
Added UIView.centerYAnchor
Added UIView.constraints
Added UIView.heightAnchor
Added UIView.layoutGuides
Added UIView.leadingAnchor
Added UIView.leftAnchor
Added UIView.rightAnchor
Added UIView.topAnchor
Added UIView.trailingAnchor
Added UIView.widthAnchor
Added UIViewController.unwindForSegue(_: UIStoryboardSegue, towardsViewController: UIViewController)
Added ==(_: UIEdgeInsets, _: UIEdgeInsets) -> Bool
Added ==(_: UIOffset, _: UIOffset) -> Bool
Added UIFloatRangeInfinite
Added UIFloatRangeZero
Added UIFontTextStyleCallout
Added UIFontTextStyleTitle1
Added UIFontTextStyleTitle2
Added UIFontTextStyleTitle3
Modified CIColor.init(color: UIColor)
Declaration | |
---|---|
From | init?(color color: UIColor) |
To | convenience init(color color: UIColor) |
Modified CIImage.init(image: UIImage)
Declaration | |
---|---|
From | init!(image image: UIImage!) |
To | init?(image image: UIImage) |
Declaration | |
---|---|
From | init!(image image: UIImage!, options options: [NSObject : AnyObject]!) |
To | init?(image image: UIImage, options options: [NSObject : AnyObject]?) |
Declaration | |
---|---|
From | func dataFromRange(_ range: NSRange, documentAttributes dict: [NSObject : AnyObject], error error: NSErrorPointer) -> NSData? |
To | func dataFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) throws -> NSData |
Declaration | |
---|---|
From | func fileWrapperFromRange(_ range: NSRange, documentAttributes dict: [NSObject : AnyObject], error error: NSErrorPointer) -> NSFileWrapper? |
To | func fileWrapperFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) throws -> NSFileWrapper |
Declaration | |
---|---|
From | init(attachment attachment: NSTextAttachment) -> NSAttributedString |
To | init(attachment attachment: NSTextAttachment) |
Declaration | |
---|---|
From | init?(data data: NSData, options options: [NSObject : AnyObject]?, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>, error error: NSErrorPointer) |
To | init(data data: NSData, options options: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws |
Declaration | Deprecation | |
---|---|---|
From | init?(fileURL url: NSURL!, options options: [NSObject : AnyObject]!, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>, error error: NSErrorPointer) | -- |
To | init(fileURL url: NSURL, options options: [NSObject : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws | iOS 9.0 |
Declaration | |
---|---|
From | func decodeCGAffineTransformForKey(_ key: String!) -> CGAffineTransform |
To | func decodeCGAffineTransformForKey(_ key: String) -> CGAffineTransform |
Declaration | |
---|---|
From | func decodeCGPointForKey(_ key: String!) -> CGPoint |
To | func decodeCGPointForKey(_ key: String) -> CGPoint |
Declaration | |
---|---|
From | func decodeCGRectForKey(_ key: String!) -> CGRect |
To | func decodeCGRectForKey(_ key: String) -> CGRect |
Declaration | |
---|---|
From | func decodeCGSizeForKey(_ key: String!) -> CGSize |
To | func decodeCGSizeForKey(_ key: String) -> CGSize |
Declaration | |
---|---|
From | func decodeCGVectorForKey(_ key: String!) -> CGVector |
To | func decodeCGVectorForKey(_ key: String) -> CGVector |
Declaration | |
---|---|
From | func decodeUIEdgeInsetsForKey(_ key: String!) -> UIEdgeInsets |
To | func decodeUIEdgeInsetsForKey(_ key: String) -> UIEdgeInsets |
Declaration | |
---|---|
From | func decodeUIOffsetForKey(_ key: String!) -> UIOffset |
To | func decodeUIOffsetForKey(_ key: String) -> UIOffset |
Declaration | |
---|---|
From | func encodeCGAffineTransform(_ transform: CGAffineTransform, forKey key: String!) |
To | func encodeCGAffineTransform(_ transform: CGAffineTransform, forKey key: String) |
Declaration | |
---|---|
From | func encodeCGPoint(_ point: CGPoint, forKey key: String!) |
To | func encodeCGPoint(_ point: CGPoint, forKey key: String) |
Declaration | |
---|---|
From | func encodeCGRect(_ rect: CGRect, forKey key: String!) |
To | func encodeCGRect(_ rect: CGRect, forKey key: String) |
Declaration | |
---|---|
From | func encodeCGSize(_ size: CGSize, forKey key: String!) |
To | func encodeCGSize(_ size: CGSize, forKey key: String) |
Declaration | |
---|---|
From | func encodeCGVector(_ vector: CGVector, forKey key: String!) |
To | func encodeCGVector(_ vector: CGVector, forKey key: String) |
Declaration | |
---|---|
From | func encodeUIEdgeInsets(_ insets: UIEdgeInsets, forKey key: String!) |
To | func encodeUIEdgeInsets(_ insets: UIEdgeInsets, forKey key: String) |
Declaration | |
---|---|
From | func encodeUIOffset(_ offset: UIOffset, forKey key: String!) |
To | func encodeUIOffset(_ offset: UIOffset, forKey key: String) |
Modified NSControlCharacterAction [enum]
Declaration | Raw Value Type | |
---|---|---|
From | enum NSControlCharacterAction : Int { case ZeroAdvancementAction case WhitespaceAction case HorizontalTabAction case LineBreakAction case ParagraphBreakAction case ContainerBreakAction } | -- |
To | enum NSControlCharacterAction : Int { case ZeroAdvancement case Whitespace case HorizontalTab case LineBreak case ParagraphBreak case ContainerBreak } | Int |
Modified NSFileProviderExtension
Declaration | |
---|---|
From | class NSFileProviderExtension : NSObject { class func writePlaceholderAtURL(_ placeholderURL: NSURL, withMetadata metadata: [NSObject : AnyObject], error error: NSErrorPointer) -> Bool class func placeholderURLForURL(_ url: NSURL) -> NSURL func providerIdentifier() -> String func documentStorageURL() -> NSURL func URLForItemWithPersistentIdentifier(_ identifier: String) -> NSURL! func persistentIdentifierForItemAtURL(_ url: NSURL) -> String func providePlaceholderAtURL(_ url: NSURL, completionHandler completionHandler: ((NSError!) -> Void)?) func startProvidingItemAtURL(_ url: NSURL, completionHandler completionHandler: ((NSError!) -> Void)!) func itemChangedAtURL(_ url: NSURL) func stopProvidingItemAtURL(_ url: NSURL) } |
To | class NSFileProviderExtension : NSObject { class func writePlaceholderAtURL(_ placeholderURL: NSURL, withMetadata metadata: [NSObject : AnyObject]) throws class func placeholderURLForURL(_ url: NSURL) -> NSURL func providerIdentifier() -> String func documentStorageURL() -> NSURL func URLForItemWithPersistentIdentifier(_ identifier: String) -> NSURL? func persistentIdentifierForItemAtURL(_ url: NSURL) -> String? func providePlaceholderAtURL(_ url: NSURL, completionHandler completionHandler: (NSError?) -> Void) func startProvidingItemAtURL(_ url: NSURL, completionHandler completionHandler: (NSError?) -> Void) func itemChangedAtURL(_ url: NSURL) func stopProvidingItemAtURL(_ url: NSURL) } |
Declaration | |
---|---|
From | func persistentIdentifierForItemAtURL(_ url: NSURL) -> String |
To | func persistentIdentifierForItemAtURL(_ url: NSURL) -> String? |
Modified NSFileProviderExtension.providePlaceholderAtURL(_: NSURL, completionHandler: (NSError?) -> Void)
Declaration | |
---|---|
From | func providePlaceholderAtURL(_ url: NSURL, completionHandler completionHandler: ((NSError!) -> Void)?) |
To | func providePlaceholderAtURL(_ url: NSURL, completionHandler completionHandler: (NSError?) -> Void) |
Modified NSFileProviderExtension.startProvidingItemAtURL(_: NSURL, completionHandler: (NSError?) -> Void)
Declaration | |
---|---|
From | func startProvidingItemAtURL(_ url: NSURL, completionHandler completionHandler: ((NSError!) -> Void)!) |
To | func startProvidingItemAtURL(_ url: NSURL, completionHandler completionHandler: (NSError?) -> Void) |
Declaration | |
---|---|
From | func URLForItemWithPersistentIdentifier(_ identifier: String) -> NSURL! |
To | func URLForItemWithPersistentIdentifier(_ identifier: String) -> NSURL? |
Declaration | |
---|---|
From | class func writePlaceholderAtURL(_ placeholderURL: NSURL, withMetadata metadata: [NSObject : AnyObject], error error: NSErrorPointer) -> Bool |
To | class func writePlaceholderAtURL(_ placeholderURL: NSURL, withMetadata metadata: [NSObject : AnyObject]) throws |
Modified NSGlyphProperty [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Declaration | |
---|---|
From | init!(forItem item: Int, inSection section: Int) -> NSIndexPath |
To | convenience init(forItem item: Int, inSection section: Int) |
Declaration | |
---|---|
From | init!(forRow row: Int, inSection section: Int) -> NSIndexPath |
To | convenience init(forRow row: Int, inSection section: Int) |
Modified NSLayoutAttribute [enum]
Declaration | Raw Value Type | |
---|---|---|
From | enum NSLayoutAttribute : Int { case Left case Right case Top case Bottom case Leading case Trailing case Width case Height case CenterX case CenterY case Baseline case FirstBaseline case LeftMargin case RightMargin case TopMargin case BottomMargin case LeadingMargin case TrailingMargin case CenterXWithinMargins case CenterYWithinMargins case NotAnAttribute } | -- |
To | enum NSLayoutAttribute : Int { case Left case Right case Top case Bottom case Leading case Trailing case Width case Height case CenterX case CenterY case Baseline static var LastBaseline: NSLayoutAttribute { get } case FirstBaseline case LeftMargin case RightMargin case TopMargin case BottomMargin case LeadingMargin case TrailingMargin case CenterXWithinMargins case CenterYWithinMargins case NotAnAttribute } | Int |
Modified NSLayoutConstraint
Declaration | |
---|---|
From | class NSLayoutConstraint : NSObject { class func constraintsWithVisualFormat(_ format: String, options opts: NSLayoutFormatOptions, metrics metrics: [NSObject : AnyObject]?, views views: [NSObject : AnyObject]) -> [AnyObject] convenience init(item view1: AnyObject, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: AnyObject?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) class func constraintWithItem(_ view1: AnyObject, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: AnyObject?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) -> Self var priority: UILayoutPriority var shouldBeArchived: Bool unowned(unsafe) var firstItem: AnyObject { get } var firstAttribute: NSLayoutAttribute { get } var relation: NSLayoutRelation { get } unowned(unsafe) var secondItem: AnyObject? { get } var secondAttribute: NSLayoutAttribute { get } var multiplier: CGFloat { get } var constant: CGFloat var active: Bool class func activateConstraints(_ constraints: [AnyObject]) class func deactivateConstraints(_ constraints: [AnyObject]) } extension NSLayoutConstraint { var identifier: String? } |
To | class NSLayoutConstraint : NSObject { class func constraintsWithVisualFormat(_ format: String, options opts: NSLayoutFormatOptions, metrics metrics: [String : AnyObject]?, views views: [String : AnyObject]) -> [NSLayoutConstraint] convenience init(item view1: AnyObject, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: AnyObject?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) class func constraintWithItem(_ view1: AnyObject, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: AnyObject?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) -> Self var priority: UILayoutPriority var shouldBeArchived: Bool unowned(unsafe) var firstItem: AnyObject { get } var firstAttribute: NSLayoutAttribute { get } var relation: NSLayoutRelation { get } unowned(unsafe) var secondItem: AnyObject? { get } var secondAttribute: NSLayoutAttribute { get } var multiplier: CGFloat { get } var constant: CGFloat var active: Bool class func activateConstraints(_ constraints: [NSLayoutConstraint]) class func deactivateConstraints(_ constraints: [NSLayoutConstraint]) } extension NSLayoutConstraint { var identifier: String? } |
Declaration | |
---|---|
From | class func activateConstraints(_ constraints: [AnyObject]) |
To | class func activateConstraints(_ constraints: [NSLayoutConstraint]) |
Declaration | |
---|---|
From | class func constraintsWithVisualFormat(_ format: String, options opts: NSLayoutFormatOptions, metrics metrics: [NSObject : AnyObject]?, views views: [NSObject : AnyObject]) -> [AnyObject] |
To | class func constraintsWithVisualFormat(_ format: String, options opts: NSLayoutFormatOptions, metrics metrics: [String : AnyObject]?, views views: [String : AnyObject]) -> [NSLayoutConstraint] |
Declaration | |
---|---|
From | class func deactivateConstraints(_ constraints: [AnyObject]) |
To | class func deactivateConstraints(_ constraints: [NSLayoutConstraint]) |
Modified NSLayoutFormatOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSLayoutFormatOptions : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var AlignAllLeft: NSLayoutFormatOptions { get } static var AlignAllRight: NSLayoutFormatOptions { get } static var AlignAllTop: NSLayoutFormatOptions { get } static var AlignAllBottom: NSLayoutFormatOptions { get } static var AlignAllLeading: NSLayoutFormatOptions { get } static var AlignAllTrailing: NSLayoutFormatOptions { get } static var AlignAllCenterX: NSLayoutFormatOptions { get } static var AlignAllCenterY: NSLayoutFormatOptions { get } static var AlignAllBaseline: NSLayoutFormatOptions { get } static var AlignAllLastBaseline: NSLayoutFormatOptions { get } static var AlignAllFirstBaseline: NSLayoutFormatOptions { get } static var AlignmentMask: NSLayoutFormatOptions { get } static var DirectionLeadingToTrailing: NSLayoutFormatOptions { get } static var DirectionLeftToRight: NSLayoutFormatOptions { get } static var DirectionRightToLeft: NSLayoutFormatOptions { get } static var DirectionMask: NSLayoutFormatOptions { get } } | RawOptionSetType |
To | struct NSLayoutFormatOptions : OptionSetType { init(rawValue rawValue: UInt) static var AlignAllLeft: NSLayoutFormatOptions { get } static var AlignAllRight: NSLayoutFormatOptions { get } static var AlignAllTop: NSLayoutFormatOptions { get } static var AlignAllBottom: NSLayoutFormatOptions { get } static var AlignAllLeading: NSLayoutFormatOptions { get } static var AlignAllTrailing: NSLayoutFormatOptions { get } static var AlignAllCenterX: NSLayoutFormatOptions { get } static var AlignAllCenterY: NSLayoutFormatOptions { get } static var AlignAllBaseline: NSLayoutFormatOptions { get } static var AlignAllLastBaseline: NSLayoutFormatOptions { get } static var AlignAllFirstBaseline: NSLayoutFormatOptions { get } static var AlignmentMask: NSLayoutFormatOptions { get } static var DirectionLeadingToTrailing: NSLayoutFormatOptions { get } static var DirectionLeftToRight: NSLayoutFormatOptions { get } static var DirectionRightToLeft: NSLayoutFormatOptions { get } static var DirectionMask: NSLayoutFormatOptions { get } } | OptionSetType |
Modified NSLayoutManager
Declaration | |
---|---|
From | class NSLayoutManager : NSObject, NSCoding { unowned(unsafe) var textStorage: NSTextStorage? var textContainers: [AnyObject] { get } func addTextContainer(_ container: NSTextContainer) func insertTextContainer(_ container: NSTextContainer, atIndex index: Int) func removeTextContainerAtIndex(_ index: Int) func textContainerChangedGeometry(_ container: NSTextContainer) unowned(unsafe) var delegate: NSLayoutManagerDelegate? var showsInvisibleCharacters: Bool var showsControlCharacters: Bool var hyphenationFactor: CGFloat var usesFontLeading: Bool var allowsNonContiguousLayout: Bool var hasNonContiguousLayout: Bool { get } func invalidateGlyphsForCharacterRange(_ charRange: NSRange, changeInLength delta: Int, actualCharacterRange actualCharRange: NSRangePointer) func invalidateLayoutForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) func invalidateDisplayForCharacterRange(_ charRange: NSRange) func invalidateDisplayForGlyphRange(_ glyphRange: NSRange) func processEditingForTextStorage(_ textStorage: NSTextStorage, edited editMask: NSTextStorageEditActions, range newCharRange: NSRange, changeInLength delta: Int, invalidatedRange invalidatedCharRange: NSRange) func ensureGlyphsForCharacterRange(_ charRange: NSRange) func ensureGlyphsForGlyphRange(_ glyphRange: NSRange) func ensureLayoutForCharacterRange(_ charRange: NSRange) func ensureLayoutForGlyphRange(_ glyphRange: NSRange) func ensureLayoutForTextContainer(_ container: NSTextContainer) func ensureLayoutForBoundingRect(_ bounds: CGRect, inTextContainer container: NSTextContainer) func setGlyphs(_ glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: UIFont?, forGlyphRange glyphRange: NSRange) var numberOfGlyphs: Int { get } func glyphAtIndex(_ glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>) -> CGGlyph func glyphAtIndex(_ glyphIndex: Int) -> CGGlyph func isValidGlyphIndex(_ glyphIndex: Int) -> Bool func propertyForGlyphAtIndex(_ glyphIndex: Int) -> NSGlyphProperty func characterIndexForGlyphAtIndex(_ glyphIndex: Int) -> Int func glyphIndexForCharacterAtIndex(_ charIndex: Int) -> Int func getGlyphsInRange(_ glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<CGGlyph>, properties props: UnsafeMutablePointer<NSGlyphProperty>, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>) -> Int func setTextContainer(_ container: NSTextContainer?, forGlyphRange glyphRange: NSRange) func setLineFragmentRect(_ fragmentRect: CGRect, forGlyphRange glyphRange: NSRange, usedRect usedRect: CGRect) func setExtraLineFragmentRect(_ fragmentRect: CGRect, usedRect usedRect: CGRect, textContainer container: NSTextContainer?) func setLocation(_ location: CGPoint, forStartOfGlyphRange glyphRange: NSRange) func setNotShownAttribute(_ flag: Bool, forGlyphAtIndex glyphIndex: Int) func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphAtIndex glyphIndex: Int) func setAttachmentSize(_ attachmentSize: CGSize, forGlyphRange glyphRange: NSRange) func getFirstUnlaidCharacterIndex(_ charIndex: UnsafeMutablePointer<Int>, glyphIndex glyphIndex: UnsafeMutablePointer<Int>) func firstUnlaidCharacterIndex() -> Int func firstUnlaidGlyphIndex() -> Int func textContainerForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> NSTextContainer? func usedRectForTextContainer(_ container: NSTextContainer) -> CGRect func lineFragmentRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> CGRect func lineFragmentUsedRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> CGRect var extraLineFragmentRect: CGRect { get } var extraLineFragmentUsedRect: CGRect { get } var extraLineFragmentTextContainer: NSTextContainer? { get } func locationForGlyphAtIndex(_ glyphIndex: Int) -> CGPoint func notShownAttributeForGlyphAtIndex(_ glyphIndex: Int) -> Bool func drawsOutsideLineFragmentForGlyphAtIndex(_ glyphIndex: Int) -> Bool func attachmentSizeForGlyphAtIndex(_ glyphIndex: Int) -> CGSize func truncatedGlyphRangeInLineFragmentForGlyphAtIndex(_ glyphIndex: Int) -> NSRange func glyphRangeForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) -> NSRange func characterRangeForGlyphRange(_ glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer) -> NSRange func glyphRangeForTextContainer(_ container: NSTextContainer) -> NSRange func rangeOfNominallySpacedGlyphsContainingIndex(_ glyphIndex: Int) -> NSRange func boundingRectForGlyphRange(_ glyphRange: NSRange, inTextContainer container: NSTextContainer) -> CGRect func glyphRangeForBoundingRect(_ bounds: CGRect, inTextContainer container: NSTextContainer) -> NSRange func glyphRangeForBoundingRectWithoutAdditionalLayout(_ bounds: CGRect, inTextContainer container: NSTextContainer) -> NSRange func glyphIndexForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer, fractionOfDistanceThroughGlyph partialFraction: UnsafeMutablePointer<CGFloat>) -> Int func glyphIndexForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer) -> Int func fractionOfDistanceThroughGlyphForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer) -> CGFloat func characterIndexForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer, fractionOfDistanceBetweenInsertionPoints partialFraction: UnsafeMutablePointer<CGFloat>) -> Int func getLineFragmentInsertionPointsForCharacterAtIndex(_ charIndex: Int, alternatePositions aFlag: Bool, inDisplayOrder dFlag: Bool, positions positions: UnsafeMutablePointer<CGFloat>, characterIndexes charIndexes: UnsafeMutablePointer<Int>) -> Int func enumerateLineFragmentsForGlyphRange(_ glyphRange: NSRange, usingBlock block: (CGRect, CGRect, NSTextContainer!, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) func enumerateEnclosingRectsForGlyphRange(_ glyphRange: NSRange, withinSelectedGlyphRange selectedRange: NSRange, inTextContainer textContainer: NSTextContainer, usingBlock block: (CGRect, UnsafeMutablePointer<ObjCBool>) -> Void) func drawBackgroundForGlyphRange(_ glyphsToShow: NSRange, atPoint origin: CGPoint) func drawGlyphsForGlyphRange(_ glyphsToShow: NSRange, atPoint origin: CGPoint) func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions positions: UnsafePointer<CGPoint>, count glyphCount: Int, font font: UIFont, matrix textMatrix: CGAffineTransform, attributes attributes: [NSObject : AnyObject]?, inContext graphicsContext: CGContext?) func fillBackgroundRectArray(_ rectArray: UnsafePointer<CGRect>, count rectCount: Int, forCharacterRange charRange: NSRange, color color: UIColor) func drawUnderlineForGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) func underlineGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) func drawStrikethroughForGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) func strikethroughGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) } |
To | class NSLayoutManager : NSObject, NSCoding { init() init?(coder coder: NSCoder) unowned(unsafe) var textStorage: NSTextStorage? var textContainers: [NSTextContainer] { get } func addTextContainer(_ container: NSTextContainer) func insertTextContainer(_ container: NSTextContainer, atIndex index: Int) func removeTextContainerAtIndex(_ index: Int) func textContainerChangedGeometry(_ container: NSTextContainer) unowned(unsafe) var delegate: NSLayoutManagerDelegate? var showsInvisibleCharacters: Bool var showsControlCharacters: Bool var hyphenationFactor: CGFloat var usesFontLeading: Bool var allowsNonContiguousLayout: Bool var hasNonContiguousLayout: Bool { get } func invalidateGlyphsForCharacterRange(_ charRange: NSRange, changeInLength delta: Int, actualCharacterRange actualCharRange: NSRangePointer) func invalidateLayoutForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) func invalidateDisplayForCharacterRange(_ charRange: NSRange) func invalidateDisplayForGlyphRange(_ glyphRange: NSRange) func processEditingForTextStorage(_ textStorage: NSTextStorage, edited editMask: NSTextStorageEditActions, range newCharRange: NSRange, changeInLength delta: Int, invalidatedRange invalidatedCharRange: NSRange) func ensureGlyphsForCharacterRange(_ charRange: NSRange) func ensureGlyphsForGlyphRange(_ glyphRange: NSRange) func ensureLayoutForCharacterRange(_ charRange: NSRange) func ensureLayoutForGlyphRange(_ glyphRange: NSRange) func ensureLayoutForTextContainer(_ container: NSTextContainer) func ensureLayoutForBoundingRect(_ bounds: CGRect, inTextContainer container: NSTextContainer) func setGlyphs(_ glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: UIFont, forGlyphRange glyphRange: NSRange) var numberOfGlyphs: Int { get } func CGGlyphAtIndex(_ glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>) -> CGGlyph func CGGlyphAtIndex(_ glyphIndex: Int) -> CGGlyph func isValidGlyphIndex(_ glyphIndex: Int) -> Bool func propertyForGlyphAtIndex(_ glyphIndex: Int) -> NSGlyphProperty func characterIndexForGlyphAtIndex(_ glyphIndex: Int) -> Int func glyphIndexForCharacterAtIndex(_ charIndex: Int) -> Int func getGlyphsInRange(_ glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<CGGlyph>, properties props: UnsafeMutablePointer<NSGlyphProperty>, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>) -> Int func setTextContainer(_ container: NSTextContainer, forGlyphRange glyphRange: NSRange) func setLineFragmentRect(_ fragmentRect: CGRect, forGlyphRange glyphRange: NSRange, usedRect usedRect: CGRect) func setExtraLineFragmentRect(_ fragmentRect: CGRect, usedRect usedRect: CGRect, textContainer container: NSTextContainer) func setLocation(_ location: CGPoint, forStartOfGlyphRange glyphRange: NSRange) func setNotShownAttribute(_ flag: Bool, forGlyphAtIndex glyphIndex: Int) func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphAtIndex glyphIndex: Int) func setAttachmentSize(_ attachmentSize: CGSize, forGlyphRange glyphRange: NSRange) func getFirstUnlaidCharacterIndex(_ charIndex: UnsafeMutablePointer<Int>, glyphIndex glyphIndex: UnsafeMutablePointer<Int>) func firstUnlaidCharacterIndex() -> Int func firstUnlaidGlyphIndex() -> Int func textContainerForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> NSTextContainer? func textContainerForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer, withoutAdditionalLayout flag: Bool) -> NSTextContainer? func usedRectForTextContainer(_ container: NSTextContainer) -> CGRect func lineFragmentRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> CGRect func lineFragmentRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer, withoutAdditionalLayout flag: Bool) -> CGRect func lineFragmentUsedRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> CGRect func lineFragmentUsedRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer, withoutAdditionalLayout flag: Bool) -> CGRect var extraLineFragmentRect: CGRect { get } var extraLineFragmentUsedRect: CGRect { get } var extraLineFragmentTextContainer: NSTextContainer? { get } func locationForGlyphAtIndex(_ glyphIndex: Int) -> CGPoint func notShownAttributeForGlyphAtIndex(_ glyphIndex: Int) -> Bool func drawsOutsideLineFragmentForGlyphAtIndex(_ glyphIndex: Int) -> Bool func attachmentSizeForGlyphAtIndex(_ glyphIndex: Int) -> CGSize func truncatedGlyphRangeInLineFragmentForGlyphAtIndex(_ glyphIndex: Int) -> NSRange func glyphRangeForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) -> NSRange func characterRangeForGlyphRange(_ glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer) -> NSRange func glyphRangeForTextContainer(_ container: NSTextContainer) -> NSRange func rangeOfNominallySpacedGlyphsContainingIndex(_ glyphIndex: Int) -> NSRange func boundingRectForGlyphRange(_ glyphRange: NSRange, inTextContainer container: NSTextContainer) -> CGRect func glyphRangeForBoundingRect(_ bounds: CGRect, inTextContainer container: NSTextContainer) -> NSRange func glyphRangeForBoundingRectWithoutAdditionalLayout(_ bounds: CGRect, inTextContainer container: NSTextContainer) -> NSRange func glyphIndexForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer, fractionOfDistanceThroughGlyph partialFraction: UnsafeMutablePointer<CGFloat>) -> Int func glyphIndexForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer) -> Int func fractionOfDistanceThroughGlyphForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer) -> CGFloat func characterIndexForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer, fractionOfDistanceBetweenInsertionPoints partialFraction: UnsafeMutablePointer<CGFloat>) -> Int func getLineFragmentInsertionPointsForCharacterAtIndex(_ charIndex: Int, alternatePositions aFlag: Bool, inDisplayOrder dFlag: Bool, positions positions: UnsafeMutablePointer<CGFloat>, characterIndexes charIndexes: UnsafeMutablePointer<Int>) -> Int func enumerateLineFragmentsForGlyphRange(_ glyphRange: NSRange, usingBlock block: (CGRect, CGRect, NSTextContainer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) func enumerateEnclosingRectsForGlyphRange(_ glyphRange: NSRange, withinSelectedGlyphRange selectedRange: NSRange, inTextContainer textContainer: NSTextContainer, usingBlock block: (CGRect, UnsafeMutablePointer<ObjCBool>) -> Void) func drawBackgroundForGlyphRange(_ glyphsToShow: NSRange, atPoint origin: CGPoint) func drawGlyphsForGlyphRange(_ glyphsToShow: NSRange, atPoint origin: CGPoint) func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions positions: UnsafePointer<CGPoint>, count glyphCount: Int, font font: UIFont, matrix textMatrix: CGAffineTransform, attributes attributes: [String : AnyObject], inContext graphicsContext: CGContext) func fillBackgroundRectArray(_ rectArray: UnsafePointer<CGRect>, count rectCount: Int, forCharacterRange charRange: NSRange, color color: UIColor) func drawUnderlineForGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) func underlineGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) func drawStrikethroughForGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) func strikethroughGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) } extension NSLayoutManager { func glyphAtIndex(_ glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>) -> CGGlyph func glyphAtIndex(_ glyphIndex: Int) -> CGGlyph } |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Declaration | Introduction | |
---|---|---|
From | func enumerateLineFragmentsForGlyphRange(_ glyphRange: NSRange, usingBlock block: (CGRect, CGRect, NSTextContainer!, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) | iOS 8.0 |
To | func enumerateLineFragmentsForGlyphRange(_ glyphRange: NSRange, usingBlock block: (CGRect, CGRect, NSTextContainer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) | iOS 7.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Modified NSLayoutManager.invalidateLayoutForCharacterRange(_: NSRange, actualCharacterRange: NSRangePointer)
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Declaration | |
---|---|
From | func setExtraLineFragmentRect(_ fragmentRect: CGRect, usedRect usedRect: CGRect, textContainer container: NSTextContainer?) |
To | func setExtraLineFragmentRect(_ fragmentRect: CGRect, usedRect usedRect: CGRect, textContainer container: NSTextContainer) |
Declaration | Introduction | |
---|---|---|
From | func setGlyphs(_ glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: UIFont?, forGlyphRange glyphRange: NSRange) | iOS 8.0 |
To | func setGlyphs(_ glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: UIFont, forGlyphRange glyphRange: NSRange) | iOS 7.0 |
Declaration | |
---|---|
From | func setTextContainer(_ container: NSTextContainer?, forGlyphRange glyphRange: NSRange) |
To | func setTextContainer(_ container: NSTextContainer, forGlyphRange glyphRange: NSRange) |
Declaration | Introduction | |
---|---|---|
From | func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions positions: UnsafePointer<CGPoint>, count glyphCount: Int, font font: UIFont, matrix textMatrix: CGAffineTransform, attributes attributes: [NSObject : AnyObject]?, inContext graphicsContext: CGContext?) | iOS 8.0 |
To | func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions positions: UnsafePointer<CGPoint>, count glyphCount: Int, font font: UIFont, matrix textMatrix: CGAffineTransform, attributes attributes: [String : AnyObject], inContext graphicsContext: CGContext) | iOS 7.0 |
Modified NSLayoutManager.textContainers
Declaration | |
---|---|
From | var textContainers: [AnyObject] { get } |
To | var textContainers: [NSTextContainer] { get } |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Modified NSLayoutManagerDelegate
Declaration | |
---|---|
From | protocol NSLayoutManagerDelegate : NSObjectProtocol { optional func layoutManager(_ layoutManager: NSLayoutManager, shouldGenerateGlyphs glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: UIFont!, forGlyphRange glyphRange: NSRange) -> Int optional func layoutManager(_ layoutManager: NSLayoutManager, lineSpacingAfterGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingBeforeGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingAfterGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUseAction action: NSControlCharacterAction, forControlCharacterAtIndex charIndex: Int) -> NSControlCharacterAction optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByWordBeforeCharacterAtIndex charIndex: Int) -> Bool optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByHyphenatingBeforeCharacterAtIndex charIndex: Int) -> Bool optional func layoutManager(_ layoutManager: NSLayoutManager, boundingBoxForControlGlyphAtIndex glyphIndex: Int, forTextContainer textContainer: NSTextContainer, proposedLineFragment proposedRect: CGRect, glyphPosition glyphPosition: CGPoint, characterIndex charIndex: Int) -> CGRect optional func layoutManagerDidInvalidateLayout(_ sender: NSLayoutManager) optional func layoutManager(_ layoutManager: NSLayoutManager, didCompleteLayoutForTextContainer textContainer: NSTextContainer?, atEnd layoutFinishedFlag: Bool) optional func layoutManager(_ layoutManager: NSLayoutManager, textContainer textContainer: NSTextContainer, didChangeGeometryFromSize oldSize: CGSize) } |
To | protocol NSLayoutManagerDelegate : NSObjectProtocol { optional func layoutManager(_ layoutManager: NSLayoutManager, shouldGenerateGlyphs glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: UIFont, forGlyphRange glyphRange: NSRange) -> Int optional func layoutManager(_ layoutManager: NSLayoutManager, lineSpacingAfterGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingBeforeGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingAfterGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUseAction action: NSControlCharacterAction, forControlCharacterAtIndex charIndex: Int) -> NSControlCharacterAction optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByWordBeforeCharacterAtIndex charIndex: Int) -> Bool optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByHyphenatingBeforeCharacterAtIndex charIndex: Int) -> Bool optional func layoutManager(_ layoutManager: NSLayoutManager, boundingBoxForControlGlyphAtIndex glyphIndex: Int, forTextContainer textContainer: NSTextContainer, proposedLineFragment proposedRect: CGRect, glyphPosition glyphPosition: CGPoint, characterIndex charIndex: Int) -> CGRect optional func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset baselineOffset: UnsafeMutablePointer<CGFloat>, inTextContainer textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool optional func layoutManagerDidInvalidateLayout(_ sender: NSLayoutManager) optional func layoutManager(_ layoutManager: NSLayoutManager, didCompleteLayoutForTextContainer textContainer: NSTextContainer?, atEnd layoutFinishedFlag: Bool) optional func layoutManager(_ layoutManager: NSLayoutManager, textContainer textContainer: NSTextContainer, didChangeGeometryFromSize oldSize: CGSize) } |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldGenerateGlyphs glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: UIFont!, forGlyphRange glyphRange: NSRange) -> Int |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldGenerateGlyphs glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: UIFont, forGlyphRange glyphRange: NSRange) -> Int |
Modified NSLayoutRelation [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified NSLineBreakMode [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Declaration | |
---|---|
From | func readFromData(_ data: NSData, options opts: [NSObject : AnyObject]?, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>, error error: NSErrorPointer) -> Bool |
To | func readFromData(_ data: NSData, options opts: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws |
Declaration | Deprecation | |
---|---|---|
From | func readFromFileURL(_ url: NSURL!, options opts: [NSObject : AnyObject]!, documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>, error error: NSErrorPointer) -> Bool | -- |
To | func readFromFileURL(_ url: NSURL, options opts: [NSObject : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws | iOS 9.0 |
Modified NSMutableParagraphStyle
Declaration | |
---|---|
From | class NSMutableParagraphStyle : NSParagraphStyle { var lineSpacing: CGFloat var paragraphSpacing: CGFloat var alignment: NSTextAlignment var firstLineHeadIndent: CGFloat var headIndent: CGFloat var tailIndent: CGFloat var lineBreakMode: NSLineBreakMode var minimumLineHeight: CGFloat var maximumLineHeight: CGFloat var baseWritingDirection: NSWritingDirection var lineHeightMultiple: CGFloat var paragraphSpacingBefore: CGFloat var hyphenationFactor: Float var tabStops: [AnyObject]? var defaultTabInterval: CGFloat } |
To | class NSMutableParagraphStyle : NSParagraphStyle { var lineSpacing: CGFloat var paragraphSpacing: CGFloat var alignment: NSTextAlignment var firstLineHeadIndent: CGFloat var headIndent: CGFloat var tailIndent: CGFloat var lineBreakMode: NSLineBreakMode var minimumLineHeight: CGFloat var maximumLineHeight: CGFloat var baseWritingDirection: NSWritingDirection var lineHeightMultiple: CGFloat var paragraphSpacingBefore: CGFloat var hyphenationFactor: Float var tabStops: [NSTextTab]! var defaultTabInterval: CGFloat var allowsDefaultTighteningForTruncation: Bool func addTabStop(_ anObject: NSTextTab) func removeTabStop(_ anObject: NSTextTab) func setParagraphStyle(_ obj: NSParagraphStyle) } |
Modified NSMutableParagraphStyle.tabStops
Declaration | |
---|---|
From | var tabStops: [AnyObject]? |
To | var tabStops: [NSTextTab]! |
Modified NSObject.accessibilityCustomActions
Declaration | |
---|---|
From | var accessibilityCustomActions: [AnyObject]! |
To | var accessibilityCustomActions: [UIAccessibilityCustomAction]? |
Declaration | |
---|---|
From | func accessibilityElementAtIndex(_ index: Int) -> AnyObject! |
To | func accessibilityElementAtIndex(_ index: Int) -> AnyObject? |
Modified NSObject.accessibilityElements
Declaration | |
---|---|
From | var accessibilityElements: [AnyObject]! |
To | var accessibilityElements: [AnyObject]? |
Modified NSObject.accessibilityHint
Declaration | |
---|---|
From | var accessibilityHint: String! |
To | var accessibilityHint: String? |
Modified NSObject.accessibilityLabel
Declaration | |
---|---|
From | var accessibilityLabel: String! |
To | var accessibilityLabel: String? |
Modified NSObject.accessibilityLanguage
Declaration | |
---|---|
From | var accessibilityLanguage: String! |
To | var accessibilityLanguage: String? |
Modified NSObject.accessibilityPath
Declaration | |
---|---|
From | @NSCopying var accessibilityPath: UIBezierPath! |
To | @NSCopying var accessibilityPath: UIBezierPath? |
Modified NSObject.accessibilityValue
Declaration | |
---|---|
From | var accessibilityValue: String! |
To | var accessibilityValue: String? |
Declaration | |
---|---|
From | func indexOfAccessibilityElement(_ element: AnyObject!) -> Int |
To | func indexOfAccessibilityElement(_ element: AnyObject) -> Int |
Modified NSParagraphStyle
Declaration | Protocols | |
---|---|---|
From | class NSParagraphStyle : NSObject, NSCopying, NSMutableCopying, NSCoding { class func defaultParagraphStyle() -> NSParagraphStyle class func defaultWritingDirectionForLanguage(_ languageName: String?) -> NSWritingDirection var lineSpacing: CGFloat { get } var paragraphSpacing: CGFloat { get } var alignment: NSTextAlignment { get } var headIndent: CGFloat { get } var tailIndent: CGFloat { get } var firstLineHeadIndent: CGFloat { get } var minimumLineHeight: CGFloat { get } var maximumLineHeight: CGFloat { get } var lineBreakMode: NSLineBreakMode { get } var baseWritingDirection: NSWritingDirection { get } var lineHeightMultiple: CGFloat { get } var paragraphSpacingBefore: CGFloat { get } var hyphenationFactor: Float { get } var tabStops: [AnyObject]? { get } var defaultTabInterval: CGFloat { get } } | AnyObject, NSCoding, NSCopying, NSMutableCopying |
To | class NSParagraphStyle : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding { class func defaultParagraphStyle() -> NSParagraphStyle class func defaultWritingDirectionForLanguage(_ languageName: String?) -> NSWritingDirection var lineSpacing: CGFloat { get } var paragraphSpacing: CGFloat { get } var alignment: NSTextAlignment { get } var headIndent: CGFloat { get } var tailIndent: CGFloat { get } var firstLineHeadIndent: CGFloat { get } var minimumLineHeight: CGFloat { get } var maximumLineHeight: CGFloat { get } var lineBreakMode: NSLineBreakMode { get } var baseWritingDirection: NSWritingDirection { get } var lineHeightMultiple: CGFloat { get } var paragraphSpacingBefore: CGFloat { get } var hyphenationFactor: Float { get } var tabStops: [NSTextTab] { get } var defaultTabInterval: CGFloat { get } var allowsDefaultTighteningForTruncation: Bool { get } } | AnyObject, NSCoding, NSCopying, NSMutableCopying, NSSecureCoding |
Modified NSParagraphStyle.tabStops
Declaration | |
---|---|
From | var tabStops: [AnyObject]? { get } |
To | var tabStops: [NSTextTab] { get } |
Modified NSShadow
Declaration | |
---|---|
From | class NSShadow : NSObject, NSCopying, NSCoding { var shadowOffset: CGSize var shadowBlurRadius: CGFloat var shadowColor: AnyObject? } |
To | class NSShadow : NSObject, NSCopying, NSCoding { init() init?(coder aDecoder: NSCoder) var shadowOffset: CGSize var shadowBlurRadius: CGFloat var shadowColor: AnyObject? } |
Declaration | |
---|---|
From | func boundingRectWithSize(_ size: CGSize, options options: NSStringDrawingOptions, attributes attributes: [NSObject : AnyObject]!, context context: NSStringDrawingContext!) -> CGRect |
To | func boundingRectWithSize(_ size: CGSize, options options: NSStringDrawingOptions, attributes attributes: [String : AnyObject]?, context context: NSStringDrawingContext?) -> CGRect |
Declaration | |
---|---|
From | func drawAtPoint(_ point: CGPoint, withAttributes attrs: [NSObject : AnyObject]?) |
To | func drawAtPoint(_ point: CGPoint, withAttributes attrs: [String : AnyObject]?) |
Declaration | |
---|---|
From | func drawInRect(_ rect: CGRect, withAttributes attrs: [NSObject : AnyObject]?) |
To | func drawInRect(_ rect: CGRect, withAttributes attrs: [String : AnyObject]?) |
Declaration | |
---|---|
From | func drawWithRect(_ rect: CGRect, options options: NSStringDrawingOptions, attributes attributes: [NSObject : AnyObject]!, context context: NSStringDrawingContext!) |
To | func drawWithRect(_ rect: CGRect, options options: NSStringDrawingOptions, attributes attributes: [String : AnyObject]?, context context: NSStringDrawingContext?) |
Declaration | |
---|---|
From | func sizeWithAttributes(_ attrs: [NSObject : AnyObject]?) -> CGSize |
To | func sizeWithAttributes(_ attrs: [String : AnyObject]?) -> CGSize |
Modified NSStringDrawingContext
Declaration | |
---|---|
From | class NSStringDrawingContext : NSObject { var minimumScaleFactor: CGFloat var minimumTrackingAdjustment: CGFloat var actualScaleFactor: CGFloat { get } var actualTrackingAdjustment: CGFloat { get } var totalBounds: CGRect { get } } |
To | class NSStringDrawingContext : NSObject { var minimumScaleFactor: CGFloat var actualScaleFactor: CGFloat { get } var totalBounds: CGRect { get } } extension NSStringDrawingContext { var minimumTrackingAdjustment: CGFloat var actualTrackingAdjustment: CGFloat { get } } |
Modified NSStringDrawingOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSStringDrawingOptions : RawOptionSetType { init(_ rawValue: Int) init(rawValue rawValue: Int) static var TruncatesLastVisibleLine: NSStringDrawingOptions { get } static var UsesLineFragmentOrigin: NSStringDrawingOptions { get } static var UsesFontLeading: NSStringDrawingOptions { get } static var UsesDeviceMetrics: NSStringDrawingOptions { get } } | RawOptionSetType |
To | struct NSStringDrawingOptions : OptionSetType { init(rawValue rawValue: Int) static var UsesLineFragmentOrigin: NSStringDrawingOptions { get } static var UsesFontLeading: NSStringDrawingOptions { get } static var UsesDeviceMetrics: NSStringDrawingOptions { get } static var TruncatesLastVisibleLine: NSStringDrawingOptions { get } } | OptionSetType |
Introduction | |
---|---|
From | iOS 8.3 |
To | iOS 6.0 |
Modified NSTextAlignment [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified NSTextAttachment
Declaration | |
---|---|
From | class NSTextAttachment : NSObject, NSTextAttachmentContainer, NSObjectProtocol, NSCoding { init(data contentData: NSData?, ofType uti: String?) var contents: NSData? var fileType: String? var fileWrapper: NSFileWrapper? var image: UIImage? var bounds: CGRect } |
To | class NSTextAttachment : NSObject, NSTextAttachmentContainer, NSCoding { init(data contentData: NSData?, ofType uti: String?) @NSCopying var contents: NSData? var fileType: String? var image: UIImage? var bounds: CGRect var fileWrapper: NSFileWrapper? } |
Modified NSTextAttachment.bounds
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Modified NSTextAttachment.contents
Declaration | Introduction | |
---|---|---|
From | var contents: NSData? | iOS 8.0 |
To | @NSCopying var contents: NSData? | iOS 7.0 |
Modified NSTextAttachment.fileType
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Modified NSTextAttachment.image
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Modified NSTextAttachmentContainer
Declaration | |
---|---|
From | protocol NSTextAttachmentContainer : NSObjectProtocol { func imageForBounds(_ imageBounds: CGRect, textContainer textContainer: NSTextContainer, characterIndex charIndex: Int) -> UIImage! func attachmentBoundsForTextContainer(_ textContainer: NSTextContainer, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect } |
To | protocol NSTextAttachmentContainer : NSObjectProtocol { func imageForBounds(_ imageBounds: CGRect, textContainer textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? func attachmentBoundsForTextContainer(_ textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect } |
Declaration | |
---|---|
From | func attachmentBoundsForTextContainer(_ textContainer: NSTextContainer, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect |
To | func attachmentBoundsForTextContainer(_ textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect |
Declaration | |
---|---|
From | func imageForBounds(_ imageBounds: CGRect, textContainer textContainer: NSTextContainer, characterIndex charIndex: Int) -> UIImage! |
To | func imageForBounds(_ imageBounds: CGRect, textContainer textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? |
Modified NSTextContainer
Declaration | |
---|---|
From | class NSTextContainer : NSObject, NSCoding, NSTextLayoutOrientationProvider { init(size size: CGSize) unowned(unsafe) var layoutManager: NSLayoutManager? var size: CGSize var exclusionPaths: [AnyObject]? var lineBreakMode: NSLineBreakMode var lineFragmentPadding: CGFloat var maximumNumberOfLines: Int func lineFragmentRectForProposedRect(_ proposedRect: CGRect, atIndex characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remainingRect remainingRect: UnsafeMutablePointer<CGRect>) -> CGRect var widthTracksTextView: Bool var heightTracksTextView: Bool } |
To | class NSTextContainer : NSObject, NSCoding, NSTextLayoutOrientationProvider { init(size size: CGSize) init?(coder coder: NSCoder) unowned(unsafe) var layoutManager: NSLayoutManager? func replaceLayoutManager(_ newLayoutManager: NSLayoutManager) var size: CGSize var exclusionPaths: [UIBezierPath] var lineBreakMode: NSLineBreakMode var lineFragmentPadding: CGFloat var maximumNumberOfLines: Int func lineFragmentRectForProposedRect(_ proposedRect: CGRect, atIndex characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remainingRect remainingRect: UnsafeMutablePointer<CGRect>) -> CGRect var simpleRectangularTextContainer: Bool { get } var widthTracksTextView: Bool var heightTracksTextView: Bool } |
Modified NSTextContainer.exclusionPaths
Declaration | Introduction | |
---|---|---|
From | var exclusionPaths: [AnyObject]? | iOS 8.0 |
To | var exclusionPaths: [UIBezierPath] | iOS 7.0 |
Modified NSTextContainer.init(size: CGSize)
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Modified NSTextContainer.lineBreakMode
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Modified NSTextContainer.maximumNumberOfLines
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Modified NSTextContainer.size
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Modified NSTextLayoutOrientation [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified NSTextLayoutOrientationProvider
Declaration | |
---|---|
From | protocol NSTextLayoutOrientationProvider { var layoutOrientation: NSTextLayoutOrientation { get set } } |
To | protocol NSTextLayoutOrientationProvider { var layoutOrientation: NSTextLayoutOrientation { get } } |
Declaration | |
---|---|
From | var layoutOrientation: NSTextLayoutOrientation { get set } |
To | var layoutOrientation: NSTextLayoutOrientation { get } |
Modified NSTextStorage
Declaration | |
---|---|
From | class NSTextStorage : NSMutableAttributedString { var layoutManagers: [AnyObject] { get } func addLayoutManager(_ aLayoutManager: NSLayoutManager) func removeLayoutManager(_ aLayoutManager: NSLayoutManager) var editedMask: NSTextStorageEditActions var editedRange: NSRange var changeInLength: Int unowned(unsafe) var delegate: NSTextStorageDelegate? func edited(_ editedMask: NSTextStorageEditActions, range editedRange: NSRange, changeInLength delta: Int) func processEditing() var fixesAttributesLazily: Bool { get } func invalidateAttributesInRange(_ range: NSRange) func ensureAttributesAreFixedInRange(_ range: NSRange) } |
To | class NSTextStorage : NSMutableAttributedString { var layoutManagers: [NSLayoutManager] { get } func addLayoutManager(_ aLayoutManager: NSLayoutManager) func removeLayoutManager(_ aLayoutManager: NSLayoutManager) var editedMask: NSTextStorageEditActions { get } var editedRange: NSRange { get } var changeInLength: Int { get } unowned(unsafe) var delegate: NSTextStorageDelegate? func edited(_ editedMask: NSTextStorageEditActions, range editedRange: NSRange, changeInLength delta: Int) func processEditing() var fixesAttributesLazily: Bool { get } func invalidateAttributesInRange(_ range: NSRange) func ensureAttributesAreFixedInRange(_ range: NSRange) } |
Modified NSTextStorage.changeInLength
Declaration | |
---|---|
From | var changeInLength: Int |
To | var changeInLength: Int { get } |
Modified NSTextStorage.editedMask
Declaration | |
---|---|
From | var editedMask: NSTextStorageEditActions |
To | var editedMask: NSTextStorageEditActions { get } |
Modified NSTextStorage.editedRange
Declaration | |
---|---|
From | var editedRange: NSRange |
To | var editedRange: NSRange { get } |
Modified NSTextStorage.layoutManagers
Declaration | |
---|---|
From | var layoutManagers: [AnyObject] { get } |
To | var layoutManagers: [NSLayoutManager] { get } |
Modified NSTextStorageEditActions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSTextStorageEditActions : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var EditedAttributes: NSTextStorageEditActions { get } static var EditedCharacters: NSTextStorageEditActions { get } } | RawOptionSetType |
To | struct NSTextStorageEditActions : OptionSetType { init(rawValue rawValue: UInt) static var EditedAttributes: NSTextStorageEditActions { get } static var EditedCharacters: NSTextStorageEditActions { get } } | OptionSetType |
Modified NSTextTab
Declaration | |
---|---|
From | class NSTextTab : NSObject, NSCopying, NSCoding { init(textAlignment alignment: NSTextAlignment, location loc: CGFloat, options options: [NSObject : AnyObject]?) class func columnTerminatorsForLocale(_ aLocale: NSLocale?) -> NSCharacterSet var alignment: NSTextAlignment { get } var location: CGFloat { get } var options: [NSObject : AnyObject]? { get } } |
To | class NSTextTab : NSObject, NSCopying, NSCoding { class func columnTerminatorsForLocale(_ aLocale: NSLocale?) -> NSCharacterSet init(textAlignment alignment: NSTextAlignment, location loc: CGFloat, options options: [String : AnyObject]) var alignment: NSTextAlignment { get } var location: CGFloat { get } var options: [String : AnyObject] { get } } |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Modified NSTextTab.init(textAlignment: NSTextAlignment, location: CGFloat, options: [String : AnyObject])
Declaration | |
---|---|
From | init(textAlignment alignment: NSTextAlignment, location loc: CGFloat, options options: [NSObject : AnyObject]?) |
To | init(textAlignment alignment: NSTextAlignment, location loc: CGFloat, options options: [String : AnyObject]) |
Modified NSTextTab.options
Declaration | |
---|---|
From | var options: [NSObject : AnyObject]? { get } |
To | var options: [String : AnyObject] { get } |
Modified NSTextWritingDirection [enum]
Deprecation | Raw Value Type | |
---|---|---|
From | -- | -- |
To | iOS 9.0 | Int |
Modified NSUnderlineStyle [enum]
Declaration | Raw Value Type | |
---|---|---|
From | enum NSUnderlineStyle : Int { case StyleNone case StyleSingle case StyleThick case StyleDouble case PatternDot case PatternDash case PatternDashDot case PatternDashDotDot case ByWord } | -- |
To | enum NSUnderlineStyle : Int { case StyleNone case StyleSingle case StyleThick case StyleDouble static var PatternSolid: NSUnderlineStyle { get } case PatternDot case PatternDash case PatternDashDot case PatternDashDotDot case ByWord } | Int |
Declaration | |
---|---|
From | init!(CGAffineTransform transform: CGAffineTransform) -> NSValue |
To | init(CGAffineTransform transform: CGAffineTransform) |
Modified NSValue.init(CGPoint: CGPoint)
Declaration | |
---|---|
From | init!(CGPoint point: CGPoint) -> NSValue |
To | init(CGPoint point: CGPoint) |
Modified NSValue.init(CGRect: CGRect)
Declaration | |
---|---|
From | init!(CGRect rect: CGRect) -> NSValue |
To | init(CGRect rect: CGRect) |
Modified NSValue.init(CGSize: CGSize)
Declaration | |
---|---|
From | init!(CGSize size: CGSize) -> NSValue |
To | init(CGSize size: CGSize) |
Modified NSValue.init(CGVector: CGVector)
Declaration | |
---|---|
From | init!(CGVector vector: CGVector) -> NSValue |
To | init(CGVector vector: CGVector) |
Declaration | |
---|---|
From | init!(UIEdgeInsets insets: UIEdgeInsets) -> NSValue |
To | init(UIEdgeInsets insets: UIEdgeInsets) |
Modified NSValue.init(UIOffset: UIOffset)
Declaration | |
---|---|
From | init!(UIOffset insets: UIOffset) -> NSValue |
To | init(UIOffset insets: UIOffset) |
Modified NSWritingDirection [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIAccelerometerDelegate
Declaration | |
---|---|
From | protocol UIAccelerometerDelegate : NSObjectProtocol { optional func accelerometer(_ accelerometer: UIAccelerometer, didAccelerate acceleration: UIAcceleration!) } |
To | protocol UIAccelerometerDelegate : NSObjectProtocol { optional func accelerometer(_ accelerometer: UIAccelerometer, didAccelerate acceleration: UIAcceleration) } |
Modified UIAccessibilityCustomAction
Declaration | |
---|---|
From | class UIAccessibilityCustomAction : NSObject { init(name name: String!, target target: AnyObject!, selector selector: Selector) var name: String! weak var target: AnyObject? var selector: Selector } |
To | class UIAccessibilityCustomAction : NSObject { init(name name: String, target target: AnyObject?, selector selector: Selector) var name: String weak var target: AnyObject? var selector: Selector } |
Declaration | |
---|---|
From | init(name name: String!, target target: AnyObject!, selector selector: Selector) |
To | init(name name: String, target target: AnyObject?, selector selector: Selector) |
Modified UIAccessibilityCustomAction.name
Declaration | |
---|---|
From | var name: String! |
To | var name: String |
Modified UIAccessibilityElement
Declaration | |
---|---|
From | class UIAccessibilityElement : NSObject, UIAccessibilityIdentification, NSObjectProtocol { init(accessibilityContainer container: AnyObject) unowned(unsafe) var accessibilityContainer: AnyObject var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityFrame: CGRect var accessibilityTraits: UIAccessibilityTraits } |
To | class UIAccessibilityElement : NSObject, UIAccessibilityIdentification { init(accessibilityContainer container: AnyObject) unowned(unsafe) var accessibilityContainer: AnyObject? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityFrame: CGRect var accessibilityTraits: UIAccessibilityTraits } |
Declaration | |
---|---|
From | unowned(unsafe) var accessibilityContainer: AnyObject |
To | unowned(unsafe) var accessibilityContainer: AnyObject? |
Modified UIAccessibilityIdentification
Declaration | |
---|---|
From | protocol UIAccessibilityIdentification : NSObjectProtocol { var accessibilityIdentifier: String! { get set } } |
To | protocol UIAccessibilityIdentification : NSObjectProtocol { var accessibilityIdentifier: String? { get set } } |
Declaration | |
---|---|
From | var accessibilityIdentifier: String! { get set } |
To | var accessibilityIdentifier: String? { get set } |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIAccessibilityReadingContent
Declaration | |
---|---|
From | protocol UIAccessibilityReadingContent { func accessibilityLineNumberForPoint(_ point: CGPoint) -> Int func accessibilityContentForLineNumber(_ lineNumber: Int) -> String? func accessibilityFrameForLineNumber(_ lineNumber: Int) -> CGRect func accessibilityPageContent() -> String! } |
To | protocol UIAccessibilityReadingContent { func accessibilityLineNumberForPoint(_ point: CGPoint) -> Int func accessibilityContentForLineNumber(_ lineNumber: Int) -> String? func accessibilityFrameForLineNumber(_ lineNumber: Int) -> CGRect func accessibilityPageContent() -> String? } |
Declaration | |
---|---|
From | func accessibilityPageContent() -> String! |
To | func accessibilityPageContent() -> String? |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIAccessibilityScrollDirection.Next
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 5.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 5.0 |
Modified UIAccessibilityZoomType [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIActionSheet
Declaration | Deprecation | |
---|---|---|
From | class UIActionSheet : UIView { init(title title: String?, delegate delegate: UIActionSheetDelegate?, cancelButtonTitle cancelButtonTitle: String?, destructiveButtonTitle destructiveButtonTitle: String?) unowned(unsafe) var delegate: UIActionSheetDelegate? var title: String var actionSheetStyle: UIActionSheetStyle func addButtonWithTitle(_ title: String) -> Int func buttonTitleAtIndex(_ buttonIndex: Int) -> String var numberOfButtons: Int { get } var cancelButtonIndex: Int var destructiveButtonIndex: Int var firstOtherButtonIndex: Int { get } var visible: Bool { get } func showFromToolbar(_ view: UIToolbar!) func showFromTabBar(_ view: UITabBar!) func showFromBarButtonItem(_ item: UIBarButtonItem!, animated animated: Bool) func showFromRect(_ rect: CGRect, inView view: UIView!, animated animated: Bool) func showInView(_ view: UIView!) func dismissWithClickedButtonIndex(_ buttonIndex: Int, animated animated: Bool) } extension UIActionSheet { convenience init(title title: String?, delegate delegate: UIActionSheetDelegate?, cancelButtonTitle cancelButtonTitle: String?, destructiveButtonTitle destructiveButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) } extension UIActionSheet { convenience init(title title: String?, delegate delegate: UIActionSheetDelegate?, cancelButtonTitle cancelButtonTitle: String?, destructiveButtonTitle destructiveButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) } | -- |
To | class UIActionSheet : UIView { init(title title: String?, delegate delegate: UIActionSheetDelegate?, cancelButtonTitle cancelButtonTitle: String?, destructiveButtonTitle destructiveButtonTitle: String?) weak var delegate: UIActionSheetDelegate? var title: String var actionSheetStyle: UIActionSheetStyle func addButtonWithTitle(_ title: String?) -> Int func buttonTitleAtIndex(_ buttonIndex: Int) -> String? var numberOfButtons: Int { get } var cancelButtonIndex: Int var destructiveButtonIndex: Int var firstOtherButtonIndex: Int { get } var visible: Bool { get } func showFromToolbar(_ view: UIToolbar) func showFromTabBar(_ view: UITabBar) func showFromBarButtonItem(_ item: UIBarButtonItem, animated animated: Bool) func showFromRect(_ rect: CGRect, inView view: UIView, animated animated: Bool) func showInView(_ view: UIView) func dismissWithClickedButtonIndex(_ buttonIndex: Int, animated animated: Bool) } extension UIActionSheet { convenience init(title title: String?, delegate delegate: UIActionSheetDelegate?, cancelButtonTitle cancelButtonTitle: String?, destructiveButtonTitle destructiveButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) } extension UIActionSheet { convenience init(title title: String?, delegate delegate: UIActionSheetDelegate?, cancelButtonTitle cancelButtonTitle: String?, destructiveButtonTitle destructiveButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) } | iOS 8.3 |
Modified UIActionSheet.actionSheetStyle
Deprecation | |
---|---|
From | -- |
To | iOS 8.3 |
Declaration | Deprecation | |
---|---|---|
From | func addButtonWithTitle(_ title: String) -> Int | -- |
To | func addButtonWithTitle(_ title: String?) -> Int | iOS 8.3 |
Declaration | Deprecation | |
---|---|---|
From | func buttonTitleAtIndex(_ buttonIndex: Int) -> String | -- |
To | func buttonTitleAtIndex(_ buttonIndex: Int) -> String? | iOS 8.3 |
Modified UIActionSheet.cancelButtonIndex
Deprecation | |
---|---|
From | -- |
To | iOS 8.3 |
Modified UIActionSheet.delegate
Declaration | Deprecation | |
---|---|---|
From | unowned(unsafe) var delegate: UIActionSheetDelegate? | -- |
To | weak var delegate: UIActionSheetDelegate? | iOS 8.3 |
Modified UIActionSheet.destructiveButtonIndex
Deprecation | |
---|---|
From | -- |
To | iOS 8.3 |
Deprecation | |
---|---|
From | -- |
To | iOS 8.3 |
Modified UIActionSheet.firstOtherButtonIndex
Deprecation | |
---|---|
From | -- |
To | iOS 8.3 |
Deprecation | |
---|---|
From | -- |
To | iOS 8.3 |
Modified UIActionSheet.numberOfButtons
Deprecation | |
---|---|
From | -- |
To | iOS 8.3 |
Declaration | Deprecation | |
---|---|---|
From | func showFromBarButtonItem(_ item: UIBarButtonItem!, animated animated: Bool) | -- |
To | func showFromBarButtonItem(_ item: UIBarButtonItem, animated animated: Bool) | iOS 8.3 |
Declaration | Deprecation | |
---|---|---|
From | func showFromRect(_ rect: CGRect, inView view: UIView!, animated animated: Bool) | -- |
To | func showFromRect(_ rect: CGRect, inView view: UIView, animated animated: Bool) | iOS 8.3 |
Declaration | Deprecation | |
---|---|---|
From | func showFromTabBar(_ view: UITabBar!) | -- |
To | func showFromTabBar(_ view: UITabBar) | iOS 8.3 |
Declaration | Deprecation | |
---|---|---|
From | func showFromToolbar(_ view: UIToolbar!) | -- |
To | func showFromToolbar(_ view: UIToolbar) | iOS 8.3 |
Modified UIActionSheet.showInView(_: UIView)
Declaration | Deprecation | |
---|---|---|
From | func showInView(_ view: UIView!) | -- |
To | func showInView(_ view: UIView) | iOS 8.3 |
Modified UIActionSheet.title
Deprecation | |
---|---|
From | -- |
To | iOS 8.3 |
Modified UIActionSheet.visible
Deprecation | |
---|---|
From | -- |
To | iOS 8.3 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 8.3 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 8.3 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 8.3 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 8.3 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 8.3 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 8.3 |
Modified UIActionSheetStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIActivityCategory [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIActivityIndicatorView
Declaration | |
---|---|
From | class UIActivityIndicatorView : UIView, NSCoding { init!(activityIndicatorStyle style: UIActivityIndicatorViewStyle) var activityIndicatorViewStyle: UIActivityIndicatorViewStyle var hidesWhenStopped: Bool var color: UIColor! func startAnimating() func stopAnimating() func isAnimating() -> Bool } |
To | class UIActivityIndicatorView : UIView { init(activityIndicatorStyle style: UIActivityIndicatorViewStyle) init(frame frame: CGRect) init(coder coder: NSCoder) var activityIndicatorViewStyle: UIActivityIndicatorViewStyle var hidesWhenStopped: Bool var color: UIColor? func startAnimating() func stopAnimating() func isAnimating() -> Bool } |
Modified UIActivityIndicatorView.color
Declaration | |
---|---|
From | var color: UIColor! |
To | var color: UIColor? |
Declaration | |
---|---|
From | init!(activityIndicatorStyle style: UIActivityIndicatorViewStyle) |
To | init(activityIndicatorStyle style: UIActivityIndicatorViewStyle) |
Modified UIActivityIndicatorViewStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIActivityItemProvider
Declaration | |
---|---|
From | class UIActivityItemProvider : NSOperation, UIActivityItemSource, NSObjectProtocol { init(placeholderItem placeholderItem: AnyObject) var placeholderItem: AnyObject! { get } var activityType: String? { get } func item() -> AnyObject! } |
To | class UIActivityItemProvider : NSOperation, UIActivityItemSource { convenience init() init(placeholderItem placeholderItem: AnyObject) var placeholderItem: AnyObject? { get } var activityType: String? { get } func item() -> AnyObject } |
Declaration | |
---|---|
From | func item() -> AnyObject! |
To | func item() -> AnyObject |
Declaration | |
---|---|
From | var placeholderItem: AnyObject! { get } |
To | var placeholderItem: AnyObject? { get } |
Modified UIActivityItemSource
Declaration | |
---|---|
From | protocol UIActivityItemSource : NSObjectProtocol { func activityViewControllerPlaceholderItem(_ activityViewController: UIActivityViewController) -> AnyObject func activityViewController(_ activityViewController: UIActivityViewController, itemForActivityType activityType: String) -> AnyObject? optional func activityViewController(_ activityViewController: UIActivityViewController, subjectForActivityType activityType: String?) -> String optional func activityViewController(_ activityViewController: UIActivityViewController, dataTypeIdentifierForActivityType activityType: String?) -> String optional func activityViewController(_ activityViewController: UIActivityViewController, thumbnailImageForActivityType activityType: String!, suggestedSize size: CGSize) -> UIImage! } |
To | protocol UIActivityItemSource : NSObjectProtocol { func activityViewControllerPlaceholderItem(_ activityViewController: UIActivityViewController) -> AnyObject func activityViewController(_ activityViewController: UIActivityViewController, itemForActivityType activityType: String) -> AnyObject? optional func activityViewController(_ activityViewController: UIActivityViewController, subjectForActivityType activityType: String?) -> String optional func activityViewController(_ activityViewController: UIActivityViewController, dataTypeIdentifierForActivityType activityType: String?) -> String optional func activityViewController(_ activityViewController: UIActivityViewController, thumbnailImageForActivityType activityType: String?, suggestedSize size: CGSize) -> UIImage? } |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Declaration | Introduction | |
---|---|---|
From | optional func activityViewController(_ activityViewController: UIActivityViewController, thumbnailImageForActivityType activityType: String!, suggestedSize size: CGSize) -> UIImage! | iOS 8.0 |
To | optional func activityViewController(_ activityViewController: UIActivityViewController, thumbnailImageForActivityType activityType: String?, suggestedSize size: CGSize) -> UIImage? | iOS 6.0 |
Modified UIActivityItemSource.activityViewControllerPlaceholderItem(_: UIActivityViewController) -> AnyObject
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Modified UIActivityViewController
Declaration | |
---|---|
From | class UIActivityViewController : UIViewController { init(activityItems activityItems: [AnyObject], applicationActivities applicationActivities: [AnyObject]?) var completionHandler: UIActivityViewControllerCompletionHandler? var completionWithItemsHandler: UIActivityViewControllerCompletionWithItemsHandler? var excludedActivityTypes: [AnyObject]? } |
To | class UIActivityViewController : UIViewController { convenience init() convenience init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) convenience init?(coder aDecoder: NSCoder) init(activityItems activityItems: [AnyObject], applicationActivities applicationActivities: [UIActivity]?) var completionHandler: UIActivityViewControllerCompletionHandler? var completionWithItemsHandler: UIActivityViewControllerCompletionWithItemsHandler? var excludedActivityTypes: [String]? } |
Declaration | |
---|---|
From | var excludedActivityTypes: [AnyObject]? |
To | var excludedActivityTypes: [String]? |
Modified UIActivityViewController.init(activityItems: [AnyObject], applicationActivities: [UIActivity]?)
Declaration | |
---|---|
From | init(activityItems activityItems: [AnyObject], applicationActivities applicationActivities: [AnyObject]?) |
To | init(activityItems activityItems: [AnyObject], applicationActivities applicationActivities: [UIActivity]?) |
Declaration | |
---|---|
From | protocol UIAdaptivePresentationControllerDelegate : NSObjectProtocol { optional func adaptivePresentationStyleForPresentationController(_ controller: UIPresentationController) -> UIModalPresentationStyle optional func adaptivePresentationStyleForPresentationController(_ controller: UIPresentationController!, traitCollection traitCollection: UITraitCollection!) -> UIModalPresentationStyle optional func presentationController(_ controller: UIPresentationController, viewControllerForAdaptivePresentationStyle style: UIModalPresentationStyle) -> UIViewController? optional func presentationController(_ presentationController: UIPresentationController!, willPresentWithAdaptiveStyle style: UIModalPresentationStyle, transitionCoordinator transitionCoordinator: UIViewControllerTransitionCoordinator!) } |
To | protocol UIAdaptivePresentationControllerDelegate : NSObjectProtocol { optional func adaptivePresentationStyleForPresentationController(_ controller: UIPresentationController) -> UIModalPresentationStyle optional func adaptivePresentationStyleForPresentationController(_ controller: UIPresentationController, traitCollection traitCollection: UITraitCollection) -> UIModalPresentationStyle optional func presentationController(_ controller: UIPresentationController, viewControllerForAdaptivePresentationStyle style: UIModalPresentationStyle) -> UIViewController? optional func presentationController(_ presentationController: UIPresentationController, willPresentWithAdaptiveStyle style: UIModalPresentationStyle, transitionCoordinator transitionCoordinator: UIViewControllerTransitionCoordinator?) } |
Declaration | |
---|---|
From | optional func adaptivePresentationStyleForPresentationController(_ controller: UIPresentationController!, traitCollection traitCollection: UITraitCollection!) -> UIModalPresentationStyle |
To | optional func adaptivePresentationStyleForPresentationController(_ controller: UIPresentationController, traitCollection traitCollection: UITraitCollection) -> UIModalPresentationStyle |
Declaration | |
---|---|
From | optional func presentationController(_ presentationController: UIPresentationController!, willPresentWithAdaptiveStyle style: UIModalPresentationStyle, transitionCoordinator transitionCoordinator: UIViewControllerTransitionCoordinator!) |
To | optional func presentationController(_ presentationController: UIPresentationController, willPresentWithAdaptiveStyle style: UIModalPresentationStyle, transitionCoordinator transitionCoordinator: UIViewControllerTransitionCoordinator?) |
Modified UIAlertAction
Declaration | |
---|---|
From | class UIAlertAction : NSObject, NSCopying { convenience init(title title: String, style style: UIAlertActionStyle, handler handler: ((UIAlertAction!) -> Void)!) class func actionWithTitle(_ title: String, style style: UIAlertActionStyle, handler handler: ((UIAlertAction!) -> Void)!) -> Self var title: String { get } var style: UIAlertActionStyle { get } var enabled: Bool } |
To | class UIAlertAction : NSObject, NSCopying { convenience init(title title: String?, style style: UIAlertActionStyle, handler handler: ((UIAlertAction) -> Void)?) class func actionWithTitle(_ title: String?, style style: UIAlertActionStyle, handler handler: ((UIAlertAction) -> Void)?) -> Self var title: String? { get } var style: UIAlertActionStyle { get } var enabled: Bool } |
Modified UIAlertAction.init(title: String?, style: UIAlertActionStyle, handler: ((UIAlertAction) -> Void)?)
Declaration | |
---|---|
From | convenience init(title title: String, style style: UIAlertActionStyle, handler handler: ((UIAlertAction!) -> Void)!) |
To | convenience init(title title: String?, style style: UIAlertActionStyle, handler handler: ((UIAlertAction) -> Void)?) |
Modified UIAlertAction.title
Declaration | |
---|---|
From | var title: String { get } |
To | var title: String? { get } |
Modified UIAlertActionStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIAlertController
Declaration | |
---|---|
From | class UIAlertController : UIViewController { convenience init(title title: String?, message message: String?, preferredStyle preferredStyle: UIAlertControllerStyle) class func alertControllerWithTitle(_ title: String?, message message: String?, preferredStyle preferredStyle: UIAlertControllerStyle) -> Self func addAction(_ action: UIAlertAction) var actions: [AnyObject] { get } func addTextFieldWithConfigurationHandler(_ configurationHandler: ((UITextField!) -> Void)!) var textFields: [AnyObject]? { get } var title: String? var message: String? var preferredStyle: UIAlertControllerStyle { get } } |
To | class UIAlertController : UIViewController { convenience init(title title: String?, message message: String?, preferredStyle preferredStyle: UIAlertControllerStyle) class func alertControllerWithTitle(_ title: String?, message message: String?, preferredStyle preferredStyle: UIAlertControllerStyle) -> Self func addAction(_ action: UIAlertAction) var actions: [UIAlertAction] { get } var preferredAction: UIAlertAction? func addTextFieldWithConfigurationHandler(_ configurationHandler: ((UITextField) -> Void)?) var textFields: [UITextField]? { get } var title: String? var message: String? var preferredStyle: UIAlertControllerStyle { get } } |
Modified UIAlertController.actions
Declaration | |
---|---|
From | var actions: [AnyObject] { get } |
To | var actions: [UIAlertAction] { get } |
Declaration | |
---|---|
From | func addTextFieldWithConfigurationHandler(_ configurationHandler: ((UITextField!) -> Void)!) |
To | func addTextFieldWithConfigurationHandler(_ configurationHandler: ((UITextField) -> Void)?) |
Modified UIAlertController.textFields
Declaration | |
---|---|
From | var textFields: [AnyObject]? { get } |
To | var textFields: [UITextField]? { get } |
Modified UIAlertControllerStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIAlertView
Declaration | Deprecation | |
---|---|---|
From | class UIAlertView : UIView { init(title title: String?, message message: String?, delegate delegate: AnyObject?, cancelButtonTitle cancelButtonTitle: String?) unowned(unsafe) var delegate: AnyObject? var title: String var message: String? func addButtonWithTitle(_ title: String) -> Int func buttonTitleAtIndex(_ buttonIndex: Int) -> String! var numberOfButtons: Int { get } var cancelButtonIndex: Int var firstOtherButtonIndex: Int { get } var visible: Bool { get } func show() func dismissWithClickedButtonIndex(_ buttonIndex: Int, animated animated: Bool) var alertViewStyle: UIAlertViewStyle func textFieldAtIndex(_ textFieldIndex: Int) -> UITextField? } extension UIAlertView { convenience init(title title: String, message message: String, delegate delegate: UIAlertViewDelegate?, cancelButtonTitle cancelButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) } extension UIAlertView { convenience init(title title: String, message message: String, delegate delegate: UIAlertViewDelegate?, cancelButtonTitle cancelButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) } | -- |
To | class UIAlertView : UIView { convenience init(title title: String?, message message: String?, delegate delegate: AnyObject?, cancelButtonTitle cancelButtonTitle: String?) init(frame frame: CGRect) init?(coder aDecoder: NSCoder) weak var delegate: AnyObject? var title: String var message: String? func addButtonWithTitle(_ title: String?) -> Int func buttonTitleAtIndex(_ buttonIndex: Int) -> String? var numberOfButtons: Int { get } var cancelButtonIndex: Int var firstOtherButtonIndex: Int { get } var visible: Bool { get } func show() func dismissWithClickedButtonIndex(_ buttonIndex: Int, animated animated: Bool) var alertViewStyle: UIAlertViewStyle func textFieldAtIndex(_ textFieldIndex: Int) -> UITextField? } extension UIAlertView { convenience init(title title: String, message message: String, delegate delegate: UIAlertViewDelegate?, cancelButtonTitle cancelButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) } extension UIAlertView { convenience init(title title: String, message message: String, delegate delegate: UIAlertViewDelegate?, cancelButtonTitle cancelButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) } | iOS 9.0 |
Declaration | Deprecation | |
---|---|---|
From | func addButtonWithTitle(_ title: String) -> Int | -- |
To | func addButtonWithTitle(_ title: String?) -> Int | iOS 9.0 |
Modified UIAlertView.alertViewStyle
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Declaration | Deprecation | |
---|---|---|
From | func buttonTitleAtIndex(_ buttonIndex: Int) -> String! | -- |
To | func buttonTitleAtIndex(_ buttonIndex: Int) -> String? | iOS 9.0 |
Modified UIAlertView.cancelButtonIndex
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified UIAlertView.delegate
Declaration | Deprecation | |
---|---|---|
From | unowned(unsafe) var delegate: AnyObject? | -- |
To | weak var delegate: AnyObject? | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified UIAlertView.firstOtherButtonIndex
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified UIAlertView.init(title: String?, message: String?, delegate: AnyObject?, cancelButtonTitle: String?)
Declaration | Deprecation | |
---|---|---|
From | init(title title: String?, message message: String?, delegate delegate: AnyObject?, cancelButtonTitle cancelButtonTitle: String?) | -- |
To | convenience init(title title: String?, message message: String?, delegate delegate: AnyObject?, cancelButtonTitle cancelButtonTitle: String?) | iOS 9.0 |
Modified UIAlertView.message
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified UIAlertView.numberOfButtons
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified UIAlertView.show()
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified UIAlertView.title
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified UIAlertView.visible
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 9.0 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 9.0 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 9.0 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 9.0 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 9.0 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 9.0 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 9.0 |
Modified UIAlertViewStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIAppearance
Declaration | |
---|---|
From | protocol UIAppearance : NSObjectProtocol { static func appearance() -> Self static func appearanceForTraitCollection(_ trait: UITraitCollection) -> Self } |
To | protocol UIAppearance : NSObjectProtocol { static func appearance() -> Self static func appearanceWhenContainedInInstancesOfClasses(_ containerTypes: [AnyObject.Type]) -> Self static func appearanceForTraitCollection(_ trait: UITraitCollection) -> Self static func appearanceForTraitCollection(_ trait: UITraitCollection, whenContainedInInstancesOfClasses containerTypes: [AnyObject.Type]) -> Self } |
Modified UIApplication
Declaration | Protocols | |
---|---|---|
From | class UIApplication : UIResponder, UIActionSheetDelegate, NSObjectProtocol { class func sharedApplication() -> UIApplication unowned(unsafe) var delegate: UIApplicationDelegate? func beginIgnoringInteractionEvents() func endIgnoringInteractionEvents() func isIgnoringInteractionEvents() -> Bool var idleTimerDisabled: Bool func openURL(_ url: NSURL) -> Bool func canOpenURL(_ url: NSURL) -> Bool func sendEvent(_ event: UIEvent) var keyWindow: UIWindow? { get } var windows: [AnyObject] { get } func sendAction(_ action: Selector, to target: AnyObject?, from sender: AnyObject?, forEvent event: UIEvent?) -> Bool var networkActivityIndicatorVisible: Bool var statusBarStyle: UIStatusBarStyle func setStatusBarStyle(_ statusBarStyle: UIStatusBarStyle, animated animated: Bool) var statusBarHidden: Bool func setStatusBarHidden(_ hidden: Bool, withAnimation animation: UIStatusBarAnimation) var statusBarOrientation: UIInterfaceOrientation func setStatusBarOrientation(_ interfaceOrientation: UIInterfaceOrientation, animated animated: Bool) func supportedInterfaceOrientationsForWindow(_ window: UIWindow) -> Int var statusBarOrientationAnimationDuration: NSTimeInterval { get } var statusBarFrame: CGRect { get } var applicationIconBadgeNumber: Int var applicationSupportsShakeToEdit: Bool var applicationState: UIApplicationState { get } var backgroundTimeRemaining: NSTimeInterval { get } func beginBackgroundTaskWithExpirationHandler(_ handler: () -> Void) -> UIBackgroundTaskIdentifier func beginBackgroundTaskWithName(_ taskName: String?, expirationHandler handler: (() -> Void)?) -> UIBackgroundTaskIdentifier func endBackgroundTask(_ identifier: UIBackgroundTaskIdentifier) func setMinimumBackgroundFetchInterval(_ minimumBackgroundFetchInterval: NSTimeInterval) var backgroundRefreshStatus: UIBackgroundRefreshStatus { get } func setKeepAliveTimeout(_ timeout: NSTimeInterval, handler keepAliveHandler: (() -> Void)?) -> Bool func clearKeepAliveTimeout() var protectedDataAvailable: Bool { get } var userInterfaceLayoutDirection: UIUserInterfaceLayoutDirection { get } var preferredContentSizeCategory: String { get } } extension UIApplication { func registerForRemoteNotifications() func unregisterForRemoteNotifications() func isRegisteredForRemoteNotifications() -> Bool func registerForRemoteNotificationTypes(_ types: UIRemoteNotificationType) func enabledRemoteNotificationTypes() -> UIRemoteNotificationType } extension UIApplication { func presentLocalNotificationNow(_ notification: UILocalNotification) func scheduleLocalNotification(_ notification: UILocalNotification) func cancelLocalNotification(_ notification: UILocalNotification) func cancelAllLocalNotifications() var scheduledLocalNotifications: [AnyObject]! } extension UIApplication { func registerUserNotificationSettings(_ notificationSettings: UIUserNotificationSettings) func currentUserNotificationSettings() -> UIUserNotificationSettings! } extension UIApplication { func beginReceivingRemoteControlEvents() func endReceivingRemoteControlEvents() } extension UIApplication { func setNewsstandIconImage(_ image: UIImage?) } extension UIApplication { func extendStateRestoration() func completeStateRestoration() func ignoreSnapshotOnNextApplicationLaunch() class func registerObjectForStateRestoration(_ object: UIStateRestoring, restorationIdentifier restorationIdentifier: String) } extension UIApplication { var proximitySensingEnabled: Bool func setStatusBarHidden(_ hidden: Bool, animated animated: Bool) } | AnyObject, NSObjectProtocol, UIActionSheetDelegate |
To | class UIApplication : UIResponder { class func sharedApplication() -> UIApplication unowned(unsafe) var delegate: UIApplicationDelegate? func beginIgnoringInteractionEvents() func endIgnoringInteractionEvents() func isIgnoringInteractionEvents() -> Bool var idleTimerDisabled: Bool func openURL(_ url: NSURL) -> Bool func canOpenURL(_ url: NSURL) -> Bool func sendEvent(_ event: UIEvent) var keyWindow: UIWindow? { get } var windows: [UIWindow] { get } func sendAction(_ action: Selector, to target: AnyObject?, from sender: AnyObject?, forEvent event: UIEvent?) -> Bool var networkActivityIndicatorVisible: Bool func supportedInterfaceOrientationsForWindow(_ window: UIWindow?) -> UIInterfaceOrientationMask var statusBarOrientationAnimationDuration: NSTimeInterval { get } var statusBarFrame: CGRect { get } var applicationIconBadgeNumber: Int var applicationSupportsShakeToEdit: Bool var applicationState: UIApplicationState { get } var backgroundTimeRemaining: NSTimeInterval { get } func beginBackgroundTaskWithExpirationHandler(_ handler: (() -> Void)?) -> UIBackgroundTaskIdentifier func beginBackgroundTaskWithName(_ taskName: String?, expirationHandler handler: (() -> Void)?) -> UIBackgroundTaskIdentifier func endBackgroundTask(_ identifier: UIBackgroundTaskIdentifier) func setMinimumBackgroundFetchInterval(_ minimumBackgroundFetchInterval: NSTimeInterval) var backgroundRefreshStatus: UIBackgroundRefreshStatus { get } var protectedDataAvailable: Bool { get } var userInterfaceLayoutDirection: UIUserInterfaceLayoutDirection { get } var preferredContentSizeCategory: String { get } } extension UIApplication { func registerForRemoteNotifications() func unregisterForRemoteNotifications() func isRegisteredForRemoteNotifications() -> Bool func registerForRemoteNotificationTypes(_ types: UIRemoteNotificationType) func enabledRemoteNotificationTypes() -> UIRemoteNotificationType } extension UIApplication { func presentLocalNotificationNow(_ notification: UILocalNotification) func scheduleLocalNotification(_ notification: UILocalNotification) func cancelLocalNotification(_ notification: UILocalNotification) func cancelAllLocalNotifications() var scheduledLocalNotifications: [UILocalNotification]? } extension UIApplication { func registerUserNotificationSettings(_ notificationSettings: UIUserNotificationSettings) func currentUserNotificationSettings() -> UIUserNotificationSettings? } extension UIApplication { func beginReceivingRemoteControlEvents() func endReceivingRemoteControlEvents() } extension UIApplication { func setNewsstandIconImage(_ image: UIImage?) } extension UIApplication { var shortcutItems: [UIApplicationShortcutItem]? } extension UIApplication { func extendStateRestoration() func completeStateRestoration() func ignoreSnapshotOnNextApplicationLaunch() class func registerObjectForStateRestoration(_ object: UIStateRestoring, restorationIdentifier restorationIdentifier: String) } extension UIApplication { var proximitySensingEnabled: Bool func setStatusBarHidden(_ hidden: Bool, animated animated: Bool) var statusBarOrientation: UIInterfaceOrientation func setStatusBarOrientation(_ interfaceOrientation: UIInterfaceOrientation, animated animated: Bool) var statusBarStyle: UIStatusBarStyle func setStatusBarStyle(_ statusBarStyle: UIStatusBarStyle, animated animated: Bool) var statusBarHidden: Bool func setStatusBarHidden(_ hidden: Bool, withAnimation animation: UIStatusBarAnimation) func setKeepAliveTimeout(_ timeout: NSTimeInterval, handler keepAliveHandler: (() -> Void)?) -> Bool func clearKeepAliveTimeout() } | AnyObject |
Declaration | |
---|---|
From | func beginBackgroundTaskWithExpirationHandler(_ handler: () -> Void) -> UIBackgroundTaskIdentifier |
To | func beginBackgroundTaskWithExpirationHandler(_ handler: (() -> Void)?) -> UIBackgroundTaskIdentifier |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Declaration | |
---|---|
From | func currentUserNotificationSettings() -> UIUserNotificationSettings! |
To | func currentUserNotificationSettings() -> UIUserNotificationSettings? |
Declaration | |
---|---|
From | var scheduledLocalNotifications: [AnyObject]! |
To | var scheduledLocalNotifications: [UILocalNotification]? |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 9.0 | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 9.0 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 9.0 |
Modified UIApplication.statusBarHidden
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 9.0 |
Modified UIApplication.statusBarOrientation
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 9.0 |
Modified UIApplication.statusBarStyle
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 9.0 |
Modified UIApplication.supportedInterfaceOrientationsForWindow(_: UIWindow?) -> UIInterfaceOrientationMask
Declaration | |
---|---|
From | func supportedInterfaceOrientationsForWindow(_ window: UIWindow) -> Int |
To | func supportedInterfaceOrientationsForWindow(_ window: UIWindow?) -> UIInterfaceOrientationMask |
Modified UIApplication.windows
Declaration | |
---|---|
From | var windows: [AnyObject] { get } |
To | var windows: [UIWindow] { get } |
Modified UIApplicationDelegate
Declaration | |
---|---|
From | protocol UIApplicationDelegate : NSObjectProtocol { optional func applicationDidFinishLaunching(_ application: UIApplication) optional func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool optional func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool optional func applicationDidBecomeActive(_ application: UIApplication) optional func applicationWillResignActive(_ application: UIApplication) optional func application(_ application: UIApplication, handleOpenURL url: NSURL) -> Bool optional func application(_ application: UIApplication, openURL url: NSURL, sourceApplication sourceApplication: String?, annotation annotation: AnyObject?) -> Bool optional func applicationDidReceiveMemoryWarning(_ application: UIApplication) optional func applicationWillTerminate(_ application: UIApplication) optional func applicationSignificantTimeChange(_ application: UIApplication) optional func application(_ application: UIApplication, willChangeStatusBarOrientation newStatusBarOrientation: UIInterfaceOrientation, duration duration: NSTimeInterval) optional func application(_ application: UIApplication, didChangeStatusBarOrientation oldStatusBarOrientation: UIInterfaceOrientation) optional func application(_ application: UIApplication, willChangeStatusBarFrame newStatusBarFrame: CGRect) optional func application(_ application: UIApplication, didChangeStatusBarFrame oldStatusBarFrame: CGRect) optional func application(_ application: UIApplication, didRegisterUserNotificationSettings notificationSettings: UIUserNotificationSettings) optional func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) optional func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: NSError) optional func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject]) optional func application(_ application: UIApplication, didReceiveLocalNotification notification: UILocalNotification) optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forLocalNotification notification: UILocalNotification, completionHandler completionHandler: () -> Void) optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forRemoteNotification userInfo: [NSObject : AnyObject], completionHandler completionHandler: () -> Void) optional func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject], fetchCompletionHandler completionHandler: (UIBackgroundFetchResult) -> Void) optional func application(_ application: UIApplication, performFetchWithCompletionHandler completionHandler: (UIBackgroundFetchResult) -> Void) optional func application(_ application: UIApplication, handleEventsForBackgroundURLSession identifier: String, completionHandler completionHandler: () -> Void) optional func application(_ application: UIApplication, handleWatchKitExtensionRequest userInfo: [NSObject : AnyObject]?, reply reply: (([NSObject : AnyObject]!) -> Void)!) optional func applicationDidEnterBackground(_ application: UIApplication) optional func applicationWillEnterForeground(_ application: UIApplication) optional func applicationProtectedDataWillBecomeUnavailable(_ application: UIApplication) optional func applicationProtectedDataDidBecomeAvailable(_ application: UIApplication) optional var window: UIWindow? { get set } optional func application(_ application: UIApplication, supportedInterfaceOrientationsForWindow window: UIWindow?) -> Int optional func application(_ application: UIApplication, shouldAllowExtensionPointIdentifier extensionPointIdentifier: String) -> Bool optional func application(_ application: UIApplication, viewControllerWithRestorationIdentifierPath identifierComponents: [AnyObject], coder coder: NSCoder) -> UIViewController? optional func application(_ application: UIApplication, shouldSaveApplicationState coder: NSCoder) -> Bool optional func application(_ application: UIApplication, shouldRestoreApplicationState coder: NSCoder) -> Bool optional func application(_ application: UIApplication, willEncodeRestorableStateWithCoder coder: NSCoder) optional func application(_ application: UIApplication, didDecodeRestorableStateWithCoder coder: NSCoder) optional func application(_ application: UIApplication, willContinueUserActivityWithType userActivityType: String) -> Bool optional func application(_ application: UIApplication, continueUserActivity userActivity: NSUserActivity, restorationHandler restorationHandler: ([AnyObject]!) -> Void) -> Bool optional func application(_ application: UIApplication, didFailToContinueUserActivityWithType userActivityType: String, error error: NSError) optional func application(_ application: UIApplication, didUpdateUserActivity userActivity: NSUserActivity) } |
To | protocol UIApplicationDelegate : NSObjectProtocol { optional func applicationDidFinishLaunching(_ application: UIApplication) optional func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool optional func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool optional func applicationDidBecomeActive(_ application: UIApplication) optional func applicationWillResignActive(_ application: UIApplication) optional func application(_ application: UIApplication, handleOpenURL url: NSURL) -> Bool optional func application(_ application: UIApplication, openURL url: NSURL, sourceApplication sourceApplication: String?, annotation annotation: AnyObject) -> Bool optional func application(_ app: UIApplication, openURL url: NSURL, options options: [String : AnyObject]) -> Bool optional func applicationDidReceiveMemoryWarning(_ application: UIApplication) optional func applicationWillTerminate(_ application: UIApplication) optional func applicationSignificantTimeChange(_ application: UIApplication) optional func application(_ application: UIApplication, willChangeStatusBarOrientation newStatusBarOrientation: UIInterfaceOrientation, duration duration: NSTimeInterval) optional func application(_ application: UIApplication, didChangeStatusBarOrientation oldStatusBarOrientation: UIInterfaceOrientation) optional func application(_ application: UIApplication, willChangeStatusBarFrame newStatusBarFrame: CGRect) optional func application(_ application: UIApplication, didChangeStatusBarFrame oldStatusBarFrame: CGRect) optional func application(_ application: UIApplication, didRegisterUserNotificationSettings notificationSettings: UIUserNotificationSettings) optional func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) optional func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: NSError) optional func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject]) optional func application(_ application: UIApplication, didReceiveLocalNotification notification: UILocalNotification) optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forLocalNotification notification: UILocalNotification, completionHandler completionHandler: () -> Void) optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forRemoteNotification userInfo: [NSObject : AnyObject], withResponseInfo responseInfo: [NSObject : AnyObject], completionHandler completionHandler: () -> Void) optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forRemoteNotification userInfo: [NSObject : AnyObject], completionHandler completionHandler: () -> Void) optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forLocalNotification notification: UILocalNotification, withResponseInfo responseInfo: [NSObject : AnyObject], completionHandler completionHandler: () -> Void) optional func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject], fetchCompletionHandler completionHandler: (UIBackgroundFetchResult) -> Void) optional func application(_ application: UIApplication, performFetchWithCompletionHandler completionHandler: (UIBackgroundFetchResult) -> Void) optional func application(_ application: UIApplication, performActionForShortcutItem shortcutItem: UIApplicationShortcutItem, completionHandler completionHandler: (Bool) -> Void) optional func application(_ application: UIApplication, handleEventsForBackgroundURLSession identifier: String, completionHandler completionHandler: () -> Void) optional func application(_ application: UIApplication, handleWatchKitExtensionRequest userInfo: [NSObject : AnyObject]?, reply reply: ([NSObject : AnyObject]?) -> Void) optional func applicationShouldRequestHealthAuthorization(_ application: UIApplication) optional func applicationDidEnterBackground(_ application: UIApplication) optional func applicationWillEnterForeground(_ application: UIApplication) optional func applicationProtectedDataWillBecomeUnavailable(_ application: UIApplication) optional func applicationProtectedDataDidBecomeAvailable(_ application: UIApplication) optional var window: UIWindow? { get set } optional func application(_ application: UIApplication, supportedInterfaceOrientationsForWindow window: UIWindow?) -> UIInterfaceOrientationMask optional func application(_ application: UIApplication, shouldAllowExtensionPointIdentifier extensionPointIdentifier: String) -> Bool optional func application(_ application: UIApplication, viewControllerWithRestorationIdentifierPath identifierComponents: [AnyObject], coder coder: NSCoder) -> UIViewController? optional func application(_ application: UIApplication, shouldSaveApplicationState coder: NSCoder) -> Bool optional func application(_ application: UIApplication, shouldRestoreApplicationState coder: NSCoder) -> Bool optional func application(_ application: UIApplication, willEncodeRestorableStateWithCoder coder: NSCoder) optional func application(_ application: UIApplication, didDecodeRestorableStateWithCoder coder: NSCoder) optional func application(_ application: UIApplication, willContinueUserActivityWithType userActivityType: String) -> Bool optional func application(_ application: UIApplication, continueUserActivity userActivity: NSUserActivity, restorationHandler restorationHandler: ([AnyObject]?) -> Void) -> Bool optional func application(_ application: UIApplication, didFailToContinueUserActivityWithType userActivityType: String, error error: NSError) optional func application(_ application: UIApplication, didUpdateUserActivity userActivity: NSUserActivity) } |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, continueUserActivity userActivity: NSUserActivity, restorationHandler restorationHandler: ([AnyObject]!) -> Void) -> Bool |
To | optional func application(_ application: UIApplication, continueUserActivity userActivity: NSUserActivity, restorationHandler restorationHandler: ([AnyObject]?) -> Void) -> Bool |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 9.0 |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, handleWatchKitExtensionRequest userInfo: [NSObject : AnyObject]?, reply reply: (([NSObject : AnyObject]!) -> Void)!) |
To | optional func application(_ application: UIApplication, handleWatchKitExtensionRequest userInfo: [NSObject : AnyObject]?, reply reply: ([NSObject : AnyObject]?) -> Void) |
Declaration | Deprecation | |
---|---|---|
From | optional func application(_ application: UIApplication, openURL url: NSURL, sourceApplication sourceApplication: String?, annotation annotation: AnyObject?) -> Bool | -- |
To | optional func application(_ application: UIApplication, openURL url: NSURL, sourceApplication sourceApplication: String?, annotation annotation: AnyObject) -> Bool | iOS 9.0 |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, supportedInterfaceOrientationsForWindow window: UIWindow?) -> Int |
To | optional func application(_ application: UIApplication, supportedInterfaceOrientationsForWindow window: UIWindow?) -> UIInterfaceOrientationMask |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UIApplicationState [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIAttachmentBehavior
Declaration | |
---|---|
From | class UIAttachmentBehavior : UIDynamicBehavior { convenience init!(item item: UIDynamicItem, attachedToAnchor point: CGPoint) convenience init!(item item: UIDynamicItem, offsetFromCenter offset: UIOffset, attachedToAnchor point: CGPoint) convenience init!(item item1: UIDynamicItem, attachedToItem item2: UIDynamicItem) init!(item item1: UIDynamicItem, offsetFromCenter offset1: UIOffset, attachedToItem item2: UIDynamicItem, offsetFromCenter offset2: UIOffset) var items: [AnyObject] { get } var attachedBehaviorType: UIAttachmentBehaviorType { get } var anchorPoint: CGPoint var length: CGFloat var damping: CGFloat var frequency: CGFloat } |
To | class UIAttachmentBehavior : UIDynamicBehavior { convenience init(item item: UIDynamicItem, attachedToAnchor point: CGPoint) init(item item: UIDynamicItem, offsetFromCenter offset: UIOffset, attachedToAnchor point: CGPoint) convenience init(item item1: UIDynamicItem, attachedToItem item2: UIDynamicItem) init(item item1: UIDynamicItem, offsetFromCenter offset1: UIOffset, attachedToItem item2: UIDynamicItem, offsetFromCenter offset2: UIOffset) class func slidingAttachmentWithItem(_ item1: UIDynamicItem, attachedToItem item2: UIDynamicItem, attachmentAnchor point: CGPoint, axisOfTranslation axis: CGVector) -> Self class func slidingAttachmentWithItem(_ item: UIDynamicItem, attachmentAnchor point: CGPoint, axisOfTranslation axis: CGVector) -> Self class func limitAttachmentWithItem(_ item1: UIDynamicItem, offsetFromCenter offset1: UIOffset, attachedToItem item2: UIDynamicItem, offsetFromCenter offset2: UIOffset) -> Self class func fixedAttachmentWithItem(_ item1: UIDynamicItem, attachedToItem item2: UIDynamicItem, attachmentAnchor point: CGPoint) -> Self class func pinAttachmentWithItem(_ item1: UIDynamicItem, attachedToItem item2: UIDynamicItem, attachmentAnchor point: CGPoint) -> Self var items: [UIDynamicItem] { get } var attachedBehaviorType: UIAttachmentBehaviorType { get } var anchorPoint: CGPoint var length: CGFloat var damping: CGFloat var frequency: CGFloat var frictionTorque: CGFloat var attachmentRange: UIFloatRange } |
Declaration | |
---|---|
From | convenience init!(item item: UIDynamicItem, attachedToAnchor point: CGPoint) |
To | convenience init(item item: UIDynamicItem, attachedToAnchor point: CGPoint) |
Declaration | |
---|---|
From | convenience init!(item item1: UIDynamicItem, attachedToItem item2: UIDynamicItem) |
To | convenience init(item item1: UIDynamicItem, attachedToItem item2: UIDynamicItem) |
Declaration | |
---|---|
From | convenience init!(item item: UIDynamicItem, offsetFromCenter offset: UIOffset, attachedToAnchor point: CGPoint) |
To | init(item item: UIDynamicItem, offsetFromCenter offset: UIOffset, attachedToAnchor point: CGPoint) |
Declaration | |
---|---|
From | init!(item item1: UIDynamicItem, offsetFromCenter offset1: UIOffset, attachedToItem item2: UIDynamicItem, offsetFromCenter offset2: UIOffset) |
To | init(item item1: UIDynamicItem, offsetFromCenter offset1: UIOffset, attachedToItem item2: UIDynamicItem, offsetFromCenter offset2: UIOffset) |
Modified UIAttachmentBehavior.items
Declaration | |
---|---|
From | var items: [AnyObject] { get } |
To | var items: [UIDynamicItem] { get } |
Modified UIAttachmentBehaviorType [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIBackgroundFetchResult [enum]
Raw Value Type | |
---|---|
From | -- |
To | UInt |
Modified UIBackgroundRefreshStatus [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIBarButtonItem
Declaration | |
---|---|
From | class UIBarButtonItem : UIBarItem, NSCoding { init(image image: UIImage?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) init(image image: UIImage?, landscapeImagePhone landscapeImagePhone: UIImage?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) init(title title: String?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) init(barButtonSystemItem systemItem: UIBarButtonSystemItem, target target: AnyObject?, action action: Selector) init(customView customView: UIView) var style: UIBarButtonItemStyle var width: CGFloat var possibleTitles: Set<NSObject>? var customView: UIView? var action: Selector unowned(unsafe) var target: AnyObject? func setBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState, barMetrics barMetrics: UIBarMetrics) func backgroundImageForState(_ state: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState, style style: UIBarButtonItemStyle, barMetrics barMetrics: UIBarMetrics) func backgroundImageForState(_ state: UIControlState, style style: UIBarButtonItemStyle, barMetrics barMetrics: UIBarMetrics) -> UIImage? var tintColor: UIColor! func setBackgroundVerticalPositionAdjustment(_ adjustment: CGFloat, forBarMetrics barMetrics: UIBarMetrics) func backgroundVerticalPositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> CGFloat func setTitlePositionAdjustment(_ adjustment: UIOffset, forBarMetrics barMetrics: UIBarMetrics) func titlePositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> UIOffset func setBackButtonBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState, barMetrics barMetrics: UIBarMetrics) func backButtonBackgroundImageForState(_ state: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setBackButtonTitlePositionAdjustment(_ adjustment: UIOffset, forBarMetrics barMetrics: UIBarMetrics) func backButtonTitlePositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> UIOffset func setBackButtonBackgroundVerticalPositionAdjustment(_ adjustment: CGFloat, forBarMetrics barMetrics: UIBarMetrics) func backButtonBackgroundVerticalPositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> CGFloat } |
To | class UIBarButtonItem : UIBarItem { init() init?(coder aDecoder: NSCoder) convenience init(image image: UIImage?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) convenience init(image image: UIImage?, landscapeImagePhone landscapeImagePhone: UIImage?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) convenience init(title title: String?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) convenience init(barButtonSystemItem systemItem: UIBarButtonSystemItem, target target: AnyObject?, action action: Selector) convenience init(customView customView: UIView) var style: UIBarButtonItemStyle var width: CGFloat var possibleTitles: Set<String>? var customView: UIView? var action: Selector weak var target: AnyObject? func setBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState, barMetrics barMetrics: UIBarMetrics) func backgroundImageForState(_ state: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState, style style: UIBarButtonItemStyle, barMetrics barMetrics: UIBarMetrics) func backgroundImageForState(_ state: UIControlState, style style: UIBarButtonItemStyle, barMetrics barMetrics: UIBarMetrics) -> UIImage? var tintColor: UIColor? func setBackgroundVerticalPositionAdjustment(_ adjustment: CGFloat, forBarMetrics barMetrics: UIBarMetrics) func backgroundVerticalPositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> CGFloat func setTitlePositionAdjustment(_ adjustment: UIOffset, forBarMetrics barMetrics: UIBarMetrics) func titlePositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> UIOffset func setBackButtonBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState, barMetrics barMetrics: UIBarMetrics) func backButtonBackgroundImageForState(_ state: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setBackButtonTitlePositionAdjustment(_ adjustment: UIOffset, forBarMetrics barMetrics: UIBarMetrics) func backButtonTitlePositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> UIOffset func setBackButtonBackgroundVerticalPositionAdjustment(_ adjustment: CGFloat, forBarMetrics barMetrics: UIBarMetrics) func backButtonBackgroundVerticalPositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> CGFloat } extension UIBarButtonItem { weak var buttonGroup: UIBarButtonItemGroup? { get } } |
Declaration | |
---|---|
From | init(barButtonSystemItem systemItem: UIBarButtonSystemItem, target target: AnyObject?, action action: Selector) |
To | convenience init(barButtonSystemItem systemItem: UIBarButtonSystemItem, target target: AnyObject?, action action: Selector) |
Declaration | |
---|---|
From | init(customView customView: UIView) |
To | convenience init(customView customView: UIView) |
Declaration | |
---|---|
From | init(image image: UIImage?, landscapeImagePhone landscapeImagePhone: UIImage?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) |
To | convenience init(image image: UIImage?, landscapeImagePhone landscapeImagePhone: UIImage?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) |
Declaration | |
---|---|
From | init(image image: UIImage?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) |
To | convenience init(image image: UIImage?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) |
Declaration | |
---|---|
From | init(title title: String?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) |
To | convenience init(title title: String?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) |
Modified UIBarButtonItem.possibleTitles
Declaration | |
---|---|
From | var possibleTitles: Set<NSObject>? |
To | var possibleTitles: Set<String>? |
Modified UIBarButtonItem.target
Declaration | |
---|---|
From | unowned(unsafe) var target: AnyObject? |
To | weak var target: AnyObject? |
Modified UIBarButtonItem.tintColor
Declaration | |
---|---|
From | var tintColor: UIColor! |
To | var tintColor: UIColor? |
Modified UIBarButtonItemStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIBarButtonSystemItem [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIBarButtonSystemItem.PageCurl
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.0 |
Modified UIBarButtonSystemItem.Redo
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.0 |
Modified UIBarButtonSystemItem.Undo
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.0 |
Modified UIBarItem
Declaration | Protocols | |
---|---|---|
From | class UIBarItem : NSObject, UIAppearance, NSObjectProtocol { var enabled: Bool var title: String? var image: UIImage? var landscapeImagePhone: UIImage? var imageInsets: UIEdgeInsets var landscapeImagePhoneInsets: UIEdgeInsets var tag: Int func setTitleTextAttributes(_ attributes: [NSObject : AnyObject]!, forState state: UIControlState) func titleTextAttributesForState(_ state: UIControlState) -> [NSObject : AnyObject]! } extension UIBarItem : UIAccessibilityIdentification, NSObjectProtocol { } | AnyObject, NSObjectProtocol, UIAccessibilityIdentification, UIAppearance |
To | class UIBarItem : NSObject, NSCoding, UIAppearance { init() init?(coder aDecoder: NSCoder) var enabled: Bool var title: String? var image: UIImage? var landscapeImagePhone: UIImage? var imageInsets: UIEdgeInsets var landscapeImagePhoneInsets: UIEdgeInsets var tag: Int func setTitleTextAttributes(_ attributes: [String : AnyObject]?, forState state: UIControlState) func titleTextAttributesForState(_ state: UIControlState) -> [String : AnyObject]? } extension UIBarItem : UIAccessibilityIdentification { } | AnyObject, NSCoding, NSObjectProtocol, UIAccessibilityIdentification, UIAppearance |
Declaration | |
---|---|
From | func setTitleTextAttributes(_ attributes: [NSObject : AnyObject]!, forState state: UIControlState) |
To | func setTitleTextAttributes(_ attributes: [String : AnyObject]?, forState state: UIControlState) |
Declaration | |
---|---|
From | func titleTextAttributesForState(_ state: UIControlState) -> [NSObject : AnyObject]! |
To | func titleTextAttributesForState(_ state: UIControlState) -> [String : AnyObject]? |
Modified UIBarMetrics [enum]
Declaration | Raw Value Type | |
---|---|---|
From | enum UIBarMetrics : Int { case Default case Compact case DefaultPrompt case CompactPrompt } | -- |
To | enum UIBarMetrics : Int { case Default case Compact case DefaultPrompt case CompactPrompt static var LandscapePhone: UIBarMetrics { get } static var LandscapePhonePrompt: UIBarMetrics { get } } | Int |
Modified UIBarPosition [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIBarPositioning.barPosition
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Modified UIBarStyle [enum]
Declaration | Raw Value Type | |
---|---|---|
From | enum UIBarStyle : Int { case Default case Black case BlackTranslucent } | -- |
To | enum UIBarStyle : Int { case Default case Black static var BlackOpaque: UIBarStyle { get } case BlackTranslucent } | Int |
Modified UIBaselineAdjustment [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIBezierPath
Declaration | |
---|---|
From | class UIBezierPath : NSObject, NSCopying, NSCoding { init!() -> UIBezierPath class func bezierPath() -> UIBezierPath! init(rect rect: CGRect) -> UIBezierPath class func bezierPathWithRect(_ rect: CGRect) -> UIBezierPath init(ovalInRect rect: CGRect) -> UIBezierPath class func bezierPathWithOvalInRect(_ rect: CGRect) -> UIBezierPath init(roundedRect rect: CGRect, cornerRadius cornerRadius: CGFloat) -> UIBezierPath class func bezierPathWithRoundedRect(_ rect: CGRect, cornerRadius cornerRadius: CGFloat) -> UIBezierPath init(roundedRect rect: CGRect, byRoundingCorners corners: UIRectCorner, cornerRadii cornerRadii: CGSize) -> UIBezierPath class func bezierPathWithRoundedRect(_ rect: CGRect, byRoundingCorners corners: UIRectCorner, cornerRadii cornerRadii: CGSize) -> UIBezierPath init(arcCenter center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) -> UIBezierPath class func bezierPathWithArcCenter(_ center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) -> UIBezierPath init(CGPath CGPath: CGPath!) -> UIBezierPath class func bezierPathWithCGPath(_ CGPath: CGPath!) -> UIBezierPath var CGPath: CGPath func moveToPoint(_ point: CGPoint) func addLineToPoint(_ point: CGPoint) func addCurveToPoint(_ endPoint: CGPoint, controlPoint1 controlPoint1: CGPoint, controlPoint2 controlPoint2: CGPoint) func addQuadCurveToPoint(_ endPoint: CGPoint, controlPoint controlPoint: CGPoint) func addArcWithCenter(_ center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) func closePath() func removeAllPoints() func appendPath(_ bezierPath: UIBezierPath) func bezierPathByReversingPath() -> UIBezierPath func applyTransform(_ transform: CGAffineTransform) var empty: Bool { get } var bounds: CGRect { get } var currentPoint: CGPoint { get } func containsPoint(_ point: CGPoint) -> Bool var lineWidth: CGFloat var lineCapStyle: CGLineCap var lineJoinStyle: CGLineJoin var miterLimit: CGFloat var flatness: CGFloat var usesEvenOddFillRule: Bool func setLineDash(_ pattern: UnsafePointer<CGFloat>, count count: Int, phase phase: CGFloat) func getLineDash(_ pattern: UnsafeMutablePointer<CGFloat>, count count: UnsafeMutablePointer<Int>, phase phase: UnsafeMutablePointer<CGFloat>) func fill() func stroke() func fillWithBlendMode(_ blendMode: CGBlendMode, alpha alpha: CGFloat) func strokeWithBlendMode(_ blendMode: CGBlendMode, alpha alpha: CGFloat) func addClip() } |
To | class UIBezierPath : NSObject, NSCopying, NSCoding { convenience init() class func bezierPath() -> Self convenience init(rect rect: CGRect) class func bezierPathWithRect(_ rect: CGRect) -> Self convenience init(ovalInRect rect: CGRect) class func bezierPathWithOvalInRect(_ rect: CGRect) -> Self convenience init(roundedRect rect: CGRect, cornerRadius cornerRadius: CGFloat) class func bezierPathWithRoundedRect(_ rect: CGRect, cornerRadius cornerRadius: CGFloat) -> Self convenience init(roundedRect rect: CGRect, byRoundingCorners corners: UIRectCorner, cornerRadii cornerRadii: CGSize) class func bezierPathWithRoundedRect(_ rect: CGRect, byRoundingCorners corners: UIRectCorner, cornerRadii cornerRadii: CGSize) -> Self convenience init(arcCenter center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) class func bezierPathWithArcCenter(_ center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) -> Self convenience init(CGPath CGPath: CGPath) class func bezierPathWithCGPath(_ CGPath: CGPath) -> Self init() init?(coder aDecoder: NSCoder) var CGPath: CGPath func moveToPoint(_ point: CGPoint) func addLineToPoint(_ point: CGPoint) func addCurveToPoint(_ endPoint: CGPoint, controlPoint1 controlPoint1: CGPoint, controlPoint2 controlPoint2: CGPoint) func addQuadCurveToPoint(_ endPoint: CGPoint, controlPoint controlPoint: CGPoint) func addArcWithCenter(_ center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) func closePath() func removeAllPoints() func appendPath(_ bezierPath: UIBezierPath) func bezierPathByReversingPath() -> UIBezierPath func applyTransform(_ transform: CGAffineTransform) var empty: Bool { get } var bounds: CGRect { get } var currentPoint: CGPoint { get } func containsPoint(_ point: CGPoint) -> Bool var lineWidth: CGFloat var lineCapStyle: CGLineCap var lineJoinStyle: CGLineJoin var miterLimit: CGFloat var flatness: CGFloat var usesEvenOddFillRule: Bool func setLineDash(_ pattern: UnsafePointer<CGFloat>, count count: Int, phase phase: CGFloat) func getLineDash(_ pattern: UnsafeMutablePointer<CGFloat>, count count: UnsafeMutablePointer<Int>, phase phase: UnsafeMutablePointer<CGFloat>) func fill() func stroke() func fillWithBlendMode(_ blendMode: CGBlendMode, alpha alpha: CGFloat) func strokeWithBlendMode(_ blendMode: CGBlendMode, alpha alpha: CGFloat) func addClip() } |
Declaration | |
---|---|
From | init(arcCenter center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) -> UIBezierPath |
To | convenience init(arcCenter center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) |
Modified UIBezierPath.init(CGPath: CGPath)
Declaration | |
---|---|
From | init(CGPath CGPath: CGPath!) -> UIBezierPath |
To | convenience init(CGPath CGPath: CGPath) |
Declaration | |
---|---|
From | init(ovalInRect rect: CGRect) -> UIBezierPath |
To | convenience init(ovalInRect rect: CGRect) |
Modified UIBezierPath.init(rect: CGRect)
Declaration | |
---|---|
From | init(rect rect: CGRect) -> UIBezierPath |
To | convenience init(rect rect: CGRect) |
Modified UIBezierPath.init(roundedRect: CGRect, byRoundingCorners: UIRectCorner, cornerRadii: CGSize)
Declaration | |
---|---|
From | init(roundedRect rect: CGRect, byRoundingCorners corners: UIRectCorner, cornerRadii cornerRadii: CGSize) -> UIBezierPath |
To | convenience init(roundedRect rect: CGRect, byRoundingCorners corners: UIRectCorner, cornerRadii cornerRadii: CGSize) |
Declaration | |
---|---|
From | init(roundedRect rect: CGRect, cornerRadius cornerRadius: CGFloat) -> UIBezierPath |
To | convenience init(roundedRect rect: CGRect, cornerRadius cornerRadius: CGFloat) |
Modified UIBlurEffect
Declaration | |
---|---|
From | class UIBlurEffect : UIVisualEffect { init(style style: UIBlurEffectStyle) -> UIBlurEffect class func effectWithStyle(_ style: UIBlurEffectStyle) -> UIBlurEffect } |
To | class UIBlurEffect : UIVisualEffect { init(style style: UIBlurEffectStyle) class func effectWithStyle(_ style: UIBlurEffectStyle) -> UIBlurEffect } |
Declaration | |
---|---|
From | init(style style: UIBlurEffectStyle) -> UIBlurEffect |
To | init(style style: UIBlurEffectStyle) |
Modified UIBlurEffectStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIButton
Declaration | |
---|---|
From | class UIButton : UIControl, NSCoding { class func buttonWithType(_ buttonType: UIButtonType) -> AnyObject var contentEdgeInsets: UIEdgeInsets var titleEdgeInsets: UIEdgeInsets var reversesTitleShadowWhenHighlighted: Bool var imageEdgeInsets: UIEdgeInsets var adjustsImageWhenHighlighted: Bool var adjustsImageWhenDisabled: Bool var showsTouchWhenHighlighted: Bool var tintColor: UIColor? var buttonType: UIButtonType { get } func setTitle(_ title: String?, forState state: UIControlState) func setTitleColor(_ color: UIColor?, forState state: UIControlState) func setTitleShadowColor(_ color: UIColor?, forState state: UIControlState) func setImage(_ image: UIImage?, forState state: UIControlState) func setBackgroundImage(_ image: UIImage?, forState state: UIControlState) func setAttributedTitle(_ title: NSAttributedString!, forState state: UIControlState) func titleForState(_ state: UIControlState) -> String? func titleColorForState(_ state: UIControlState) -> UIColor? func titleShadowColorForState(_ state: UIControlState) -> UIColor? func imageForState(_ state: UIControlState) -> UIImage? func backgroundImageForState(_ state: UIControlState) -> UIImage? func attributedTitleForState(_ state: UIControlState) -> NSAttributedString? var currentTitle: String? { get } var currentTitleColor: UIColor! { get } var currentTitleShadowColor: UIColor? { get } var currentImage: UIImage? { get } var currentBackgroundImage: UIImage? { get } var currentAttributedTitle: NSAttributedString? { get } var titleLabel: UILabel? { get } var imageView: UIImageView? { get } func backgroundRectForBounds(_ bounds: CGRect) -> CGRect func contentRectForBounds(_ bounds: CGRect) -> CGRect func titleRectForContentRect(_ contentRect: CGRect) -> CGRect func imageRectForContentRect(_ contentRect: CGRect) -> CGRect } extension UIButton { var font: UIFont! var lineBreakMode: NSLineBreakMode var titleShadowOffset: CGSize } |
To | class UIButton : UIControl { convenience init(type buttonType: UIButtonType) class func buttonWithType(_ buttonType: UIButtonType) -> Self var contentEdgeInsets: UIEdgeInsets var titleEdgeInsets: UIEdgeInsets var reversesTitleShadowWhenHighlighted: Bool var imageEdgeInsets: UIEdgeInsets var adjustsImageWhenHighlighted: Bool var adjustsImageWhenDisabled: Bool var showsTouchWhenHighlighted: Bool var tintColor: UIColor! var buttonType: UIButtonType { get } func setTitle(_ title: String?, forState state: UIControlState) func setTitleColor(_ color: UIColor?, forState state: UIControlState) func setTitleShadowColor(_ color: UIColor?, forState state: UIControlState) func setImage(_ image: UIImage?, forState state: UIControlState) func setBackgroundImage(_ image: UIImage?, forState state: UIControlState) func setAttributedTitle(_ title: NSAttributedString?, forState state: UIControlState) func titleForState(_ state: UIControlState) -> String? func titleColorForState(_ state: UIControlState) -> UIColor? func titleShadowColorForState(_ state: UIControlState) -> UIColor? func imageForState(_ state: UIControlState) -> UIImage? func backgroundImageForState(_ state: UIControlState) -> UIImage? func attributedTitleForState(_ state: UIControlState) -> NSAttributedString? var currentTitle: String? { get } var currentTitleColor: UIColor { get } var currentTitleShadowColor: UIColor? { get } var currentImage: UIImage? { get } var currentBackgroundImage: UIImage? { get } var currentAttributedTitle: NSAttributedString? { get } var titleLabel: UILabel? { get } var imageView: UIImageView? { get } func backgroundRectForBounds(_ bounds: CGRect) -> CGRect func contentRectForBounds(_ bounds: CGRect) -> CGRect func titleRectForContentRect(_ contentRect: CGRect) -> CGRect func imageRectForContentRect(_ contentRect: CGRect) -> CGRect } extension UIButton { var font: UIFont var lineBreakMode: NSLineBreakMode var titleShadowOffset: CGSize } |
Modified UIButton.currentTitleColor
Declaration | |
---|---|
From | var currentTitleColor: UIColor! { get } |
To | var currentTitleColor: UIColor { get } |
Modified UIButton.init(type: UIButtonType)
Name | Declaration | Introduction | |
---|---|---|---|
From | buttonWithType(_:) | class func buttonWithType(_ buttonType: UIButtonType) -> AnyObject | iOS 8.0 |
To | init(type:) | convenience init(type buttonType: UIButtonType) | iOS 9.0 |
Declaration | |
---|---|
From | func setAttributedTitle(_ title: NSAttributedString!, forState state: UIControlState) |
To | func setAttributedTitle(_ title: NSAttributedString?, forState state: UIControlState) |
Modified UIButton.tintColor
Declaration | |
---|---|
From | var tintColor: UIColor? |
To | var tintColor: UIColor! |
Modified UIButtonType [enum]
Declaration | Raw Value Type | |
---|---|---|
From | enum UIButtonType : Int { case Custom case System case DetailDisclosure case InfoLight case InfoDark case ContactAdd } | -- |
To | enum UIButtonType : Int { case Custom case System case DetailDisclosure case InfoLight case InfoDark case ContactAdd static var RoundedRect: UIButtonType { get } } | Int |
Modified UICollectionElementCategory [enum]
Raw Value Type | |
---|---|
From | -- |
To | UInt |
Modified UICollectionReusableView
Declaration | |
---|---|
From | class UICollectionReusableView : UIView { var reuseIdentifier: String { get } func prepareForReuse() func applyLayoutAttributes(_ layoutAttributes: UICollectionViewLayoutAttributes!) func willTransitionFromLayout(_ oldLayout: UICollectionViewLayout, toLayout newLayout: UICollectionViewLayout) func didTransitionFromLayout(_ oldLayout: UICollectionViewLayout, toLayout newLayout: UICollectionViewLayout) func preferredLayoutAttributesFittingAttributes(_ layoutAttributes: UICollectionViewLayoutAttributes) -> UICollectionViewLayoutAttributes! } |
To | class UICollectionReusableView : UIView { var reuseIdentifier: String? { get } func prepareForReuse() func applyLayoutAttributes(_ layoutAttributes: UICollectionViewLayoutAttributes) func willTransitionFromLayout(_ oldLayout: UICollectionViewLayout, toLayout newLayout: UICollectionViewLayout) func didTransitionFromLayout(_ oldLayout: UICollectionViewLayout, toLayout newLayout: UICollectionViewLayout) func preferredLayoutAttributesFittingAttributes(_ layoutAttributes: UICollectionViewLayoutAttributes) -> UICollectionViewLayoutAttributes } |
Declaration | |
---|---|
From | func applyLayoutAttributes(_ layoutAttributes: UICollectionViewLayoutAttributes!) |
To | func applyLayoutAttributes(_ layoutAttributes: UICollectionViewLayoutAttributes) |
Declaration | |
---|---|
From | func preferredLayoutAttributesFittingAttributes(_ layoutAttributes: UICollectionViewLayoutAttributes) -> UICollectionViewLayoutAttributes! |
To | func preferredLayoutAttributesFittingAttributes(_ layoutAttributes: UICollectionViewLayoutAttributes) -> UICollectionViewLayoutAttributes |
Declaration | |
---|---|
From | var reuseIdentifier: String { get } |
To | var reuseIdentifier: String? { get } |
Modified UICollectionUpdateAction [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UICollectionView
Declaration | |
---|---|
From | class UICollectionView : UIScrollView { init(frame frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) var collectionViewLayout: UICollectionViewLayout unowned(unsafe) var delegate: UICollectionViewDelegate? unowned(unsafe) var dataSource: UICollectionViewDataSource? var backgroundView: UIView? func registerClass(_ cellClass: AnyClass?, forCellWithReuseIdentifier identifier: String) func registerNib(_ nib: UINib?, forCellWithReuseIdentifier identifier: String) func registerClass(_ viewClass: AnyClass?, forSupplementaryViewOfKind elementKind: String, withReuseIdentifier identifier: String) func registerNib(_ nib: UINib?, forSupplementaryViewOfKind kind: String, withReuseIdentifier identifier: String) func dequeueReusableCellWithReuseIdentifier(_ identifier: String, forIndexPath indexPath: NSIndexPath!) -> AnyObject func dequeueReusableSupplementaryViewOfKind(_ elementKind: String, withReuseIdentifier identifier: String, forIndexPath indexPath: NSIndexPath!) -> AnyObject var allowsSelection: Bool var allowsMultipleSelection: Bool func indexPathsForSelectedItems() -> [AnyObject] func selectItemAtIndexPath(_ indexPath: NSIndexPath?, animated animated: Bool, scrollPosition scrollPosition: UICollectionViewScrollPosition) func deselectItemAtIndexPath(_ indexPath: NSIndexPath?, animated animated: Bool) func reloadData() func setCollectionViewLayout(_ layout: UICollectionViewLayout, animated animated: Bool) func setCollectionViewLayout(_ layout: UICollectionViewLayout, animated animated: Bool, completion completion: ((Bool) -> Void)!) func startInteractiveTransitionToCollectionViewLayout(_ layout: UICollectionViewLayout, completion completion: UICollectionViewLayoutInteractiveTransitionCompletion?) -> UICollectionViewTransitionLayout func finishInteractiveTransition() func cancelInteractiveTransition() func numberOfSections() -> Int func numberOfItemsInSection(_ section: Int) -> Int func layoutAttributesForItemAtIndexPath(_ indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func layoutAttributesForSupplementaryElementOfKind(_ kind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func indexPathForItemAtPoint(_ point: CGPoint) -> NSIndexPath? func indexPathForCell(_ cell: UICollectionViewCell) -> NSIndexPath? func cellForItemAtIndexPath(_ indexPath: NSIndexPath) -> UICollectionViewCell? func visibleCells() -> [AnyObject] func indexPathsForVisibleItems() -> [AnyObject] func scrollToItemAtIndexPath(_ indexPath: NSIndexPath, atScrollPosition scrollPosition: UICollectionViewScrollPosition, animated animated: Bool) func insertSections(_ sections: NSIndexSet) func deleteSections(_ sections: NSIndexSet) func reloadSections(_ sections: NSIndexSet) func moveSection(_ section: Int, toSection newSection: Int) func insertItemsAtIndexPaths(_ indexPaths: [AnyObject]) func deleteItemsAtIndexPaths(_ indexPaths: [AnyObject]) func reloadItemsAtIndexPaths(_ indexPaths: [AnyObject]) func moveItemAtIndexPath(_ indexPath: NSIndexPath, toIndexPath newIndexPath: NSIndexPath) func performBatchUpdates(_ updates: (() -> Void)?, completion completion: ((Bool) -> Void)?) } |
To | class UICollectionView : UIScrollView { init(frame frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) init?(coder aDecoder: NSCoder) var collectionViewLayout: UICollectionViewLayout weak var delegate: UICollectionViewDelegate? weak var dataSource: UICollectionViewDataSource? var backgroundView: UIView? func registerClass(_ cellClass: AnyClass?, forCellWithReuseIdentifier identifier: String) func registerNib(_ nib: UINib?, forCellWithReuseIdentifier identifier: String) func registerClass(_ viewClass: AnyClass?, forSupplementaryViewOfKind elementKind: String, withReuseIdentifier identifier: String) func registerNib(_ nib: UINib?, forSupplementaryViewOfKind kind: String, withReuseIdentifier identifier: String) func dequeueReusableCellWithReuseIdentifier(_ identifier: String, forIndexPath indexPath: NSIndexPath) -> UICollectionViewCell func dequeueReusableSupplementaryViewOfKind(_ elementKind: String, withReuseIdentifier identifier: String, forIndexPath indexPath: NSIndexPath) -> UICollectionReusableView var allowsSelection: Bool var allowsMultipleSelection: Bool func indexPathsForSelectedItems() -> [NSIndexPath]? func selectItemAtIndexPath(_ indexPath: NSIndexPath?, animated animated: Bool, scrollPosition scrollPosition: UICollectionViewScrollPosition) func deselectItemAtIndexPath(_ indexPath: NSIndexPath, animated animated: Bool) func reloadData() func setCollectionViewLayout(_ layout: UICollectionViewLayout, animated animated: Bool) func setCollectionViewLayout(_ layout: UICollectionViewLayout, animated animated: Bool, completion completion: ((Bool) -> Void)?) func startInteractiveTransitionToCollectionViewLayout(_ layout: UICollectionViewLayout, completion completion: UICollectionViewLayoutInteractiveTransitionCompletion?) -> UICollectionViewTransitionLayout func finishInteractiveTransition() func cancelInteractiveTransition() func numberOfSections() -> Int func numberOfItemsInSection(_ section: Int) -> Int func layoutAttributesForItemAtIndexPath(_ indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func layoutAttributesForSupplementaryElementOfKind(_ kind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func indexPathForItemAtPoint(_ point: CGPoint) -> NSIndexPath? func indexPathForCell(_ cell: UICollectionViewCell) -> NSIndexPath? func cellForItemAtIndexPath(_ indexPath: NSIndexPath) -> UICollectionViewCell? func visibleCells() -> [UICollectionViewCell] func indexPathsForVisibleItems() -> [NSIndexPath] func supplementaryViewForElementKind(_ elementKind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionReusableView func visibleSupplementaryViewsOfKind(_ elementKind: String) -> [UICollectionReusableView] func indexPathsForVisibleSupplementaryElementsOfKind(_ elementKind: String) -> [NSIndexPath] func scrollToItemAtIndexPath(_ indexPath: NSIndexPath, atScrollPosition scrollPosition: UICollectionViewScrollPosition, animated animated: Bool) func insertSections(_ sections: NSIndexSet) func deleteSections(_ sections: NSIndexSet) func reloadSections(_ sections: NSIndexSet) func moveSection(_ section: Int, toSection newSection: Int) func insertItemsAtIndexPaths(_ indexPaths: [NSIndexPath]) func deleteItemsAtIndexPaths(_ indexPaths: [NSIndexPath]) func reloadItemsAtIndexPaths(_ indexPaths: [NSIndexPath]) func moveItemAtIndexPath(_ indexPath: NSIndexPath, toIndexPath newIndexPath: NSIndexPath) func performBatchUpdates(_ updates: (() -> Void)?, completion completion: ((Bool) -> Void)?) func beginInteractiveMovementForItemAtIndexPath(_ indexPath: NSIndexPath) -> Bool func updateInteractiveMovementTargetPosition(_ targetPosition: CGPoint) func endInteractiveMovement() func cancelInteractiveMovement() } |
Modified UICollectionView.dataSource
Declaration | |
---|---|
From | unowned(unsafe) var dataSource: UICollectionViewDataSource? |
To | weak var dataSource: UICollectionViewDataSource? |
Modified UICollectionView.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UICollectionViewDelegate? |
To | weak var delegate: UICollectionViewDelegate? |
Declaration | |
---|---|
From | func deleteItemsAtIndexPaths(_ indexPaths: [AnyObject]) |
To | func deleteItemsAtIndexPaths(_ indexPaths: [NSIndexPath]) |
Declaration | |
---|---|
From | func dequeueReusableCellWithReuseIdentifier(_ identifier: String, forIndexPath indexPath: NSIndexPath!) -> AnyObject |
To | func dequeueReusableCellWithReuseIdentifier(_ identifier: String, forIndexPath indexPath: NSIndexPath) -> UICollectionViewCell |
Declaration | |
---|---|
From | func dequeueReusableSupplementaryViewOfKind(_ elementKind: String, withReuseIdentifier identifier: String, forIndexPath indexPath: NSIndexPath!) -> AnyObject |
To | func dequeueReusableSupplementaryViewOfKind(_ elementKind: String, withReuseIdentifier identifier: String, forIndexPath indexPath: NSIndexPath) -> UICollectionReusableView |
Declaration | |
---|---|
From | func deselectItemAtIndexPath(_ indexPath: NSIndexPath?, animated animated: Bool) |
To | func deselectItemAtIndexPath(_ indexPath: NSIndexPath, animated animated: Bool) |
Declaration | |
---|---|
From | func indexPathsForSelectedItems() -> [AnyObject] |
To | func indexPathsForSelectedItems() -> [NSIndexPath]? |
Declaration | |
---|---|
From | func indexPathsForVisibleItems() -> [AnyObject] |
To | func indexPathsForVisibleItems() -> [NSIndexPath] |
Declaration | |
---|---|
From | func insertItemsAtIndexPaths(_ indexPaths: [AnyObject]) |
To | func insertItemsAtIndexPaths(_ indexPaths: [NSIndexPath]) |
Declaration | |
---|---|
From | func reloadItemsAtIndexPaths(_ indexPaths: [AnyObject]) |
To | func reloadItemsAtIndexPaths(_ indexPaths: [NSIndexPath]) |
Declaration | |
---|---|
From | func setCollectionViewLayout(_ layout: UICollectionViewLayout, animated animated: Bool, completion completion: ((Bool) -> Void)!) |
To | func setCollectionViewLayout(_ layout: UICollectionViewLayout, animated animated: Bool, completion completion: ((Bool) -> Void)?) |
Declaration | |
---|---|
From | func visibleCells() -> [AnyObject] |
To | func visibleCells() -> [UICollectionViewCell] |
Modified UICollectionViewCell
Declaration | |
---|---|
From | class UICollectionViewCell : UICollectionReusableView { var contentView: UIView { get } var selected: Bool var highlighted: Bool var backgroundView: UIView? var selectedBackgroundView: UIView! } |
To | class UICollectionViewCell : UICollectionReusableView { var contentView: UIView { get } var selected: Bool var highlighted: Bool var backgroundView: UIView? var selectedBackgroundView: UIView? } |
Declaration | |
---|---|
From | var selectedBackgroundView: UIView! |
To | var selectedBackgroundView: UIView? |
Modified UICollectionViewController
Declaration | |
---|---|
From | class UICollectionViewController : UIViewController, UICollectionViewDelegate, UIScrollViewDelegate, NSObjectProtocol, UICollectionViewDataSource { init(collectionViewLayout layout: UICollectionViewLayout) var collectionView: UICollectionView? var clearsSelectionOnViewWillAppear: Bool var useLayoutToLayoutNavigationTransitions: Bool var collectionViewLayout: UICollectionViewLayout! { get } } |
To | class UICollectionViewController : UIViewController, UICollectionViewDelegate, UIScrollViewDelegate, UICollectionViewDataSource { init(collectionViewLayout layout: UICollectionViewLayout) init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) init?(coder aDecoder: NSCoder) var collectionView: UICollectionView? var clearsSelectionOnViewWillAppear: Bool var useLayoutToLayoutNavigationTransitions: Bool var collectionViewLayout: UICollectionViewLayout { get } var installsStandardGestureForInteractiveMovement: Bool } |
Declaration | |
---|---|
From | var collectionViewLayout: UICollectionViewLayout! { get } |
To | var collectionViewLayout: UICollectionViewLayout { get } |
Modified UICollectionViewDataSource
Declaration | |
---|---|
From | protocol UICollectionViewDataSource : NSObjectProtocol { func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int func collectionView(_ collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell optional func numberOfSectionsInCollectionView(_ collectionView: UICollectionView) -> Int optional func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionReusableView } |
To | protocol UICollectionViewDataSource : NSObjectProtocol { func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int func collectionView(_ collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell optional func numberOfSectionsInCollectionView(_ collectionView: UICollectionView) -> Int optional func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionReusableView optional func collectionView(_ collectionView: UICollectionView, canMoveItemAtIndexPath indexPath: NSIndexPath) -> Bool optional func collectionView(_ collectionView: UICollectionView, moveItemAtIndexPath sourceIndexPath: NSIndexPath, toIndexPath destinationIndexPath: NSIndexPath) } |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Modified UICollectionViewDataSource.collectionView(_: UICollectionView, numberOfItemsInSection: Int) -> Int
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Modified UICollectionViewDelegate
Declaration | |
---|---|
From | protocol UICollectionViewDelegate : UIScrollViewDelegate, NSObjectProtocol { optional func collectionView(_ collectionView: UICollectionView, shouldHighlightItemAtIndexPath indexPath: NSIndexPath) -> Bool optional func collectionView(_ collectionView: UICollectionView, didHighlightItemAtIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, didUnhighlightItemAtIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, shouldSelectItemAtIndexPath indexPath: NSIndexPath) -> Bool optional func collectionView(_ collectionView: UICollectionView, shouldDeselectItemAtIndexPath indexPath: NSIndexPath) -> Bool optional func collectionView(_ collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, didDeselectItemAtIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, willDisplayCell cell: UICollectionViewCell, forItemAtIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, willDisplaySupplementaryView view: UICollectionReusableView, forElementKind elementKind: String, atIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, didEndDisplayingCell cell: UICollectionViewCell, forItemAtIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, didEndDisplayingSupplementaryView view: UICollectionReusableView, forElementOfKind elementKind: String, atIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, shouldShowMenuForItemAtIndexPath indexPath: NSIndexPath) -> Bool optional func collectionView(_ collectionView: UICollectionView, canPerformAction action: Selector, forItemAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject!) -> Bool optional func collectionView(_ collectionView: UICollectionView, performAction action: Selector, forItemAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject!) optional func collectionView(_ collectionView: UICollectionView, transitionLayoutForOldLayout fromLayout: UICollectionViewLayout, newLayout toLayout: UICollectionViewLayout) -> UICollectionViewTransitionLayout! } |
To | protocol UICollectionViewDelegate : UIScrollViewDelegate, NSObjectProtocol { optional func collectionView(_ collectionView: UICollectionView, shouldHighlightItemAtIndexPath indexPath: NSIndexPath) -> Bool optional func collectionView(_ collectionView: UICollectionView, didHighlightItemAtIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, didUnhighlightItemAtIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, shouldSelectItemAtIndexPath indexPath: NSIndexPath) -> Bool optional func collectionView(_ collectionView: UICollectionView, shouldDeselectItemAtIndexPath indexPath: NSIndexPath) -> Bool optional func collectionView(_ collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, didDeselectItemAtIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, willDisplayCell cell: UICollectionViewCell, forItemAtIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, willDisplaySupplementaryView view: UICollectionReusableView, forElementKind elementKind: String, atIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, didEndDisplayingCell cell: UICollectionViewCell, forItemAtIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, didEndDisplayingSupplementaryView view: UICollectionReusableView, forElementOfKind elementKind: String, atIndexPath indexPath: NSIndexPath) optional func collectionView(_ collectionView: UICollectionView, shouldShowMenuForItemAtIndexPath indexPath: NSIndexPath) -> Bool optional func collectionView(_ collectionView: UICollectionView, canPerformAction action: Selector, forItemAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject?) -> Bool optional func collectionView(_ collectionView: UICollectionView, performAction action: Selector, forItemAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject?) optional func collectionView(_ collectionView: UICollectionView, transitionLayoutForOldLayout fromLayout: UICollectionViewLayout, newLayout toLayout: UICollectionViewLayout) -> UICollectionViewTransitionLayout optional func collectionView(_ collectionView: UICollectionView, targetIndexPathForMoveFromItemAtIndexPath originalIndexPath: NSIndexPath, toProposedIndexPath proposedIndexPath: NSIndexPath) -> NSIndexPath optional func collectionView(_ collectionView: UICollectionView, targetContentOffsetForProposedContentOffset proposedContentOffset: CGPoint) -> CGPoint } |
Declaration | Introduction | |
---|---|---|
From | optional func collectionView(_ collectionView: UICollectionView, canPerformAction action: Selector, forItemAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject!) -> Bool | iOS 8.0 |
To | optional func collectionView(_ collectionView: UICollectionView, canPerformAction action: Selector, forItemAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject?) -> Bool | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Modified UICollectionViewDelegate.collectionView(_: UICollectionView, didSelectItemAtIndexPath: NSIndexPath)
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Declaration | Introduction | |
---|---|---|
From | optional func collectionView(_ collectionView: UICollectionView, performAction action: Selector, forItemAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject!) | iOS 8.0 |
To | optional func collectionView(_ collectionView: UICollectionView, performAction action: Selector, forItemAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject?) | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Declaration | Introduction | |
---|---|---|
From | optional func collectionView(_ collectionView: UICollectionView, transitionLayoutForOldLayout fromLayout: UICollectionViewLayout, newLayout toLayout: UICollectionViewLayout) -> UICollectionViewTransitionLayout! | iOS 8.0 |
To | optional func collectionView(_ collectionView: UICollectionView, transitionLayoutForOldLayout fromLayout: UICollectionViewLayout, newLayout toLayout: UICollectionViewLayout) -> UICollectionViewTransitionLayout | iOS 7.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 6.0 |
Modified UICollectionViewFlowLayout
Declaration | |
---|---|
From | class UICollectionViewFlowLayout : UICollectionViewLayout { var minimumLineSpacing: CGFloat var minimumInteritemSpacing: CGFloat var itemSize: CGSize var estimatedItemSize: CGSize var scrollDirection: UICollectionViewScrollDirection var headerReferenceSize: CGSize var footerReferenceSize: CGSize var sectionInset: UIEdgeInsets } |
To | class UICollectionViewFlowLayout : UICollectionViewLayout { var minimumLineSpacing: CGFloat var minimumInteritemSpacing: CGFloat var itemSize: CGSize var estimatedItemSize: CGSize var scrollDirection: UICollectionViewScrollDirection var headerReferenceSize: CGSize var footerReferenceSize: CGSize var sectionInset: UIEdgeInsets var sectionHeadersPinToVisibleBounds: Bool var sectionFootersPinToVisibleBounds: Bool } |
Modified UICollectionViewLayout
Declaration | |
---|---|
From | class UICollectionViewLayout : NSObject, NSCoding { var collectionView: UICollectionView? { get } func invalidateLayout() func invalidateLayoutWithContext(_ context: UICollectionViewLayoutInvalidationContext) func registerClass(_ viewClass: AnyClass?, forDecorationViewOfKind elementKind: String) func registerNib(_ nib: UINib?, forDecorationViewOfKind elementKind: String) } extension UICollectionViewLayout { class func layoutAttributesClass() -> AnyClass class func invalidationContextClass() -> AnyClass func prepareLayout() func layoutAttributesForElementsInRect(_ rect: CGRect) -> [AnyObject]? func layoutAttributesForItemAtIndexPath(_ indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes! func layoutAttributesForSupplementaryViewOfKind(_ elementKind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes! func layoutAttributesForDecorationViewOfKind(_ elementKind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes! func shouldInvalidateLayoutForBoundsChange(_ newBounds: CGRect) -> Bool func invalidationContextForBoundsChange(_ newBounds: CGRect) -> UICollectionViewLayoutInvalidationContext func shouldInvalidateLayoutForPreferredLayoutAttributes(_ preferredAttributes: UICollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: UICollectionViewLayoutAttributes) -> Bool func invalidationContextForPreferredLayoutAttributes(_ preferredAttributes: UICollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: UICollectionViewLayoutAttributes) -> UICollectionViewLayoutInvalidationContext func targetContentOffsetForProposedContentOffset(_ proposedContentOffset: CGPoint, withScrollingVelocity velocity: CGPoint) -> CGPoint func targetContentOffsetForProposedContentOffset(_ proposedContentOffset: CGPoint) -> CGPoint func collectionViewContentSize() -> CGSize } extension UICollectionViewLayout { func prepareForCollectionViewUpdates(_ updateItems: [AnyObject]!) func finalizeCollectionViewUpdates() func prepareForAnimatedBoundsChange(_ oldBounds: CGRect) func finalizeAnimatedBoundsChange() func prepareForTransitionToLayout(_ newLayout: UICollectionViewLayout!) func prepareForTransitionFromLayout(_ oldLayout: UICollectionViewLayout) func finalizeLayoutTransition() func initialLayoutAttributesForAppearingItemAtIndexPath(_ itemIndexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingItemAtIndexPath(_ itemIndexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingSupplementaryElementOfKind(_ elementKind: String, atIndexPath elementIndexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingSupplementaryElementOfKind(_ elementKind: String, atIndexPath elementIndexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingDecorationElementOfKind(_ elementKind: String, atIndexPath decorationIndexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingDecorationElementOfKind(_ elementKind: String, atIndexPath decorationIndexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func indexPathsToDeleteForSupplementaryViewOfKind(_ elementKind: String) -> [AnyObject] func indexPathsToDeleteForDecorationViewOfKind(_ elementKind: String) -> [AnyObject] func indexPathsToInsertForSupplementaryViewOfKind(_ elementKind: String) -> [AnyObject] func indexPathsToInsertForDecorationViewOfKind(_ elementKind: String) -> [AnyObject] } |
To | class UICollectionViewLayout : NSObject, NSCoding { init() init?(coder aDecoder: NSCoder) var collectionView: UICollectionView? { get } func invalidateLayout() func invalidateLayoutWithContext(_ context: UICollectionViewLayoutInvalidationContext) func registerClass(_ viewClass: AnyClass?, forDecorationViewOfKind elementKind: String) func registerNib(_ nib: UINib?, forDecorationViewOfKind elementKind: String) } extension UICollectionViewLayout { class func layoutAttributesClass() -> AnyClass class func invalidationContextClass() -> AnyClass func prepareLayout() func layoutAttributesForElementsInRect(_ rect: CGRect) -> [UICollectionViewLayoutAttributes]? func layoutAttributesForItemAtIndexPath(_ indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func layoutAttributesForSupplementaryViewOfKind(_ elementKind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func layoutAttributesForDecorationViewOfKind(_ elementKind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func shouldInvalidateLayoutForBoundsChange(_ newBounds: CGRect) -> Bool func invalidationContextForBoundsChange(_ newBounds: CGRect) -> UICollectionViewLayoutInvalidationContext func shouldInvalidateLayoutForPreferredLayoutAttributes(_ preferredAttributes: UICollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: UICollectionViewLayoutAttributes) -> Bool func invalidationContextForPreferredLayoutAttributes(_ preferredAttributes: UICollectionViewLayoutAttributes, withOriginalAttributes originalAttributes: UICollectionViewLayoutAttributes) -> UICollectionViewLayoutInvalidationContext func targetContentOffsetForProposedContentOffset(_ proposedContentOffset: CGPoint, withScrollingVelocity velocity: CGPoint) -> CGPoint func targetContentOffsetForProposedContentOffset(_ proposedContentOffset: CGPoint) -> CGPoint func collectionViewContentSize() -> CGSize } extension UICollectionViewLayout { func prepareForCollectionViewUpdates(_ updateItems: [UICollectionViewUpdateItem]) func finalizeCollectionViewUpdates() func prepareForAnimatedBoundsChange(_ oldBounds: CGRect) func finalizeAnimatedBoundsChange() func prepareForTransitionToLayout(_ newLayout: UICollectionViewLayout) func prepareForTransitionFromLayout(_ oldLayout: UICollectionViewLayout) func finalizeLayoutTransition() func initialLayoutAttributesForAppearingItemAtIndexPath(_ itemIndexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingItemAtIndexPath(_ itemIndexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingSupplementaryElementOfKind(_ elementKind: String, atIndexPath elementIndexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingSupplementaryElementOfKind(_ elementKind: String, atIndexPath elementIndexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func initialLayoutAttributesForAppearingDecorationElementOfKind(_ elementKind: String, atIndexPath decorationIndexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func finalLayoutAttributesForDisappearingDecorationElementOfKind(_ elementKind: String, atIndexPath decorationIndexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func indexPathsToDeleteForSupplementaryViewOfKind(_ elementKind: String) -> [NSIndexPath] func indexPathsToDeleteForDecorationViewOfKind(_ elementKind: String) -> [NSIndexPath] func indexPathsToInsertForSupplementaryViewOfKind(_ elementKind: String) -> [NSIndexPath] func indexPathsToInsertForDecorationViewOfKind(_ elementKind: String) -> [NSIndexPath] } extension UICollectionViewLayout { func targetIndexPathForInteractivelyMovingItem(_ previousIndexPath: NSIndexPath, withPosition position: CGPoint) -> NSIndexPath func layoutAttributesForInteractivelyMovingItemAtIndexPath(_ indexPath: NSIndexPath, withTargetPosition position: CGPoint) -> UICollectionViewLayoutAttributes func invalidationContextForInteractivelyMovingItems(_ targetIndexPaths: [NSIndexPath], withTargetPosition targetPosition: CGPoint, previousIndexPaths previousIndexPaths: [NSIndexPath], previousPosition previousPosition: CGPoint) -> UICollectionViewLayoutInvalidationContext func invalidationContextForEndingInteractiveMovementOfItemsToFinalIndexPaths(_ indexPaths: [NSIndexPath], previousIndexPaths previousIndexPaths: [NSIndexPath], movementCancelled movementCancelled: Bool) -> UICollectionViewLayoutInvalidationContext } |
Modified UICollectionViewLayout.indexPathsToDeleteForDecorationViewOfKind(_: String) -> [NSIndexPath]
Declaration | |
---|---|
From | func indexPathsToDeleteForDecorationViewOfKind(_ elementKind: String) -> [AnyObject] |
To | func indexPathsToDeleteForDecorationViewOfKind(_ elementKind: String) -> [NSIndexPath] |
Modified UICollectionViewLayout.indexPathsToDeleteForSupplementaryViewOfKind(_: String) -> [NSIndexPath]
Declaration | |
---|---|
From | func indexPathsToDeleteForSupplementaryViewOfKind(_ elementKind: String) -> [AnyObject] |
To | func indexPathsToDeleteForSupplementaryViewOfKind(_ elementKind: String) -> [NSIndexPath] |
Modified UICollectionViewLayout.indexPathsToInsertForDecorationViewOfKind(_: String) -> [NSIndexPath]
Declaration | |
---|---|
From | func indexPathsToInsertForDecorationViewOfKind(_ elementKind: String) -> [AnyObject] |
To | func indexPathsToInsertForDecorationViewOfKind(_ elementKind: String) -> [NSIndexPath] |
Modified UICollectionViewLayout.indexPathsToInsertForSupplementaryViewOfKind(_: String) -> [NSIndexPath]
Declaration | |
---|---|
From | func indexPathsToInsertForSupplementaryViewOfKind(_ elementKind: String) -> [AnyObject] |
To | func indexPathsToInsertForSupplementaryViewOfKind(_ elementKind: String) -> [NSIndexPath] |
Declaration | |
---|---|
From | func layoutAttributesForDecorationViewOfKind(_ elementKind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes! |
To | func layoutAttributesForDecorationViewOfKind(_ elementKind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? |
Declaration | |
---|---|
From | func layoutAttributesForElementsInRect(_ rect: CGRect) -> [AnyObject]? |
To | func layoutAttributesForElementsInRect(_ rect: CGRect) -> [UICollectionViewLayoutAttributes]? |
Declaration | |
---|---|
From | func layoutAttributesForItemAtIndexPath(_ indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes! |
To | func layoutAttributesForItemAtIndexPath(_ indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? |
Declaration | |
---|---|
From | func layoutAttributesForSupplementaryViewOfKind(_ elementKind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes! |
To | func layoutAttributesForSupplementaryViewOfKind(_ elementKind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? |
Declaration | |
---|---|
From | func prepareForCollectionViewUpdates(_ updateItems: [AnyObject]!) |
To | func prepareForCollectionViewUpdates(_ updateItems: [UICollectionViewUpdateItem]) |
Declaration | |
---|---|
From | func prepareForTransitionToLayout(_ newLayout: UICollectionViewLayout!) |
To | func prepareForTransitionToLayout(_ newLayout: UICollectionViewLayout) |
Modified UICollectionViewLayoutAttributes
Declaration | |
---|---|
From | class UICollectionViewLayoutAttributes : NSObject, NSCopying, UIDynamicItem, NSObjectProtocol { var frame: CGRect var center: CGPoint var size: CGSize var transform3D: CATransform3D var bounds: CGRect var transform: CGAffineTransform var alpha: CGFloat var zIndex: Int var hidden: Bool var indexPath: NSIndexPath! var representedElementCategory: UICollectionElementCategory { get } var representedElementKind: String! { get } convenience init(forCellWithIndexPath indexPath: NSIndexPath) class func layoutAttributesForCellWithIndexPath(_ indexPath: NSIndexPath) -> Self convenience init(forSupplementaryViewOfKind elementKind: String, withIndexPath indexPath: NSIndexPath) class func layoutAttributesForSupplementaryViewOfKind(_ elementKind: String, withIndexPath indexPath: NSIndexPath) -> Self convenience init(forDecorationViewOfKind decorationViewKind: String, withIndexPath indexPath: NSIndexPath) class func layoutAttributesForDecorationViewOfKind(_ decorationViewKind: String, withIndexPath indexPath: NSIndexPath) -> Self } |
To | class UICollectionViewLayoutAttributes : NSObject, NSCopying, UIDynamicItem { var frame: CGRect var center: CGPoint var size: CGSize var transform3D: CATransform3D var bounds: CGRect var transform: CGAffineTransform var alpha: CGFloat var zIndex: Int var hidden: Bool var indexPath: NSIndexPath var representedElementCategory: UICollectionElementCategory { get } var representedElementKind: String? { get } convenience init(forCellWithIndexPath indexPath: NSIndexPath) class func layoutAttributesForCellWithIndexPath(_ indexPath: NSIndexPath) -> Self convenience init(forSupplementaryViewOfKind elementKind: String, withIndexPath indexPath: NSIndexPath) class func layoutAttributesForSupplementaryViewOfKind(_ elementKind: String, withIndexPath indexPath: NSIndexPath) -> Self convenience init(forDecorationViewOfKind decorationViewKind: String, withIndexPath indexPath: NSIndexPath) class func layoutAttributesForDecorationViewOfKind(_ decorationViewKind: String, withIndexPath indexPath: NSIndexPath) -> Self } |
Declaration | |
---|---|
From | var indexPath: NSIndexPath! |
To | var indexPath: NSIndexPath |
Declaration | |
---|---|
From | var representedElementKind: String! { get } |
To | var representedElementKind: String? { get } |
Declaration | |
---|---|
From | class UICollectionViewLayoutInvalidationContext : NSObject { var invalidateEverything: Bool { get } var invalidateDataSourceCounts: Bool { get } func invalidateItemsAtIndexPaths(_ indexPaths: [AnyObject]) func invalidateSupplementaryElementsOfKind(_ elementKind: String, atIndexPaths indexPaths: [AnyObject]) func invalidateDecorationElementsOfKind(_ elementKind: String, atIndexPaths indexPaths: [AnyObject]) var invalidatedItemIndexPaths: [AnyObject]? { get } var invalidatedSupplementaryIndexPaths: [NSObject : AnyObject]? { get } var invalidatedDecorationIndexPaths: [NSObject : AnyObject]! { get } var contentOffsetAdjustment: CGPoint var contentSizeAdjustment: CGSize } |
To | class UICollectionViewLayoutInvalidationContext : NSObject { var invalidateEverything: Bool { get } var invalidateDataSourceCounts: Bool { get } func invalidateItemsAtIndexPaths(_ indexPaths: [NSIndexPath]) func invalidateSupplementaryElementsOfKind(_ elementKind: String, atIndexPaths indexPaths: [NSIndexPath]) func invalidateDecorationElementsOfKind(_ elementKind: String, atIndexPaths indexPaths: [NSIndexPath]) var invalidatedItemIndexPaths: [NSIndexPath]? { get } var invalidatedSupplementaryIndexPaths: [String : [NSIndexPath]]? { get } var invalidatedDecorationIndexPaths: [String : [NSIndexPath]]? { get } var contentOffsetAdjustment: CGPoint var contentSizeAdjustment: CGSize var previousIndexPathsForInteractivelyMovingItems: [NSIndexPath]? { get } var targetIndexPathsForInteractivelyMovingItems: [NSIndexPath]? { get } var interactiveMovementTarget: CGPoint { get } } |
Declaration | |
---|---|
From | var invalidatedDecorationIndexPaths: [NSObject : AnyObject]! { get } |
To | var invalidatedDecorationIndexPaths: [String : [NSIndexPath]]? { get } |
Declaration | |
---|---|
From | func invalidateDecorationElementsOfKind(_ elementKind: String, atIndexPaths indexPaths: [AnyObject]) |
To | func invalidateDecorationElementsOfKind(_ elementKind: String, atIndexPaths indexPaths: [NSIndexPath]) |
Declaration | |
---|---|
From | var invalidatedItemIndexPaths: [AnyObject]? { get } |
To | var invalidatedItemIndexPaths: [NSIndexPath]? { get } |
Declaration | |
---|---|
From | var invalidatedSupplementaryIndexPaths: [NSObject : AnyObject]? { get } |
To | var invalidatedSupplementaryIndexPaths: [String : [NSIndexPath]]? { get } |
Declaration | |
---|---|
From | func invalidateItemsAtIndexPaths(_ indexPaths: [AnyObject]) |
To | func invalidateItemsAtIndexPaths(_ indexPaths: [NSIndexPath]) |
Declaration | |
---|---|
From | func invalidateSupplementaryElementsOfKind(_ elementKind: String, atIndexPaths indexPaths: [AnyObject]) |
To | func invalidateSupplementaryElementsOfKind(_ elementKind: String, atIndexPaths indexPaths: [NSIndexPath]) |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Declaration | Protocols | |
---|---|---|
From | struct UICollectionViewScrollPosition : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var None: UICollectionViewScrollPosition { get } static var Top: UICollectionViewScrollPosition { get } static var CenteredVertically: UICollectionViewScrollPosition { get } static var Bottom: UICollectionViewScrollPosition { get } static var Left: UICollectionViewScrollPosition { get } static var CenteredHorizontally: UICollectionViewScrollPosition { get } static var Right: UICollectionViewScrollPosition { get } } | RawOptionSetType |
To | struct UICollectionViewScrollPosition : OptionSetType { init(rawValue rawValue: UInt) static var None: UICollectionViewScrollPosition { get } static var Top: UICollectionViewScrollPosition { get } static var CenteredVertically: UICollectionViewScrollPosition { get } static var Bottom: UICollectionViewScrollPosition { get } static var Left: UICollectionViewScrollPosition { get } static var CenteredHorizontally: UICollectionViewScrollPosition { get } static var Right: UICollectionViewScrollPosition { get } } | OptionSetType |
Modified UICollectionViewTransitionLayout
Declaration | |
---|---|
From | class UICollectionViewTransitionLayout : UICollectionViewLayout { var transitionProgress: CGFloat var currentLayout: UICollectionViewLayout! { get } var nextLayout: UICollectionViewLayout! { get } init(currentLayout currentLayout: UICollectionViewLayout, nextLayout newLayout: UICollectionViewLayout) func updateValue(_ value: CGFloat, forAnimatedKey key: String) func valueForAnimatedKey(_ key: String) -> CGFloat } |
To | class UICollectionViewTransitionLayout : UICollectionViewLayout { var transitionProgress: CGFloat var currentLayout: UICollectionViewLayout { get } var nextLayout: UICollectionViewLayout { get } init(currentLayout currentLayout: UICollectionViewLayout, nextLayout newLayout: UICollectionViewLayout) init?(coder aDecoder: NSCoder) convenience init() func updateValue(_ value: CGFloat, forAnimatedKey key: String) func valueForAnimatedKey(_ key: String) -> CGFloat } |
Declaration | |
---|---|
From | var currentLayout: UICollectionViewLayout! { get } |
To | var currentLayout: UICollectionViewLayout { get } |
Declaration | |
---|---|
From | var nextLayout: UICollectionViewLayout! { get } |
To | var nextLayout: UICollectionViewLayout { get } |
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 } |
Modified UICollisionBehavior
Declaration | |
---|---|
From | class UICollisionBehavior : UIDynamicBehavior { init!(items items: [AnyObject]) func addItem(_ item: UIDynamicItem) func removeItem(_ item: UIDynamicItem) var items: [AnyObject] { get } var collisionMode: UICollisionBehaviorMode var translatesReferenceBoundsIntoBoundary: Bool func setTranslatesReferenceBoundsIntoBoundaryWithInsets(_ insets: UIEdgeInsets) func addBoundaryWithIdentifier(_ identifier: NSCopying, forPath bezierPath: UIBezierPath) func addBoundaryWithIdentifier(_ identifier: NSCopying, fromPoint p1: CGPoint, toPoint p2: CGPoint) func boundaryWithIdentifier(_ identifier: NSCopying) -> UIBezierPath? func removeBoundaryWithIdentifier(_ identifier: NSCopying) var boundaryIdentifiers: [AnyObject]? { get } func removeAllBoundaries() unowned(unsafe) var collisionDelegate: UICollisionBehaviorDelegate? } |
To | class UICollisionBehavior : UIDynamicBehavior { init(items items: [UIDynamicItem]) func addItem(_ item: UIDynamicItem) func removeItem(_ item: UIDynamicItem) var items: [UIDynamicItem] { get } var collisionMode: UICollisionBehaviorMode var translatesReferenceBoundsIntoBoundary: Bool func setTranslatesReferenceBoundsIntoBoundaryWithInsets(_ insets: UIEdgeInsets) func addBoundaryWithIdentifier(_ identifier: NSCopying, forPath bezierPath: UIBezierPath) func addBoundaryWithIdentifier(_ identifier: NSCopying, fromPoint p1: CGPoint, toPoint p2: CGPoint) func boundaryWithIdentifier(_ identifier: NSCopying) -> UIBezierPath? func removeBoundaryWithIdentifier(_ identifier: NSCopying) var boundaryIdentifiers: [NSCopying]? { get } func removeAllBoundaries() weak var collisionDelegate: UICollisionBehaviorDelegate? } |
Declaration | |
---|---|
From | var boundaryIdentifiers: [AnyObject]? { get } |
To | var boundaryIdentifiers: [NSCopying]? { get } |
Declaration | |
---|---|
From | unowned(unsafe) var collisionDelegate: UICollisionBehaviorDelegate? |
To | weak var collisionDelegate: UICollisionBehaviorDelegate? |
Declaration | |
---|---|
From | init!(items items: [AnyObject]) |
To | init(items items: [UIDynamicItem]) |
Modified UICollisionBehavior.items
Declaration | |
---|---|
From | var items: [AnyObject] { get } |
To | var items: [UIDynamicItem] { get } |
Modified UICollisionBehaviorDelegate
Declaration | |
---|---|
From | protocol UICollisionBehaviorDelegate : NSObjectProtocol { optional func collisionBehavior(_ behavior: UICollisionBehavior, beganContactForItem item1: UIDynamicItem, withItem item2: UIDynamicItem, atPoint p: CGPoint) optional func collisionBehavior(_ behavior: UICollisionBehavior, endedContactForItem item1: UIDynamicItem, withItem item2: UIDynamicItem) optional func collisionBehavior(_ behavior: UICollisionBehavior, beganContactForItem item: UIDynamicItem, withBoundaryIdentifier identifier: NSCopying, atPoint p: CGPoint) optional func collisionBehavior(_ behavior: UICollisionBehavior, endedContactForItem item: UIDynamicItem, withBoundaryIdentifier identifier: NSCopying) } |
To | protocol UICollisionBehaviorDelegate : NSObjectProtocol { optional func collisionBehavior(_ behavior: UICollisionBehavior, beganContactForItem item1: UIDynamicItem, withItem item2: UIDynamicItem, atPoint p: CGPoint) optional func collisionBehavior(_ behavior: UICollisionBehavior, endedContactForItem item1: UIDynamicItem, withItem item2: UIDynamicItem) optional func collisionBehavior(_ behavior: UICollisionBehavior, beganContactForItem item: UIDynamicItem, withBoundaryIdentifier identifier: NSCopying?, atPoint p: CGPoint) optional func collisionBehavior(_ behavior: UICollisionBehavior, endedContactForItem item: UIDynamicItem, withBoundaryIdentifier identifier: NSCopying?) } |
Declaration | Introduction | |
---|---|---|
From | optional func collisionBehavior(_ behavior: UICollisionBehavior, beganContactForItem item: UIDynamicItem, withBoundaryIdentifier identifier: NSCopying, atPoint p: CGPoint) | iOS 8.0 |
To | optional func collisionBehavior(_ behavior: UICollisionBehavior, beganContactForItem item: UIDynamicItem, withBoundaryIdentifier identifier: NSCopying?, atPoint p: CGPoint) | iOS 7.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Declaration | Introduction | |
---|---|---|
From | optional func collisionBehavior(_ behavior: UICollisionBehavior, endedContactForItem item: UIDynamicItem, withBoundaryIdentifier identifier: NSCopying) | iOS 8.0 |
To | optional func collisionBehavior(_ behavior: UICollisionBehavior, endedContactForItem item: UIDynamicItem, withBoundaryIdentifier identifier: NSCopying?) | iOS 7.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Modified UICollisionBehaviorMode [struct]
Declaration | Protocols | |
---|---|---|
From | struct UICollisionBehaviorMode : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var Items: UICollisionBehaviorMode { get } static var Boundaries: UICollisionBehaviorMode { get } static var Everything: UICollisionBehaviorMode { get } } | RawOptionSetType |
To | struct UICollisionBehaviorMode : OptionSetType { init(rawValue rawValue: UInt) static var Items: UICollisionBehaviorMode { get } static var Boundaries: UICollisionBehaviorMode { get } static var Everything: UICollisionBehaviorMode { get } } | OptionSetType |
Modified UIColor
Declaration | |
---|---|
From | class UIColor : NSObject, NSSecureCoding, NSCoding, NSCopying { init!(white white: CGFloat, alpha alpha: CGFloat) -> UIColor class func colorWithWhite(_ white: CGFloat, alpha alpha: CGFloat) -> UIColor! init!(hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> UIColor class func colorWithHue(_ hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> UIColor! init!(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> UIColor class func colorWithRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> UIColor! init!(CGColor cgColor: CGColor!) -> UIColor class func colorWithCGColor(_ cgColor: CGColor!) -> UIColor! init(patternImage image: UIImage) -> UIColor class func colorWithPatternImage(_ image: UIImage) -> UIColor init(CIColor ciColor: CIColor) -> UIColor class func colorWithCIColor(_ ciColor: CIColor) -> UIColor init(white white: CGFloat, alpha alpha: CGFloat) init(hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) init(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) init?(CGColor cgColor: CGColor) init(patternImage image: UIImage) init(CIColor ciColor: CIColor) class func blackColor() -> UIColor class func darkGrayColor() -> UIColor class func lightGrayColor() -> UIColor class func whiteColor() -> UIColor class func grayColor() -> UIColor class func redColor() -> UIColor class func greenColor() -> UIColor class func blueColor() -> UIColor class func cyanColor() -> UIColor class func yellowColor() -> UIColor class func magentaColor() -> UIColor class func orangeColor() -> UIColor class func purpleColor() -> UIColor class func brownColor() -> UIColor class func clearColor() -> UIColor func set() func setFill() func setStroke() func getWhite(_ white: UnsafeMutablePointer<CGFloat>, alpha alpha: UnsafeMutablePointer<CGFloat>) -> Bool func getHue(_ hue: UnsafeMutablePointer<CGFloat>, saturation saturation: UnsafeMutablePointer<CGFloat>, brightness brightness: UnsafeMutablePointer<CGFloat>, alpha alpha: UnsafeMutablePointer<CGFloat>) -> Bool func getRed(_ red: UnsafeMutablePointer<CGFloat>, green green: UnsafeMutablePointer<CGFloat>, blue blue: UnsafeMutablePointer<CGFloat>, alpha alpha: UnsafeMutablePointer<CGFloat>) -> Bool func colorWithAlphaComponent(_ alpha: CGFloat) -> UIColor var CGColor: CGColor! { get } var CIColor: CIColor { get } } extension UIColor { class func lightTextColor() -> UIColor class func darkTextColor() -> UIColor class func groupTableViewBackgroundColor() -> UIColor class func viewFlipsideBackgroundColor() -> UIColor! class func scrollViewTexturedBackgroundColor() -> UIColor! class func underPageBackgroundColor() -> UIColor! } |
To | class UIColor : NSObject, NSSecureCoding, NSCoding, NSCopying { init(white white: CGFloat, alpha alpha: CGFloat) class func colorWithWhite(_ white: CGFloat, alpha alpha: CGFloat) -> UIColor init(hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func colorWithHue(_ hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> UIColor init(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func colorWithRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> UIColor init(CGColor cgColor: CGColor) class func colorWithCGColor(_ cgColor: CGColor) -> UIColor init(patternImage image: UIImage) class func colorWithPatternImage(_ image: UIImage) -> UIColor init(CIColor ciColor: CIColor) class func colorWithCIColor(_ ciColor: CIColor) -> UIColor init(white white: CGFloat, alpha alpha: CGFloat) init(hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) init(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) init(CGColor cgColor: CGColor) init(patternImage image: UIImage) init(CIColor ciColor: CIColor) class func blackColor() -> UIColor class func darkGrayColor() -> UIColor class func lightGrayColor() -> UIColor class func whiteColor() -> UIColor class func grayColor() -> UIColor class func redColor() -> UIColor class func greenColor() -> UIColor class func blueColor() -> UIColor class func cyanColor() -> UIColor class func yellowColor() -> UIColor class func magentaColor() -> UIColor class func orangeColor() -> UIColor class func purpleColor() -> UIColor class func brownColor() -> UIColor class func clearColor() -> UIColor func set() func setFill() func setStroke() func getWhite(_ white: UnsafeMutablePointer<CGFloat>, alpha alpha: UnsafeMutablePointer<CGFloat>) -> Bool func getHue(_ hue: UnsafeMutablePointer<CGFloat>, saturation saturation: UnsafeMutablePointer<CGFloat>, brightness brightness: UnsafeMutablePointer<CGFloat>, alpha alpha: UnsafeMutablePointer<CGFloat>) -> Bool func getRed(_ red: UnsafeMutablePointer<CGFloat>, green green: UnsafeMutablePointer<CGFloat>, blue blue: UnsafeMutablePointer<CGFloat>, alpha alpha: UnsafeMutablePointer<CGFloat>) -> Bool func colorWithAlphaComponent(_ alpha: CGFloat) -> UIColor var CGColor: CGColor { get } var CIColor: CIColor { get } } extension UIColor { class func lightTextColor() -> UIColor class func darkTextColor() -> UIColor class func groupTableViewBackgroundColor() -> UIColor class func viewFlipsideBackgroundColor() -> UIColor class func scrollViewTexturedBackgroundColor() -> UIColor class func underPageBackgroundColor() -> UIColor } |
Modified UIColor.CGColor
Declaration | |
---|---|
From | var CGColor: CGColor! { get } |
To | var CGColor: CGColor { get } |
Modified UIColor.init(CGColor: CGColor)
Declaration | |
---|---|
From | init?(CGColor cgColor: CGColor) |
To | init(CGColor cgColor: CGColor) |
Modified UIControl
Declaration | |
---|---|
From | class UIControl : UIView { var enabled: Bool var selected: Bool var highlighted: Bool var contentVerticalAlignment: UIControlContentVerticalAlignment var contentHorizontalAlignment: UIControlContentHorizontalAlignment var state: UIControlState { get } var tracking: Bool { get } var touchInside: Bool { get } func beginTrackingWithTouch(_ touch: UITouch, withEvent event: UIEvent) -> Bool func continueTrackingWithTouch(_ touch: UITouch, withEvent event: UIEvent) -> Bool func endTrackingWithTouch(_ touch: UITouch, withEvent event: UIEvent) func cancelTrackingWithEvent(_ event: UIEvent?) func addTarget(_ target: AnyObject?, action action: Selector, forControlEvents controlEvents: UIControlEvents) func removeTarget(_ target: AnyObject?, action action: Selector, forControlEvents controlEvents: UIControlEvents) func allTargets() -> Set<NSObject> func allControlEvents() -> UIControlEvents func actionsForTarget(_ target: AnyObject, forControlEvent controlEvent: UIControlEvents) -> [AnyObject]? func sendAction(_ action: Selector, to target: AnyObject?, forEvent event: UIEvent?) func sendActionsForControlEvents(_ controlEvents: UIControlEvents) } |
To | class UIControl : UIView { var enabled: Bool var selected: Bool var highlighted: Bool var contentVerticalAlignment: UIControlContentVerticalAlignment var contentHorizontalAlignment: UIControlContentHorizontalAlignment var state: UIControlState { get } var tracking: Bool { get } var touchInside: Bool { get } func beginTrackingWithTouch(_ touch: UITouch, withEvent event: UIEvent?) -> Bool func continueTrackingWithTouch(_ touch: UITouch, withEvent event: UIEvent?) -> Bool func endTrackingWithTouch(_ touch: UITouch?, withEvent event: UIEvent?) func cancelTrackingWithEvent(_ event: UIEvent?) func addTarget(_ target: AnyObject?, action action: Selector, forControlEvents controlEvents: UIControlEvents) func removeTarget(_ target: AnyObject?, action action: Selector, forControlEvents controlEvents: UIControlEvents) func allTargets() -> Set<NSObject> func allControlEvents() -> UIControlEvents func actionsForTarget(_ target: AnyObject?, forControlEvent controlEvent: UIControlEvents) -> [String]? func sendAction(_ action: Selector, to target: AnyObject?, forEvent event: UIEvent?) func sendActionsForControlEvents(_ controlEvents: UIControlEvents) } |
Declaration | |
---|---|
From | func actionsForTarget(_ target: AnyObject, forControlEvent controlEvent: UIControlEvents) -> [AnyObject]? |
To | func actionsForTarget(_ target: AnyObject?, forControlEvent controlEvent: UIControlEvents) -> [String]? |
Declaration | |
---|---|
From | func beginTrackingWithTouch(_ touch: UITouch, withEvent event: UIEvent) -> Bool |
To | func beginTrackingWithTouch(_ touch: UITouch, withEvent event: UIEvent?) -> Bool |
Declaration | |
---|---|
From | func continueTrackingWithTouch(_ touch: UITouch, withEvent event: UIEvent) -> Bool |
To | func continueTrackingWithTouch(_ touch: UITouch, withEvent event: UIEvent?) -> Bool |
Declaration | |
---|---|
From | func endTrackingWithTouch(_ touch: UITouch, withEvent event: UIEvent) |
To | func endTrackingWithTouch(_ touch: UITouch?, withEvent event: UIEvent?) |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIControlEvents [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIControlEvents : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var TouchDown: UIControlEvents { get } static var TouchDownRepeat: UIControlEvents { get } static var TouchDragInside: UIControlEvents { get } static var TouchDragOutside: UIControlEvents { get } static var TouchDragEnter: UIControlEvents { get } static var TouchDragExit: UIControlEvents { get } static var TouchUpInside: UIControlEvents { get } static var TouchUpOutside: UIControlEvents { get } static var TouchCancel: UIControlEvents { get } static var ValueChanged: UIControlEvents { get } static var EditingDidBegin: UIControlEvents { get } static var EditingChanged: UIControlEvents { get } static var EditingDidEnd: UIControlEvents { get } static var EditingDidEndOnExit: UIControlEvents { get } static var AllTouchEvents: UIControlEvents { get } static var AllEditingEvents: UIControlEvents { get } static var ApplicationReserved: UIControlEvents { get } static var SystemReserved: UIControlEvents { get } static var AllEvents: UIControlEvents { get } } | RawOptionSetType |
To | struct UIControlEvents : OptionSetType { init(rawValue rawValue: UInt) static var TouchDown: UIControlEvents { get } static var TouchDownRepeat: UIControlEvents { get } static var TouchDragInside: UIControlEvents { get } static var TouchDragOutside: UIControlEvents { get } static var TouchDragEnter: UIControlEvents { get } static var TouchDragExit: UIControlEvents { get } static var TouchUpInside: UIControlEvents { get } static var TouchUpOutside: UIControlEvents { get } static var TouchCancel: UIControlEvents { get } static var ValueChanged: UIControlEvents { get } static var PrimaryActionTriggered: UIControlEvents { get } static var EditingDidBegin: UIControlEvents { get } static var EditingChanged: UIControlEvents { get } static var EditingDidEnd: UIControlEvents { get } static var EditingDidEndOnExit: UIControlEvents { get } static var AllTouchEvents: UIControlEvents { get } static var AllEditingEvents: UIControlEvents { get } static var ApplicationReserved: UIControlEvents { get } static var SystemReserved: UIControlEvents { get } static var AllEvents: UIControlEvents { get } } | OptionSetType |
Modified UIControlState [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIControlState : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var Normal: UIControlState { get } static var Highlighted: UIControlState { get } static var Disabled: UIControlState { get } static var Selected: UIControlState { get } static var Application: UIControlState { get } static var Reserved: UIControlState { get } } | RawOptionSetType |
To | struct UIControlState : OptionSetType { init(rawValue rawValue: UInt) static var Normal: UIControlState { get } static var Highlighted: UIControlState { get } static var Disabled: UIControlState { get } static var Selected: UIControlState { get } static var Application: UIControlState { get } static var Reserved: UIControlState { get } } | OptionSetType |
Modified UIDataDetectorTypes [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIDataDetectorTypes : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var PhoneNumber: UIDataDetectorTypes { get } static var Link: UIDataDetectorTypes { get } static var Address: UIDataDetectorTypes { get } static var CalendarEvent: UIDataDetectorTypes { get } static var None: UIDataDetectorTypes { get } static var All: UIDataDetectorTypes { get } } | RawOptionSetType |
To | struct UIDataDetectorTypes : OptionSetType { init(rawValue rawValue: UInt) static var PhoneNumber: UIDataDetectorTypes { get } static var Link: UIDataDetectorTypes { get } static var Address: UIDataDetectorTypes { get } static var CalendarEvent: UIDataDetectorTypes { get } static var None: UIDataDetectorTypes { get } static var All: UIDataDetectorTypes { get } } | OptionSetType |
Modified UIDataDetectorTypes.Address
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.0 |
Modified UIDataDetectorTypes.CalendarEvent
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.0 |
Modified UIDataSourceModelAssociation
Declaration | |
---|---|
From | protocol UIDataSourceModelAssociation { func modelIdentifierForElementAtIndexPath(_ idx: NSIndexPath, inView view: UIView) -> String func indexPathForElementWithModelIdentifier(_ identifier: String, inView view: UIView) -> NSIndexPath? } |
To | protocol UIDataSourceModelAssociation { func modelIdentifierForElementAtIndexPath(_ idx: NSIndexPath, inView view: UIView) -> String? func indexPathForElementWithModelIdentifier(_ identifier: String, inView view: UIView) -> NSIndexPath? } |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Declaration | Introduction | |
---|---|---|
From | func modelIdentifierForElementAtIndexPath(_ idx: NSIndexPath, inView view: UIView) -> String | iOS 8.0 |
To | func modelIdentifierForElementAtIndexPath(_ idx: NSIndexPath, inView view: UIView) -> String? | iOS 2.0 |
Modified UIDatePicker
Declaration | |
---|---|
From | class UIDatePicker : UIControl, NSCoding { var datePickerMode: UIDatePickerMode var locale: NSLocale? @NSCopying var calendar: NSCalendar! var timeZone: NSTimeZone? var date: NSDate var minimumDate: NSDate? var maximumDate: NSDate? var countDownDuration: NSTimeInterval var minuteInterval: Int func setDate(_ date: NSDate, animated animated: Bool) } |
To | class UIDatePicker : UIControl { var datePickerMode: UIDatePickerMode var locale: NSLocale? @NSCopying var calendar: NSCalendar! var timeZone: NSTimeZone? var date: NSDate var minimumDate: NSDate? var maximumDate: NSDate? var countDownDuration: NSTimeInterval var minuteInterval: Int func setDate(_ date: NSDate, animated animated: Bool) } |
Modified UIDatePickerMode [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIDevice
Declaration | |
---|---|
From | class UIDevice : NSObject { class func currentDevice() -> UIDevice var name: String { get } var model: String { get } var localizedModel: String { get } var systemName: String { get } var systemVersion: String { get } var orientation: UIDeviceOrientation { get } var identifierForVendor: NSUUID! { get } var generatesDeviceOrientationNotifications: Bool { get } func beginGeneratingDeviceOrientationNotifications() func endGeneratingDeviceOrientationNotifications() var batteryMonitoringEnabled: Bool var batteryState: UIDeviceBatteryState { get } var batteryLevel: Float { get } var proximityMonitoringEnabled: Bool var proximityState: Bool { get } var multitaskingSupported: Bool { get } var userInterfaceIdiom: UIUserInterfaceIdiom { get } func playInputClick() } |
To | class UIDevice : NSObject { class func currentDevice() -> UIDevice var name: String { get } var model: String { get } var localizedModel: String { get } var systemName: String { get } var systemVersion: String { get } var orientation: UIDeviceOrientation { get } var identifierForVendor: NSUUID? { get } var generatesDeviceOrientationNotifications: Bool { get } func beginGeneratingDeviceOrientationNotifications() func endGeneratingDeviceOrientationNotifications() var batteryMonitoringEnabled: Bool var batteryState: UIDeviceBatteryState { get } var batteryLevel: Float { get } var proximityMonitoringEnabled: Bool var proximityState: Bool { get } var multitaskingSupported: Bool { get } var userInterfaceIdiom: UIUserInterfaceIdiom { get } func playInputClick() } |
Modified UIDevice.identifierForVendor
Declaration | |
---|---|
From | var identifierForVendor: NSUUID! { get } |
To | var identifierForVendor: NSUUID? { get } |
Modified UIDeviceBatteryState [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIDeviceOrientation [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIDictationPhrase
Declaration | |
---|---|
From | class UIDictationPhrase : NSObject { var text: String! { get } var alternativeInterpretations: [AnyObject]? { get } } |
To | class UIDictationPhrase : NSObject { var text: String { get } var alternativeInterpretations: [String]? { get } } |
Declaration | |
---|---|
From | var alternativeInterpretations: [AnyObject]? { get } |
To | var alternativeInterpretations: [String]? { get } |
Modified UIDictationPhrase.text
Declaration | |
---|---|
From | var text: String! { get } |
To | var text: String { get } |
Modified UIDocument
Declaration | Protocols | |
---|---|---|
From | class UIDocument : NSObject, NSFilePresenter, NSObjectProtocol { init(fileURL url: NSURL) var fileURL: NSURL { get } var localizedName: String { get } var fileType: String { get } @NSCopying var fileModificationDate: NSDate? var documentState: UIDocumentState { get } func openWithCompletionHandler(_ completionHandler: ((Bool) -> Void)?) func closeWithCompletionHandler(_ completionHandler: ((Bool) -> Void)?) func loadFromContents(_ contents: AnyObject, ofType typeName: String, error outError: NSErrorPointer) -> Bool func contentsForType(_ typeName: String, error outError: NSErrorPointer) -> AnyObject? func disableEditing() func enableEditing() var undoManager: NSUndoManager func hasUnsavedChanges() -> Bool func updateChangeCount(_ change: UIDocumentChangeKind) func changeCountTokenForSaveOperation(_ saveOperation: UIDocumentSaveOperation) -> AnyObject func updateChangeCountWithToken(_ changeCountToken: AnyObject, forSaveOperation saveOperation: UIDocumentSaveOperation) func saveToURL(_ url: NSURL, forSaveOperation saveOperation: UIDocumentSaveOperation, completionHandler completionHandler: ((Bool) -> Void)?) func autosaveWithCompletionHandler(_ completionHandler: ((Bool) -> Void)?) func savingFileType() -> String! func fileNameExtensionForType(_ typeName: String, saveOperation saveOperation: UIDocumentSaveOperation) -> String func writeContents(_ contents: AnyObject, andAttributes additionalFileAttributes: [NSObject : AnyObject]?, safelyToURL url: NSURL, forSaveOperation saveOperation: UIDocumentSaveOperation, error outError: NSErrorPointer) -> Bool func writeContents(_ contents: AnyObject, toURL url: NSURL, forSaveOperation saveOperation: UIDocumentSaveOperation, originalContentsURL originalContentsURL: NSURL?, error outError: NSErrorPointer) -> Bool func fileAttributesToWriteToURL(_ url: NSURL, forSaveOperation saveOperation: UIDocumentSaveOperation, error outError: NSErrorPointer) -> [NSObject : AnyObject]? func readFromURL(_ url: NSURL, error outError: NSErrorPointer) -> Bool func performAsynchronousFileAccessUsingBlock(_ block: (() -> Void)!) func handleError(_ error: NSError, userInteractionPermitted userInteractionPermitted: Bool) func finishedHandlingError(_ error: NSError, recovered recovered: Bool) func userInteractionNoLongerPermittedForError(_ error: NSError) func revertToContentsOfURL(_ url: NSURL, completionHandler completionHandler: ((Bool) -> Void)?) } extension UIDocument { var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) } | AnyObject, NSFilePresenter, NSObjectProtocol |
To | class UIDocument : NSObject, NSFilePresenter, NSProgressReporting { init(fileURL url: NSURL) var fileURL: NSURL { get } var localizedName: String { get } var fileType: String? { get } @NSCopying var fileModificationDate: NSDate? var documentState: UIDocumentState { get } func openWithCompletionHandler(_ completionHandler: ((Bool) -> Void)?) func closeWithCompletionHandler(_ completionHandler: ((Bool) -> Void)?) func loadFromContents(_ contents: AnyObject, ofType typeName: String?) throws func contentsForType(_ typeName: String) throws -> AnyObject func disableEditing() func enableEditing() var undoManager: NSUndoManager! func hasUnsavedChanges() -> Bool func updateChangeCount(_ change: UIDocumentChangeKind) func changeCountTokenForSaveOperation(_ saveOperation: UIDocumentSaveOperation) -> AnyObject func updateChangeCountWithToken(_ changeCountToken: AnyObject, forSaveOperation saveOperation: UIDocumentSaveOperation) func saveToURL(_ url: NSURL, forSaveOperation saveOperation: UIDocumentSaveOperation, completionHandler completionHandler: ((Bool) -> Void)?) func autosaveWithCompletionHandler(_ completionHandler: ((Bool) -> Void)?) func savingFileType() -> String? func fileNameExtensionForType(_ typeName: String?, saveOperation saveOperation: UIDocumentSaveOperation) -> String func writeContents(_ contents: AnyObject, andAttributes additionalFileAttributes: [NSObject : AnyObject]?, safelyToURL url: NSURL, forSaveOperation saveOperation: UIDocumentSaveOperation) throws func writeContents(_ contents: AnyObject, toURL url: NSURL, forSaveOperation saveOperation: UIDocumentSaveOperation, originalContentsURL originalContentsURL: NSURL?) throws func fileAttributesToWriteToURL(_ url: NSURL, forSaveOperation saveOperation: UIDocumentSaveOperation) throws -> [NSObject : AnyObject] func readFromURL(_ url: NSURL) throws func performAsynchronousFileAccessUsingBlock(_ block: () -> Void) func handleError(_ error: NSError, userInteractionPermitted userInteractionPermitted: Bool) func finishedHandlingError(_ error: NSError, recovered recovered: Bool) func userInteractionNoLongerPermittedForError(_ error: NSError) func revertToContentsOfURL(_ url: NSURL, completionHandler completionHandler: ((Bool) -> Void)?) } extension UIDocument { var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) } | AnyObject, NSFilePresenter, NSObjectProtocol, NSProgressReporting |
Declaration | |
---|---|
From | func contentsForType(_ typeName: String, error outError: NSErrorPointer) -> AnyObject? |
To | func contentsForType(_ typeName: String) throws -> AnyObject |
Declaration | |
---|---|
From | func fileAttributesToWriteToURL(_ url: NSURL, forSaveOperation saveOperation: UIDocumentSaveOperation, error outError: NSErrorPointer) -> [NSObject : AnyObject]? |
To | func fileAttributesToWriteToURL(_ url: NSURL, forSaveOperation saveOperation: UIDocumentSaveOperation) throws -> [NSObject : AnyObject] |
Modified UIDocument.fileNameExtensionForType(_: String?, saveOperation: UIDocumentSaveOperation) -> String
Declaration | |
---|---|
From | func fileNameExtensionForType(_ typeName: String, saveOperation saveOperation: UIDocumentSaveOperation) -> String |
To | func fileNameExtensionForType(_ typeName: String?, saveOperation saveOperation: UIDocumentSaveOperation) -> String |
Modified UIDocument.fileType
Declaration | |
---|---|
From | var fileType: String { get } |
To | var fileType: String? { get } |
Declaration | |
---|---|
From | func loadFromContents(_ contents: AnyObject, ofType typeName: String, error outError: NSErrorPointer) -> Bool |
To | func loadFromContents(_ contents: AnyObject, ofType typeName: String?) throws |
Declaration | |
---|---|
From | func performAsynchronousFileAccessUsingBlock(_ block: (() -> Void)!) |
To | func performAsynchronousFileAccessUsingBlock(_ block: () -> Void) |
Declaration | |
---|---|
From | func readFromURL(_ url: NSURL, error outError: NSErrorPointer) -> Bool |
To | func readFromURL(_ url: NSURL) throws |
Declaration | |
---|---|
From | func savingFileType() -> String! |
To | func savingFileType() -> String? |
Modified UIDocument.undoManager
Declaration | |
---|---|
From | var undoManager: NSUndoManager |
To | var undoManager: NSUndoManager! |
Declaration | |
---|---|
From | func writeContents(_ contents: AnyObject, andAttributes additionalFileAttributes: [NSObject : AnyObject]?, safelyToURL url: NSURL, forSaveOperation saveOperation: UIDocumentSaveOperation, error outError: NSErrorPointer) -> Bool |
To | func writeContents(_ contents: AnyObject, andAttributes additionalFileAttributes: [NSObject : AnyObject]?, safelyToURL url: NSURL, forSaveOperation saveOperation: UIDocumentSaveOperation) throws |
Declaration | |
---|---|
From | func writeContents(_ contents: AnyObject, toURL url: NSURL, forSaveOperation saveOperation: UIDocumentSaveOperation, originalContentsURL originalContentsURL: NSURL?, error outError: NSErrorPointer) -> Bool |
To | func writeContents(_ contents: AnyObject, toURL url: NSURL, forSaveOperation saveOperation: UIDocumentSaveOperation, originalContentsURL originalContentsURL: NSURL?) throws |
Modified UIDocumentChangeKind [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIDocumentInteractionController
Declaration | |
---|---|
From | class UIDocumentInteractionController : NSObject, UIActionSheetDelegate, NSObjectProtocol { init(URL url: NSURL) -> UIDocumentInteractionController class func interactionControllerWithURL(_ url: NSURL) -> UIDocumentInteractionController unowned(unsafe) var delegate: UIDocumentInteractionControllerDelegate? var URL: NSURL var UTI: String? var name: String! var icons: [AnyObject] { get } var annotation: AnyObject? func presentOptionsMenuFromRect(_ rect: CGRect, inView view: UIView, animated animated: Bool) -> Bool func presentOptionsMenuFromBarButtonItem(_ item: UIBarButtonItem, animated animated: Bool) -> Bool func presentPreviewAnimated(_ animated: Bool) -> Bool func presentOpenInMenuFromRect(_ rect: CGRect, inView view: UIView, animated animated: Bool) -> Bool func presentOpenInMenuFromBarButtonItem(_ item: UIBarButtonItem, animated animated: Bool) -> Bool func dismissPreviewAnimated(_ animated: Bool) func dismissMenuAnimated(_ animated: Bool) var gestureRecognizers: [AnyObject] { get } } |
To | class UIDocumentInteractionController : NSObject, UIActionSheetDelegate { init(URL url: NSURL) class func interactionControllerWithURL(_ url: NSURL) -> UIDocumentInteractionController weak var delegate: UIDocumentInteractionControllerDelegate? var URL: NSURL? var UTI: String? var name: String? var icons: [UIImage] { get } var annotation: AnyObject? func presentOptionsMenuFromRect(_ rect: CGRect, inView view: UIView, animated animated: Bool) -> Bool func presentOptionsMenuFromBarButtonItem(_ item: UIBarButtonItem, animated animated: Bool) -> Bool func presentPreviewAnimated(_ animated: Bool) -> Bool func presentOpenInMenuFromRect(_ rect: CGRect, inView view: UIView, animated animated: Bool) -> Bool func presentOpenInMenuFromBarButtonItem(_ item: UIBarButtonItem, animated animated: Bool) -> Bool func dismissPreviewAnimated(_ animated: Bool) func dismissMenuAnimated(_ animated: Bool) var gestureRecognizers: [UIGestureRecognizer] { get } } |
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UIDocumentInteractionControllerDelegate? |
To | weak var delegate: UIDocumentInteractionControllerDelegate? |
Declaration | |
---|---|
From | var gestureRecognizers: [AnyObject] { get } |
To | var gestureRecognizers: [UIGestureRecognizer] { get } |
Declaration | |
---|---|
From | var icons: [AnyObject] { get } |
To | var icons: [UIImage] { get } |
Declaration | |
---|---|
From | init(URL url: NSURL) -> UIDocumentInteractionController |
To | init(URL url: NSURL) |
Modified UIDocumentInteractionController.name
Declaration | |
---|---|
From | var name: String! |
To | var name: String? |
Modified UIDocumentInteractionController.URL
Declaration | |
---|---|
From | var URL: NSURL |
To | var URL: NSURL? |
Declaration | |
---|---|
From | protocol UIDocumentInteractionControllerDelegate : NSObjectProtocol { optional func documentInteractionControllerViewControllerForPreview(_ controller: UIDocumentInteractionController) -> UIViewController optional func documentInteractionControllerRectForPreview(_ controller: UIDocumentInteractionController) -> CGRect optional func documentInteractionControllerViewForPreview(_ controller: UIDocumentInteractionController) -> UIView? optional func documentInteractionControllerWillBeginPreview(_ controller: UIDocumentInteractionController) optional func documentInteractionControllerDidEndPreview(_ controller: UIDocumentInteractionController) optional func documentInteractionControllerWillPresentOptionsMenu(_ controller: UIDocumentInteractionController) optional func documentInteractionControllerDidDismissOptionsMenu(_ controller: UIDocumentInteractionController) optional func documentInteractionControllerWillPresentOpenInMenu(_ controller: UIDocumentInteractionController) optional func documentInteractionControllerDidDismissOpenInMenu(_ controller: UIDocumentInteractionController) optional func documentInteractionController(_ controller: UIDocumentInteractionController, willBeginSendingToApplication application: String) optional func documentInteractionController(_ controller: UIDocumentInteractionController, didEndSendingToApplication application: String) optional func documentInteractionController(_ controller: UIDocumentInteractionController, canPerformAction action: Selector) -> Bool optional func documentInteractionController(_ controller: UIDocumentInteractionController, performAction action: Selector) -> Bool } |
To | protocol UIDocumentInteractionControllerDelegate : NSObjectProtocol { optional func documentInteractionControllerViewControllerForPreview(_ controller: UIDocumentInteractionController) -> UIViewController optional func documentInteractionControllerRectForPreview(_ controller: UIDocumentInteractionController) -> CGRect optional func documentInteractionControllerViewForPreview(_ controller: UIDocumentInteractionController) -> UIView? optional func documentInteractionControllerWillBeginPreview(_ controller: UIDocumentInteractionController) optional func documentInteractionControllerDidEndPreview(_ controller: UIDocumentInteractionController) optional func documentInteractionControllerWillPresentOptionsMenu(_ controller: UIDocumentInteractionController) optional func documentInteractionControllerDidDismissOptionsMenu(_ controller: UIDocumentInteractionController) optional func documentInteractionControllerWillPresentOpenInMenu(_ controller: UIDocumentInteractionController) optional func documentInteractionControllerDidDismissOpenInMenu(_ controller: UIDocumentInteractionController) optional func documentInteractionController(_ controller: UIDocumentInteractionController, willBeginSendingToApplication application: String?) optional func documentInteractionController(_ controller: UIDocumentInteractionController, didEndSendingToApplication application: String?) optional func documentInteractionController(_ controller: UIDocumentInteractionController, canPerformAction action: Selector) -> Bool optional func documentInteractionController(_ controller: UIDocumentInteractionController, performAction action: Selector) -> Bool } |
Declaration | Introduction | |
---|---|---|
From | optional func documentInteractionController(_ controller: UIDocumentInteractionController, didEndSendingToApplication application: String) | iOS 8.0 |
To | optional func documentInteractionController(_ controller: UIDocumentInteractionController, didEndSendingToApplication application: String?) | iOS 3.2 |
Declaration | Introduction | |
---|---|---|
From | optional func documentInteractionController(_ controller: UIDocumentInteractionController, willBeginSendingToApplication application: String) | iOS 8.0 |
To | optional func documentInteractionController(_ controller: UIDocumentInteractionController, willBeginSendingToApplication application: String?) | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Modified UIDocumentMenuOrder [enum]
Raw Value Type | |
---|---|
From | -- |
To | UInt |
Modified UIDocumentMenuViewController
Declaration | |
---|---|
From | class UIDocumentMenuViewController : UIViewController { init!(documentTypes allowedUTIs: [AnyObject], inMode mode: UIDocumentPickerMode) init!(URL url: NSURL, inMode mode: UIDocumentPickerMode) func addOptionWithTitle(_ title: String?, image image: UIImage?, order order: UIDocumentMenuOrder, handler handler: (() -> Void)!) weak var delegate: UIDocumentMenuDelegate? } |
To | class UIDocumentMenuViewController : UIViewController { init(documentTypes allowedUTIs: [String], inMode mode: UIDocumentPickerMode) init(URL url: NSURL, inMode mode: UIDocumentPickerMode) init?(coder aDecoder: NSCoder) func addOptionWithTitle(_ title: String, image image: UIImage?, order order: UIDocumentMenuOrder, handler handler: () -> Void) weak var delegate: UIDocumentMenuDelegate? } |
Declaration | |
---|---|
From | func addOptionWithTitle(_ title: String?, image image: UIImage?, order order: UIDocumentMenuOrder, handler handler: (() -> Void)!) |
To | func addOptionWithTitle(_ title: String, image image: UIImage?, order order: UIDocumentMenuOrder, handler handler: () -> Void) |
Declaration | |
---|---|
From | init!(documentTypes allowedUTIs: [AnyObject], inMode mode: UIDocumentPickerMode) |
To | init(documentTypes allowedUTIs: [String], inMode mode: UIDocumentPickerMode) |
Declaration | |
---|---|
From | init!(URL url: NSURL, inMode mode: UIDocumentPickerMode) |
To | init(URL url: NSURL, inMode mode: UIDocumentPickerMode) |
Declaration | |
---|---|
From | class UIDocumentPickerExtensionViewController : UIViewController { func dismissGrantingAccessToURL(_ url: NSURL!) func prepareForPresentationInMode(_ mode: UIDocumentPickerMode) var documentPickerMode: UIDocumentPickerMode { get } @NSCopying var originalURL: NSURL? { get } var validTypes: [AnyObject]? { get } var providerIdentifier: String { get } @NSCopying var documentStorageURL: NSURL! { get } } |
To | class UIDocumentPickerExtensionViewController : UIViewController { func dismissGrantingAccessToURL(_ url: NSURL?) func prepareForPresentationInMode(_ mode: UIDocumentPickerMode) var documentPickerMode: UIDocumentPickerMode { get } @NSCopying var originalURL: NSURL? { get } var validTypes: [String]? { get } var providerIdentifier: String { get } @NSCopying var documentStorageURL: NSURL? { get } } |
Declaration | |
---|---|
From | func dismissGrantingAccessToURL(_ url: NSURL!) |
To | func dismissGrantingAccessToURL(_ url: NSURL?) |
Declaration | |
---|---|
From | @NSCopying var documentStorageURL: NSURL! { get } |
To | @NSCopying var documentStorageURL: NSURL? { get } |
Declaration | |
---|---|
From | var validTypes: [AnyObject]? { get } |
To | var validTypes: [String]? { get } |
Modified UIDocumentPickerMode [enum]
Raw Value Type | |
---|---|
From | -- |
To | UInt |
Modified UIDocumentPickerViewController
Declaration | |
---|---|
From | class UIDocumentPickerViewController : UIViewController { init(documentTypes allowedUTIs: [AnyObject], inMode mode: UIDocumentPickerMode) init(URL url: NSURL, inMode mode: UIDocumentPickerMode) weak var delegate: UIDocumentPickerDelegate? var documentPickerMode: UIDocumentPickerMode { get } } |
To | class UIDocumentPickerViewController : UIViewController { init(documentTypes allowedUTIs: [String], inMode mode: UIDocumentPickerMode) init?(coder aDecoder: NSCoder) init(URL url: NSURL, inMode mode: UIDocumentPickerMode) weak var delegate: UIDocumentPickerDelegate? var documentPickerMode: UIDocumentPickerMode { get } } |
Declaration | |
---|---|
From | init(documentTypes allowedUTIs: [AnyObject], inMode mode: UIDocumentPickerMode) |
To | init(documentTypes allowedUTIs: [String], inMode mode: UIDocumentPickerMode) |
Modified UIDocumentSaveOperation [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIDocumentState [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIDocumentState : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var Normal: UIDocumentState { get } static var Closed: UIDocumentState { get } static var InConflict: UIDocumentState { get } static var SavingError: UIDocumentState { get } static var EditingDisabled: UIDocumentState { get } } | RawOptionSetType |
To | struct UIDocumentState : OptionSetType { init(rawValue rawValue: UInt) static var Normal: UIDocumentState { get } static var Closed: UIDocumentState { get } static var InConflict: UIDocumentState { get } static var SavingError: UIDocumentState { get } static var EditingDisabled: UIDocumentState { get } static var ProgressAvailable: UIDocumentState { get } } | OptionSetType |
Modified UIDynamicAnimator
Declaration | |
---|---|
From | class UIDynamicAnimator : NSObject { init(referenceView view: UIView) func addBehavior(_ behavior: UIDynamicBehavior!) func removeBehavior(_ behavior: UIDynamicBehavior!) func removeAllBehaviors() var referenceView: UIView? { get } var behaviors: [AnyObject] { get } func itemsInRect(_ rect: CGRect) -> [AnyObject] func updateItemUsingCurrentState(_ item: UIDynamicItem) var running: Bool { get } func elapsedTime() -> NSTimeInterval unowned(unsafe) var delegate: UIDynamicAnimatorDelegate? } extension UIDynamicAnimator { init(collectionViewLayout layout: UICollectionViewLayout) func layoutAttributesForCellAtIndexPath(_ indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes! func layoutAttributesForSupplementaryViewOfKind(_ kind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes! func layoutAttributesForDecorationViewOfKind(_ decorationViewKind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes! } |
To | class UIDynamicAnimator : NSObject { init(referenceView view: UIView) func addBehavior(_ behavior: UIDynamicBehavior) func removeBehavior(_ behavior: UIDynamicBehavior) func removeAllBehaviors() var referenceView: UIView? { get } var behaviors: [UIDynamicBehavior] { get } func itemsInRect(_ rect: CGRect) -> [UIDynamicItem] func updateItemUsingCurrentState(_ item: UIDynamicItem) var running: Bool { get } func elapsedTime() -> NSTimeInterval weak var delegate: UIDynamicAnimatorDelegate? } extension UIDynamicAnimator { convenience init(collectionViewLayout layout: UICollectionViewLayout) func layoutAttributesForCellAtIndexPath(_ indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func layoutAttributesForSupplementaryViewOfKind(_ kind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? func layoutAttributesForDecorationViewOfKind(_ decorationViewKind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? } |
Declaration | |
---|---|
From | func addBehavior(_ behavior: UIDynamicBehavior!) |
To | func addBehavior(_ behavior: UIDynamicBehavior) |
Modified UIDynamicAnimator.behaviors
Declaration | |
---|---|
From | var behaviors: [AnyObject] { get } |
To | var behaviors: [UIDynamicBehavior] { get } |
Modified UIDynamicAnimator.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UIDynamicAnimatorDelegate? |
To | weak var delegate: UIDynamicAnimatorDelegate? |
Declaration | |
---|---|
From | init(collectionViewLayout layout: UICollectionViewLayout) |
To | convenience init(collectionViewLayout layout: UICollectionViewLayout) |
Declaration | |
---|---|
From | func itemsInRect(_ rect: CGRect) -> [AnyObject] |
To | func itemsInRect(_ rect: CGRect) -> [UIDynamicItem] |
Declaration | |
---|---|
From | func layoutAttributesForCellAtIndexPath(_ indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes! |
To | func layoutAttributesForCellAtIndexPath(_ indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? |
Declaration | |
---|---|
From | func layoutAttributesForDecorationViewOfKind(_ decorationViewKind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes! |
To | func layoutAttributesForDecorationViewOfKind(_ decorationViewKind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? |
Declaration | |
---|---|
From | func layoutAttributesForSupplementaryViewOfKind(_ kind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes! |
To | func layoutAttributesForSupplementaryViewOfKind(_ kind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes? |
Declaration | |
---|---|
From | func removeBehavior(_ behavior: UIDynamicBehavior!) |
To | func removeBehavior(_ behavior: UIDynamicBehavior) |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Modified UIDynamicBehavior
Declaration | |
---|---|
From | class UIDynamicBehavior : NSObject { func addChildBehavior(_ behavior: UIDynamicBehavior!) func removeChildBehavior(_ behavior: UIDynamicBehavior) var childBehaviors: [AnyObject] { get } var action: (() -> Void)! func willMoveToAnimator(_ dynamicAnimator: UIDynamicAnimator?) var dynamicAnimator: UIDynamicAnimator? { get } } |
To | class UIDynamicBehavior : NSObject { func addChildBehavior(_ behavior: UIDynamicBehavior) func removeChildBehavior(_ behavior: UIDynamicBehavior) var childBehaviors: [UIDynamicBehavior] { get } var action: (() -> Void)? func willMoveToAnimator(_ dynamicAnimator: UIDynamicAnimator?) var dynamicAnimator: UIDynamicAnimator? { get } } |
Modified UIDynamicBehavior.action
Declaration | |
---|---|
From | var action: (() -> Void)! |
To | var action: (() -> Void)? |
Declaration | |
---|---|
From | func addChildBehavior(_ behavior: UIDynamicBehavior!) |
To | func addChildBehavior(_ behavior: UIDynamicBehavior) |
Modified UIDynamicBehavior.childBehaviors
Declaration | |
---|---|
From | var childBehaviors: [AnyObject] { get } |
To | var childBehaviors: [UIDynamicBehavior] { get } |
Modified UIDynamicItem
Declaration | |
---|---|
From | protocol UIDynamicItem : NSObjectProtocol { var center: CGPoint { get set } var bounds: CGRect { get } var transform: CGAffineTransform { get set } } |
To | protocol UIDynamicItem : NSObjectProtocol { var center: CGPoint { get set } var bounds: CGRect { get } var transform: CGAffineTransform { get set } optional var collisionBoundsType: UIDynamicItemCollisionBoundsType { get } optional var collisionBoundingPath: UIBezierPath { get } } |
Modified UIDynamicItemBehavior
Declaration | |
---|---|
From | class UIDynamicItemBehavior : UIDynamicBehavior { init(items items: [AnyObject]) func addItem(_ item: UIDynamicItem) func removeItem(_ item: UIDynamicItem) var items: [AnyObject] { get } var elasticity: CGFloat var friction: CGFloat var density: CGFloat var resistance: CGFloat var angularResistance: CGFloat var allowsRotation: Bool func addLinearVelocity(_ velocity: CGPoint, forItem item: UIDynamicItem) func linearVelocityForItem(_ item: UIDynamicItem) -> CGPoint func addAngularVelocity(_ velocity: CGFloat, forItem item: UIDynamicItem) func angularVelocityForItem(_ item: UIDynamicItem) -> CGFloat } |
To | class UIDynamicItemBehavior : UIDynamicBehavior { init(items items: [UIDynamicItem]) func addItem(_ item: UIDynamicItem) func removeItem(_ item: UIDynamicItem) var items: [UIDynamicItem] { get } var elasticity: CGFloat var friction: CGFloat var density: CGFloat var resistance: CGFloat var angularResistance: CGFloat var charge: CGFloat var anchored: Bool var allowsRotation: Bool func addLinearVelocity(_ velocity: CGPoint, forItem item: UIDynamicItem) func linearVelocityForItem(_ item: UIDynamicItem) -> CGPoint func addAngularVelocity(_ velocity: CGFloat, forItem item: UIDynamicItem) func angularVelocityForItem(_ item: UIDynamicItem) -> CGFloat } |
Declaration | |
---|---|
From | init(items items: [AnyObject]) |
To | init(items items: [UIDynamicItem]) |
Modified UIDynamicItemBehavior.items
Declaration | |
---|---|
From | var items: [AnyObject] { get } |
To | var items: [UIDynamicItem] { get } |
Modified UIEdgeInsets [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIEdgeInsets { var top: CGFloat var left: CGFloat var bottom: CGFloat var right: CGFloat init() init(top top: CGFloat, left left: CGFloat, bottom bottom: CGFloat, right right: CGFloat) } | -- |
To | struct UIEdgeInsets { var top: CGFloat var left: CGFloat var bottom: CGFloat var right: CGFloat init() init(top top: CGFloat, left left: CGFloat, bottom bottom: CGFloat, right right: CGFloat) } extension UIEdgeInsets : Equatable { } extension UIEdgeInsets : Equatable { } | Equatable |
Modified UIEvent
Declaration | |
---|---|
From | class UIEvent : NSObject { var type: UIEventType { get } var subtype: UIEventSubtype { get } var timestamp: NSTimeInterval { get } func allTouches() -> Set<NSObject>? func touchesForWindow(_ window: UIWindow) -> Set<NSObject>? func touchesForView(_ view: UIView) -> Set<NSObject>? func touchesForGestureRecognizer(_ gesture: UIGestureRecognizer) -> Set<NSObject>? } |
To | class UIEvent : NSObject { var type: UIEventType { get } var subtype: UIEventSubtype { get } var timestamp: NSTimeInterval { get } func allTouches() -> Set<UITouch>? func touchesForWindow(_ window: UIWindow) -> Set<UITouch>? func touchesForView(_ view: UIView) -> Set<UITouch>? func touchesForGestureRecognizer(_ gesture: UIGestureRecognizer) -> Set<UITouch>? func coalescedTouchesForTouch(_ touch: UITouch) -> [UITouch]? func predictedTouchesForTouch(_ touch: UITouch) -> [UITouch]? } |
Declaration | |
---|---|
From | func allTouches() -> Set<NSObject>? |
To | func allTouches() -> Set<UITouch>? |
Declaration | |
---|---|
From | func touchesForGestureRecognizer(_ gesture: UIGestureRecognizer) -> Set<NSObject>? |
To | func touchesForGestureRecognizer(_ gesture: UIGestureRecognizer) -> Set<UITouch>? |
Declaration | |
---|---|
From | func touchesForView(_ view: UIView) -> Set<NSObject>? |
To | func touchesForView(_ view: UIView) -> Set<UITouch>? |
Declaration | |
---|---|
From | func touchesForWindow(_ window: UIWindow) -> Set<NSObject>? |
To | func touchesForWindow(_ window: UIWindow) -> Set<UITouch>? |
Modified UIEventSubtype [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIEventType [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIFont
Declaration | |
---|---|
From | class UIFont : NSObject, NSCopying { class func preferredFontForTextStyle(_ style: String) -> UIFont init?(name fontName: String, size fontSize: CGFloat) -> UIFont class func fontWithName(_ fontName: String, size fontSize: CGFloat) -> UIFont? class func familyNames() -> [AnyObject] class func fontNamesForFamilyName(_ familyName: String) -> [AnyObject] class func systemFontOfSize(_ fontSize: CGFloat) -> UIFont class func boldSystemFontOfSize(_ fontSize: CGFloat) -> UIFont class func italicSystemFontOfSize(_ fontSize: CGFloat) -> UIFont class func systemFontOfSize(_ fontSize: CGFloat, weight weight: CGFloat) -> UIFont! var familyName: String { get } var fontName: String { get } var pointSize: CGFloat { get } var ascender: CGFloat { get } var descender: CGFloat { get } var capHeight: CGFloat { get } var xHeight: CGFloat { get } var lineHeight: CGFloat { get } var leading: CGFloat { get } func fontWithSize(_ fontSize: CGFloat) -> UIFont init(descriptor descriptor: UIFontDescriptor, size pointSize: CGFloat) -> UIFont class func fontWithDescriptor(_ descriptor: UIFontDescriptor, size pointSize: CGFloat) -> UIFont func fontDescriptor() -> UIFontDescriptor } extension UIFont { class func labelFontSize() -> CGFloat class func buttonFontSize() -> CGFloat class func smallSystemFontSize() -> CGFloat class func systemFontSize() -> CGFloat } |
To | class UIFont : NSObject, NSCopying { class func preferredFontForTextStyle(_ style: String) -> UIFont init?(name fontName: String, size fontSize: CGFloat) class func fontWithName(_ fontName: String, size fontSize: CGFloat) -> UIFont? class func familyNames() -> [String] class func fontNamesForFamilyName(_ familyName: String) -> [String] class func systemFontOfSize(_ fontSize: CGFloat) -> UIFont class func boldSystemFontOfSize(_ fontSize: CGFloat) -> UIFont class func italicSystemFontOfSize(_ fontSize: CGFloat) -> UIFont class func systemFontOfSize(_ fontSize: CGFloat, weight weight: CGFloat) -> UIFont class func monospacedDigitSystemFontOfSize(_ fontSize: CGFloat, weight weight: CGFloat) -> UIFont var familyName: String { get } var fontName: String { get } var pointSize: CGFloat { get } var ascender: CGFloat { get } var descender: CGFloat { get } var capHeight: CGFloat { get } var xHeight: CGFloat { get } var lineHeight: CGFloat { get } var leading: CGFloat { get } func fontWithSize(_ fontSize: CGFloat) -> UIFont init(descriptor descriptor: UIFontDescriptor, size pointSize: CGFloat) class func fontWithDescriptor(_ descriptor: UIFontDescriptor, size pointSize: CGFloat) -> UIFont func fontDescriptor() -> UIFontDescriptor } extension UIFont { class func labelFontSize() -> CGFloat class func buttonFontSize() -> CGFloat class func smallSystemFontSize() -> CGFloat class func systemFontSize() -> CGFloat } |
Declaration | |
---|---|
From | class func familyNames() -> [AnyObject] |
To | class func familyNames() -> [String] |
Declaration | |
---|---|
From | class func fontNamesForFamilyName(_ familyName: String) -> [AnyObject] |
To | class func fontNamesForFamilyName(_ familyName: String) -> [String] |
Declaration | |
---|---|
From | init(descriptor descriptor: UIFontDescriptor, size pointSize: CGFloat) -> UIFont |
To | init(descriptor descriptor: UIFontDescriptor, size pointSize: CGFloat) |
Declaration | |
---|---|
From | init?(name fontName: String, size fontSize: CGFloat) -> UIFont |
To | init?(name fontName: String, size fontSize: CGFloat) |
Declaration | |
---|---|
From | class func systemFontOfSize(_ fontSize: CGFloat, weight weight: CGFloat) -> UIFont! |
To | class func systemFontOfSize(_ fontSize: CGFloat, weight weight: CGFloat) -> UIFont |
Modified UIFontDescriptor
Declaration | Protocols | |
---|---|---|
From | class UIFontDescriptor : NSObject, NSCopying, NSCoding { var postscriptName: String { get } var pointSize: CGFloat { get } var matrix: CGAffineTransform { get } var symbolicTraits: UIFontDescriptorSymbolicTraits { get } func objectForKey(_ anAttribute: String) -> AnyObject! func fontAttributes() -> [NSObject : AnyObject] func matchingFontDescriptorsWithMandatoryKeys(_ mandatoryKeys: Set<NSObject>?) -> [AnyObject] init!(fontAttributes attributes: [NSObject : AnyObject]!) -> UIFontDescriptor class func fontDescriptorWithFontAttributes(_ attributes: [NSObject : AnyObject]!) -> UIFontDescriptor! init(name fontName: String, size size: CGFloat) -> UIFontDescriptor class func fontDescriptorWithName(_ fontName: String, size size: CGFloat) -> UIFontDescriptor init(name fontName: String, matrix matrix: CGAffineTransform) -> UIFontDescriptor class func fontDescriptorWithName(_ fontName: String, matrix matrix: CGAffineTransform) -> UIFontDescriptor class func preferredFontDescriptorWithTextStyle(_ style: String) -> UIFontDescriptor init!(fontAttributes attributes: [NSObject : AnyObject]?) func fontDescriptorByAddingAttributes(_ attributes: [NSObject : AnyObject]) -> UIFontDescriptor func fontDescriptorWithSymbolicTraits(_ symbolicTraits: UIFontDescriptorSymbolicTraits) -> UIFontDescriptor? func fontDescriptorWithSize(_ newPointSize: CGFloat) -> UIFontDescriptor func fontDescriptorWithMatrix(_ matrix: CGAffineTransform) -> UIFontDescriptor func fontDescriptorWithFace(_ newFace: String) -> UIFontDescriptor func fontDescriptorWithFamily(_ newFamily: String) -> UIFontDescriptor } | AnyObject, NSCoding, NSCopying |
To | class UIFontDescriptor : NSObject, NSCopying, NSSecureCoding, NSCoding { convenience init() init?(coder aDecoder: NSCoder) var postscriptName: String { get } var pointSize: CGFloat { get } var matrix: CGAffineTransform { get } var symbolicTraits: UIFontDescriptorSymbolicTraits { get } func objectForKey(_ anAttribute: String) -> AnyObject? func fontAttributes() -> [String : AnyObject] func matchingFontDescriptorsWithMandatoryKeys(_ mandatoryKeys: Set<String>?) -> [UIFontDescriptor] init(fontAttributes attributes: [String : AnyObject]) class func fontDescriptorWithFontAttributes(_ attributes: [String : AnyObject]) -> UIFontDescriptor init(name fontName: String, size size: CGFloat) class func fontDescriptorWithName(_ fontName: String, size size: CGFloat) -> UIFontDescriptor init(name fontName: String, matrix matrix: CGAffineTransform) class func fontDescriptorWithName(_ fontName: String, matrix matrix: CGAffineTransform) -> UIFontDescriptor class func preferredFontDescriptorWithTextStyle(_ style: String) -> UIFontDescriptor init(fontAttributes attributes: [String : AnyObject]) func fontDescriptorByAddingAttributes(_ attributes: [String : AnyObject]) -> UIFontDescriptor func fontDescriptorWithSymbolicTraits(_ symbolicTraits: UIFontDescriptorSymbolicTraits) -> UIFontDescriptor func fontDescriptorWithSize(_ newPointSize: CGFloat) -> UIFontDescriptor func fontDescriptorWithMatrix(_ matrix: CGAffineTransform) -> UIFontDescriptor func fontDescriptorWithFace(_ newFace: String) -> UIFontDescriptor func fontDescriptorWithFamily(_ newFamily: String) -> UIFontDescriptor } | AnyObject, NSCoding, NSCopying, NSSecureCoding |
Declaration | |
---|---|
From | func fontAttributes() -> [NSObject : AnyObject] |
To | func fontAttributes() -> [String : AnyObject] |
Modified UIFontDescriptor.fontDescriptorByAddingAttributes(_: [String : AnyObject]) -> UIFontDescriptor
Declaration | |
---|---|
From | func fontDescriptorByAddingAttributes(_ attributes: [NSObject : AnyObject]) -> UIFontDescriptor |
To | func fontDescriptorByAddingAttributes(_ attributes: [String : AnyObject]) -> UIFontDescriptor |
Declaration | |
---|---|
From | func fontDescriptorWithSymbolicTraits(_ symbolicTraits: UIFontDescriptorSymbolicTraits) -> UIFontDescriptor? |
To | func fontDescriptorWithSymbolicTraits(_ symbolicTraits: UIFontDescriptorSymbolicTraits) -> UIFontDescriptor |
Declaration | |
---|---|
From | init!(fontAttributes attributes: [NSObject : AnyObject]?) |
To | init(fontAttributes attributes: [String : AnyObject]) |
Declaration | |
---|---|
From | init(name fontName: String, matrix matrix: CGAffineTransform) -> UIFontDescriptor |
To | init(name fontName: String, matrix matrix: CGAffineTransform) |
Declaration | |
---|---|
From | init(name fontName: String, size size: CGFloat) -> UIFontDescriptor |
To | init(name fontName: String, size size: CGFloat) |
Modified UIFontDescriptor.matchingFontDescriptorsWithMandatoryKeys(_: Set<String>?) -> [UIFontDescriptor]
Declaration | |
---|---|
From | func matchingFontDescriptorsWithMandatoryKeys(_ mandatoryKeys: Set<NSObject>?) -> [AnyObject] |
To | func matchingFontDescriptorsWithMandatoryKeys(_ mandatoryKeys: Set<String>?) -> [UIFontDescriptor] |
Declaration | |
---|---|
From | func objectForKey(_ anAttribute: String) -> AnyObject! |
To | func objectForKey(_ anAttribute: String) -> AnyObject? |
Declaration | Protocols | |
---|---|---|
From | struct UIFontDescriptorSymbolicTraits : RawOptionSetType { init(_ rawValue: UInt32) init(rawValue rawValue: UInt32) static var TraitItalic: UIFontDescriptorSymbolicTraits { get } static var TraitBold: UIFontDescriptorSymbolicTraits { get } static var TraitExpanded: UIFontDescriptorSymbolicTraits { get } static var TraitCondensed: UIFontDescriptorSymbolicTraits { get } static var TraitMonoSpace: UIFontDescriptorSymbolicTraits { get } static var TraitVertical: UIFontDescriptorSymbolicTraits { get } static var TraitUIOptimized: UIFontDescriptorSymbolicTraits { get } static var TraitTightLeading: UIFontDescriptorSymbolicTraits { get } static var TraitLooseLeading: UIFontDescriptorSymbolicTraits { get } static var ClassMask: UIFontDescriptorSymbolicTraits { get } static var ClassUnknown: UIFontDescriptorSymbolicTraits { get } static var ClassOldStyleSerifs: UIFontDescriptorSymbolicTraits { get } static var ClassTransitionalSerifs: UIFontDescriptorSymbolicTraits { get } static var ClassModernSerifs: UIFontDescriptorSymbolicTraits { get } static var ClassClarendonSerifs: UIFontDescriptorSymbolicTraits { get } static var ClassSlabSerifs: UIFontDescriptorSymbolicTraits { get } static var ClassFreeformSerifs: UIFontDescriptorSymbolicTraits { get } static var ClassSansSerif: UIFontDescriptorSymbolicTraits { get } static var ClassOrnamentals: UIFontDescriptorSymbolicTraits { get } static var ClassScripts: UIFontDescriptorSymbolicTraits { get } static var ClassSymbolic: UIFontDescriptorSymbolicTraits { get } } | RawOptionSetType |
To | struct UIFontDescriptorSymbolicTraits : OptionSetType { init(rawValue rawValue: UInt32) static var TraitItalic: UIFontDescriptorSymbolicTraits { get } static var TraitBold: UIFontDescriptorSymbolicTraits { get } static var TraitExpanded: UIFontDescriptorSymbolicTraits { get } static var TraitCondensed: UIFontDescriptorSymbolicTraits { get } static var TraitMonoSpace: UIFontDescriptorSymbolicTraits { get } static var TraitVertical: UIFontDescriptorSymbolicTraits { get } static var TraitUIOptimized: UIFontDescriptorSymbolicTraits { get } static var TraitTightLeading: UIFontDescriptorSymbolicTraits { get } static var TraitLooseLeading: UIFontDescriptorSymbolicTraits { get } static var ClassMask: UIFontDescriptorSymbolicTraits { get } static var ClassUnknown: UIFontDescriptorSymbolicTraits { get } static var ClassOldStyleSerifs: UIFontDescriptorSymbolicTraits { get } static var ClassTransitionalSerifs: UIFontDescriptorSymbolicTraits { get } static var ClassModernSerifs: UIFontDescriptorSymbolicTraits { get } static var ClassClarendonSerifs: UIFontDescriptorSymbolicTraits { get } static var ClassSlabSerifs: UIFontDescriptorSymbolicTraits { get } static var ClassFreeformSerifs: UIFontDescriptorSymbolicTraits { get } static var ClassSansSerif: UIFontDescriptorSymbolicTraits { get } static var ClassOrnamentals: UIFontDescriptorSymbolicTraits { get } static var ClassScripts: UIFontDescriptorSymbolicTraits { get } static var ClassSymbolic: UIFontDescriptorSymbolicTraits { get } } | OptionSetType |
Modified UIGestureRecognizer
Declaration | |
---|---|
From | class UIGestureRecognizer : NSObject { init(target target: AnyObject, action action: Selector) func addTarget(_ target: AnyObject, action action: Selector) func removeTarget(_ target: AnyObject?, action action: Selector) var state: UIGestureRecognizerState { get } unowned(unsafe) var delegate: UIGestureRecognizerDelegate? var enabled: Bool var view: UIView? { get } var cancelsTouchesInView: Bool var delaysTouchesBegan: Bool var delaysTouchesEnded: Bool func requireGestureRecognizerToFail(_ otherGestureRecognizer: UIGestureRecognizer) func locationInView(_ view: UIView?) -> CGPoint func numberOfTouches() -> Int func locationOfTouch(_ touchIndex: Int, inView view: UIView?) -> CGPoint } |
To | class UIGestureRecognizer : NSObject { init(target target: AnyObject?, action action: Selector) func addTarget(_ target: AnyObject, action action: Selector) func removeTarget(_ target: AnyObject?, action action: Selector) var state: UIGestureRecognizerState { get } weak var delegate: UIGestureRecognizerDelegate? var enabled: Bool var view: UIView? { get } var cancelsTouchesInView: Bool var delaysTouchesBegan: Bool var delaysTouchesEnded: Bool func requireGestureRecognizerToFail(_ otherGestureRecognizer: UIGestureRecognizer) func locationInView(_ view: UIView?) -> CGPoint func numberOfTouches() -> Int func locationOfTouch(_ touchIndex: Int, inView view: UIView?) -> CGPoint } |
Modified UIGestureRecognizer.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UIGestureRecognizerDelegate? |
To | weak var delegate: UIGestureRecognizerDelegate? |
Declaration | |
---|---|
From | init(target target: AnyObject, action action: Selector) |
To | init(target target: AnyObject?, action action: Selector) |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Modified UIGestureRecognizerState [enum]
Declaration | Raw Value Type | |
---|---|---|
From | enum UIGestureRecognizerState : Int { case Possible case Began case Changed case Ended case Cancelled case Failed } | -- |
To | enum UIGestureRecognizerState : Int { case Possible case Began case Changed case Ended case Cancelled case Failed static var Recognized: UIGestureRecognizerState { get } } | Int |
Modified UIGravityBehavior
Declaration | |
---|---|
From | class UIGravityBehavior : UIDynamicBehavior { init(items items: [AnyObject]) func addItem(_ item: UIDynamicItem) func removeItem(_ item: UIDynamicItem) var items: [AnyObject] { get } var gravityDirection: CGVector var angle: CGFloat var magnitude: CGFloat func setAngle(_ angle: CGFloat, magnitude magnitude: CGFloat) } |
To | class UIGravityBehavior : UIDynamicBehavior { init(items items: [UIDynamicItem]) func addItem(_ item: UIDynamicItem) func removeItem(_ item: UIDynamicItem) var items: [UIDynamicItem] { get } var gravityDirection: CGVector var angle: CGFloat var magnitude: CGFloat func setAngle(_ angle: CGFloat, magnitude magnitude: CGFloat) } |
Declaration | |
---|---|
From | init(items items: [AnyObject]) |
To | init(items items: [UIDynamicItem]) |
Modified UIGravityBehavior.items
Declaration | |
---|---|
From | var items: [AnyObject] { get } |
To | var items: [UIDynamicItem] { get } |
Modified UIGuidedAccessRestrictionDelegate
Declaration | |
---|---|
From | protocol UIGuidedAccessRestrictionDelegate : NSObjectProtocol { func guidedAccessRestrictionIdentifiers() -> [AnyObject] func guidedAccessRestrictionWithIdentifier(_ restrictionIdentifier: String, didChangeState newRestrictionState: UIGuidedAccessRestrictionState) func textForGuidedAccessRestrictionWithIdentifier(_ restrictionIdentifier: String) -> String! optional func detailTextForGuidedAccessRestrictionWithIdentifier(_ restrictionIdentifier: String) -> String! } |
To | protocol UIGuidedAccessRestrictionDelegate : NSObjectProtocol { func guidedAccessRestrictionIdentifiers() -> [String]? func guidedAccessRestrictionWithIdentifier(_ restrictionIdentifier: String, didChangeState newRestrictionState: UIGuidedAccessRestrictionState) func textForGuidedAccessRestrictionWithIdentifier(_ restrictionIdentifier: String) -> String? optional func detailTextForGuidedAccessRestrictionWithIdentifier(_ restrictionIdentifier: String) -> String? } |
Declaration | |
---|---|
From | optional func detailTextForGuidedAccessRestrictionWithIdentifier(_ restrictionIdentifier: String) -> String! |
To | optional func detailTextForGuidedAccessRestrictionWithIdentifier(_ restrictionIdentifier: String) -> String? |
Declaration | |
---|---|
From | func guidedAccessRestrictionIdentifiers() -> [AnyObject] |
To | func guidedAccessRestrictionIdentifiers() -> [String]? |
Modified UIGuidedAccessRestrictionDelegate.textForGuidedAccessRestrictionWithIdentifier(_: String) -> String?
Declaration | |
---|---|
From | func textForGuidedAccessRestrictionWithIdentifier(_ restrictionIdentifier: String) -> String! |
To | func textForGuidedAccessRestrictionWithIdentifier(_ restrictionIdentifier: String) -> String? |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIImage
Declaration | |
---|---|
From | class UIImage : NSObject, NSSecureCoding, NSCoding { init?(named name: String) -> UIImage class func imageNamed(_ name: String) -> UIImage? init?(named name: String, inBundle bundle: NSBundle?, compatibleWithTraitCollection traitCollection: UITraitCollection?) -> UIImage class func imageNamed(_ name: String, inBundle bundle: NSBundle?, compatibleWithTraitCollection traitCollection: UITraitCollection?) -> UIImage? init?(contentsOfFile path: String) -> UIImage class func imageWithContentsOfFile(_ path: String) -> UIImage? init?(data data: NSData) -> UIImage class func imageWithData(_ data: NSData) -> UIImage? init?(data data: NSData, scale scale: CGFloat) -> UIImage class func imageWithData(_ data: NSData, scale scale: CGFloat) -> UIImage? init!(CGImage cgImage: CGImage!) -> UIImage class func imageWithCGImage(_ cgImage: CGImage!) -> UIImage! init!(CGImage cgImage: CGImage!, scale scale: CGFloat, orientation orientation: UIImageOrientation) -> UIImage class func imageWithCGImage(_ cgImage: CGImage!, scale scale: CGFloat, orientation orientation: UIImageOrientation) -> UIImage! init?(CIImage ciImage: CIImage) -> UIImage class func imageWithCIImage(_ ciImage: CIImage) -> UIImage? init?(CIImage ciImage: CIImage, scale scale: CGFloat, orientation orientation: UIImageOrientation) -> UIImage class func imageWithCIImage(_ ciImage: CIImage, scale scale: CGFloat, orientation orientation: UIImageOrientation) -> UIImage? init?(contentsOfFile path: String) init?(data data: NSData) init?(data data: NSData, scale scale: CGFloat) init?(CGImage cgImage: CGImage!) init?(CGImage cgImage: CGImage!, scale scale: CGFloat, orientation orientation: UIImageOrientation) init?(CIImage ciImage: CIImage) init?(CIImage ciImage: CIImage, scale scale: CGFloat, orientation orientation: UIImageOrientation) var size: CGSize { get } var CGImage: CGImage! { get } var CIImage: CIImage? { get } var imageOrientation: UIImageOrientation { get } var scale: CGFloat { get } class func animatedImageNamed(_ name: String, duration duration: NSTimeInterval) -> UIImage! class func animatedResizableImageNamed(_ name: String, capInsets capInsets: UIEdgeInsets, duration duration: NSTimeInterval) -> UIImage! class func animatedResizableImageNamed(_ name: String, capInsets capInsets: UIEdgeInsets, resizingMode resizingMode: UIImageResizingMode, duration duration: NSTimeInterval) -> UIImage! class func animatedImageWithImages(_ images: [AnyObject], duration duration: NSTimeInterval) -> UIImage! var images: [AnyObject]? { get } var duration: NSTimeInterval { get } func drawAtPoint(_ point: CGPoint) func drawAtPoint(_ point: CGPoint, blendMode blendMode: CGBlendMode, alpha alpha: CGFloat) func drawInRect(_ rect: CGRect) func drawInRect(_ rect: CGRect, blendMode blendMode: CGBlendMode, alpha alpha: CGFloat) func drawAsPatternInRect(_ rect: CGRect) func resizableImageWithCapInsets(_ capInsets: UIEdgeInsets) -> UIImage func resizableImageWithCapInsets(_ capInsets: UIEdgeInsets, resizingMode resizingMode: UIImageResizingMode) -> UIImage var capInsets: UIEdgeInsets { get } var resizingMode: UIImageResizingMode { get } func imageWithAlignmentRectInsets(_ alignmentInsets: UIEdgeInsets) -> UIImage var alignmentRectInsets: UIEdgeInsets { get } func imageWithRenderingMode(_ renderingMode: UIImageRenderingMode) -> UIImage var renderingMode: UIImageRenderingMode { get } var traitCollection: UITraitCollection { get } var imageAsset: UIImageAsset! { get } } extension UIImage : UIAccessibilityIdentification, NSObjectProtocol { } extension UIImage { func stretchableImageWithLeftCapWidth(_ leftCapWidth: Int, topCapHeight topCapHeight: Int) -> UIImage var leftCapWidth: Int { get } var topCapHeight: Int { get } } |
To | class UIImage : NSObject, NSSecureCoding, NSCoding { init?(named name: String) class func imageNamed(_ name: String) -> UIImage? init?(named name: String, inBundle bundle: NSBundle?, compatibleWithTraitCollection traitCollection: UITraitCollection?) class func imageNamed(_ name: String, inBundle bundle: NSBundle?, compatibleWithTraitCollection traitCollection: UITraitCollection?) -> UIImage? init?(contentsOfFile path: String) class func imageWithContentsOfFile(_ path: String) -> UIImage? init?(data data: NSData) class func imageWithData(_ data: NSData) -> UIImage? init?(data data: NSData, scale scale: CGFloat) class func imageWithData(_ data: NSData, scale scale: CGFloat) -> UIImage? init(CGImage cgImage: CGImage) class func imageWithCGImage(_ cgImage: CGImage) -> UIImage init(CGImage cgImage: CGImage, scale scale: CGFloat, orientation orientation: UIImageOrientation) class func imageWithCGImage(_ cgImage: CGImage, scale scale: CGFloat, orientation orientation: UIImageOrientation) -> UIImage init(CIImage ciImage: CIImage) class func imageWithCIImage(_ ciImage: CIImage) -> UIImage init(CIImage ciImage: CIImage, scale scale: CGFloat, orientation orientation: UIImageOrientation) class func imageWithCIImage(_ ciImage: CIImage, scale scale: CGFloat, orientation orientation: UIImageOrientation) -> UIImage init?(contentsOfFile path: String) init?(data data: NSData) init?(data data: NSData, scale scale: CGFloat) init(CGImage cgImage: CGImage) init(CGImage cgImage: CGImage, scale scale: CGFloat, orientation orientation: UIImageOrientation) init(CIImage ciImage: CIImage) init(CIImage ciImage: CIImage, scale scale: CGFloat, orientation orientation: UIImageOrientation) var size: CGSize { get } var CGImage: CGImage? { get } var CIImage: CIImage? { get } var imageOrientation: UIImageOrientation { get } var scale: CGFloat { get } class func animatedImageNamed(_ name: String, duration duration: NSTimeInterval) -> UIImage? class func animatedResizableImageNamed(_ name: String, capInsets capInsets: UIEdgeInsets, duration duration: NSTimeInterval) -> UIImage? class func animatedResizableImageNamed(_ name: String, capInsets capInsets: UIEdgeInsets, resizingMode resizingMode: UIImageResizingMode, duration duration: NSTimeInterval) -> UIImage? class func animatedImageWithImages(_ images: [UIImage], duration duration: NSTimeInterval) -> UIImage? var images: [UIImage]? { get } var duration: NSTimeInterval { get } func drawAtPoint(_ point: CGPoint) func drawAtPoint(_ point: CGPoint, blendMode blendMode: CGBlendMode, alpha alpha: CGFloat) func drawInRect(_ rect: CGRect) func drawInRect(_ rect: CGRect, blendMode blendMode: CGBlendMode, alpha alpha: CGFloat) func drawAsPatternInRect(_ rect: CGRect) func resizableImageWithCapInsets(_ capInsets: UIEdgeInsets) -> UIImage func resizableImageWithCapInsets(_ capInsets: UIEdgeInsets, resizingMode resizingMode: UIImageResizingMode) -> UIImage var capInsets: UIEdgeInsets { get } var resizingMode: UIImageResizingMode { get } func imageWithAlignmentRectInsets(_ alignmentInsets: UIEdgeInsets) -> UIImage var alignmentRectInsets: UIEdgeInsets { get } func imageWithRenderingMode(_ renderingMode: UIImageRenderingMode) -> UIImage var renderingMode: UIImageRenderingMode { get } @NSCopying var traitCollection: UITraitCollection { get } var imageAsset: UIImageAsset? { get } func imageFlippedForRightToLeftLayoutDirection() -> UIImage var flipsForRightToLeftLayoutDirection: Bool { get } } extension UIImage : UIAccessibilityIdentification { } extension UIImage { func stretchableImageWithLeftCapWidth(_ leftCapWidth: Int, topCapHeight topCapHeight: Int) -> UIImage var leftCapWidth: Int { get } var topCapHeight: Int { get } } |
Declaration | |
---|---|
From | class func animatedImageNamed(_ name: String, duration duration: NSTimeInterval) -> UIImage! |
To | class func animatedImageNamed(_ name: String, duration duration: NSTimeInterval) -> UIImage? |
Modified UIImage.animatedImageWithImages(_: [UIImage], duration: NSTimeInterval) -> UIImage? [class]
Declaration | |
---|---|
From | class func animatedImageWithImages(_ images: [AnyObject], duration duration: NSTimeInterval) -> UIImage! |
To | class func animatedImageWithImages(_ images: [UIImage], duration duration: NSTimeInterval) -> UIImage? |
Declaration | |
---|---|
From | class func animatedResizableImageNamed(_ name: String, capInsets capInsets: UIEdgeInsets, duration duration: NSTimeInterval) -> UIImage! |
To | class func animatedResizableImageNamed(_ name: String, capInsets capInsets: UIEdgeInsets, duration duration: NSTimeInterval) -> UIImage? |
Declaration | |
---|---|
From | class func animatedResizableImageNamed(_ name: String, capInsets capInsets: UIEdgeInsets, resizingMode resizingMode: UIImageResizingMode, duration duration: NSTimeInterval) -> UIImage! |
To | class func animatedResizableImageNamed(_ name: String, capInsets capInsets: UIEdgeInsets, resizingMode resizingMode: UIImageResizingMode, duration duration: NSTimeInterval) -> UIImage? |
Modified UIImage.CGImage
Declaration | |
---|---|
From | var CGImage: CGImage! { get } |
To | var CGImage: CGImage? { get } |
Modified UIImage.imageAsset
Declaration | |
---|---|
From | var imageAsset: UIImageAsset! { get } |
To | var imageAsset: UIImageAsset? { get } |
Modified UIImage.images
Declaration | |
---|---|
From | var images: [AnyObject]? { get } |
To | var images: [UIImage]? { get } |
Modified UIImage.init(CGImage: CGImage)
Declaration | |
---|---|
From | init?(CGImage cgImage: CGImage!) |
To | init(CGImage cgImage: CGImage) |
Declaration | |
---|---|
From | init?(CGImage cgImage: CGImage!, scale scale: CGFloat, orientation orientation: UIImageOrientation) |
To | init(CGImage cgImage: CGImage, scale scale: CGFloat, orientation orientation: UIImageOrientation) |
Modified UIImage.init(CIImage: CIImage)
Declaration | |
---|---|
From | init?(CIImage ciImage: CIImage) |
To | init(CIImage ciImage: CIImage) |
Declaration | |
---|---|
From | init?(CIImage ciImage: CIImage, scale scale: CGFloat, orientation orientation: UIImageOrientation) |
To | init(CIImage ciImage: CIImage, scale scale: CGFloat, orientation orientation: UIImageOrientation) |
Modified UIImage.init(named: String)
Declaration | |
---|---|
From | init?(named name: String) -> UIImage |
To | init?(named name: String) |
Modified UIImage.init(named: String, inBundle: NSBundle?, compatibleWithTraitCollection: UITraitCollection?)
Declaration | |
---|---|
From | init?(named name: String, inBundle bundle: NSBundle?, compatibleWithTraitCollection traitCollection: UITraitCollection?) -> UIImage |
To | init?(named name: String, inBundle bundle: NSBundle?, compatibleWithTraitCollection traitCollection: UITraitCollection?) |
Modified UIImage.traitCollection
Declaration | |
---|---|
From | var traitCollection: UITraitCollection { get } |
To | @NSCopying var traitCollection: UITraitCollection { get } |
Modified UIImageAsset
Declaration | |
---|---|
From | class UIImageAsset : NSObject, NSSecureCoding, NSCoding { func imageWithTraitCollection(_ traitCollection: UITraitCollection) -> UIImage func registerImage(_ image: UIImage, withTraitCollection traitCollection: UITraitCollection) func unregisterImageWithTraitCollection(_ traitCollection: UITraitCollection) } |
To | class UIImageAsset : NSObject, NSSecureCoding, NSCoding { init() init?(coder aDecoder: NSCoder) func imageWithTraitCollection(_ traitCollection: UITraitCollection) -> UIImage func registerImage(_ image: UIImage, withTraitCollection traitCollection: UITraitCollection) func unregisterImageWithTraitCollection(_ traitCollection: UITraitCollection) } |
Modified UIImageOrientation [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIImagePickerController
Declaration | |
---|---|
From | class UIImagePickerController : UINavigationController, NSCoding { class func isSourceTypeAvailable(_ sourceType: UIImagePickerControllerSourceType) -> Bool class func availableMediaTypesForSourceType(_ sourceType: UIImagePickerControllerSourceType) -> [AnyObject]? class func isCameraDeviceAvailable(_ cameraDevice: UIImagePickerControllerCameraDevice) -> Bool class func isFlashAvailableForCameraDevice(_ cameraDevice: UIImagePickerControllerCameraDevice) -> Bool class func availableCaptureModesForCameraDevice(_ cameraDevice: UIImagePickerControllerCameraDevice) -> [AnyObject]! unowned(unsafe) var delegate: protocol<UIImagePickerControllerDelegate, UINavigationControllerDelegate>? var sourceType: UIImagePickerControllerSourceType var mediaTypes: [AnyObject] var allowsEditing: Bool var allowsImageEditing: Bool var videoMaximumDuration: NSTimeInterval var videoQuality: UIImagePickerControllerQualityType var showsCameraControls: Bool var cameraOverlayView: UIView? var cameraViewTransform: CGAffineTransform func takePicture() func startVideoCapture() -> Bool func stopVideoCapture() var cameraCaptureMode: UIImagePickerControllerCameraCaptureMode var cameraDevice: UIImagePickerControllerCameraDevice var cameraFlashMode: UIImagePickerControllerCameraFlashMode } |
To | class UIImagePickerController : UINavigationController { class func isSourceTypeAvailable(_ sourceType: UIImagePickerControllerSourceType) -> Bool class func availableMediaTypesForSourceType(_ sourceType: UIImagePickerControllerSourceType) -> [String]? class func isCameraDeviceAvailable(_ cameraDevice: UIImagePickerControllerCameraDevice) -> Bool class func isFlashAvailableForCameraDevice(_ cameraDevice: UIImagePickerControllerCameraDevice) -> Bool class func availableCaptureModesForCameraDevice(_ cameraDevice: UIImagePickerControllerCameraDevice) -> [NSNumber]? weak var delegate: protocol<UIImagePickerControllerDelegate, UINavigationControllerDelegate>? var sourceType: UIImagePickerControllerSourceType var mediaTypes: [String] var allowsEditing: Bool var allowsImageEditing: Bool var videoMaximumDuration: NSTimeInterval var videoQuality: UIImagePickerControllerQualityType var showsCameraControls: Bool var cameraOverlayView: UIView? var cameraViewTransform: CGAffineTransform func takePicture() func startVideoCapture() -> Bool func stopVideoCapture() var cameraCaptureMode: UIImagePickerControllerCameraCaptureMode var cameraDevice: UIImagePickerControllerCameraDevice var cameraFlashMode: UIImagePickerControllerCameraFlashMode } |
Declaration | |
---|---|
From | class func availableCaptureModesForCameraDevice(_ cameraDevice: UIImagePickerControllerCameraDevice) -> [AnyObject]! |
To | class func availableCaptureModesForCameraDevice(_ cameraDevice: UIImagePickerControllerCameraDevice) -> [NSNumber]? |
Declaration | |
---|---|
From | class func availableMediaTypesForSourceType(_ sourceType: UIImagePickerControllerSourceType) -> [AnyObject]? |
To | class func availableMediaTypesForSourceType(_ sourceType: UIImagePickerControllerSourceType) -> [String]? |
Modified UIImagePickerController.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: protocol<UIImagePickerControllerDelegate, UINavigationControllerDelegate>? |
To | weak var delegate: protocol<UIImagePickerControllerDelegate, UINavigationControllerDelegate>? |
Modified UIImagePickerController.mediaTypes
Declaration | |
---|---|
From | var mediaTypes: [AnyObject] |
To | var mediaTypes: [String] |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIImagePickerControllerDelegate
Declaration | |
---|---|
From | protocol UIImagePickerControllerDelegate : NSObjectProtocol { optional func imagePickerController(_ picker: UIImagePickerController, didFinishPickingImage image: UIImage!, editingInfo editingInfo: [NSObject : AnyObject]!) optional func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [NSObject : AnyObject]) optional func imagePickerControllerDidCancel(_ picker: UIImagePickerController) } |
To | protocol UIImagePickerControllerDelegate : NSObjectProtocol { optional func imagePickerController(_ picker: UIImagePickerController, didFinishPickingImage image: UIImage, editingInfo editingInfo: [String : AnyObject]?) optional func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : AnyObject]) optional func imagePickerControllerDidCancel(_ picker: UIImagePickerController) } |
Declaration | Introduction | |
---|---|---|
From | optional func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [NSObject : AnyObject]) | iOS 8.0 |
To | optional func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : AnyObject]) | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 5.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 5.0 |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIImageRenderingMode [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIImageResizingMode [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIImageView
Declaration | |
---|---|
From | class UIImageView : UIView { init(image image: UIImage!) init(image image: UIImage!, highlightedImage highlightedImage: UIImage?) var image: UIImage? var highlightedImage: UIImage? var userInteractionEnabled: Bool var highlighted: Bool var animationImages: [AnyObject]? var highlightedAnimationImages: [AnyObject]? var animationDuration: NSTimeInterval var animationRepeatCount: Int var tintColor: UIColor! func startAnimating() func stopAnimating() func isAnimating() -> Bool } |
To | class UIImageView : UIView { init(image image: UIImage?) init(image image: UIImage?, highlightedImage highlightedImage: UIImage?) var image: UIImage? var highlightedImage: UIImage? var userInteractionEnabled: Bool var highlighted: Bool var animationImages: [UIImage]? var highlightedAnimationImages: [UIImage]? var animationDuration: NSTimeInterval var animationRepeatCount: Int var tintColor: UIColor! func startAnimating() func stopAnimating() func isAnimating() -> Bool } |
Modified UIImageView.animationImages
Declaration | |
---|---|
From | var animationImages: [AnyObject]? |
To | var animationImages: [UIImage]? |
Declaration | |
---|---|
From | var highlightedAnimationImages: [AnyObject]? |
To | var highlightedAnimationImages: [UIImage]? |
Modified UIImageView.init(image: UIImage?)
Declaration | |
---|---|
From | init(image image: UIImage!) |
To | init(image image: UIImage?) |
Declaration | |
---|---|
From | init(image image: UIImage!, highlightedImage highlightedImage: UIImage?) |
To | init(image image: UIImage?, highlightedImage highlightedImage: UIImage?) |
Modified UIInputView
Declaration | |
---|---|
From | class UIInputView : UIView { var inputViewStyle: UIInputViewStyle { get } init(frame frame: CGRect, inputViewStyle inputViewStyle: UIInputViewStyle) } |
To | class UIInputView : UIView { var inputViewStyle: UIInputViewStyle { get } var allowsSelfSizing: Bool init(frame frame: CGRect, inputViewStyle inputViewStyle: UIInputViewStyle) init?(coder aDecoder: NSCoder) } |
Modified UIInputViewController
Declaration | |
---|---|
From | class UIInputViewController : UIViewController, UITextInputDelegate, NSObjectProtocol { var inputView: UIInputView! var textDocumentProxy: NSObject { get } var primaryLanguage: String? func dismissKeyboard() func advanceToNextInputMode() func requestSupplementaryLexiconWithCompletion(_ completionHandler: (UILexicon!) -> Void) } |
To | class UIInputViewController : UIViewController, UITextInputDelegate { var inputView: UIInputView? var textDocumentProxy: UITextDocumentProxy { get } var primaryLanguage: String? func dismissKeyboard() func advanceToNextInputMode() func requestSupplementaryLexiconWithCompletion(_ completionHandler: (UILexicon) -> Void) } |
Modified UIInputViewController.inputView
Declaration | |
---|---|
From | var inputView: UIInputView! |
To | var inputView: UIInputView? |
Declaration | |
---|---|
From | func requestSupplementaryLexiconWithCompletion(_ completionHandler: (UILexicon!) -> Void) |
To | func requestSupplementaryLexiconWithCompletion(_ completionHandler: (UILexicon) -> Void) |
Declaration | |
---|---|
From | var textDocumentProxy: NSObject { get } |
To | var textDocumentProxy: UITextDocumentProxy { get } |
Modified UIInputViewStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIInterfaceOrientation [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIInterfaceOrientationMask [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIInterfaceOrientationMask : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var Portrait: UIInterfaceOrientationMask { get } static var LandscapeLeft: UIInterfaceOrientationMask { get } static var LandscapeRight: UIInterfaceOrientationMask { get } static var PortraitUpsideDown: UIInterfaceOrientationMask { get } static var Landscape: UIInterfaceOrientationMask { get } static var All: UIInterfaceOrientationMask { get } static var AllButUpsideDown: UIInterfaceOrientationMask { get } } | RawOptionSetType |
To | struct UIInterfaceOrientationMask : OptionSetType { init(rawValue rawValue: UInt) static var Portrait: UIInterfaceOrientationMask { get } static var LandscapeLeft: UIInterfaceOrientationMask { get } static var LandscapeRight: UIInterfaceOrientationMask { get } static var PortraitUpsideDown: UIInterfaceOrientationMask { get } static var Landscape: UIInterfaceOrientationMask { get } static var All: UIInterfaceOrientationMask { get } static var AllButUpsideDown: UIInterfaceOrientationMask { get } } | OptionSetType |
Modified UIInterpolatingMotionEffect
Declaration | |
---|---|
From | class UIInterpolatingMotionEffect : UIMotionEffect { init(keyPath keyPath: String, type type: UIInterpolatingMotionEffectType) var keyPath: String { get } var type: UIInterpolatingMotionEffectType { get } var minimumRelativeValue: AnyObject! var maximumRelativeValue: AnyObject! } |
To | class UIInterpolatingMotionEffect : UIMotionEffect { init(keyPath keyPath: String, type type: UIInterpolatingMotionEffectType) init?(coder aDecoder: NSCoder) var keyPath: String { get } var type: UIInterpolatingMotionEffectType { get } var minimumRelativeValue: AnyObject? var maximumRelativeValue: AnyObject? } |
Declaration | |
---|---|
From | var maximumRelativeValue: AnyObject! |
To | var maximumRelativeValue: AnyObject? |
Declaration | |
---|---|
From | var minimumRelativeValue: AnyObject! |
To | var minimumRelativeValue: AnyObject? |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIKeyboardAppearance [enum]
Declaration | Raw Value Type | |
---|---|---|
From | enum UIKeyboardAppearance : Int { case Default case Dark case Light } | -- |
To | enum UIKeyboardAppearance : Int { case Default case Dark case Light static var Alert: UIKeyboardAppearance { get } } | Int |
Modified UIKeyboardType [enum]
Declaration | Raw Value Type | |
---|---|---|
From | enum UIKeyboardType : Int { case Default case ASCIICapable case NumbersAndPunctuation case URL case NumberPad case PhonePad case NamePhonePad case EmailAddress case DecimalPad case Twitter case WebSearch } | -- |
To | enum UIKeyboardType : Int { case Default case ASCIICapable case NumbersAndPunctuation case URL case NumberPad case PhonePad case NamePhonePad case EmailAddress case DecimalPad case Twitter case WebSearch static var Alphabet: UIKeyboardType { get } } | Int |
Modified UIKeyCommand
Declaration | |
---|---|
From | class UIKeyCommand : NSObject, NSCopying, NSSecureCoding, NSCoding { var input: String { get } var modifierFlags: UIKeyModifierFlags { get } init(input input: String, modifierFlags modifierFlags: UIKeyModifierFlags, action action: Selector) -> UIKeyCommand class func keyCommandWithInput(_ input: String, modifierFlags modifierFlags: UIKeyModifierFlags, action action: Selector) -> UIKeyCommand } |
To | class UIKeyCommand : NSObject, NSCopying, NSSecureCoding, NSCoding { init() init?(coder aDecoder: NSCoder) var input: String { get } var modifierFlags: UIKeyModifierFlags { get } var discoverabilityTitle: String? init(input input: String, modifierFlags modifierFlags: UIKeyModifierFlags, action action: Selector) class func keyCommandWithInput(_ input: String, modifierFlags modifierFlags: UIKeyModifierFlags, action action: Selector) -> UIKeyCommand init(input input: String, modifierFlags modifierFlags: UIKeyModifierFlags, action action: Selector, discoverabilityTitle discoverabilityTitle: String) class func keyCommandWithInput(_ input: String, modifierFlags modifierFlags: UIKeyModifierFlags, action action: Selector, discoverabilityTitle discoverabilityTitle: String) -> UIKeyCommand } |
Declaration | |
---|---|
From | init(input input: String, modifierFlags modifierFlags: UIKeyModifierFlags, action action: Selector) -> UIKeyCommand |
To | init(input input: String, modifierFlags modifierFlags: UIKeyModifierFlags, action action: Selector) |
Modified UIKeyModifierFlags [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIKeyModifierFlags : RawOptionSetType { init(_ rawValue: Int) init(rawValue rawValue: Int) static var AlphaShift: UIKeyModifierFlags { get } static var Shift: UIKeyModifierFlags { get } static var Control: UIKeyModifierFlags { get } static var Alternate: UIKeyModifierFlags { get } static var Command: UIKeyModifierFlags { get } static var NumericPad: UIKeyModifierFlags { get } } | RawOptionSetType |
To | struct UIKeyModifierFlags : OptionSetType { init(rawValue rawValue: Int) static var AlphaShift: UIKeyModifierFlags { get } static var Shift: UIKeyModifierFlags { get } static var Control: UIKeyModifierFlags { get } static var Alternate: UIKeyModifierFlags { get } static var Command: UIKeyModifierFlags { get } static var NumericPad: UIKeyModifierFlags { get } } | OptionSetType |
Modified UILabel
Declaration | |
---|---|
From | class UILabel : UIView, NSCoding { var text: String? var font: UIFont! var textColor: UIColor! var shadowColor: UIColor? var shadowOffset: CGSize var textAlignment: NSTextAlignment var lineBreakMode: NSLineBreakMode @NSCopying var attributedText: NSAttributedString! var highlightedTextColor: UIColor? var highlighted: Bool var userInteractionEnabled: Bool var enabled: Bool var numberOfLines: Int var adjustsFontSizeToFitWidth: Bool var adjustsLetterSpacingToFitWidth: Bool var minimumFontSize: CGFloat var baselineAdjustment: UIBaselineAdjustment var minimumScaleFactor: CGFloat func textRectForBounds(_ bounds: CGRect, limitedToNumberOfLines numberOfLines: Int) -> CGRect func drawTextInRect(_ rect: CGRect) var preferredMaxLayoutWidth: CGFloat } |
To | class UILabel : UIView { var text: String? var font: UIFont! var textColor: UIColor! var shadowColor: UIColor? var shadowOffset: CGSize var textAlignment: NSTextAlignment var lineBreakMode: NSLineBreakMode @NSCopying var attributedText: NSAttributedString? var highlightedTextColor: UIColor? var highlighted: Bool var userInteractionEnabled: Bool var enabled: Bool var numberOfLines: Int var adjustsFontSizeToFitWidth: Bool var baselineAdjustment: UIBaselineAdjustment var minimumScaleFactor: CGFloat var allowsDefaultTighteningForTruncation: Bool func textRectForBounds(_ bounds: CGRect, limitedToNumberOfLines numberOfLines: Int) -> CGRect func drawTextInRect(_ rect: CGRect) var preferredMaxLayoutWidth: CGFloat var minimumFontSize: CGFloat var adjustsLetterSpacingToFitWidth: Bool } |
Modified UILabel.attributedText
Declaration | |
---|---|
From | @NSCopying var attributedText: NSAttributedString! |
To | @NSCopying var attributedText: NSAttributedString? |
Modified UILayoutConstraintAxis [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UILayoutSupport
Declaration | |
---|---|
From | protocol UILayoutSupport : NSObjectProtocol { var length: CGFloat { get } } |
To | protocol UILayoutSupport : NSObjectProtocol { var length: CGFloat { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var heightAnchor: NSLayoutDimension { get } } |
Modified UILexicon
Declaration | |
---|---|
From | class UILexicon : NSObject, NSCopying { var entries: [AnyObject] { get } } |
To | class UILexicon : NSObject, NSCopying { var entries: [UILexiconEntry] { get } } |
Modified UILexicon.entries
Declaration | |
---|---|
From | var entries: [AnyObject] { get } |
To | var entries: [UILexiconEntry] { get } |
Modified UILexiconEntry
Declaration | |
---|---|
From | class UILexiconEntry : NSObject, NSCopying { var documentText: String! { get } var userInput: String! { get } } |
To | class UILexiconEntry : NSObject, NSCopying { var documentText: String { get } var userInput: String { get } } |
Modified UILexiconEntry.documentText
Declaration | |
---|---|
From | var documentText: String! { get } |
To | var documentText: String { get } |
Modified UILexiconEntry.userInput
Declaration | |
---|---|
From | var userInput: String! { get } |
To | var userInput: String { get } |
Modified UILocalizedIndexedCollation
Declaration | |
---|---|
From | class UILocalizedIndexedCollation : NSObject { class func currentCollation() -> AnyObject! var sectionTitles: [AnyObject] { get } var sectionIndexTitles: [AnyObject] { get } func sectionForSectionIndexTitleAtIndex(_ indexTitleIndex: Int) -> Int func sectionForObject(_ object: AnyObject, collationStringSelector selector: Selector) -> Int func sortedArrayFromArray(_ array: [AnyObject], collationStringSelector selector: Selector) -> [AnyObject] } |
To | class UILocalizedIndexedCollation : NSObject { class func currentCollation() -> Self var sectionTitles: [String] { get } var sectionIndexTitles: [String] { get } func sectionForSectionIndexTitleAtIndex(_ indexTitleIndex: Int) -> Int func sectionForObject(_ object: AnyObject, collationStringSelector selector: Selector) -> Int func sortedArrayFromArray(_ array: [AnyObject], collationStringSelector selector: Selector) -> [AnyObject] } |
Declaration | |
---|---|
From | class func currentCollation() -> AnyObject! |
To | class func currentCollation() -> Self |
Declaration | |
---|---|
From | var sectionIndexTitles: [AnyObject] { get } |
To | var sectionIndexTitles: [String] { get } |
Declaration | |
---|---|
From | var sectionTitles: [AnyObject] { get } |
To | var sectionTitles: [String] { get } |
Modified UILocalNotification
Declaration | |
---|---|
From | class UILocalNotification : NSObject, NSCopying, NSCoding { @NSCopying var fireDate: NSDate? @NSCopying var timeZone: NSTimeZone? var repeatInterval: NSCalendarUnit @NSCopying var repeatCalendar: NSCalendar? @NSCopying var region: CLRegion! var regionTriggersOnce: Bool var alertBody: String? var hasAction: Bool var alertAction: String? var alertLaunchImage: String? var alertTitle: String! var soundName: String? var applicationIconBadgeNumber: Int var userInfo: [NSObject : AnyObject]? var category: String? } |
To | class UILocalNotification : NSObject, NSCopying, NSCoding { init() init?(coder aDecoder: NSCoder) @NSCopying var fireDate: NSDate? @NSCopying var timeZone: NSTimeZone? var repeatInterval: NSCalendarUnit @NSCopying var repeatCalendar: NSCalendar? @NSCopying var region: CLRegion? var regionTriggersOnce: Bool var alertBody: String? var hasAction: Bool var alertAction: String? var alertLaunchImage: String? var alertTitle: String? var soundName: String? var applicationIconBadgeNumber: Int var userInfo: [NSObject : AnyObject]? var category: String? } |
Modified UILocalNotification.alertTitle
Declaration | |
---|---|
From | var alertTitle: String! |
To | var alertTitle: String? |
Modified UILocalNotification.region
Declaration | |
---|---|
From | @NSCopying var region: CLRegion! |
To | @NSCopying var region: CLRegion? |
Modified UIManagedDocument
Declaration | |
---|---|
From | class UIManagedDocument : UIDocument { class func persistentStoreName() -> String var managedObjectContext: NSManagedObjectContext! { get } var managedObjectModel: NSManagedObjectModel! { get } var persistentStoreOptions: [NSObject : AnyObject]? var modelConfiguration: String? func configurePersistentStoreCoordinatorForURL(_ storeURL: NSURL!, ofType fileType: String!, modelConfiguration configuration: String?, storeOptions storeOptions: [NSObject : AnyObject]?, error error: NSErrorPointer) -> Bool func persistentStoreTypeForFileType(_ fileType: String!) -> String! func readAdditionalContentFromURL(_ absoluteURL: NSURL, error error: NSErrorPointer) -> Bool func additionalContentForURL(_ absoluteURL: NSURL, error error: NSErrorPointer) -> AnyObject? func writeAdditionalContent(_ content: AnyObject!, toURL absoluteURL: NSURL!, originalContentsURL absoluteOriginalContentsURL: NSURL!, error error: NSErrorPointer) -> Bool } |
To | class UIManagedDocument : UIDocument { class func persistentStoreName() -> String var managedObjectContext: NSManagedObjectContext { get } var managedObjectModel: NSManagedObjectModel { get } var persistentStoreOptions: [NSObject : AnyObject]? var modelConfiguration: String? func configurePersistentStoreCoordinatorForURL(_ storeURL: NSURL, ofType fileType: String, modelConfiguration configuration: String?, storeOptions storeOptions: [NSObject : AnyObject]?) throws func persistentStoreTypeForFileType(_ fileType: String) -> String func readAdditionalContentFromURL(_ absoluteURL: NSURL) throws func additionalContentForURL(_ absoluteURL: NSURL) throws -> AnyObject func writeAdditionalContent(_ content: AnyObject, toURL absoluteURL: NSURL, originalContentsURL absoluteOriginalContentsURL: NSURL?) throws } |
Declaration | |
---|---|
From | func additionalContentForURL(_ absoluteURL: NSURL, error error: NSErrorPointer) -> AnyObject? |
To | func additionalContentForURL(_ absoluteURL: NSURL) throws -> AnyObject |
Declaration | |
---|---|
From | func configurePersistentStoreCoordinatorForURL(_ storeURL: NSURL!, ofType fileType: String!, modelConfiguration configuration: String?, storeOptions storeOptions: [NSObject : AnyObject]?, error error: NSErrorPointer) -> Bool |
To | func configurePersistentStoreCoordinatorForURL(_ storeURL: NSURL, ofType fileType: String, modelConfiguration configuration: String?, storeOptions storeOptions: [NSObject : AnyObject]?) throws |
Declaration | |
---|---|
From | var managedObjectContext: NSManagedObjectContext! { get } |
To | var managedObjectContext: NSManagedObjectContext { get } |
Modified UIManagedDocument.managedObjectModel
Declaration | |
---|---|
From | var managedObjectModel: NSManagedObjectModel! { get } |
To | var managedObjectModel: NSManagedObjectModel { get } |
Declaration | |
---|---|
From | func persistentStoreTypeForFileType(_ fileType: String!) -> String! |
To | func persistentStoreTypeForFileType(_ fileType: String) -> String |
Declaration | |
---|---|
From | func readAdditionalContentFromURL(_ absoluteURL: NSURL, error error: NSErrorPointer) -> Bool |
To | func readAdditionalContentFromURL(_ absoluteURL: NSURL) throws |
Declaration | |
---|---|
From | func writeAdditionalContent(_ content: AnyObject!, toURL absoluteURL: NSURL!, originalContentsURL absoluteOriginalContentsURL: NSURL!, error error: NSErrorPointer) -> Bool |
To | func writeAdditionalContent(_ content: AnyObject, toURL absoluteURL: NSURL, originalContentsURL absoluteOriginalContentsURL: NSURL?) throws |
Modified UIMarkupTextPrintFormatter
Declaration | |
---|---|
From | class UIMarkupTextPrintFormatter : UIPrintFormatter { init!(markupText markupText: String?) var markupText: String? } |
To | class UIMarkupTextPrintFormatter : UIPrintFormatter { init(markupText markupText: String) var markupText: String? } |
Declaration | |
---|---|
From | init!(markupText markupText: String?) |
To | init(markupText markupText: String) |
Modified UIMenuController
Declaration | |
---|---|
From | class UIMenuController : NSObject { class func sharedMenuController() -> UIMenuController var menuVisible: Bool func setMenuVisible(_ menuVisible: Bool, animated animated: Bool) func setTargetRect(_ targetRect: CGRect, inView targetView: UIView) var arrowDirection: UIMenuControllerArrowDirection var menuItems: [AnyObject]? func update() var menuFrame: CGRect { get } } |
To | class UIMenuController : NSObject { class func sharedMenuController() -> UIMenuController var menuVisible: Bool func setMenuVisible(_ menuVisible: Bool, animated animated: Bool) func setTargetRect(_ targetRect: CGRect, inView targetView: UIView) var arrowDirection: UIMenuControllerArrowDirection var menuItems: [UIMenuItem]? func update() var menuFrame: CGRect { get } } |
Modified UIMenuController.menuItems
Declaration | |
---|---|
From | var menuItems: [AnyObject]? |
To | var menuItems: [UIMenuItem]? |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIMenuControllerArrowDirection.Down
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Modified UIMenuControllerArrowDirection.Left
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Modified UIMenuControllerArrowDirection.Right
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Modified UIMenuControllerArrowDirection.Up
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Modified UIMenuItem
Declaration | |
---|---|
From | class UIMenuItem : NSObject { init(title title: String, action action: Selector) var title: String! var action: Selector } |
To | class UIMenuItem : NSObject { init(title title: String, action action: Selector) var title: String var action: Selector } |
Modified UIMenuItem.title
Declaration | |
---|---|
From | var title: String! |
To | var title: String |
Modified UIModalPresentationStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIModalTransitionStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIMotionEffect
Declaration | |
---|---|
From | class UIMotionEffect : NSObject, NSCopying, NSCoding { func keyPathsAndRelativeValuesForViewerOffset(_ viewerOffset: UIOffset) -> [NSObject : AnyObject]! } |
To | class UIMotionEffect : NSObject, NSCopying, NSCoding { init() init?(coder aDecoder: NSCoder) func keyPathsAndRelativeValuesForViewerOffset(_ viewerOffset: UIOffset) -> [String : AnyObject]? } |
Modified UIMotionEffect.keyPathsAndRelativeValuesForViewerOffset(_: UIOffset) -> [String : AnyObject]?
Declaration | |
---|---|
From | func keyPathsAndRelativeValuesForViewerOffset(_ viewerOffset: UIOffset) -> [NSObject : AnyObject]! |
To | func keyPathsAndRelativeValuesForViewerOffset(_ viewerOffset: UIOffset) -> [String : AnyObject]? |
Modified UIMotionEffectGroup
Declaration | |
---|---|
From | class UIMotionEffectGroup : UIMotionEffect { var motionEffects: [AnyObject]! } |
To | class UIMotionEffectGroup : UIMotionEffect { var motionEffects: [UIMotionEffect]? } |
Modified UIMotionEffectGroup.motionEffects
Declaration | |
---|---|
From | var motionEffects: [AnyObject]! |
To | var motionEffects: [UIMotionEffect]? |
Modified UIMutableUserNotificationAction
Declaration | |
---|---|
From | class UIMutableUserNotificationAction : UIUserNotificationAction { var identifier: String! var title: String! var activationMode: UIUserNotificationActivationMode var authenticationRequired: Bool var destructive: Bool } |
To | class UIMutableUserNotificationAction : UIUserNotificationAction { var identifier: String? var title: String? var behavior: UIUserNotificationActionBehavior var parameters: [NSObject : AnyObject] var activationMode: UIUserNotificationActivationMode var authenticationRequired: Bool var destructive: Bool } |
Declaration | |
---|---|
From | var identifier: String! |
To | var identifier: String? |
Declaration | |
---|---|
From | var title: String! |
To | var title: String? |
Modified UIMutableUserNotificationCategory
Declaration | |
---|---|
From | class UIMutableUserNotificationCategory : UIUserNotificationCategory { var identifier: String! func setActions(_ actions: [AnyObject]!, forContext context: UIUserNotificationActionContext) } |
To | class UIMutableUserNotificationCategory : UIUserNotificationCategory { var identifier: String? func setActions(_ actions: [UIUserNotificationAction]?, forContext context: UIUserNotificationActionContext) } |
Declaration | |
---|---|
From | var identifier: String! |
To | var identifier: String? |
Declaration | |
---|---|
From | func setActions(_ actions: [AnyObject]!, forContext context: UIUserNotificationActionContext) |
To | func setActions(_ actions: [UIUserNotificationAction]?, forContext context: UIUserNotificationActionContext) |
Modified UINavigationBar
Declaration | |
---|---|
From | class UINavigationBar : UIView, NSCoding, UIBarPositioning, NSObjectProtocol { var barStyle: UIBarStyle unowned(unsafe) var delegate: UINavigationBarDelegate? var translucent: Bool func pushNavigationItem(_ item: UINavigationItem, animated animated: Bool) func popNavigationItemAnimated(_ animated: Bool) -> UINavigationItem? var topItem: UINavigationItem? { get } var backItem: UINavigationItem? { get } var items: [AnyObject]! func setItems(_ items: [AnyObject]!, animated animated: Bool) var tintColor: UIColor! var barTintColor: UIColor? func setBackgroundImage(_ backgroundImage: UIImage?, forBarPosition barPosition: UIBarPosition, barMetrics barMetrics: UIBarMetrics) func backgroundImageForBarPosition(_ barPosition: UIBarPosition, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setBackgroundImage(_ backgroundImage: UIImage!, forBarMetrics barMetrics: UIBarMetrics) func backgroundImageForBarMetrics(_ barMetrics: UIBarMetrics) -> UIImage? var shadowImage: UIImage? var titleTextAttributes: [NSObject : AnyObject]? func setTitleVerticalPositionAdjustment(_ adjustment: CGFloat, forBarMetrics barMetrics: UIBarMetrics) func titleVerticalPositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> CGFloat var backIndicatorImage: UIImage? var backIndicatorTransitionMaskImage: UIImage? } |
To | class UINavigationBar : UIView, UIBarPositioning { var barStyle: UIBarStyle weak var delegate: UINavigationBarDelegate? var translucent: Bool func pushNavigationItem(_ item: UINavigationItem, animated animated: Bool) func popNavigationItemAnimated(_ animated: Bool) -> UINavigationItem? var topItem: UINavigationItem? { get } var backItem: UINavigationItem? { get } var items: [UINavigationItem]? func setItems(_ items: [UINavigationItem]?, animated animated: Bool) var tintColor: UIColor! var barTintColor: UIColor? func setBackgroundImage(_ backgroundImage: UIImage?, forBarPosition barPosition: UIBarPosition, barMetrics barMetrics: UIBarMetrics) func backgroundImageForBarPosition(_ barPosition: UIBarPosition, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setBackgroundImage(_ backgroundImage: UIImage?, forBarMetrics barMetrics: UIBarMetrics) func backgroundImageForBarMetrics(_ barMetrics: UIBarMetrics) -> UIImage? var shadowImage: UIImage? var titleTextAttributes: [String : AnyObject]? func setTitleVerticalPositionAdjustment(_ adjustment: CGFloat, forBarMetrics barMetrics: UIBarMetrics) func titleVerticalPositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> CGFloat var backIndicatorImage: UIImage? var backIndicatorTransitionMaskImage: UIImage? } |
Modified UINavigationBar.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UINavigationBarDelegate? |
To | weak var delegate: UINavigationBarDelegate? |
Modified UINavigationBar.items
Declaration | |
---|---|
From | var items: [AnyObject]! |
To | var items: [UINavigationItem]? |
Declaration | |
---|---|
From | func setBackgroundImage(_ backgroundImage: UIImage!, forBarMetrics barMetrics: UIBarMetrics) |
To | func setBackgroundImage(_ backgroundImage: UIImage?, forBarMetrics barMetrics: UIBarMetrics) |
Declaration | |
---|---|
From | func setItems(_ items: [AnyObject]!, animated animated: Bool) |
To | func setItems(_ items: [UINavigationItem]?, animated animated: Bool) |
Modified UINavigationBar.titleTextAttributes
Declaration | |
---|---|
From | var titleTextAttributes: [NSObject : AnyObject]? |
To | var titleTextAttributes: [String : AnyObject]? |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UINavigationBarDelegate.navigationBar(_: UINavigationBar, shouldPopItem: UINavigationItem) -> Bool
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UINavigationBarDelegate.navigationBar(_: UINavigationBar, shouldPushItem: UINavigationItem) -> Bool
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UINavigationController
Declaration | |
---|---|
From | class UINavigationController : UIViewController { init(navigationBarClass navigationBarClass: AnyClass?, toolbarClass toolbarClass: AnyClass?) init(rootViewController rootViewController: UIViewController) func pushViewController(_ viewController: UIViewController, animated animated: Bool) func popViewControllerAnimated(_ animated: Bool) -> UIViewController? func popToViewController(_ viewController: UIViewController, animated animated: Bool) -> [AnyObject]? func popToRootViewControllerAnimated(_ animated: Bool) -> [AnyObject]? var topViewController: UIViewController! { get } var visibleViewController: UIViewController! { get } var viewControllers: [AnyObject]! func setViewControllers(_ viewControllers: [AnyObject]!, animated animated: Bool) var navigationBarHidden: Bool func setNavigationBarHidden(_ hidden: Bool, animated animated: Bool) var navigationBar: UINavigationBar { get } var toolbarHidden: Bool func setToolbarHidden(_ hidden: Bool, animated animated: Bool) var toolbar: UIToolbar! { get } unowned(unsafe) var delegate: UINavigationControllerDelegate? var interactivePopGestureRecognizer: UIGestureRecognizer! { get } func showViewController(_ vc: UIViewController, sender sender: AnyObject!) var hidesBarsWhenKeyboardAppears: Bool var hidesBarsOnSwipe: Bool var barHideOnSwipeGestureRecognizer: UIPanGestureRecognizer { get } var hidesBarsWhenVerticallyCompact: Bool var hidesBarsOnTap: Bool unowned(unsafe) var barHideOnTapGestureRecognizer: UITapGestureRecognizer { get } } |
To | class UINavigationController : UIViewController { init(navigationBarClass navigationBarClass: AnyClass?, toolbarClass toolbarClass: AnyClass?) init(rootViewController rootViewController: UIViewController) func pushViewController(_ viewController: UIViewController, animated animated: Bool) func popViewControllerAnimated(_ animated: Bool) -> UIViewController? func popToViewController(_ viewController: UIViewController, animated animated: Bool) -> [UIViewController]? func popToRootViewControllerAnimated(_ animated: Bool) -> [UIViewController]? var topViewController: UIViewController? { get } var visibleViewController: UIViewController? { get } var viewControllers: [UIViewController] func setViewControllers(_ viewControllers: [UIViewController], animated animated: Bool) var navigationBarHidden: Bool func setNavigationBarHidden(_ hidden: Bool, animated animated: Bool) var navigationBar: UINavigationBar { get } var toolbarHidden: Bool func setToolbarHidden(_ hidden: Bool, animated animated: Bool) var toolbar: UIToolbar! { get } weak var delegate: UINavigationControllerDelegate? var interactivePopGestureRecognizer: UIGestureRecognizer? { get } func showViewController(_ vc: UIViewController, sender sender: AnyObject?) var hidesBarsWhenKeyboardAppears: Bool var hidesBarsOnSwipe: Bool var barHideOnSwipeGestureRecognizer: UIPanGestureRecognizer { get } var hidesBarsWhenVerticallyCompact: Bool var hidesBarsOnTap: Bool unowned(unsafe) var barHideOnTapGestureRecognizer: UITapGestureRecognizer { get } } |
Modified UINavigationController.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UINavigationControllerDelegate? |
To | weak var delegate: UINavigationControllerDelegate? |
Declaration | |
---|---|
From | var interactivePopGestureRecognizer: UIGestureRecognizer! { get } |
To | var interactivePopGestureRecognizer: UIGestureRecognizer? { get } |
Declaration | |
---|---|
From | func popToRootViewControllerAnimated(_ animated: Bool) -> [AnyObject]? |
To | func popToRootViewControllerAnimated(_ animated: Bool) -> [UIViewController]? |
Declaration | |
---|---|
From | func popToViewController(_ viewController: UIViewController, animated animated: Bool) -> [AnyObject]? |
To | func popToViewController(_ viewController: UIViewController, animated animated: Bool) -> [UIViewController]? |
Declaration | |
---|---|
From | func setViewControllers(_ viewControllers: [AnyObject]!, animated animated: Bool) |
To | func setViewControllers(_ viewControllers: [UIViewController], animated animated: Bool) |
Declaration | |
---|---|
From | func showViewController(_ vc: UIViewController, sender sender: AnyObject!) |
To | func showViewController(_ vc: UIViewController, sender sender: AnyObject?) |
Declaration | |
---|---|
From | var topViewController: UIViewController! { get } |
To | var topViewController: UIViewController? { get } |
Declaration | |
---|---|
From | var viewControllers: [AnyObject]! |
To | var viewControllers: [UIViewController] |
Declaration | |
---|---|
From | var visibleViewController: UIViewController! { get } |
To | var visibleViewController: UIViewController? { get } |
Modified UINavigationControllerDelegate
Declaration | |
---|---|
From | protocol UINavigationControllerDelegate : NSObjectProtocol { optional func navigationController(_ navigationController: UINavigationController, willShowViewController viewController: UIViewController, animated animated: Bool) optional func navigationController(_ navigationController: UINavigationController, didShowViewController viewController: UIViewController, animated animated: Bool) optional func navigationControllerSupportedInterfaceOrientations(_ navigationController: UINavigationController) -> Int optional func navigationControllerPreferredInterfaceOrientationForPresentation(_ navigationController: UINavigationController) -> UIInterfaceOrientation optional func navigationController(_ navigationController: UINavigationController, interactionControllerForAnimationController animationController: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? optional func navigationController(_ navigationController: UINavigationController, animationControllerForOperation operation: UINavigationControllerOperation, fromViewController fromVC: UIViewController, toViewController toVC: UIViewController) -> UIViewControllerAnimatedTransitioning? } |
To | protocol UINavigationControllerDelegate : NSObjectProtocol { optional func navigationController(_ navigationController: UINavigationController, willShowViewController viewController: UIViewController, animated animated: Bool) optional func navigationController(_ navigationController: UINavigationController, didShowViewController viewController: UIViewController, animated animated: Bool) optional func navigationControllerSupportedInterfaceOrientations(_ navigationController: UINavigationController) -> UIInterfaceOrientationMask optional func navigationControllerPreferredInterfaceOrientationForPresentation(_ navigationController: UINavigationController) -> UIInterfaceOrientation optional func navigationController(_ navigationController: UINavigationController, interactionControllerForAnimationController animationController: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? optional func navigationController(_ navigationController: UINavigationController, animationControllerForOperation operation: UINavigationControllerOperation, fromViewController fromVC: UIViewController, toViewController toVC: UIViewController) -> UIViewControllerAnimatedTransitioning? } |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Declaration | |
---|---|
From | optional func navigationControllerSupportedInterfaceOrientations(_ navigationController: UINavigationController) -> Int |
To | optional func navigationControllerSupportedInterfaceOrientations(_ navigationController: UINavigationController) -> UIInterfaceOrientationMask |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UINavigationItem
Declaration | |
---|---|
From | class UINavigationItem : NSObject, NSCoding { init(title title: String?) var title: String? var backBarButtonItem: UIBarButtonItem? var titleView: UIView? var prompt: String? var hidesBackButton: Bool func setHidesBackButton(_ hidesBackButton: Bool, animated animated: Bool) var leftBarButtonItems: [AnyObject]? var rightBarButtonItems: [AnyObject]? func setLeftBarButtonItems(_ items: [AnyObject]?, animated animated: Bool) func setRightBarButtonItems(_ items: [AnyObject]?, animated animated: Bool) var leftItemsSupplementBackButton: Bool var leftBarButtonItem: UIBarButtonItem? var rightBarButtonItem: UIBarButtonItem? func setLeftBarButtonItem(_ item: UIBarButtonItem?, animated animated: Bool) func setRightBarButtonItem(_ item: UIBarButtonItem?, animated animated: Bool) } |
To | class UINavigationItem : NSObject, NSCoding { init(title title: String) init?(coder coder: NSCoder) var title: String? var titleView: UIView? var prompt: String? var backBarButtonItem: UIBarButtonItem? var hidesBackButton: Bool func setHidesBackButton(_ hidesBackButton: Bool, animated animated: Bool) var leftBarButtonItems: [UIBarButtonItem]? var rightBarButtonItems: [UIBarButtonItem]? func setLeftBarButtonItems(_ items: [UIBarButtonItem]?, animated animated: Bool) func setRightBarButtonItems(_ items: [UIBarButtonItem]?, animated animated: Bool) var leftItemsSupplementBackButton: Bool var leftBarButtonItem: UIBarButtonItem? var rightBarButtonItem: UIBarButtonItem? func setLeftBarButtonItem(_ item: UIBarButtonItem?, animated animated: Bool) func setRightBarButtonItem(_ item: UIBarButtonItem?, animated animated: Bool) } |
Modified UINavigationItem.init(title: String)
Declaration | |
---|---|
From | init(title title: String?) |
To | init(title title: String) |
Modified UINavigationItem.leftBarButtonItems
Declaration | |
---|---|
From | var leftBarButtonItems: [AnyObject]? |
To | var leftBarButtonItems: [UIBarButtonItem]? |
Modified UINavigationItem.rightBarButtonItems
Declaration | |
---|---|
From | var rightBarButtonItems: [AnyObject]? |
To | var rightBarButtonItems: [UIBarButtonItem]? |
Declaration | |
---|---|
From | func setLeftBarButtonItems(_ items: [AnyObject]?, animated animated: Bool) |
To | func setLeftBarButtonItems(_ items: [UIBarButtonItem]?, animated animated: Bool) |
Declaration | |
---|---|
From | func setRightBarButtonItems(_ items: [AnyObject]?, animated animated: Bool) |
To | func setRightBarButtonItems(_ items: [UIBarButtonItem]?, animated animated: Bool) |
Modified UINib
Declaration | |
---|---|
From | class UINib : NSObject { init(nibName name: String, bundle bundleOrNil: NSBundle?) -> UINib class func nibWithNibName(_ name: String, bundle bundleOrNil: NSBundle?) -> UINib init(data data: NSData, bundle bundleOrNil: NSBundle?) -> UINib class func nibWithData(_ data: NSData, bundle bundleOrNil: NSBundle?) -> UINib func instantiateWithOwner(_ ownerOrNil: AnyObject?, options optionsOrNil: [NSObject : AnyObject]?) -> [AnyObject] } |
To | class UINib : NSObject { init(nibName name: String, bundle bundleOrNil: NSBundle?) class func nibWithNibName(_ name: String, bundle bundleOrNil: NSBundle?) -> UINib init(data data: NSData, bundle bundleOrNil: NSBundle?) class func nibWithData(_ data: NSData, bundle bundleOrNil: NSBundle?) -> UINib func instantiateWithOwner(_ ownerOrNil: AnyObject?, options optionsOrNil: [NSObject : AnyObject]?) -> [AnyObject] } |
Declaration | |
---|---|
From | init(data data: NSData, bundle bundleOrNil: NSBundle?) -> UINib |
To | init(data data: NSData, bundle bundleOrNil: NSBundle?) |
Declaration | |
---|---|
From | init(nibName name: String, bundle bundleOrNil: NSBundle?) -> UINib |
To | init(nibName name: String, bundle bundleOrNil: NSBundle?) |
Modified UIObjectRestoration
Declaration | |
---|---|
From | protocol UIObjectRestoration { static func objectWithRestorationIdentifierPath(_ identifierComponents: [AnyObject], coder coder: NSCoder) -> UIStateRestoring? } |
To | protocol UIObjectRestoration { static func objectWithRestorationIdentifierPath(_ identifierComponents: [String], coder coder: NSCoder) -> UIStateRestoring? } |
Declaration | |
---|---|
From | static func objectWithRestorationIdentifierPath(_ identifierComponents: [AnyObject], coder coder: NSCoder) -> UIStateRestoring? |
To | static func objectWithRestorationIdentifierPath(_ identifierComponents: [String], coder coder: NSCoder) -> UIStateRestoring? |
Modified UIOffset [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIOffset { var horizontal: CGFloat var vertical: CGFloat init() init(horizontal horizontal: CGFloat, vertical vertical: CGFloat) } | -- |
To | struct UIOffset { var horizontal: CGFloat var vertical: CGFloat init() init(horizontal horizontal: CGFloat, vertical vertical: CGFloat) } extension UIOffset : Equatable { } extension UIOffset : Equatable { } | Equatable |
Modified UIPageViewController
Declaration | |
---|---|
From | class UIPageViewController : UIViewController { init(transitionStyle style: UIPageViewControllerTransitionStyle, navigationOrientation navigationOrientation: UIPageViewControllerNavigationOrientation, options options: [NSObject : AnyObject]?) unowned(unsafe) var delegate: UIPageViewControllerDelegate? unowned(unsafe) var dataSource: UIPageViewControllerDataSource? var transitionStyle: UIPageViewControllerTransitionStyle { get } var navigationOrientation: UIPageViewControllerNavigationOrientation { get } var spineLocation: UIPageViewControllerSpineLocation { get } var doubleSided: Bool var gestureRecognizers: [AnyObject] { get } var viewControllers: [AnyObject]! { get } func setViewControllers(_ viewControllers: [AnyObject]!, direction direction: UIPageViewControllerNavigationDirection, animated animated: Bool, completion completion: ((Bool) -> Void)!) } |
To | class UIPageViewController : UIViewController { init(transitionStyle style: UIPageViewControllerTransitionStyle, navigationOrientation navigationOrientation: UIPageViewControllerNavigationOrientation, options options: [String : AnyObject]?) init?(coder coder: NSCoder) weak var delegate: UIPageViewControllerDelegate? weak var dataSource: UIPageViewControllerDataSource? var transitionStyle: UIPageViewControllerTransitionStyle { get } var navigationOrientation: UIPageViewControllerNavigationOrientation { get } var spineLocation: UIPageViewControllerSpineLocation { get } var doubleSided: Bool var gestureRecognizers: [UIGestureRecognizer] { get } var viewControllers: [UIViewController]? { get } func setViewControllers(_ viewControllers: [UIViewController]?, direction direction: UIPageViewControllerNavigationDirection, animated animated: Bool, completion completion: ((Bool) -> Void)?) } |
Modified UIPageViewController.dataSource
Declaration | |
---|---|
From | unowned(unsafe) var dataSource: UIPageViewControllerDataSource? |
To | weak var dataSource: UIPageViewControllerDataSource? |
Modified UIPageViewController.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UIPageViewControllerDelegate? |
To | weak var delegate: UIPageViewControllerDelegate? |
Declaration | |
---|---|
From | var gestureRecognizers: [AnyObject] { get } |
To | var gestureRecognizers: [UIGestureRecognizer] { get } |
Declaration | |
---|---|
From | init(transitionStyle style: UIPageViewControllerTransitionStyle, navigationOrientation navigationOrientation: UIPageViewControllerNavigationOrientation, options options: [NSObject : AnyObject]?) |
To | init(transitionStyle style: UIPageViewControllerTransitionStyle, navigationOrientation navigationOrientation: UIPageViewControllerNavigationOrientation, options options: [String : AnyObject]?) |
Declaration | |
---|---|
From | func setViewControllers(_ viewControllers: [AnyObject]!, direction direction: UIPageViewControllerNavigationDirection, animated animated: Bool, completion completion: ((Bool) -> Void)!) |
To | func setViewControllers(_ viewControllers: [UIViewController]?, direction direction: UIPageViewControllerNavigationDirection, animated animated: Bool, completion completion: ((Bool) -> Void)?) |
Modified UIPageViewController.viewControllers
Declaration | |
---|---|
From | var viewControllers: [AnyObject]! { get } |
To | var viewControllers: [UIViewController]? { get } |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 5.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 5.0 |
Modified UIPageViewControllerDelegate
Declaration | |
---|---|
From | protocol UIPageViewControllerDelegate : NSObjectProtocol { optional func pageViewController(_ pageViewController: UIPageViewController, willTransitionToViewControllers pendingViewControllers: [AnyObject]) optional func pageViewController(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers previousViewControllers: [AnyObject], transitionCompleted completed: Bool) optional func pageViewController(_ pageViewController: UIPageViewController, spineLocationForInterfaceOrientation orientation: UIInterfaceOrientation) -> UIPageViewControllerSpineLocation optional func pageViewControllerSupportedInterfaceOrientations(_ pageViewController: UIPageViewController) -> Int optional func pageViewControllerPreferredInterfaceOrientationForPresentation(_ pageViewController: UIPageViewController) -> UIInterfaceOrientation } |
To | protocol UIPageViewControllerDelegate : NSObjectProtocol { optional func pageViewController(_ pageViewController: UIPageViewController, willTransitionToViewControllers pendingViewControllers: [UIViewController]) optional func pageViewController(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers previousViewControllers: [UIViewController], transitionCompleted completed: Bool) optional func pageViewController(_ pageViewController: UIPageViewController, spineLocationForInterfaceOrientation orientation: UIInterfaceOrientation) -> UIPageViewControllerSpineLocation optional func pageViewControllerSupportedInterfaceOrientations(_ pageViewController: UIPageViewController) -> UIInterfaceOrientationMask optional func pageViewControllerPreferredInterfaceOrientationForPresentation(_ pageViewController: UIPageViewController) -> UIInterfaceOrientation } |
Declaration | Introduction | |
---|---|---|
From | optional func pageViewController(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers previousViewControllers: [AnyObject], transitionCompleted completed: Bool) | iOS 8.0 |
To | optional func pageViewController(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers previousViewControllers: [UIViewController], transitionCompleted completed: Bool) | iOS 5.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 5.0 |
Declaration | |
---|---|
From | optional func pageViewController(_ pageViewController: UIPageViewController, willTransitionToViewControllers pendingViewControllers: [AnyObject]) |
To | optional func pageViewController(_ pageViewController: UIPageViewController, willTransitionToViewControllers pendingViewControllers: [UIViewController]) |
Declaration | |
---|---|
From | optional func pageViewControllerSupportedInterfaceOrientations(_ pageViewController: UIPageViewController) -> Int |
To | optional func pageViewControllerSupportedInterfaceOrientations(_ pageViewController: UIPageViewController) -> UIInterfaceOrientationMask |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIPanGestureRecognizer
Declaration | |
---|---|
From | class UIPanGestureRecognizer : UIGestureRecognizer { var minimumNumberOfTouches: Int var maximumNumberOfTouches: Int func translationInView(_ view: UIView) -> CGPoint func setTranslation(_ translation: CGPoint, inView view: UIView!) func velocityInView(_ view: UIView!) -> CGPoint } |
To | class UIPanGestureRecognizer : UIGestureRecognizer { var minimumNumberOfTouches: Int var maximumNumberOfTouches: Int func translationInView(_ view: UIView?) -> CGPoint func setTranslation(_ translation: CGPoint, inView view: UIView?) func velocityInView(_ view: UIView?) -> CGPoint } |
Declaration | |
---|---|
From | func setTranslation(_ translation: CGPoint, inView view: UIView!) |
To | func setTranslation(_ translation: CGPoint, inView view: UIView?) |
Declaration | |
---|---|
From | func translationInView(_ view: UIView) -> CGPoint |
To | func translationInView(_ view: UIView?) -> CGPoint |
Declaration | |
---|---|
From | func velocityInView(_ view: UIView!) -> CGPoint |
To | func velocityInView(_ view: UIView?) -> CGPoint |
Modified UIPasteboard
Declaration | |
---|---|
From | class UIPasteboard : NSObject { class func generalPasteboard() -> UIPasteboard init!(name pasteboardName: String!, create create: Bool) -> UIPasteboard class func pasteboardWithName(_ pasteboardName: String!, create create: Bool) -> UIPasteboard! class func pasteboardWithUniqueName() -> UIPasteboard var name: String { get } class func removePasteboardWithName(_ pasteboardName: String) var persistent: Bool var changeCount: Int { get } func pasteboardTypes() -> [AnyObject]! func containsPasteboardTypes(_ pasteboardTypes: [AnyObject]) -> Bool func dataForPasteboardType(_ pasteboardType: String) -> NSData? func valueForPasteboardType(_ pasteboardType: String) -> AnyObject? func setValue(_ value: AnyObject, forPasteboardType pasteboardType: String) func setData(_ data: NSData, forPasteboardType pasteboardType: String) var numberOfItems: Int { get } func pasteboardTypesForItemSet(_ itemSet: NSIndexSet?) -> [AnyObject]? func containsPasteboardTypes(_ pasteboardTypes: [AnyObject], inItemSet itemSet: NSIndexSet?) -> Bool func itemSetWithPasteboardTypes(_ pasteboardTypes: [AnyObject]) -> NSIndexSet? func valuesForPasteboardType(_ pasteboardType: String, inItemSet itemSet: NSIndexSet?) -> [AnyObject]! func dataForPasteboardType(_ pasteboardType: String, inItemSet itemSet: NSIndexSet?) -> [AnyObject] var items: [AnyObject]! func addItems(_ items: [AnyObject]) } extension UIPasteboard { var string: String? var strings: [AnyObject]? @NSCopying var URL: NSURL? var URLs: [AnyObject]! @NSCopying var image: UIImage? var images: [AnyObject]! @NSCopying var color: UIColor? var colors: [AnyObject]! } |
To | class UIPasteboard : NSObject { class func generalPasteboard() -> UIPasteboard init?(name pasteboardName: String, create create: Bool) class func pasteboardWithName(_ pasteboardName: String, create create: Bool) -> UIPasteboard? class func pasteboardWithUniqueName() -> UIPasteboard var name: String { get } class func removePasteboardWithName(_ pasteboardName: String) var persistent: Bool var changeCount: Int { get } func pasteboardTypes() -> [String] func containsPasteboardTypes(_ pasteboardTypes: [String]) -> Bool func dataForPasteboardType(_ pasteboardType: String) -> NSData? func valueForPasteboardType(_ pasteboardType: String) -> AnyObject? func setValue(_ value: AnyObject, forPasteboardType pasteboardType: String) func setData(_ data: NSData, forPasteboardType pasteboardType: String) var numberOfItems: Int { get } func pasteboardTypesForItemSet(_ itemSet: NSIndexSet?) -> [AnyObject]? func containsPasteboardTypes(_ pasteboardTypes: [String], inItemSet itemSet: NSIndexSet?) -> Bool func itemSetWithPasteboardTypes(_ pasteboardTypes: [AnyObject]) -> NSIndexSet? func valuesForPasteboardType(_ pasteboardType: String, inItemSet itemSet: NSIndexSet?) -> [AnyObject]? func dataForPasteboardType(_ pasteboardType: String, inItemSet itemSet: NSIndexSet?) -> [AnyObject]? var items: [AnyObject] func addItems(_ items: [[String : AnyObject]]) } extension UIPasteboard { var string: String? var strings: [String]? @NSCopying var URL: NSURL? var URLs: [NSURL]? @NSCopying var image: UIImage? var images: [UIImage]? @NSCopying var color: UIColor? var colors: [UIColor]? } |
Declaration | |
---|---|
From | func addItems(_ items: [AnyObject]) |
To | func addItems(_ items: [[String : AnyObject]]) |
Modified UIPasteboard.colors
Declaration | |
---|---|
From | var colors: [AnyObject]! |
To | var colors: [UIColor]? |
Declaration | |
---|---|
From | func containsPasteboardTypes(_ pasteboardTypes: [AnyObject]) -> Bool |
To | func containsPasteboardTypes(_ pasteboardTypes: [String]) -> Bool |
Declaration | |
---|---|
From | func containsPasteboardTypes(_ pasteboardTypes: [AnyObject], inItemSet itemSet: NSIndexSet?) -> Bool |
To | func containsPasteboardTypes(_ pasteboardTypes: [String], inItemSet itemSet: NSIndexSet?) -> Bool |
Declaration | |
---|---|
From | func dataForPasteboardType(_ pasteboardType: String, inItemSet itemSet: NSIndexSet?) -> [AnyObject] |
To | func dataForPasteboardType(_ pasteboardType: String, inItemSet itemSet: NSIndexSet?) -> [AnyObject]? |
Modified UIPasteboard.images
Declaration | |
---|---|
From | var images: [AnyObject]! |
To | var images: [UIImage]? |
Declaration | |
---|---|
From | init!(name pasteboardName: String!, create create: Bool) -> UIPasteboard |
To | init?(name pasteboardName: String, create create: Bool) |
Modified UIPasteboard.items
Declaration | |
---|---|
From | var items: [AnyObject]! |
To | var items: [AnyObject] |
Declaration | |
---|---|
From | func pasteboardTypes() -> [AnyObject]! |
To | func pasteboardTypes() -> [String] |
Modified UIPasteboard.strings
Declaration | |
---|---|
From | var strings: [AnyObject]? |
To | var strings: [String]? |
Modified UIPasteboard.URLs
Declaration | |
---|---|
From | var URLs: [AnyObject]! |
To | var URLs: [NSURL]? |
Declaration | |
---|---|
From | func valuesForPasteboardType(_ pasteboardType: String, inItemSet itemSet: NSIndexSet?) -> [AnyObject]! |
To | func valuesForPasteboardType(_ pasteboardType: String, inItemSet itemSet: NSIndexSet?) -> [AnyObject]? |
Modified UIPercentDrivenInteractiveTransition
Declaration | |
---|---|
From | class UIPercentDrivenInteractiveTransition : NSObject, UIViewControllerInteractiveTransitioning, NSObjectProtocol { var duration: CGFloat { get } var percentComplete: CGFloat { get } var completionSpeed: CGFloat var completionCurve: UIViewAnimationCurve func updateInteractiveTransition(_ percentComplete: CGFloat) func cancelInteractiveTransition() func finishInteractiveTransition() } |
To | class UIPercentDrivenInteractiveTransition : NSObject, UIViewControllerInteractiveTransitioning { var duration: CGFloat { get } var percentComplete: CGFloat { get } var completionSpeed: CGFloat var completionCurve: UIViewAnimationCurve func updateInteractiveTransition(_ percentComplete: CGFloat) func cancelInteractiveTransition() func finishInteractiveTransition() } |
Modified UIPickerView
Declaration | |
---|---|
From | class UIPickerView : UIView, NSCoding, UITableViewDataSource, NSObjectProtocol { unowned(unsafe) var dataSource: UIPickerViewDataSource? unowned(unsafe) var delegate: UIPickerViewDelegate? var showsSelectionIndicator: Bool var numberOfComponents: Int { get } func numberOfRowsInComponent(_ component: Int) -> Int func rowSizeForComponent(_ component: Int) -> CGSize func viewForRow(_ row: Int, forComponent component: Int) -> UIView? func reloadAllComponents() func reloadComponent(_ component: Int) func selectRow(_ row: Int, inComponent component: Int, animated animated: Bool) func selectedRowInComponent(_ component: Int) -> Int } |
To | class UIPickerView : UIView, UITableViewDataSource { weak var dataSource: UIPickerViewDataSource? weak var delegate: UIPickerViewDelegate? var showsSelectionIndicator: Bool var numberOfComponents: Int { get } func numberOfRowsInComponent(_ component: Int) -> Int func rowSizeForComponent(_ component: Int) -> CGSize func viewForRow(_ row: Int, forComponent component: Int) -> UIView? func reloadAllComponents() func reloadComponent(_ component: Int) func selectRow(_ row: Int, inComponent component: Int, animated animated: Bool) func selectedRowInComponent(_ component: Int) -> Int } |
Modified UIPickerView.dataSource
Declaration | |
---|---|
From | unowned(unsafe) var dataSource: UIPickerViewDataSource? |
To | weak var dataSource: UIPickerViewDataSource? |
Modified UIPickerView.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UIPickerViewDelegate? |
To | weak var delegate: UIPickerViewDelegate? |
Modified UIPickerViewAccessibilityDelegate
Declaration | |
---|---|
From | protocol UIPickerViewAccessibilityDelegate : UIPickerViewDelegate, NSObjectProtocol { optional func pickerView(_ pickerView: UIPickerView, accessibilityLabelForComponent component: Int) -> String optional func pickerView(_ pickerView: UIPickerView, accessibilityHintForComponent component: Int) -> String } |
To | protocol UIPickerViewAccessibilityDelegate : UIPickerViewDelegate, NSObjectProtocol { optional func pickerView(_ pickerView: UIPickerView, accessibilityLabelForComponent component: Int) -> String? optional func pickerView(_ pickerView: UIPickerView, accessibilityHintForComponent component: Int) -> String? } |
Declaration | Introduction | |
---|---|---|
From | optional func pickerView(_ pickerView: UIPickerView, accessibilityHintForComponent component: Int) -> String | iOS 8.0 |
To | optional func pickerView(_ pickerView: UIPickerView, accessibilityHintForComponent component: Int) -> String? | iOS 2.0 |
Declaration | Introduction | |
---|---|---|
From | optional func pickerView(_ pickerView: UIPickerView, accessibilityLabelForComponent component: Int) -> String | iOS 8.0 |
To | optional func pickerView(_ pickerView: UIPickerView, accessibilityLabelForComponent component: Int) -> String? | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UIPickerViewDelegate
Declaration | |
---|---|
From | protocol UIPickerViewDelegate : NSObjectProtocol { optional func pickerView(_ pickerView: UIPickerView, widthForComponent component: Int) -> CGFloat optional func pickerView(_ pickerView: UIPickerView, rowHeightForComponent component: Int) -> CGFloat optional func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String! optional func pickerView(_ pickerView: UIPickerView, attributedTitleForRow row: Int, forComponent component: Int) -> NSAttributedString? optional func pickerView(_ pickerView: UIPickerView, viewForRow row: Int, forComponent component: Int, reusingView view: UIView!) -> UIView optional func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int) } |
To | protocol UIPickerViewDelegate : NSObjectProtocol { optional func pickerView(_ pickerView: UIPickerView, widthForComponent component: Int) -> CGFloat optional func pickerView(_ pickerView: UIPickerView, rowHeightForComponent component: Int) -> CGFloat optional func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? optional func pickerView(_ pickerView: UIPickerView, attributedTitleForRow row: Int, forComponent component: Int) -> NSAttributedString? optional func pickerView(_ pickerView: UIPickerView, viewForRow row: Int, forComponent component: Int, reusingView view: UIView?) -> UIView optional func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int) } |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UIPickerViewDelegate.pickerView(_: UIPickerView, titleForRow: Int, forComponent: Int) -> String?
Declaration | Introduction | |
---|---|---|
From | optional func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String! | iOS 8.0 |
To | optional func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? | iOS 2.0 |
Declaration | Introduction | |
---|---|---|
From | optional func pickerView(_ pickerView: UIPickerView, viewForRow row: Int, forComponent component: Int, reusingView view: UIView!) -> UIView | iOS 8.0 |
To | optional func pickerView(_ pickerView: UIPickerView, viewForRow row: Int, forComponent component: Int, reusingView view: UIView?) -> UIView | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UIPopoverArrowDirection [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIPopoverArrowDirection : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var Up: UIPopoverArrowDirection { get } static var Down: UIPopoverArrowDirection { get } static var Left: UIPopoverArrowDirection { get } static var Right: UIPopoverArrowDirection { get } static var Any: UIPopoverArrowDirection { get } static var Unknown: UIPopoverArrowDirection { get } } | RawOptionSetType |
To | struct UIPopoverArrowDirection : OptionSetType { init(rawValue rawValue: UInt) static var Up: UIPopoverArrowDirection { get } static var Down: UIPopoverArrowDirection { get } static var Left: UIPopoverArrowDirection { get } static var Right: UIPopoverArrowDirection { get } static var Any: UIPopoverArrowDirection { get } static var Unknown: UIPopoverArrowDirection { get } } | OptionSetType |
Modified UIPopoverController
Declaration | Deprecation | |
---|---|---|
From | class UIPopoverController : NSObject, UIAppearanceContainer, NSObjectProtocol { init(contentViewController viewController: UIViewController) unowned(unsafe) var delegate: UIPopoverControllerDelegate? var contentViewController: UIViewController func setContentViewController(_ viewController: UIViewController, animated animated: Bool) var popoverContentSize: CGSize func setPopoverContentSize(_ size: CGSize, animated animated: Bool) var popoverVisible: Bool { get } var popoverArrowDirection: UIPopoverArrowDirection { get } var passthroughViews: [AnyObject]? func presentPopoverFromRect(_ rect: CGRect, inView view: UIView, permittedArrowDirections arrowDirections: UIPopoverArrowDirection, animated animated: Bool) func presentPopoverFromBarButtonItem(_ item: UIBarButtonItem, permittedArrowDirections arrowDirections: UIPopoverArrowDirection, animated animated: Bool) func dismissPopoverAnimated(_ animated: Bool) @NSCopying var backgroundColor: UIColor? var popoverLayoutMargins: UIEdgeInsets var popoverBackgroundViewClass: AnyClass? } | -- |
To | class UIPopoverController : NSObject, UIAppearanceContainer { init(contentViewController viewController: UIViewController) weak var delegate: UIPopoverControllerDelegate? var contentViewController: UIViewController func setContentViewController(_ viewController: UIViewController, animated animated: Bool) var popoverContentSize: CGSize func setPopoverContentSize(_ size: CGSize, animated animated: Bool) var popoverVisible: Bool { get } var popoverArrowDirection: UIPopoverArrowDirection { get } var passthroughViews: [UIView]? func presentPopoverFromRect(_ rect: CGRect, inView view: UIView, permittedArrowDirections arrowDirections: UIPopoverArrowDirection, animated animated: Bool) func presentPopoverFromBarButtonItem(_ item: UIBarButtonItem, permittedArrowDirections arrowDirections: UIPopoverArrowDirection, animated animated: Bool) func dismissPopoverAnimated(_ animated: Bool) @NSCopying var backgroundColor: UIColor? var popoverLayoutMargins: UIEdgeInsets var popoverBackgroundViewClass: AnyClass? } | iOS 9.0 |
Modified UIPopoverController.backgroundColor
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified UIPopoverController.delegate
Declaration | Deprecation | |
---|---|---|
From | unowned(unsafe) var delegate: UIPopoverControllerDelegate? | -- |
To | weak var delegate: UIPopoverControllerDelegate? | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified UIPopoverController.passthroughViews
Declaration | Deprecation | |
---|---|---|
From | var passthroughViews: [AnyObject]? | -- |
To | var passthroughViews: [UIView]? | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified UIPopoverController.popoverVisible
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 3.2 | iOS 9.0 |
Modified UIPopoverControllerDelegate.popoverControllerShouldDismissPopover(_: UIPopoverController) -> Bool
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 3.2 | iOS 9.0 |
Modified UIPopoverPresentationController
Declaration | |
---|---|
From | class UIPopoverPresentationController : UIPresentationController { unowned(unsafe) var delegate: UIPopoverPresentationControllerDelegate? var permittedArrowDirections: UIPopoverArrowDirection var sourceView: UIView! var sourceRect: CGRect var barButtonItem: UIBarButtonItem! var arrowDirection: UIPopoverArrowDirection { get } var passthroughViews: [AnyObject]! @NSCopying var backgroundColor: UIColor! var popoverLayoutMargins: UIEdgeInsets var popoverBackgroundViewClass: AnyObject.Type? } |
To | class UIPopoverPresentationController : UIPresentationController { weak var delegate: UIPopoverPresentationControllerDelegate? var permittedArrowDirections: UIPopoverArrowDirection var sourceView: UIView? var sourceRect: CGRect var canOverlapSourceViewRect: Bool var barButtonItem: UIBarButtonItem? var arrowDirection: UIPopoverArrowDirection { get } var passthroughViews: [UIView]? @NSCopying var backgroundColor: UIColor? var popoverLayoutMargins: UIEdgeInsets var popoverBackgroundViewClass: AnyObject.Type? } |
Declaration | |
---|---|
From | @NSCopying var backgroundColor: UIColor! |
To | @NSCopying var backgroundColor: UIColor? |
Declaration | |
---|---|
From | var barButtonItem: UIBarButtonItem! |
To | var barButtonItem: UIBarButtonItem? |
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UIPopoverPresentationControllerDelegate? |
To | weak var delegate: UIPopoverPresentationControllerDelegate? |
Declaration | |
---|---|
From | var passthroughViews: [AnyObject]! |
To | var passthroughViews: [UIView]? |
Declaration | |
---|---|
From | var sourceView: UIView! |
To | var sourceView: UIView? |
Modified UIPresentationController
Declaration | |
---|---|
From | class UIPresentationController : NSObject, UIAppearanceContainer, NSObjectProtocol, UITraitEnvironment, UIContentContainer { var presentingViewController: UIViewController { get } var presentedViewController: UIViewController { get } var presentationStyle: UIModalPresentationStyle { get } var containerView: UIView! { get } unowned(unsafe) var delegate: UIAdaptivePresentationControllerDelegate? init(presentedViewController presentedViewController: UIViewController!, presentingViewController presentingViewController: UIViewController!) func adaptivePresentationStyle() -> UIModalPresentationStyle func adaptivePresentationStyleForTraitCollection(_ traitCollection: UITraitCollection!) -> UIModalPresentationStyle func containerViewWillLayoutSubviews() func containerViewDidLayoutSubviews() func presentedView() -> UIView! func frameOfPresentedViewInContainerView() -> CGRect func shouldPresentInFullscreen() -> Bool func shouldRemovePresentersView() -> Bool func presentationTransitionWillBegin() func presentationTransitionDidEnd(_ completed: Bool) func dismissalTransitionWillBegin() func dismissalTransitionDidEnd(_ completed: Bool) @NSCopying var overrideTraitCollection: UITraitCollection? } |
To | class UIPresentationController : NSObject, UIAppearanceContainer, UITraitEnvironment, UIContentContainer { var presentingViewController: UIViewController { get } var presentedViewController: UIViewController { get } var presentationStyle: UIModalPresentationStyle { get } var containerView: UIView? { get } weak var delegate: UIAdaptivePresentationControllerDelegate? init(presentedViewController presentedViewController: UIViewController, presentingViewController presentingViewController: UIViewController) func adaptivePresentationStyle() -> UIModalPresentationStyle func adaptivePresentationStyleForTraitCollection(_ traitCollection: UITraitCollection) -> UIModalPresentationStyle func containerViewWillLayoutSubviews() func containerViewDidLayoutSubviews() func presentedView() -> UIView? func frameOfPresentedViewInContainerView() -> CGRect func shouldPresentInFullscreen() -> Bool func shouldRemovePresentersView() -> Bool func presentationTransitionWillBegin() func presentationTransitionDidEnd(_ completed: Bool) func dismissalTransitionWillBegin() func dismissalTransitionDidEnd(_ completed: Bool) @NSCopying var overrideTraitCollection: UITraitCollection? } |
Declaration | |
---|---|
From | func adaptivePresentationStyleForTraitCollection(_ traitCollection: UITraitCollection!) -> UIModalPresentationStyle |
To | func adaptivePresentationStyleForTraitCollection(_ traitCollection: UITraitCollection) -> UIModalPresentationStyle |
Declaration | |
---|---|
From | var containerView: UIView! { get } |
To | var containerView: UIView? { get } |
Modified UIPresentationController.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UIAdaptivePresentationControllerDelegate? |
To | weak var delegate: UIAdaptivePresentationControllerDelegate? |
Declaration | |
---|---|
From | init(presentedViewController presentedViewController: UIViewController!, presentingViewController presentingViewController: UIViewController!) |
To | init(presentedViewController presentedViewController: UIViewController, presentingViewController presentingViewController: UIViewController) |
Declaration | |
---|---|
From | func presentedView() -> UIView! |
To | func presentedView() -> UIView? |
Modified UIPrinter
Declaration | |
---|---|
From | class UIPrinter : NSObject { init(URL url: NSURL) -> UIPrinter class func printerWithURL(_ url: NSURL) -> UIPrinter @NSCopying var URL: NSURL! { get } var displayName: String? { get } var displayLocation: String? { get } var supportedJobTypes: UIPrinterJobTypes { get } var makeAndModel: String? { get } var supportsColor: Bool { get } var supportsDuplex: Bool { get } func contactPrinter(_ completionHandler: ((Bool) -> Void)!) } |
To | class UIPrinter : NSObject { init(URL url: NSURL) class func printerWithURL(_ url: NSURL) -> UIPrinter @NSCopying var URL: NSURL { get } var displayName: String { get } var displayLocation: String? { get } var supportedJobTypes: UIPrinterJobTypes { get } var makeAndModel: String? { get } var supportsColor: Bool { get } var supportsDuplex: Bool { get } func contactPrinter(_ completionHandler: ((Bool) -> Void)?) } |
Declaration | |
---|---|
From | func contactPrinter(_ completionHandler: ((Bool) -> Void)!) |
To | func contactPrinter(_ completionHandler: ((Bool) -> Void)?) |
Modified UIPrinter.displayName
Declaration | |
---|---|
From | var displayName: String? { get } |
To | var displayName: String { get } |
Modified UIPrinter.init(URL: NSURL)
Declaration | |
---|---|
From | init(URL url: NSURL) -> UIPrinter |
To | init(URL url: NSURL) |
Modified UIPrinter.URL
Declaration | |
---|---|
From | @NSCopying var URL: NSURL! { get } |
To | @NSCopying var URL: NSURL { get } |
Modified UIPrinterJobTypes [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIPrinterJobTypes : RawOptionSetType { init(_ rawValue: Int) init(rawValue rawValue: Int) static var Unknown: UIPrinterJobTypes { get } static var Document: UIPrinterJobTypes { get } static var Envelope: UIPrinterJobTypes { get } static var Label: UIPrinterJobTypes { get } static var Photo: UIPrinterJobTypes { get } static var Receipt: UIPrinterJobTypes { get } static var Roll: UIPrinterJobTypes { get } static var LargeFormat: UIPrinterJobTypes { get } static var Postcard: UIPrinterJobTypes { get } } | RawOptionSetType |
To | struct UIPrinterJobTypes : OptionSetType { init(rawValue rawValue: Int) static var Unknown: UIPrinterJobTypes { get } static var Document: UIPrinterJobTypes { get } static var Envelope: UIPrinterJobTypes { get } static var Label: UIPrinterJobTypes { get } static var Photo: UIPrinterJobTypes { get } static var Receipt: UIPrinterJobTypes { get } static var Roll: UIPrinterJobTypes { get } static var LargeFormat: UIPrinterJobTypes { get } static var Postcard: UIPrinterJobTypes { get } } | OptionSetType |
Modified UIPrinterPickerController
Declaration | |
---|---|
From | class UIPrinterPickerController : NSObject { init!(initiallySelectedPrinter printer: UIPrinter!) -> UIPrinterPickerController class func printerPickerControllerWithInitiallySelectedPrinter(_ printer: UIPrinter!) -> UIPrinterPickerController! var selectedPrinter: UIPrinter? { get } unowned(unsafe) var delegate: UIPrinterPickerControllerDelegate? func presentAnimated(_ animated: Bool, completionHandler completion: UIPrinterPickerCompletionHandler?) -> Bool func presentFromRect(_ rect: CGRect, inView view: UIView!, animated animated: Bool, completionHandler completion: UIPrinterPickerCompletionHandler!) -> Bool func presentFromBarButtonItem(_ item: UIBarButtonItem!, animated animated: Bool, completionHandler completion: UIPrinterPickerCompletionHandler?) -> Bool func dismissAnimated(_ animated: Bool) } |
To | class UIPrinterPickerController : NSObject { init(initiallySelectedPrinter printer: UIPrinter?) class func printerPickerControllerWithInitiallySelectedPrinter(_ printer: UIPrinter?) -> UIPrinterPickerController var selectedPrinter: UIPrinter? { get } weak var delegate: UIPrinterPickerControllerDelegate? func presentAnimated(_ animated: Bool, completionHandler completion: UIPrinterPickerCompletionHandler?) -> Bool func presentFromRect(_ rect: CGRect, inView view: UIView, animated animated: Bool, completionHandler completion: UIPrinterPickerCompletionHandler?) -> Bool func presentFromBarButtonItem(_ item: UIBarButtonItem, animated animated: Bool, completionHandler completion: UIPrinterPickerCompletionHandler?) -> Bool func dismissAnimated(_ animated: Bool) } |
Modified UIPrinterPickerController.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UIPrinterPickerControllerDelegate? |
To | weak var delegate: UIPrinterPickerControllerDelegate? |
Declaration | |
---|---|
From | init!(initiallySelectedPrinter printer: UIPrinter!) -> UIPrinterPickerController |
To | init(initiallySelectedPrinter printer: UIPrinter?) |
Declaration | |
---|---|
From | func presentFromBarButtonItem(_ item: UIBarButtonItem!, animated animated: Bool, completionHandler completion: UIPrinterPickerCompletionHandler?) -> Bool |
To | func presentFromBarButtonItem(_ item: UIBarButtonItem, animated animated: Bool, completionHandler completion: UIPrinterPickerCompletionHandler?) -> Bool |
Declaration | |
---|---|
From | func presentFromRect(_ rect: CGRect, inView view: UIView!, animated animated: Bool, completionHandler completion: UIPrinterPickerCompletionHandler!) -> Bool |
To | func presentFromRect(_ rect: CGRect, inView view: UIView, animated animated: Bool, completionHandler completion: UIPrinterPickerCompletionHandler?) -> Bool |
Modified UIPrinterPickerControllerDelegate
Declaration | |
---|---|
From | protocol UIPrinterPickerControllerDelegate : NSObjectProtocol { optional func printerPickerControllerParentViewController(_ printerPickerController: UIPrinterPickerController) -> UIViewController! optional func printerPickerController(_ printerPickerController: UIPrinterPickerController, shouldShowPrinter printer: UIPrinter) -> Bool optional func printerPickerControllerWillPresent(_ printerPickerController: UIPrinterPickerController) optional func printerPickerControllerDidPresent(_ printerPickerController: UIPrinterPickerController) optional func printerPickerControllerWillDismiss(_ printerPickerController: UIPrinterPickerController) optional func printerPickerControllerDidDismiss(_ printerPickerController: UIPrinterPickerController) optional func printerPickerControllerDidSelectPrinter(_ printerPickerController: UIPrinterPickerController) } |
To | protocol UIPrinterPickerControllerDelegate : NSObjectProtocol { optional func printerPickerControllerParentViewController(_ printerPickerController: UIPrinterPickerController) -> UIViewController? optional func printerPickerController(_ printerPickerController: UIPrinterPickerController, shouldShowPrinter printer: UIPrinter) -> Bool optional func printerPickerControllerWillPresent(_ printerPickerController: UIPrinterPickerController) optional func printerPickerControllerDidPresent(_ printerPickerController: UIPrinterPickerController) optional func printerPickerControllerWillDismiss(_ printerPickerController: UIPrinterPickerController) optional func printerPickerControllerDidDismiss(_ printerPickerController: UIPrinterPickerController) optional func printerPickerControllerDidSelectPrinter(_ printerPickerController: UIPrinterPickerController) } |
Declaration | |
---|---|
From | optional func printerPickerControllerParentViewController(_ printerPickerController: UIPrinterPickerController) -> UIViewController! |
To | optional func printerPickerControllerParentViewController(_ printerPickerController: UIPrinterPickerController) -> UIViewController? |
Modified UIPrintFormatter
Declaration | |
---|---|
From | class UIPrintFormatter : NSObject, NSCopying { unowned(unsafe) var printPageRenderer: UIPrintPageRenderer! { get } func removeFromPrintPageRenderer() var maximumContentHeight: CGFloat var maximumContentWidth: CGFloat var contentInsets: UIEdgeInsets var perPageContentInsets: UIEdgeInsets var startPage: Int var pageCount: Int { get } func rectForPageAtIndex(_ pageIndex: Int) -> CGRect func drawInRect(_ rect: CGRect, forPageAtIndex pageIndex: Int) } |
To | class UIPrintFormatter : NSObject, NSCopying { weak var printPageRenderer: UIPrintPageRenderer? { get } func removeFromPrintPageRenderer() var maximumContentHeight: CGFloat var maximumContentWidth: CGFloat var contentInsets: UIEdgeInsets var perPageContentInsets: UIEdgeInsets var startPage: Int var pageCount: Int { get } func rectForPageAtIndex(_ pageIndex: Int) -> CGRect func drawInRect(_ rect: CGRect, forPageAtIndex pageIndex: Int) } |
Modified UIPrintFormatter.printPageRenderer
Declaration | |
---|---|
From | unowned(unsafe) var printPageRenderer: UIPrintPageRenderer! { get } |
To | weak var printPageRenderer: UIPrintPageRenderer? { get } |
Modified UIPrintInfo
Declaration | |
---|---|
From | class UIPrintInfo : NSObject, NSCopying, NSCoding { class func printInfo() -> UIPrintInfo! init!(dictionary dictionary: [NSObject : AnyObject]?) -> UIPrintInfo class func printInfoWithDictionary(_ dictionary: [NSObject : AnyObject]?) -> UIPrintInfo! func dictionaryRepresentation() -> [NSObject : AnyObject]? var printerID: String? var jobName: String! var outputType: UIPrintInfoOutputType var orientation: UIPrintInfoOrientation var duplex: UIPrintInfoDuplex } |
To | class UIPrintInfo : NSObject, NSCopying, NSCoding { init?(coder aDecoder: NSCoder) class func printInfo() -> UIPrintInfo init(dictionary dictionary: [NSObject : AnyObject]?) class func printInfoWithDictionary(_ dictionary: [NSObject : AnyObject]?) -> UIPrintInfo func dictionaryRepresentation() -> [NSObject : AnyObject] var printerID: String? var jobName: String var outputType: UIPrintInfoOutputType var orientation: UIPrintInfoOrientation var duplex: UIPrintInfoDuplex } |
Declaration | |
---|---|
From | func dictionaryRepresentation() -> [NSObject : AnyObject]? |
To | func dictionaryRepresentation() -> [NSObject : AnyObject] |
Declaration | |
---|---|
From | init!(dictionary dictionary: [NSObject : AnyObject]?) -> UIPrintInfo |
To | init(dictionary dictionary: [NSObject : AnyObject]?) |
Modified UIPrintInfo.jobName
Declaration | |
---|---|
From | var jobName: String! |
To | var jobName: String |
Declaration | |
---|---|
From | class func printInfo() -> UIPrintInfo! |
To | class func printInfo() -> UIPrintInfo |
Modified UIPrintInfoDuplex [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIPrintInfoOrientation [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIPrintInfoOutputType [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIPrintInfoOutputType.PhotoGrayscale
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Modified UIPrintInteractionController
Declaration | |
---|---|
From | class UIPrintInteractionController : NSObject { class func isPrintingAvailable() -> Bool class func printableUTIs() -> Set<NSObject> class func canPrintURL(_ url: NSURL) -> Bool class func canPrintData(_ data: NSData) -> Bool class func sharedPrintController() -> UIPrintInteractionController? var printInfo: UIPrintInfo! unowned(unsafe) var delegate: UIPrintInteractionControllerDelegate? var showsPageRange: Bool var showsNumberOfCopies: Bool var showsPaperSelectionForLoadedPapers: Bool var printPaper: UIPrintPaper! { get } var printPageRenderer: UIPrintPageRenderer! var printFormatter: UIPrintFormatter! @NSCopying var printingItem: AnyObject! var printingItems: [AnyObject]! func presentAnimated(_ animated: Bool, completionHandler completion: UIPrintInteractionCompletionHandler?) -> Bool func presentFromRect(_ rect: CGRect, inView view: UIView, animated animated: Bool, completionHandler completion: UIPrintInteractionCompletionHandler?) -> Bool func presentFromBarButtonItem(_ item: UIBarButtonItem, animated animated: Bool, completionHandler completion: UIPrintInteractionCompletionHandler?) -> Bool func printToPrinter(_ printer: UIPrinter, completionHandler completion: UIPrintInteractionCompletionHandler?) -> Bool func dismissAnimated(_ animated: Bool) } |
To | class UIPrintInteractionController : NSObject { class func isPrintingAvailable() -> Bool class func printableUTIs() -> Set<String> class func canPrintURL(_ url: NSURL) -> Bool class func canPrintData(_ data: NSData) -> Bool class func sharedPrintController() -> UIPrintInteractionController var printInfo: UIPrintInfo? weak var delegate: UIPrintInteractionControllerDelegate? var showsPageRange: Bool var showsNumberOfCopies: Bool var showsPaperSelectionForLoadedPapers: Bool var printPaper: UIPrintPaper? { get } var printPageRenderer: UIPrintPageRenderer? var printFormatter: UIPrintFormatter? @NSCopying var printingItem: AnyObject? var printingItems: [AnyObject]? func presentAnimated(_ animated: Bool, completionHandler completion: UIPrintInteractionCompletionHandler?) -> Bool func presentFromRect(_ rect: CGRect, inView view: UIView, animated animated: Bool, completionHandler completion: UIPrintInteractionCompletionHandler?) -> Bool func presentFromBarButtonItem(_ item: UIBarButtonItem, animated animated: Bool, completionHandler completion: UIPrintInteractionCompletionHandler?) -> Bool func printToPrinter(_ printer: UIPrinter, completionHandler completion: UIPrintInteractionCompletionHandler?) -> Bool func dismissAnimated(_ animated: Bool) } |
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UIPrintInteractionControllerDelegate? |
To | weak var delegate: UIPrintInteractionControllerDelegate? |
Declaration | |
---|---|
From | class func printableUTIs() -> Set<NSObject> |
To | class func printableUTIs() -> Set<String> |
Declaration | |
---|---|
From | var printFormatter: UIPrintFormatter! |
To | var printFormatter: UIPrintFormatter? |
Declaration | |
---|---|
From | var printInfo: UIPrintInfo! |
To | var printInfo: UIPrintInfo? |
Declaration | |
---|---|
From | @NSCopying var printingItem: AnyObject! |
To | @NSCopying var printingItem: AnyObject? |
Declaration | |
---|---|
From | var printingItems: [AnyObject]! |
To | var printingItems: [AnyObject]? |
Declaration | |
---|---|
From | var printPageRenderer: UIPrintPageRenderer! |
To | var printPageRenderer: UIPrintPageRenderer? |
Declaration | |
---|---|
From | var printPaper: UIPrintPaper! { get } |
To | var printPaper: UIPrintPaper? { get } |
Modified UIPrintInteractionController.sharedPrintController() -> UIPrintInteractionController [class]
Declaration | |
---|---|
From | class func sharedPrintController() -> UIPrintInteractionController? |
To | class func sharedPrintController() -> UIPrintInteractionController |
Modified UIPrintInteractionControllerDelegate
Declaration | |
---|---|
From | protocol UIPrintInteractionControllerDelegate : NSObjectProtocol { optional func printInteractionControllerParentViewController(_ printInteractionController: UIPrintInteractionController) -> UIViewController? optional func printInteractionController(_ printInteractionController: UIPrintInteractionController, choosePaper paperList: [AnyObject]) -> UIPrintPaper? optional func printInteractionControllerWillPresentPrinterOptions(_ printInteractionController: UIPrintInteractionController) optional func printInteractionControllerDidPresentPrinterOptions(_ printInteractionController: UIPrintInteractionController) optional func printInteractionControllerWillDismissPrinterOptions(_ printInteractionController: UIPrintInteractionController) optional func printInteractionControllerDidDismissPrinterOptions(_ printInteractionController: UIPrintInteractionController) optional func printInteractionControllerWillStartJob(_ printInteractionController: UIPrintInteractionController) optional func printInteractionControllerDidFinishJob(_ printInteractionController: UIPrintInteractionController) optional func printInteractionController(_ printInteractionController: UIPrintInteractionController, cutLengthForPaper paper: UIPrintPaper) -> CGFloat } |
To | protocol UIPrintInteractionControllerDelegate : NSObjectProtocol { optional func printInteractionControllerParentViewController(_ printInteractionController: UIPrintInteractionController) -> UIViewController optional func printInteractionController(_ printInteractionController: UIPrintInteractionController, choosePaper paperList: [UIPrintPaper]) -> UIPrintPaper optional func printInteractionControllerWillPresentPrinterOptions(_ printInteractionController: UIPrintInteractionController) optional func printInteractionControllerDidPresentPrinterOptions(_ printInteractionController: UIPrintInteractionController) optional func printInteractionControllerWillDismissPrinterOptions(_ printInteractionController: UIPrintInteractionController) optional func printInteractionControllerDidDismissPrinterOptions(_ printInteractionController: UIPrintInteractionController) optional func printInteractionControllerWillStartJob(_ printInteractionController: UIPrintInteractionController) optional func printInteractionControllerDidFinishJob(_ printInteractionController: UIPrintInteractionController) optional func printInteractionController(_ printInteractionController: UIPrintInteractionController, cutLengthForPaper paper: UIPrintPaper) -> CGFloat optional func printInteractionController(_ printInteractionController: UIPrintInteractionController, chooseCutterBehavior availableBehaviors: [AnyObject]) -> UIPrinterCutterBehavior } |
Declaration | Introduction | |
---|---|---|
From | optional func printInteractionController(_ printInteractionController: UIPrintInteractionController, choosePaper paperList: [AnyObject]) -> UIPrintPaper? | iOS 8.0 |
To | optional func printInteractionController(_ printInteractionController: UIPrintInteractionController, choosePaper paperList: [UIPrintPaper]) -> UIPrintPaper | iOS 4.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.2 |
Declaration | Introduction | |
---|---|---|
From | optional func printInteractionControllerParentViewController(_ printInteractionController: UIPrintInteractionController) -> UIViewController? | iOS 8.0 |
To | optional func printInteractionControllerParentViewController(_ printInteractionController: UIPrintInteractionController) -> UIViewController | iOS 4.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.2 |
Modified UIPrintPageRenderer
Declaration | |
---|---|
From | class UIPrintPageRenderer : NSObject { var headerHeight: CGFloat var footerHeight: CGFloat var paperRect: CGRect { get } var printableRect: CGRect { get } var printFormatters: [AnyObject]! func printFormattersForPageAtIndex(_ pageIndex: Int) -> [AnyObject]! func addPrintFormatter(_ formatter: UIPrintFormatter!, startingAtPageAtIndex pageIndex: Int) func numberOfPages() -> Int func prepareForDrawingPages(_ range: NSRange) func drawPageAtIndex(_ pageIndex: Int, inRect printableRect: CGRect) func drawPrintFormatter(_ printFormatter: UIPrintFormatter!, forPageAtIndex pageIndex: Int) func drawHeaderForPageAtIndex(_ pageIndex: Int, inRect headerRect: CGRect) func drawContentForPageAtIndex(_ pageIndex: Int, inRect contentRect: CGRect) func drawFooterForPageAtIndex(_ pageIndex: Int, inRect footerRect: CGRect) } |
To | class UIPrintPageRenderer : NSObject { var headerHeight: CGFloat var footerHeight: CGFloat var paperRect: CGRect { get } var printableRect: CGRect { get } var printFormatters: [UIPrintFormatter]? func printFormattersForPageAtIndex(_ pageIndex: Int) -> [UIPrintFormatter]? func addPrintFormatter(_ formatter: UIPrintFormatter, startingAtPageAtIndex pageIndex: Int) func numberOfPages() -> Int func prepareForDrawingPages(_ range: NSRange) func drawPageAtIndex(_ pageIndex: Int, inRect printableRect: CGRect) func drawPrintFormatter(_ printFormatter: UIPrintFormatter, forPageAtIndex pageIndex: Int) func drawHeaderForPageAtIndex(_ pageIndex: Int, inRect headerRect: CGRect) func drawContentForPageAtIndex(_ pageIndex: Int, inRect contentRect: CGRect) func drawFooterForPageAtIndex(_ pageIndex: Int, inRect footerRect: CGRect) } |
Declaration | |
---|---|
From | func addPrintFormatter(_ formatter: UIPrintFormatter!, startingAtPageAtIndex pageIndex: Int) |
To | func addPrintFormatter(_ formatter: UIPrintFormatter, startingAtPageAtIndex pageIndex: Int) |
Declaration | |
---|---|
From | func drawPrintFormatter(_ printFormatter: UIPrintFormatter!, forPageAtIndex pageIndex: Int) |
To | func drawPrintFormatter(_ printFormatter: UIPrintFormatter, forPageAtIndex pageIndex: Int) |
Modified UIPrintPageRenderer.printFormatters
Declaration | |
---|---|
From | var printFormatters: [AnyObject]! |
To | var printFormatters: [UIPrintFormatter]? |
Declaration | |
---|---|
From | func printFormattersForPageAtIndex(_ pageIndex: Int) -> [AnyObject]! |
To | func printFormattersForPageAtIndex(_ pageIndex: Int) -> [UIPrintFormatter]? |
Modified UIPrintPaper
Declaration | |
---|---|
From | class UIPrintPaper : NSObject { class func bestPaperForPageSize(_ contentSize: CGSize, withPapersFromArray paperList: [AnyObject]!) -> UIPrintPaper? var paperSize: CGSize { get } var printableRect: CGRect { get } } extension UIPrintPaper { func printRect() -> CGRect } |
To | class UIPrintPaper : NSObject { class func bestPaperForPageSize(_ contentSize: CGSize, withPapersFromArray paperList: [UIPrintPaper]) -> UIPrintPaper var paperSize: CGSize { get } var printableRect: CGRect { get } } extension UIPrintPaper { func printRect() -> CGRect } |
Declaration | |
---|---|
From | class func bestPaperForPageSize(_ contentSize: CGSize, withPapersFromArray paperList: [AnyObject]!) -> UIPrintPaper? |
To | class func bestPaperForPageSize(_ contentSize: CGSize, withPapersFromArray paperList: [UIPrintPaper]) -> UIPrintPaper |
Modified UIProgressView
Declaration | |
---|---|
From | class UIProgressView : UIView, NSCoding { init(progressViewStyle style: UIProgressViewStyle) var progressViewStyle: UIProgressViewStyle var progress: Float var progressTintColor: UIColor? var trackTintColor: UIColor? var progressImage: UIImage? var trackImage: UIImage? func setProgress(_ progress: Float, animated animated: Bool) } |
To | class UIProgressView : UIView { init(frame frame: CGRect) init?(coder aDecoder: NSCoder) convenience init(progressViewStyle style: UIProgressViewStyle) var progressViewStyle: UIProgressViewStyle var progress: Float var progressTintColor: UIColor? var trackTintColor: UIColor? var progressImage: UIImage? var trackImage: UIImage? func setProgress(_ progress: Float, animated animated: Bool) var observedProgress: NSProgress? } |
Declaration | |
---|---|
From | init(progressViewStyle style: UIProgressViewStyle) |
To | convenience init(progressViewStyle style: UIProgressViewStyle) |
Modified UIProgressViewStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIPushBehavior
Declaration | |
---|---|
From | class UIPushBehavior : UIDynamicBehavior { init!(items items: [AnyObject]!, mode mode: UIPushBehaviorMode) func addItem(_ item: UIDynamicItem) func removeItem(_ item: UIDynamicItem) var items: [AnyObject] { get } func targetOffsetFromCenterForItem(_ item: UIDynamicItem) -> UIOffset func setTargetOffsetFromCenter(_ o: UIOffset, forItem item: UIDynamicItem) var mode: UIPushBehaviorMode { get } var active: Bool var angle: CGFloat var magnitude: CGFloat var pushDirection: CGVector func setAngle(_ angle: CGFloat, magnitude magnitude: CGFloat) } |
To | class UIPushBehavior : UIDynamicBehavior { init(items items: [UIDynamicItem], mode mode: UIPushBehaviorMode) func addItem(_ item: UIDynamicItem) func removeItem(_ item: UIDynamicItem) var items: [UIDynamicItem] { get } func targetOffsetFromCenterForItem(_ item: UIDynamicItem) -> UIOffset func setTargetOffsetFromCenter(_ o: UIOffset, forItem item: UIDynamicItem) var mode: UIPushBehaviorMode { get } var active: Bool var angle: CGFloat var magnitude: CGFloat var pushDirection: CGVector func setAngle(_ angle: CGFloat, magnitude magnitude: CGFloat) } |
Declaration | |
---|---|
From | init!(items items: [AnyObject]!, mode mode: UIPushBehaviorMode) |
To | init(items items: [UIDynamicItem], mode mode: UIPushBehaviorMode) |
Modified UIPushBehavior.items
Declaration | |
---|---|
From | var items: [AnyObject] { get } |
To | var items: [UIDynamicItem] { get } |
Modified UIPushBehaviorMode [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIRectCorner [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIRectCorner : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var TopLeft: UIRectCorner { get } static var TopRight: UIRectCorner { get } static var BottomLeft: UIRectCorner { get } static var BottomRight: UIRectCorner { get } static var AllCorners: UIRectCorner { get } } | RawOptionSetType |
To | struct UIRectCorner : OptionSetType { init(rawValue rawValue: UInt) static var TopLeft: UIRectCorner { get } static var TopRight: UIRectCorner { get } static var BottomLeft: UIRectCorner { get } static var BottomRight: UIRectCorner { get } static var AllCorners: UIRectCorner { get } } | OptionSetType |
Modified UIRectEdge [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIRectEdge : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var None: UIRectEdge { get } static var Top: UIRectEdge { get } static var Left: UIRectEdge { get } static var Bottom: UIRectEdge { get } static var Right: UIRectEdge { get } static var All: UIRectEdge { get } } | RawOptionSetType |
To | struct UIRectEdge : OptionSetType { init(rawValue rawValue: UInt) static var None: UIRectEdge { get } static var Top: UIRectEdge { get } static var Left: UIRectEdge { get } static var Bottom: UIRectEdge { get } static var Right: UIRectEdge { get } static var All: UIRectEdge { get } } | OptionSetType |
Modified UIReferenceLibraryViewController
Declaration | |
---|---|
From | class UIReferenceLibraryViewController : UIViewController { class func dictionaryHasDefinitionForTerm(_ term: String) -> Bool init(term term: String) } |
To | class UIReferenceLibraryViewController : UIViewController { class func dictionaryHasDefinitionForTerm(_ term: String) -> Bool init(term term: String) init(coder aDecoder: NSCoder) convenience init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) convenience init() } |
Modified UIRemoteNotificationType [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIRemoteNotificationType : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var None: UIRemoteNotificationType { get } static var Badge: UIRemoteNotificationType { get } static var Sound: UIRemoteNotificationType { get } static var Alert: UIRemoteNotificationType { get } static var NewsstandContentAvailability: UIRemoteNotificationType { get } } | RawOptionSetType |
To | struct UIRemoteNotificationType : OptionSetType { init(rawValue rawValue: UInt) static var None: UIRemoteNotificationType { get } static var Badge: UIRemoteNotificationType { get } static var Sound: UIRemoteNotificationType { get } static var Alert: UIRemoteNotificationType { get } static var NewsstandContentAvailability: UIRemoteNotificationType { get } } | OptionSetType |
Modified UIResponder
Declaration | |
---|---|
From | class UIResponder : NSObject { func nextResponder() -> UIResponder? func canBecomeFirstResponder() -> Bool func becomeFirstResponder() -> Bool func canResignFirstResponder() -> Bool func resignFirstResponder() -> Bool func isFirstResponder() -> Bool func touchesBegan(_ touches: Set<NSObject>, withEvent event: UIEvent) func touchesMoved(_ touches: Set<NSObject>, withEvent event: UIEvent) func touchesEnded(_ touches: Set<NSObject>, withEvent event: UIEvent) func touchesCancelled(_ touches: Set<NSObject>!, withEvent event: UIEvent!) func motionBegan(_ motion: UIEventSubtype, withEvent event: UIEvent) func motionEnded(_ motion: UIEventSubtype, withEvent event: UIEvent) func motionCancelled(_ motion: UIEventSubtype, withEvent event: UIEvent) func remoteControlReceivedWithEvent(_ event: UIEvent) func canPerformAction(_ action: Selector, withSender sender: AnyObject?) -> Bool func targetForAction(_ action: Selector, withSender sender: AnyObject?) -> AnyObject? var undoManager: NSUndoManager? { get } } extension UIResponder { var keyCommands: [AnyObject]? { get } } extension UIResponder { var inputView: UIView? { get } var inputAccessoryView: UIView? { get } var inputViewController: UIInputViewController? { get } var inputAccessoryViewController: UIInputViewController? { get } var textInputMode: UITextInputMode? { get } var textInputContextIdentifier: String? { get } class func clearTextInputContextIdentifier(_ identifier: String) func reloadInputViews() } extension UIResponder { var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) } |
To | class UIResponder : NSObject { func nextResponder() -> UIResponder? func canBecomeFirstResponder() -> Bool func becomeFirstResponder() -> Bool func canResignFirstResponder() -> Bool func resignFirstResponder() -> Bool func isFirstResponder() -> Bool func touchesBegan(_ touches: Set<UITouch>, withEvent event: UIEvent?) func touchesMoved(_ touches: Set<UITouch>, withEvent event: UIEvent?) func touchesEnded(_ touches: Set<UITouch>, withEvent event: UIEvent?) func touchesCancelled(_ touches: Set<UITouch>?, withEvent event: UIEvent?) func motionBegan(_ motion: UIEventSubtype, withEvent event: UIEvent?) func motionEnded(_ motion: UIEventSubtype, withEvent event: UIEvent?) func motionCancelled(_ motion: UIEventSubtype, withEvent event: UIEvent?) func remoteControlReceivedWithEvent(_ event: UIEvent?) func canPerformAction(_ action: Selector, withSender sender: AnyObject?) -> Bool func targetForAction(_ action: Selector, withSender sender: AnyObject?) -> AnyObject? var undoManager: NSUndoManager? { get } } extension UIResponder { var keyCommands: [UIKeyCommand]? { get } } extension UIResponder { var inputView: UIView? { get } var inputAccessoryView: UIView? { get } var inputAssistantItem: UITextInputAssistantItem { get } var inputViewController: UIInputViewController? { get } var inputAccessoryViewController: UIInputViewController? { get } var textInputMode: UITextInputMode? { get } var textInputContextIdentifier: String? { get } class func clearTextInputContextIdentifier(_ identifier: String) func reloadInputViews() } extension UIResponder { var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) } |
Modified UIResponder.keyCommands
Declaration | |
---|---|
From | var keyCommands: [AnyObject]? { get } |
To | var keyCommands: [UIKeyCommand]? { get } |
Declaration | |
---|---|
From | func motionBegan(_ motion: UIEventSubtype, withEvent event: UIEvent) |
To | func motionBegan(_ motion: UIEventSubtype, withEvent event: UIEvent?) |
Declaration | |
---|---|
From | func motionCancelled(_ motion: UIEventSubtype, withEvent event: UIEvent) |
To | func motionCancelled(_ motion: UIEventSubtype, withEvent event: UIEvent?) |
Declaration | |
---|---|
From | func motionEnded(_ motion: UIEventSubtype, withEvent event: UIEvent) |
To | func motionEnded(_ motion: UIEventSubtype, withEvent event: UIEvent?) |
Declaration | |
---|---|
From | func remoteControlReceivedWithEvent(_ event: UIEvent) |
To | func remoteControlReceivedWithEvent(_ event: UIEvent?) |
Declaration | |
---|---|
From | func touchesBegan(_ touches: Set<NSObject>, withEvent event: UIEvent) |
To | func touchesBegan(_ touches: Set<UITouch>, withEvent event: UIEvent?) |
Declaration | |
---|---|
From | func touchesCancelled(_ touches: Set<NSObject>!, withEvent event: UIEvent!) |
To | func touchesCancelled(_ touches: Set<UITouch>?, withEvent event: UIEvent?) |
Declaration | |
---|---|
From | func touchesEnded(_ touches: Set<NSObject>, withEvent event: UIEvent) |
To | func touchesEnded(_ touches: Set<UITouch>, withEvent event: UIEvent?) |
Declaration | |
---|---|
From | func touchesMoved(_ touches: Set<NSObject>, withEvent event: UIEvent) |
To | func touchesMoved(_ touches: Set<UITouch>, withEvent event: UIEvent?) |
Modified UIReturnKeyType [enum]
Declaration | Raw Value Type | |
---|---|---|
From | enum UIReturnKeyType : Int { case Default case Go case Google case Join case Next case Route case Search case Send case Yahoo case Done case EmergencyCall } | -- |
To | enum UIReturnKeyType : Int { case Default case Go case Google case Join case Next case Route case Search case Send case Yahoo case Done case EmergencyCall case Continue } | Int |
Modified UIScreen
Declaration | |
---|---|
From | class UIScreen : NSObject, UITraitEnvironment, NSObjectProtocol { class func screens() -> [AnyObject] class func mainScreen() -> UIScreen var bounds: CGRect { get } var applicationFrame: CGRect { get } var scale: CGFloat { get } var availableModes: [AnyObject] { get } var preferredMode: UIScreenMode! { get } var currentMode: UIScreenMode? var overscanCompensation: UIScreenOverscanCompensation var mirroredScreen: UIScreen? { get } var brightness: CGFloat var wantsSoftwareDimming: Bool var coordinateSpace: UICoordinateSpace { get } var fixedCoordinateSpace: UICoordinateSpace { get } var nativeBounds: CGRect { get } var nativeScale: CGFloat { get } func displayLinkWithTarget(_ target: AnyObject!, selector sel: Selector) -> CADisplayLink! } extension UIScreen { func snapshotViewAfterScreenUpdates(_ afterUpdates: Bool) -> UIView } |
To | class UIScreen : NSObject, UITraitEnvironment { class func screens() -> [UIScreen] class func mainScreen() -> UIScreen var bounds: CGRect { get } var scale: CGFloat { get } var availableModes: [UIScreenMode] { get } var preferredMode: UIScreenMode? { get } var currentMode: UIScreenMode? var overscanCompensation: UIScreenOverscanCompensation var overscanCompensationInsets: UIEdgeInsets { get } var mirroredScreen: UIScreen? { get } var brightness: CGFloat var wantsSoftwareDimming: Bool var coordinateSpace: UICoordinateSpace { get } var fixedCoordinateSpace: UICoordinateSpace { get } var nativeBounds: CGRect { get } var nativeScale: CGFloat { get } func displayLinkWithTarget(_ target: AnyObject, selector sel: Selector) -> CADisplayLink? var applicationFrame: CGRect { get } } extension UIScreen { func snapshotViewAfterScreenUpdates(_ afterUpdates: Bool) -> UIView } |
Modified UIScreen.applicationFrame
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 2.0 | iOS 9.0 |
Modified UIScreen.availableModes
Declaration | |
---|---|
From | var availableModes: [AnyObject] { get } |
To | var availableModes: [UIScreenMode] { get } |
Declaration | |
---|---|
From | func displayLinkWithTarget(_ target: AnyObject!, selector sel: Selector) -> CADisplayLink! |
To | func displayLinkWithTarget(_ target: AnyObject, selector sel: Selector) -> CADisplayLink? |
Modified UIScreen.preferredMode
Declaration | |
---|---|
From | var preferredMode: UIScreenMode! { get } |
To | var preferredMode: UIScreenMode? { get } |
Declaration | |
---|---|
From | class func screens() -> [AnyObject] |
To | class func screens() -> [UIScreen] |
Modified UIScreenOverscanCompensation [enum]
Declaration | Raw Value Type | |
---|---|---|
From | enum UIScreenOverscanCompensation : Int { case Scale case InsetBounds case InsetApplicationFrame } | -- |
To | enum UIScreenOverscanCompensation : Int { case Scale case InsetBounds case None static var InsetApplicationFrame: UIScreenOverscanCompensation { get } } | Int |
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | case InsetApplicationFrame | iOS 8.0 | -- |
To | static var InsetApplicationFrame: UIScreenOverscanCompensation { get } | iOS 5.0 | iOS 9.0 |
Modified UIScrollView
Declaration | |
---|---|
From | class UIScrollView : UIView, NSCoding { var contentOffset: CGPoint var contentSize: CGSize var contentInset: UIEdgeInsets unowned(unsafe) var delegate: UIScrollViewDelegate? var directionalLockEnabled: Bool var bounces: Bool var alwaysBounceVertical: Bool var alwaysBounceHorizontal: Bool var pagingEnabled: Bool var scrollEnabled: Bool var showsHorizontalScrollIndicator: Bool var showsVerticalScrollIndicator: Bool var scrollIndicatorInsets: UIEdgeInsets var indicatorStyle: UIScrollViewIndicatorStyle var decelerationRate: CGFloat func setContentOffset(_ contentOffset: CGPoint, animated animated: Bool) func scrollRectToVisible(_ rect: CGRect, animated animated: Bool) func flashScrollIndicators() var tracking: Bool { get } var dragging: Bool { get } var decelerating: Bool { get } var delaysContentTouches: Bool var canCancelContentTouches: Bool func touchesShouldBegin(_ touches: Set<NSObject>!, withEvent event: UIEvent!, inContentView view: UIView!) -> Bool func touchesShouldCancelInContentView(_ view: UIView!) -> Bool var minimumZoomScale: CGFloat var maximumZoomScale: CGFloat var zoomScale: CGFloat func setZoomScale(_ scale: CGFloat, animated animated: Bool) func zoomToRect(_ rect: CGRect, animated animated: Bool) var bouncesZoom: Bool var zooming: Bool { get } var zoomBouncing: Bool { get } var scrollsToTop: Bool var panGestureRecognizer: UIPanGestureRecognizer { get } var pinchGestureRecognizer: UIPinchGestureRecognizer! { get } var keyboardDismissMode: UIScrollViewKeyboardDismissMode } |
To | class UIScrollView : UIView { var contentOffset: CGPoint var contentSize: CGSize var contentInset: UIEdgeInsets weak var delegate: UIScrollViewDelegate? var directionalLockEnabled: Bool var bounces: Bool var alwaysBounceVertical: Bool var alwaysBounceHorizontal: Bool var pagingEnabled: Bool var scrollEnabled: Bool var showsHorizontalScrollIndicator: Bool var showsVerticalScrollIndicator: Bool var scrollIndicatorInsets: UIEdgeInsets var indicatorStyle: UIScrollViewIndicatorStyle var decelerationRate: CGFloat func setContentOffset(_ contentOffset: CGPoint, animated animated: Bool) func scrollRectToVisible(_ rect: CGRect, animated animated: Bool) func flashScrollIndicators() var tracking: Bool { get } var dragging: Bool { get } var decelerating: Bool { get } var delaysContentTouches: Bool var canCancelContentTouches: Bool func touchesShouldBegin(_ touches: Set<UITouch>, withEvent event: UIEvent?, inContentView view: UIView) -> Bool func touchesShouldCancelInContentView(_ view: UIView) -> Bool var minimumZoomScale: CGFloat var maximumZoomScale: CGFloat var zoomScale: CGFloat func setZoomScale(_ scale: CGFloat, animated animated: Bool) func zoomToRect(_ rect: CGRect, animated animated: Bool) var bouncesZoom: Bool var zooming: Bool { get } var zoomBouncing: Bool { get } var scrollsToTop: Bool var panGestureRecognizer: UIPanGestureRecognizer { get } var pinchGestureRecognizer: UIPinchGestureRecognizer? { get } var keyboardDismissMode: UIScrollViewKeyboardDismissMode } |
Modified UIScrollView.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UIScrollViewDelegate? |
To | weak var delegate: UIScrollViewDelegate? |
Modified UIScrollView.pinchGestureRecognizer
Declaration | |
---|---|
From | var pinchGestureRecognizer: UIPinchGestureRecognizer! { get } |
To | var pinchGestureRecognizer: UIPinchGestureRecognizer? { get } |
Modified UIScrollView.touchesShouldBegin(_: Set<UITouch>, withEvent: UIEvent?, inContentView: UIView) -> Bool
Declaration | |
---|---|
From | func touchesShouldBegin(_ touches: Set<NSObject>!, withEvent event: UIEvent!, inContentView view: UIView!) -> Bool |
To | func touchesShouldBegin(_ touches: Set<UITouch>, withEvent event: UIEvent?, inContentView view: UIView) -> Bool |
Declaration | |
---|---|
From | func touchesShouldCancelInContentView(_ view: UIView!) -> Bool |
To | func touchesShouldCancelInContentView(_ view: UIView) -> Bool |
Modified UIScrollViewAccessibilityDelegate
Declaration | |
---|---|
From | protocol UIScrollViewAccessibilityDelegate : UIScrollViewDelegate, NSObjectProtocol { optional func accessibilityScrollStatusForScrollView(_ scrollView: UIScrollView!) -> String! } |
To | protocol UIScrollViewAccessibilityDelegate : UIScrollViewDelegate, NSObjectProtocol { optional func accessibilityScrollStatusForScrollView(_ scrollView: UIScrollView) -> String? } |
Modified UIScrollViewAccessibilityDelegate.accessibilityScrollStatusForScrollView(_: UIScrollView) -> String?
Declaration | Introduction | |
---|---|---|
From | optional func accessibilityScrollStatusForScrollView(_ scrollView: UIScrollView!) -> String! | iOS 8.0 |
To | optional func accessibilityScrollStatusForScrollView(_ scrollView: UIScrollView) -> String? | iOS 2.0 |
Modified UIScrollViewDelegate
Declaration | |
---|---|
From | protocol UIScrollViewDelegate : NSObjectProtocol { optional func scrollViewDidScroll(_ scrollView: UIScrollView) optional func scrollViewDidZoom(_ scrollView: UIScrollView) optional func scrollViewWillBeginDragging(_ scrollView: UIScrollView) optional func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset targetContentOffset: UnsafeMutablePointer<CGPoint>) optional func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) optional func scrollViewWillBeginDecelerating(_ scrollView: UIScrollView) optional func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) optional func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView) optional func viewForZoomingInScrollView(_ scrollView: UIScrollView) -> UIView? optional func scrollViewWillBeginZooming(_ scrollView: UIScrollView, withView view: UIView!) optional func scrollViewDidEndZooming(_ scrollView: UIScrollView, withView view: UIView!, atScale scale: CGFloat) optional func scrollViewShouldScrollToTop(_ scrollView: UIScrollView) -> Bool optional func scrollViewDidScrollToTop(_ scrollView: UIScrollView) } |
To | protocol UIScrollViewDelegate : NSObjectProtocol { optional func scrollViewDidScroll(_ scrollView: UIScrollView) optional func scrollViewDidZoom(_ scrollView: UIScrollView) optional func scrollViewWillBeginDragging(_ scrollView: UIScrollView) optional func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset targetContentOffset: UnsafeMutablePointer<CGPoint>) optional func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) optional func scrollViewWillBeginDecelerating(_ scrollView: UIScrollView) optional func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) optional func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView) optional func viewForZoomingInScrollView(_ scrollView: UIScrollView) -> UIView? optional func scrollViewWillBeginZooming(_ scrollView: UIScrollView, withView view: UIView?) optional func scrollViewDidEndZooming(_ scrollView: UIScrollView, withView view: UIView?, atScale scale: CGFloat) optional func scrollViewShouldScrollToTop(_ scrollView: UIScrollView) -> Bool optional func scrollViewDidScrollToTop(_ scrollView: UIScrollView) } |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UIScrollViewDelegate.scrollViewDidEndZooming(_: UIScrollView, withView: UIView?, atScale: CGFloat)
Declaration | Introduction | |
---|---|---|
From | optional func scrollViewDidEndZooming(_ scrollView: UIScrollView, withView view: UIView!, atScale scale: CGFloat) | iOS 8.0 |
To | optional func scrollViewDidEndZooming(_ scrollView: UIScrollView, withView view: UIView?, atScale scale: CGFloat) | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Declaration | |
---|---|
From | optional func scrollViewWillBeginZooming(_ scrollView: UIScrollView, withView view: UIView!) |
To | optional func scrollViewWillBeginZooming(_ scrollView: UIScrollView, withView view: UIView?) |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UIScrollViewIndicatorStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UISearchBar
Declaration | |
---|---|
From | class UISearchBar : UIView, UIBarPositioning, NSObjectProtocol, UITextInputTraits { var barStyle: UIBarStyle unowned(unsafe) var delegate: UISearchBarDelegate? var text: String! var prompt: String? var placeholder: String? var showsBookmarkButton: Bool var showsCancelButton: Bool var showsSearchResultsButton: Bool var searchResultsButtonSelected: Bool func setShowsCancelButton(_ showsCancelButton: Bool, animated animated: Bool) var tintColor: UIColor? var barTintColor: UIColor? var searchBarStyle: UISearchBarStyle var translucent: Bool var scopeButtonTitles: [AnyObject]? var selectedScopeButtonIndex: Int var showsScopeBar: Bool var inputAccessoryView: UIView? var backgroundImage: UIImage? var scopeBarBackgroundImage: UIImage? func setBackgroundImage(_ backgroundImage: UIImage?, forBarPosition barPosition: UIBarPosition, barMetrics barMetrics: UIBarMetrics) func backgroundImageForBarPosition(_ barPosition: UIBarPosition, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setSearchFieldBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState) func searchFieldBackgroundImageForState(_ state: UIControlState) -> UIImage! func setImage(_ iconImage: UIImage?, forSearchBarIcon icon: UISearchBarIcon, state state: UIControlState) func imageForSearchBarIcon(_ icon: UISearchBarIcon, state state: UIControlState) -> UIImage! func setScopeBarButtonBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState) func scopeBarButtonBackgroundImageForState(_ state: UIControlState) -> UIImage? func setScopeBarButtonDividerImage(_ dividerImage: UIImage?, forLeftSegmentState leftState: UIControlState, rightSegmentState rightState: UIControlState) func scopeBarButtonDividerImageForLeftSegmentState(_ leftState: UIControlState, rightSegmentState rightState: UIControlState) -> UIImage! func setScopeBarButtonTitleTextAttributes(_ attributes: [NSObject : AnyObject]?, forState state: UIControlState) func scopeBarButtonTitleTextAttributesForState(_ state: UIControlState) -> [NSObject : AnyObject]? var searchFieldBackgroundPositionAdjustment: UIOffset var searchTextPositionAdjustment: UIOffset func setPositionAdjustment(_ adjustment: UIOffset, forSearchBarIcon icon: UISearchBarIcon) func positionAdjustmentForSearchBarIcon(_ icon: UISearchBarIcon) -> UIOffset } |
To | class UISearchBar : UIView, UIBarPositioning, UITextInputTraits { convenience init() init(frame frame: CGRect) init?(coder aDecoder: NSCoder) var barStyle: UIBarStyle weak var delegate: UISearchBarDelegate? var text: String? var prompt: String? var placeholder: String? var showsBookmarkButton: Bool var showsCancelButton: Bool var showsSearchResultsButton: Bool var searchResultsButtonSelected: Bool func setShowsCancelButton(_ showsCancelButton: Bool, animated animated: Bool) var inputAssistantItem: UITextInputAssistantItem { get } var tintColor: UIColor! var barTintColor: UIColor? var searchBarStyle: UISearchBarStyle var translucent: Bool var scopeButtonTitles: [String]? var selectedScopeButtonIndex: Int var showsScopeBar: Bool var inputAccessoryView: UIView? var backgroundImage: UIImage? var scopeBarBackgroundImage: UIImage? func setBackgroundImage(_ backgroundImage: UIImage?, forBarPosition barPosition: UIBarPosition, barMetrics barMetrics: UIBarMetrics) func backgroundImageForBarPosition(_ barPosition: UIBarPosition, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setSearchFieldBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState) func searchFieldBackgroundImageForState(_ state: UIControlState) -> UIImage? func setImage(_ iconImage: UIImage?, forSearchBarIcon icon: UISearchBarIcon, state state: UIControlState) func imageForSearchBarIcon(_ icon: UISearchBarIcon, state state: UIControlState) -> UIImage? func setScopeBarButtonBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState) func scopeBarButtonBackgroundImageForState(_ state: UIControlState) -> UIImage? func setScopeBarButtonDividerImage(_ dividerImage: UIImage?, forLeftSegmentState leftState: UIControlState, rightSegmentState rightState: UIControlState) func scopeBarButtonDividerImageForLeftSegmentState(_ leftState: UIControlState, rightSegmentState rightState: UIControlState) -> UIImage? func setScopeBarButtonTitleTextAttributes(_ attributes: [String : AnyObject]?, forState state: UIControlState) func scopeBarButtonTitleTextAttributesForState(_ state: UIControlState) -> [String : AnyObject]? var searchFieldBackgroundPositionAdjustment: UIOffset var searchTextPositionAdjustment: UIOffset func setPositionAdjustment(_ adjustment: UIOffset, forSearchBarIcon icon: UISearchBarIcon) func positionAdjustmentForSearchBarIcon(_ icon: UISearchBarIcon) -> UIOffset } |
Modified UISearchBar.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UISearchBarDelegate? |
To | weak var delegate: UISearchBarDelegate? |
Declaration | |
---|---|
From | func imageForSearchBarIcon(_ icon: UISearchBarIcon, state state: UIControlState) -> UIImage! |
To | func imageForSearchBarIcon(_ icon: UISearchBarIcon, state state: UIControlState) -> UIImage? |
Declaration | |
---|---|
From | func scopeBarButtonDividerImageForLeftSegmentState(_ leftState: UIControlState, rightSegmentState rightState: UIControlState) -> UIImage! |
To | func scopeBarButtonDividerImageForLeftSegmentState(_ leftState: UIControlState, rightSegmentState rightState: UIControlState) -> UIImage? |
Modified UISearchBar.scopeBarButtonTitleTextAttributesForState(_: UIControlState) -> [String : AnyObject]?
Declaration | |
---|---|
From | func scopeBarButtonTitleTextAttributesForState(_ state: UIControlState) -> [NSObject : AnyObject]? |
To | func scopeBarButtonTitleTextAttributesForState(_ state: UIControlState) -> [String : AnyObject]? |
Modified UISearchBar.scopeButtonTitles
Declaration | |
---|---|
From | var scopeButtonTitles: [AnyObject]? |
To | var scopeButtonTitles: [String]? |
Declaration | |
---|---|
From | func searchFieldBackgroundImageForState(_ state: UIControlState) -> UIImage! |
To | func searchFieldBackgroundImageForState(_ state: UIControlState) -> UIImage? |
Modified UISearchBar.setScopeBarButtonTitleTextAttributes(_: [String : AnyObject]?, forState: UIControlState)
Declaration | |
---|---|
From | func setScopeBarButtonTitleTextAttributes(_ attributes: [NSObject : AnyObject]?, forState state: UIControlState) |
To | func setScopeBarButtonTitleTextAttributes(_ attributes: [String : AnyObject]?, forState state: UIControlState) |
Modified UISearchBar.text
Declaration | |
---|---|
From | var text: String! |
To | var text: String? |
Modified UISearchBar.tintColor
Declaration | |
---|---|
From | var tintColor: UIColor? |
To | var tintColor: UIColor! |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UISearchBarIcon [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UISearchBarStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | UInt |
Modified UISearchController
Declaration | |
---|---|
From | class UISearchController : UIViewController, UIViewControllerTransitioningDelegate, NSObjectProtocol, UIViewControllerAnimatedTransitioning { init(searchResultsController searchResultsController: UIViewController!) unowned(unsafe) var searchResultsUpdater: UISearchResultsUpdating? var active: Bool unowned(unsafe) var delegate: UISearchControllerDelegate? var dimsBackgroundDuringPresentation: Bool var hidesNavigationBarDuringPresentation: Bool var searchResultsController: UIViewController! { get } var searchBar: UISearchBar { get } } |
To | class UISearchController : UIViewController, UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning { init(searchResultsController searchResultsController: UIViewController?) weak var searchResultsUpdater: UISearchResultsUpdating? var active: Bool weak var delegate: UISearchControllerDelegate? var dimsBackgroundDuringPresentation: Bool var hidesNavigationBarDuringPresentation: Bool var searchResultsController: UIViewController? { get } var searchBar: UISearchBar { get } } |
Modified UISearchController.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UISearchControllerDelegate? |
To | weak var delegate: UISearchControllerDelegate? |
Declaration | |
---|---|
From | init(searchResultsController searchResultsController: UIViewController!) |
To | init(searchResultsController searchResultsController: UIViewController?) |
Declaration | |
---|---|
From | var searchResultsController: UIViewController! { get } |
To | var searchResultsController: UIViewController? { get } |
Declaration | |
---|---|
From | unowned(unsafe) var searchResultsUpdater: UISearchResultsUpdating? |
To | weak var searchResultsUpdater: UISearchResultsUpdating? |
Modified UISearchDisplayController
Declaration | |
---|---|
From | class UISearchDisplayController : NSObject { init(searchBar searchBar: UISearchBar!, contentsController viewController: UIViewController!) unowned(unsafe) var delegate: UISearchDisplayDelegate? var active: Bool func setActive(_ visible: Bool, animated animated: Bool) var searchBar: UISearchBar! { get } var searchContentsController: UIViewController! { get } var searchResultsTableView: UITableView! { get } unowned(unsafe) var searchResultsDataSource: UITableViewDataSource? unowned(unsafe) var searchResultsDelegate: UITableViewDelegate? var searchResultsTitle: String? var displaysSearchBarInNavigationBar: Bool var navigationItem: UINavigationItem! { get } } |
To | class UISearchDisplayController : NSObject { init(searchBar searchBar: UISearchBar, contentsController viewController: UIViewController) unowned(unsafe) var delegate: UISearchDisplayDelegate? var active: Bool func setActive(_ visible: Bool, animated animated: Bool) var searchBar: UISearchBar { get } var searchContentsController: UIViewController { get } var searchResultsTableView: UITableView { get } weak var searchResultsDataSource: UITableViewDataSource? weak var searchResultsDelegate: UITableViewDelegate? var searchResultsTitle: String? var displaysSearchBarInNavigationBar: Bool var navigationItem: UINavigationItem? { get } } |
Modified UISearchDisplayController.init(searchBar: UISearchBar, contentsController: UIViewController)
Declaration | |
---|---|
From | init(searchBar searchBar: UISearchBar!, contentsController viewController: UIViewController!) |
To | init(searchBar searchBar: UISearchBar, contentsController viewController: UIViewController) |
Declaration | |
---|---|
From | var navigationItem: UINavigationItem! { get } |
To | var navigationItem: UINavigationItem? { get } |
Modified UISearchDisplayController.searchBar
Declaration | |
---|---|
From | var searchBar: UISearchBar! { get } |
To | var searchBar: UISearchBar { get } |
Declaration | |
---|---|
From | var searchContentsController: UIViewController! { get } |
To | var searchContentsController: UIViewController { get } |
Declaration | |
---|---|
From | unowned(unsafe) var searchResultsDataSource: UITableViewDataSource? |
To | weak var searchResultsDataSource: UITableViewDataSource? |
Declaration | |
---|---|
From | unowned(unsafe) var searchResultsDelegate: UITableViewDelegate? |
To | weak var searchResultsDelegate: UITableViewDelegate? |
Declaration | |
---|---|
From | var searchResultsTableView: UITableView! { get } |
To | var searchResultsTableView: UITableView { get } |
Modified UISearchDisplayDelegate
Declaration | |
---|---|
From | protocol UISearchDisplayDelegate : NSObjectProtocol { optional func searchDisplayControllerWillBeginSearch(_ controller: UISearchDisplayController) optional func searchDisplayControllerDidBeginSearch(_ controller: UISearchDisplayController) optional func searchDisplayControllerWillEndSearch(_ controller: UISearchDisplayController) optional func searchDisplayControllerDidEndSearch(_ controller: UISearchDisplayController) optional func searchDisplayController(_ controller: UISearchDisplayController, didLoadSearchResultsTableView tableView: UITableView) optional func searchDisplayController(_ controller: UISearchDisplayController, willUnloadSearchResultsTableView tableView: UITableView) optional func searchDisplayController(_ controller: UISearchDisplayController, willShowSearchResultsTableView tableView: UITableView) optional func searchDisplayController(_ controller: UISearchDisplayController, didShowSearchResultsTableView tableView: UITableView) optional func searchDisplayController(_ controller: UISearchDisplayController, willHideSearchResultsTableView tableView: UITableView) optional func searchDisplayController(_ controller: UISearchDisplayController, didHideSearchResultsTableView tableView: UITableView) optional func searchDisplayController(_ controller: UISearchDisplayController, shouldReloadTableForSearchString searchString: String!) -> Bool optional func searchDisplayController(_ controller: UISearchDisplayController, shouldReloadTableForSearchScope searchOption: Int) -> Bool } |
To | protocol UISearchDisplayDelegate : NSObjectProtocol { optional func searchDisplayControllerWillBeginSearch(_ controller: UISearchDisplayController) optional func searchDisplayControllerDidBeginSearch(_ controller: UISearchDisplayController) optional func searchDisplayControllerWillEndSearch(_ controller: UISearchDisplayController) optional func searchDisplayControllerDidEndSearch(_ controller: UISearchDisplayController) optional func searchDisplayController(_ controller: UISearchDisplayController, didLoadSearchResultsTableView tableView: UITableView) optional func searchDisplayController(_ controller: UISearchDisplayController, willUnloadSearchResultsTableView tableView: UITableView) optional func searchDisplayController(_ controller: UISearchDisplayController, willShowSearchResultsTableView tableView: UITableView) optional func searchDisplayController(_ controller: UISearchDisplayController, didShowSearchResultsTableView tableView: UITableView) optional func searchDisplayController(_ controller: UISearchDisplayController, willHideSearchResultsTableView tableView: UITableView) optional func searchDisplayController(_ controller: UISearchDisplayController, didHideSearchResultsTableView tableView: UITableView) optional func searchDisplayController(_ controller: UISearchDisplayController, shouldReloadTableForSearchString searchString: String?) -> Bool optional func searchDisplayController(_ controller: UISearchDisplayController, shouldReloadTableForSearchScope searchOption: Int) -> Bool } |
Declaration | |
---|---|
From | optional func searchDisplayController(_ controller: UISearchDisplayController, shouldReloadTableForSearchString searchString: String!) -> Bool |
To | optional func searchDisplayController(_ controller: UISearchDisplayController, shouldReloadTableForSearchString searchString: String?) -> Bool |
Modified UISegmentedControl
Declaration | |
---|---|
From | class UISegmentedControl : UIControl, NSCoding { init(items items: [AnyObject]) var segmentedControlStyle: UISegmentedControlStyle var momentary: Bool var numberOfSegments: Int { get } var apportionsSegmentWidthsByContent: Bool func insertSegmentWithTitle(_ title: String!, atIndex segment: Int, animated animated: Bool) func insertSegmentWithImage(_ image: UIImage, atIndex segment: Int, animated animated: Bool) func removeSegmentAtIndex(_ segment: Int, animated animated: Bool) func removeAllSegments() func setTitle(_ title: String?, forSegmentAtIndex segment: Int) func titleForSegmentAtIndex(_ segment: Int) -> String? func setImage(_ image: UIImage?, forSegmentAtIndex segment: Int) func imageForSegmentAtIndex(_ segment: Int) -> UIImage? func setWidth(_ width: CGFloat, forSegmentAtIndex segment: Int) func widthForSegmentAtIndex(_ segment: Int) -> CGFloat func setContentOffset(_ offset: CGSize, forSegmentAtIndex segment: Int) func contentOffsetForSegmentAtIndex(_ segment: Int) -> CGSize func setEnabled(_ enabled: Bool, forSegmentAtIndex segment: Int) func isEnabledForSegmentAtIndex(_ segment: Int) -> Bool var selectedSegmentIndex: Int var tintColor: UIColor! func setBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState, barMetrics barMetrics: UIBarMetrics) func backgroundImageForState(_ state: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setDividerImage(_ dividerImage: UIImage?, forLeftSegmentState leftState: UIControlState, rightSegmentState rightState: UIControlState, barMetrics barMetrics: UIBarMetrics) func dividerImageForLeftSegmentState(_ leftState: UIControlState, rightSegmentState rightState: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setTitleTextAttributes(_ attributes: [NSObject : AnyObject]?, forState state: UIControlState) func titleTextAttributesForState(_ state: UIControlState) -> [NSObject : AnyObject]! func setContentPositionAdjustment(_ adjustment: UIOffset, forSegmentType leftCenterRightOrAlone: UISegmentedControlSegment, barMetrics barMetrics: UIBarMetrics) func contentPositionAdjustmentForSegmentType(_ leftCenterRightOrAlone: UISegmentedControlSegment, barMetrics barMetrics: UIBarMetrics) -> UIOffset } |
To | class UISegmentedControl : UIControl { init(items items: [AnyObject]?) var segmentedControlStyle: UISegmentedControlStyle var momentary: Bool var numberOfSegments: Int { get } var apportionsSegmentWidthsByContent: Bool func insertSegmentWithTitle(_ title: String?, atIndex segment: Int, animated animated: Bool) func insertSegmentWithImage(_ image: UIImage?, atIndex segment: Int, animated animated: Bool) func removeSegmentAtIndex(_ segment: Int, animated animated: Bool) func removeAllSegments() func setTitle(_ title: String?, forSegmentAtIndex segment: Int) func titleForSegmentAtIndex(_ segment: Int) -> String? func setImage(_ image: UIImage?, forSegmentAtIndex segment: Int) func imageForSegmentAtIndex(_ segment: Int) -> UIImage? func setWidth(_ width: CGFloat, forSegmentAtIndex segment: Int) func widthForSegmentAtIndex(_ segment: Int) -> CGFloat func setContentOffset(_ offset: CGSize, forSegmentAtIndex segment: Int) func contentOffsetForSegmentAtIndex(_ segment: Int) -> CGSize func setEnabled(_ enabled: Bool, forSegmentAtIndex segment: Int) func isEnabledForSegmentAtIndex(_ segment: Int) -> Bool var selectedSegmentIndex: Int var tintColor: UIColor! func setBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState, barMetrics barMetrics: UIBarMetrics) func backgroundImageForState(_ state: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setDividerImage(_ dividerImage: UIImage?, forLeftSegmentState leftState: UIControlState, rightSegmentState rightState: UIControlState, barMetrics barMetrics: UIBarMetrics) func dividerImageForLeftSegmentState(_ leftState: UIControlState, rightSegmentState rightState: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setTitleTextAttributes(_ attributes: [NSObject : AnyObject]?, forState state: UIControlState) func titleTextAttributesForState(_ state: UIControlState) -> [NSObject : AnyObject]? func setContentPositionAdjustment(_ adjustment: UIOffset, forSegmentType leftCenterRightOrAlone: UISegmentedControlSegment, barMetrics barMetrics: UIBarMetrics) func contentPositionAdjustmentForSegmentType(_ leftCenterRightOrAlone: UISegmentedControlSegment, barMetrics barMetrics: UIBarMetrics) -> UIOffset } |
Declaration | |
---|---|
From | init(items items: [AnyObject]) |
To | init(items items: [AnyObject]?) |
Declaration | |
---|---|
From | func insertSegmentWithImage(_ image: UIImage, atIndex segment: Int, animated animated: Bool) |
To | func insertSegmentWithImage(_ image: UIImage?, atIndex segment: Int, animated animated: Bool) |
Declaration | |
---|---|
From | func insertSegmentWithTitle(_ title: String!, atIndex segment: Int, animated animated: Bool) |
To | func insertSegmentWithTitle(_ title: String?, atIndex segment: Int, animated animated: Bool) |
Modified UISegmentedControl.titleTextAttributesForState(_: UIControlState) -> [NSObject : AnyObject]?
Declaration | |
---|---|
From | func titleTextAttributesForState(_ state: UIControlState) -> [NSObject : AnyObject]! |
To | func titleTextAttributesForState(_ state: UIControlState) -> [NSObject : AnyObject]? |
Modified UISegmentedControlSegment [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UISimpleTextPrintFormatter
Declaration | |
---|---|
From | class UISimpleTextPrintFormatter : UIPrintFormatter { init(text text: String?) init(attributedText attributedText: NSAttributedString?) var text: String! @NSCopying var attributedText: NSAttributedString! var font: UIFont! var color: UIColor? var textAlignment: NSTextAlignment } |
To | class UISimpleTextPrintFormatter : UIPrintFormatter { init(text text: String) init(attributedText attributedText: NSAttributedString) var text: String? @NSCopying var attributedText: NSAttributedString? var font: UIFont? var color: UIColor? var textAlignment: NSTextAlignment } |
Declaration | |
---|---|
From | @NSCopying var attributedText: NSAttributedString! |
To | @NSCopying var attributedText: NSAttributedString? |
Modified UISimpleTextPrintFormatter.font
Declaration | |
---|---|
From | var font: UIFont! |
To | var font: UIFont? |
Declaration | |
---|---|
From | init(attributedText attributedText: NSAttributedString?) |
To | init(attributedText attributedText: NSAttributedString) |
Declaration | |
---|---|
From | init(text text: String?) |
To | init(text text: String) |
Modified UISimpleTextPrintFormatter.text
Declaration | |
---|---|
From | var text: String! |
To | var text: String? |
Modified UISlider
Declaration | |
---|---|
From | class UISlider : UIControl, NSCoding { var value: Float var minimumValue: Float var maximumValue: Float var minimumValueImage: UIImage? var maximumValueImage: UIImage? var continuous: Bool var minimumTrackTintColor: UIColor? var maximumTrackTintColor: UIColor? var thumbTintColor: UIColor? func setValue(_ value: Float, animated animated: Bool) func setThumbImage(_ image: UIImage?, forState state: UIControlState) func setMinimumTrackImage(_ image: UIImage?, forState state: UIControlState) func setMaximumTrackImage(_ image: UIImage?, forState state: UIControlState) func thumbImageForState(_ state: UIControlState) -> UIImage? func minimumTrackImageForState(_ state: UIControlState) -> UIImage? func maximumTrackImageForState(_ state: UIControlState) -> UIImage? var currentThumbImage: UIImage? { get } var currentMinimumTrackImage: UIImage! { get } var currentMaximumTrackImage: UIImage! { get } func minimumValueImageRectForBounds(_ bounds: CGRect) -> CGRect func maximumValueImageRectForBounds(_ bounds: CGRect) -> CGRect func trackRectForBounds(_ bounds: CGRect) -> CGRect func thumbRectForBounds(_ bounds: CGRect, trackRect rect: CGRect, value value: Float) -> CGRect } |
To | class UISlider : UIControl { var value: Float var minimumValue: Float var maximumValue: Float var minimumValueImage: UIImage? var maximumValueImage: UIImage? var continuous: Bool var minimumTrackTintColor: UIColor? var maximumTrackTintColor: UIColor? var thumbTintColor: UIColor? func setValue(_ value: Float, animated animated: Bool) func setThumbImage(_ image: UIImage?, forState state: UIControlState) func setMinimumTrackImage(_ image: UIImage?, forState state: UIControlState) func setMaximumTrackImage(_ image: UIImage?, forState state: UIControlState) func thumbImageForState(_ state: UIControlState) -> UIImage? func minimumTrackImageForState(_ state: UIControlState) -> UIImage? func maximumTrackImageForState(_ state: UIControlState) -> UIImage? var currentThumbImage: UIImage? { get } var currentMinimumTrackImage: UIImage? { get } var currentMaximumTrackImage: UIImage? { get } func minimumValueImageRectForBounds(_ bounds: CGRect) -> CGRect func maximumValueImageRectForBounds(_ bounds: CGRect) -> CGRect func trackRectForBounds(_ bounds: CGRect) -> CGRect func thumbRectForBounds(_ bounds: CGRect, trackRect rect: CGRect, value value: Float) -> CGRect } |
Modified UISlider.currentMaximumTrackImage
Declaration | |
---|---|
From | var currentMaximumTrackImage: UIImage! { get } |
To | var currentMaximumTrackImage: UIImage? { get } |
Modified UISlider.currentMinimumTrackImage
Declaration | |
---|---|
From | var currentMinimumTrackImage: UIImage! { get } |
To | var currentMinimumTrackImage: UIImage? { get } |
Modified UISnapBehavior
Declaration | |
---|---|
From | class UISnapBehavior : UIDynamicBehavior { init!(item item: UIDynamicItem, snapToPoint point: CGPoint) var damping: CGFloat } |
To | class UISnapBehavior : UIDynamicBehavior { init(item item: UIDynamicItem, snapToPoint point: CGPoint) var snapPoint: CGPoint var damping: CGFloat } |
Declaration | |
---|---|
From | init!(item item: UIDynamicItem, snapToPoint point: CGPoint) |
To | init(item item: UIDynamicItem, snapToPoint point: CGPoint) |
Modified UISplitViewController
Declaration | |
---|---|
From | class UISplitViewController : UIViewController { var viewControllers: [AnyObject] unowned(unsafe) var delegate: UISplitViewControllerDelegate? var presentsWithGesture: Bool var collapsed: Bool { get } var preferredDisplayMode: UISplitViewControllerDisplayMode var displayMode: UISplitViewControllerDisplayMode { get } func displayModeButtonItem() -> UIBarButtonItem var preferredPrimaryColumnWidthFraction: CGFloat var minimumPrimaryColumnWidth: CGFloat var maximumPrimaryColumnWidth: CGFloat var primaryColumnWidth: CGFloat { get } func showViewController(_ vc: UIViewController, sender sender: AnyObject!) func showDetailViewController(_ vc: UIViewController!, sender sender: AnyObject!) } |
To | class UISplitViewController : UIViewController { var viewControllers: [UIViewController] weak var delegate: UISplitViewControllerDelegate? var presentsWithGesture: Bool var collapsed: Bool { get } var preferredDisplayMode: UISplitViewControllerDisplayMode var displayMode: UISplitViewControllerDisplayMode { get } func displayModeButtonItem() -> UIBarButtonItem var preferredPrimaryColumnWidthFraction: CGFloat var minimumPrimaryColumnWidth: CGFloat var maximumPrimaryColumnWidth: CGFloat var primaryColumnWidth: CGFloat { get } func showViewController(_ vc: UIViewController, sender sender: AnyObject?) func showDetailViewController(_ vc: UIViewController, sender sender: AnyObject?) } |
Modified UISplitViewController.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UISplitViewControllerDelegate? |
To | weak var delegate: UISplitViewControllerDelegate? |
Declaration | |
---|---|
From | func showDetailViewController(_ vc: UIViewController!, sender sender: AnyObject!) |
To | func showDetailViewController(_ vc: UIViewController, sender sender: AnyObject?) |
Declaration | |
---|---|
From | func showViewController(_ vc: UIViewController, sender sender: AnyObject!) |
To | func showViewController(_ vc: UIViewController, sender sender: AnyObject?) |
Declaration | |
---|---|
From | var viewControllers: [AnyObject] |
To | var viewControllers: [UIViewController] |
Modified UISplitViewControllerDelegate
Declaration | |
---|---|
From | protocol UISplitViewControllerDelegate { optional func splitViewController(_ svc: UISplitViewController, willChangeToDisplayMode displayMode: UISplitViewControllerDisplayMode) optional func targetDisplayModeForActionInSplitViewController(_ svc: UISplitViewController) -> UISplitViewControllerDisplayMode optional func splitViewController(_ splitViewController: UISplitViewController, showViewController vc: UIViewController, sender sender: AnyObject?) -> Bool optional func splitViewController(_ splitViewController: UISplitViewController, showDetailViewController vc: UIViewController, sender sender: AnyObject?) -> Bool optional func primaryViewControllerForCollapsingSplitViewController(_ splitViewController: UISplitViewController) -> UIViewController? optional func primaryViewControllerForExpandingSplitViewController(_ splitViewController: UISplitViewController) -> UIViewController? optional func splitViewController(_ splitViewController: UISplitViewController, collapseSecondaryViewController secondaryViewController: UIViewController!, ontoPrimaryViewController primaryViewController: UIViewController!) -> Bool optional func splitViewController(_ splitViewController: UISplitViewController, separateSecondaryViewControllerFromPrimaryViewController primaryViewController: UIViewController!) -> UIViewController? optional func splitViewControllerSupportedInterfaceOrientations(_ splitViewController: UISplitViewController) -> Int optional func splitViewControllerPreferredInterfaceOrientationForPresentation(_ splitViewController: UISplitViewController) -> UIInterfaceOrientation optional func splitViewController(_ svc: UISplitViewController, willHideViewController aViewController: UIViewController, withBarButtonItem barButtonItem: UIBarButtonItem, forPopoverController pc: UIPopoverController) optional func splitViewController(_ svc: UISplitViewController, willShowViewController aViewController: UIViewController, invalidatingBarButtonItem barButtonItem: UIBarButtonItem) optional func splitViewController(_ svc: UISplitViewController, popoverController pc: UIPopoverController, willPresentViewController aViewController: UIViewController) optional func splitViewController(_ svc: UISplitViewController, shouldHideViewController vc: UIViewController, inOrientation orientation: UIInterfaceOrientation) -> Bool } |
To | protocol UISplitViewControllerDelegate { optional func splitViewController(_ svc: UISplitViewController, willChangeToDisplayMode displayMode: UISplitViewControllerDisplayMode) optional func targetDisplayModeForActionInSplitViewController(_ svc: UISplitViewController) -> UISplitViewControllerDisplayMode optional func splitViewController(_ splitViewController: UISplitViewController, showViewController vc: UIViewController, sender sender: AnyObject?) -> Bool optional func splitViewController(_ splitViewController: UISplitViewController, showDetailViewController vc: UIViewController, sender sender: AnyObject?) -> Bool optional func primaryViewControllerForCollapsingSplitViewController(_ splitViewController: UISplitViewController) -> UIViewController? optional func primaryViewControllerForExpandingSplitViewController(_ splitViewController: UISplitViewController) -> UIViewController? optional func splitViewController(_ splitViewController: UISplitViewController, collapseSecondaryViewController secondaryViewController: UIViewController, ontoPrimaryViewController primaryViewController: UIViewController) -> Bool optional func splitViewController(_ splitViewController: UISplitViewController, separateSecondaryViewControllerFromPrimaryViewController primaryViewController: UIViewController) -> UIViewController? optional func splitViewControllerSupportedInterfaceOrientations(_ splitViewController: UISplitViewController) -> UIInterfaceOrientationMask optional func splitViewControllerPreferredInterfaceOrientationForPresentation(_ splitViewController: UISplitViewController) -> UIInterfaceOrientation optional func splitViewController(_ svc: UISplitViewController, willHideViewController aViewController: UIViewController, withBarButtonItem barButtonItem: UIBarButtonItem, forPopoverController pc: UIPopoverController) optional func splitViewController(_ svc: UISplitViewController, willShowViewController aViewController: UIViewController, invalidatingBarButtonItem barButtonItem: UIBarButtonItem) optional func splitViewController(_ svc: UISplitViewController, popoverController pc: UIPopoverController, willPresentViewController aViewController: UIViewController) optional func splitViewController(_ svc: UISplitViewController, shouldHideViewController vc: UIViewController, inOrientation orientation: UIInterfaceOrientation) -> Bool } |
Declaration | |
---|---|
From | optional func splitViewController(_ splitViewController: UISplitViewController, collapseSecondaryViewController secondaryViewController: UIViewController!, ontoPrimaryViewController primaryViewController: UIViewController!) -> Bool |
To | optional func splitViewController(_ splitViewController: UISplitViewController, collapseSecondaryViewController secondaryViewController: UIViewController, ontoPrimaryViewController primaryViewController: UIViewController) -> Bool |
Declaration | |
---|---|
From | optional func splitViewController(_ splitViewController: UISplitViewController, separateSecondaryViewControllerFromPrimaryViewController primaryViewController: UIViewController!) -> UIViewController? |
To | optional func splitViewController(_ splitViewController: UISplitViewController, separateSecondaryViewControllerFromPrimaryViewController primaryViewController: UIViewController) -> UIViewController? |
Declaration | |
---|---|
From | optional func splitViewControllerSupportedInterfaceOrientations(_ splitViewController: UISplitViewController) -> Int |
To | optional func splitViewControllerSupportedInterfaceOrientations(_ splitViewController: UISplitViewController) -> UIInterfaceOrientationMask |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIStateRestoring
Declaration | |
---|---|
From | protocol UIStateRestoring : NSObjectProtocol { optional var restorationParent: UIStateRestoring! { get } optional var objectRestorationClass: AnyObject.Type! { get } optional func encodeRestorableStateWithCoder(_ coder: NSCoder) optional func decodeRestorableStateWithCoder(_ coder: NSCoder!) optional func applicationFinishedRestoringState() } |
To | protocol UIStateRestoring : NSObjectProtocol { optional var restorationParent: UIStateRestoring? { get } optional var objectRestorationClass: AnyObject.Type? { get } optional func encodeRestorableStateWithCoder(_ coder: NSCoder) optional func decodeRestorableStateWithCoder(_ coder: NSCoder) optional func applicationFinishedRestoringState() } |
Declaration | |
---|---|
From | optional func decodeRestorableStateWithCoder(_ coder: NSCoder!) |
To | optional func decodeRestorableStateWithCoder(_ coder: NSCoder) |
Declaration | |
---|---|
From | optional var objectRestorationClass: AnyObject.Type! { get } |
To | optional var objectRestorationClass: AnyObject.Type? { get } |
Modified UIStateRestoring.restorationParent
Declaration | |
---|---|
From | optional var restorationParent: UIStateRestoring! { get } |
To | optional var restorationParent: UIStateRestoring? { get } |
Modified UIStatusBarAnimation [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIStatusBarAnimation.Fade
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Modified UIStatusBarAnimation.Slide
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Modified UIStatusBarStyle [enum]
Declaration | Raw Value Type | |
---|---|---|
From | enum UIStatusBarStyle : Int { case Default case LightContent case BlackOpaque } | -- |
To | enum UIStatusBarStyle : Int { case Default case LightContent static var BlackTranslucent: UIStatusBarStyle { get } case BlackOpaque } | Int |
Modified UIStepper
Declaration | |
---|---|
From | class UIStepper : UIControl { var continuous: Bool var autorepeat: Bool var wraps: Bool var value: Double var minimumValue: Double var maximumValue: Double var stepValue: Double var tintColor: UIColor! func setBackgroundImage(_ image: UIImage?, forState state: UIControlState) func backgroundImageForState(_ state: UIControlState) -> UIImage func setDividerImage(_ image: UIImage?, forLeftSegmentState leftState: UIControlState, rightSegmentState rightState: UIControlState) func dividerImageForLeftSegmentState(_ state: UIControlState, rightSegmentState state: UIControlState) -> UIImage! func setIncrementImage(_ image: UIImage?, forState state: UIControlState) func incrementImageForState(_ state: UIControlState) -> UIImage func setDecrementImage(_ image: UIImage?, forState state: UIControlState) func decrementImageForState(_ state: UIControlState) -> UIImage } |
To | class UIStepper : UIControl { var continuous: Bool var autorepeat: Bool var wraps: Bool var value: Double var minimumValue: Double var maximumValue: Double var stepValue: Double var tintColor: UIColor! func setBackgroundImage(_ image: UIImage?, forState state: UIControlState) func backgroundImageForState(_ state: UIControlState) -> UIImage? func setDividerImage(_ image: UIImage?, forLeftSegmentState leftState: UIControlState, rightSegmentState rightState: UIControlState) func dividerImageForLeftSegmentState(_ state: UIControlState, rightSegmentState state: UIControlState) -> UIImage? func setIncrementImage(_ image: UIImage?, forState state: UIControlState) func incrementImageForState(_ state: UIControlState) -> UIImage? func setDecrementImage(_ image: UIImage?, forState state: UIControlState) func decrementImageForState(_ state: UIControlState) -> UIImage? } |
Declaration | |
---|---|
From | func backgroundImageForState(_ state: UIControlState) -> UIImage |
To | func backgroundImageForState(_ state: UIControlState) -> UIImage? |
Declaration | |
---|---|
From | func decrementImageForState(_ state: UIControlState) -> UIImage |
To | func decrementImageForState(_ state: UIControlState) -> UIImage? |
Declaration | |
---|---|
From | func dividerImageForLeftSegmentState(_ state: UIControlState, rightSegmentState state: UIControlState) -> UIImage! |
To | func dividerImageForLeftSegmentState(_ state: UIControlState, rightSegmentState state: UIControlState) -> UIImage? |
Declaration | |
---|---|
From | func incrementImageForState(_ state: UIControlState) -> UIImage |
To | func incrementImageForState(_ state: UIControlState) -> UIImage? |
Modified UIStoryboard
Declaration | |
---|---|
From | class UIStoryboard : NSObject { init(name name: String, bundle storyboardBundleOrNil: NSBundle?) -> UIStoryboard class func storyboardWithName(_ name: String, bundle storyboardBundleOrNil: NSBundle?) -> UIStoryboard func instantiateInitialViewController() -> AnyObject func instantiateViewControllerWithIdentifier(_ identifier: String) -> AnyObject! } |
To | class UIStoryboard : NSObject { init(name name: String, bundle storyboardBundleOrNil: NSBundle?) class func storyboardWithName(_ name: String, bundle storyboardBundleOrNil: NSBundle?) -> UIStoryboard func instantiateInitialViewController() -> UIViewController? func instantiateViewControllerWithIdentifier(_ identifier: String) -> UIViewController } |
Declaration | |
---|---|
From | init(name name: String, bundle storyboardBundleOrNil: NSBundle?) -> UIStoryboard |
To | init(name name: String, bundle storyboardBundleOrNil: NSBundle?) |
Declaration | |
---|---|
From | func instantiateInitialViewController() -> AnyObject |
To | func instantiateInitialViewController() -> UIViewController? |
Declaration | |
---|---|
From | func instantiateViewControllerWithIdentifier(_ identifier: String) -> AnyObject! |
To | func instantiateViewControllerWithIdentifier(_ identifier: String) -> UIViewController |
Modified UIStoryboardPopoverSegue
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified UIStoryboardSegue
Declaration | |
---|---|
From | class UIStoryboardSegue : NSObject { convenience init(identifier identifier: String?, source source: UIViewController, destination destination: UIViewController, performHandler performHandler: () -> Void) class func segueWithIdentifier(_ identifier: String?, source source: UIViewController, destination destination: UIViewController, performHandler performHandler: () -> Void) -> Self init!(identifier identifier: String?, source source: UIViewController, destination destination: UIViewController) var identifier: String? { get } var sourceViewController: AnyObject { get } var destinationViewController: AnyObject { get } func perform() } |
To | class UIStoryboardSegue : NSObject { convenience init(identifier identifier: String?, source source: UIViewController, destination destination: UIViewController, performHandler performHandler: () -> Void) class func segueWithIdentifier(_ identifier: String?, source source: UIViewController, destination destination: UIViewController, performHandler performHandler: () -> Void) -> Self init(identifier identifier: String?, source source: UIViewController, destination destination: UIViewController) convenience init() var identifier: String? { get } var sourceViewController: UIViewController { get } var destinationViewController: UIViewController { get } func perform() } |
Declaration | |
---|---|
From | var destinationViewController: AnyObject { get } |
To | var destinationViewController: UIViewController { get } |
Modified UIStoryboardSegue.init(identifier: String?, source: UIViewController, destination: UIViewController)
Declaration | |
---|---|
From | init!(identifier identifier: String?, source source: UIViewController, destination destination: UIViewController) |
To | init(identifier identifier: String?, source source: UIViewController, destination destination: UIViewController) |
Declaration | |
---|---|
From | var sourceViewController: AnyObject { get } |
To | var sourceViewController: UIViewController { get } |
Declaration | Protocols | |
---|---|---|
From | struct UISwipeGestureRecognizerDirection : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var Right: UISwipeGestureRecognizerDirection { get } static var Left: UISwipeGestureRecognizerDirection { get } static var Up: UISwipeGestureRecognizerDirection { get } static var Down: UISwipeGestureRecognizerDirection { get } } | RawOptionSetType |
To | struct UISwipeGestureRecognizerDirection : OptionSetType { init(rawValue rawValue: UInt) static var Right: UISwipeGestureRecognizerDirection { get } static var Left: UISwipeGestureRecognizerDirection { get } static var Up: UISwipeGestureRecognizerDirection { get } static var Down: UISwipeGestureRecognizerDirection { get } } | OptionSetType |
Modified UISwitch
Declaration | |
---|---|
From | class UISwitch : UIControl, NSCoding { var onTintColor: UIColor! var tintColor: UIColor? var thumbTintColor: UIColor? var onImage: UIImage? var offImage: UIImage? var on: Bool init(frame frame: CGRect) func setOn(_ on: Bool, animated animated: Bool) } |
To | class UISwitch : UIControl { var onTintColor: UIColor? var tintColor: UIColor! var thumbTintColor: UIColor? var onImage: UIImage? var offImage: UIImage? var on: Bool init(frame frame: CGRect) init?(coder aDecoder: NSCoder) func setOn(_ on: Bool, animated animated: Bool) } |
Modified UISwitch.onTintColor
Declaration | |
---|---|
From | var onTintColor: UIColor! |
To | var onTintColor: UIColor? |
Modified UISwitch.tintColor
Declaration | |
---|---|
From | var tintColor: UIColor? |
To | var tintColor: UIColor! |
Modified UISystemAnimation [enum]
Raw Value Type | |
---|---|
From | -- |
To | UInt |
Modified UITabBar
Declaration | |
---|---|
From | class UITabBar : UIView { unowned(unsafe) var delegate: UITabBarDelegate? var items: [AnyObject]? unowned(unsafe) var selectedItem: UITabBarItem? func setItems(_ items: [AnyObject]?, animated animated: Bool) func beginCustomizingItems(_ items: [AnyObject]) func endCustomizingAnimated(_ animated: Bool) -> Bool func isCustomizing() -> Bool var tintColor: UIColor! var barTintColor: UIColor? var selectedImageTintColor: UIColor? var backgroundImage: UIImage? var selectionIndicatorImage: UIImage? var shadowImage: UIImage? var itemPositioning: UITabBarItemPositioning var itemWidth: CGFloat var itemSpacing: CGFloat var barStyle: UIBarStyle var translucent: Bool } |
To | class UITabBar : UIView { unowned(unsafe) var delegate: UITabBarDelegate? var items: [UITabBarItem]? unowned(unsafe) var selectedItem: UITabBarItem? func setItems(_ items: [UITabBarItem]?, animated animated: Bool) func beginCustomizingItems(_ items: [UITabBarItem]) func endCustomizingAnimated(_ animated: Bool) -> Bool func isCustomizing() -> Bool var tintColor: UIColor! var barTintColor: UIColor? var selectedImageTintColor: UIColor? var backgroundImage: UIImage? var selectionIndicatorImage: UIImage? var shadowImage: UIImage? var itemPositioning: UITabBarItemPositioning var itemWidth: CGFloat var itemSpacing: CGFloat var barStyle: UIBarStyle var translucent: Bool } |
Declaration | |
---|---|
From | func beginCustomizingItems(_ items: [AnyObject]) |
To | func beginCustomizingItems(_ items: [UITabBarItem]) |
Modified UITabBar.items
Declaration | |
---|---|
From | var items: [AnyObject]? |
To | var items: [UITabBarItem]? |
Declaration | |
---|---|
From | func setItems(_ items: [AnyObject]?, animated animated: Bool) |
To | func setItems(_ items: [UITabBarItem]?, animated animated: Bool) |
Modified UITabBarController
Declaration | |
---|---|
From | class UITabBarController : UIViewController, UITabBarDelegate, NSObjectProtocol, NSCoding { var viewControllers: [AnyObject]? func setViewControllers(_ viewControllers: [AnyObject], animated animated: Bool) unowned(unsafe) var selectedViewController: UIViewController? var selectedIndex: Int var moreNavigationController: UINavigationController { get } var customizableViewControllers: [AnyObject]? var tabBar: UITabBar { get } unowned(unsafe) var delegate: UITabBarControllerDelegate? } |
To | class UITabBarController : UIViewController, UITabBarDelegate { var viewControllers: [UIViewController]? func setViewControllers(_ viewControllers: [UIViewController]?, animated animated: Bool) unowned(unsafe) var selectedViewController: UIViewController? var selectedIndex: Int var moreNavigationController: UINavigationController { get } var customizableViewControllers: [UIViewController]? var tabBar: UITabBar { get } weak var delegate: UITabBarControllerDelegate? } |
Declaration | |
---|---|
From | var customizableViewControllers: [AnyObject]? |
To | var customizableViewControllers: [UIViewController]? |
Modified UITabBarController.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UITabBarControllerDelegate? |
To | weak var delegate: UITabBarControllerDelegate? |
Declaration | |
---|---|
From | func setViewControllers(_ viewControllers: [AnyObject], animated animated: Bool) |
To | func setViewControllers(_ viewControllers: [UIViewController]?, animated animated: Bool) |
Modified UITabBarController.viewControllers
Declaration | |
---|---|
From | var viewControllers: [AnyObject]? |
To | var viewControllers: [UIViewController]? |
Modified UITabBarControllerDelegate
Declaration | |
---|---|
From | protocol UITabBarControllerDelegate : NSObjectProtocol { optional func tabBarController(_ tabBarController: UITabBarController, shouldSelectViewController viewController: UIViewController) -> Bool optional func tabBarController(_ tabBarController: UITabBarController, didSelectViewController viewController: UIViewController) optional func tabBarController(_ tabBarController: UITabBarController, willBeginCustomizingViewControllers viewControllers: [AnyObject]) optional func tabBarController(_ tabBarController: UITabBarController, willEndCustomizingViewControllers viewControllers: [AnyObject], changed changed: Bool) optional func tabBarController(_ tabBarController: UITabBarController, didEndCustomizingViewControllers viewControllers: [AnyObject], changed changed: Bool) optional func tabBarControllerSupportedInterfaceOrientations(_ tabBarController: UITabBarController) -> Int optional func tabBarControllerPreferredInterfaceOrientationForPresentation(_ tabBarController: UITabBarController) -> UIInterfaceOrientation optional func tabBarController(_ tabBarController: UITabBarController, interactionControllerForAnimationController animationController: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? optional func tabBarController(_ tabBarController: UITabBarController, animationControllerForTransitionFromViewController fromVC: UIViewController, toViewController toVC: UIViewController) -> UIViewControllerAnimatedTransitioning? } |
To | protocol UITabBarControllerDelegate : NSObjectProtocol { optional func tabBarController(_ tabBarController: UITabBarController, shouldSelectViewController viewController: UIViewController) -> Bool optional func tabBarController(_ tabBarController: UITabBarController, didSelectViewController viewController: UIViewController) optional func tabBarController(_ tabBarController: UITabBarController, willBeginCustomizingViewControllers viewControllers: [UIViewController]) optional func tabBarController(_ tabBarController: UITabBarController, willEndCustomizingViewControllers viewControllers: [UIViewController], changed changed: Bool) optional func tabBarController(_ tabBarController: UITabBarController, didEndCustomizingViewControllers viewControllers: [UIViewController], changed changed: Bool) optional func tabBarControllerSupportedInterfaceOrientations(_ tabBarController: UITabBarController) -> UIInterfaceOrientationMask optional func tabBarControllerPreferredInterfaceOrientationForPresentation(_ tabBarController: UITabBarController) -> UIInterfaceOrientation optional func tabBarController(_ tabBarController: UITabBarController, interactionControllerForAnimationController animationController: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? optional func tabBarController(_ tabBarController: UITabBarController, animationControllerForTransitionFromViewController fromVC: UIViewController, toViewController toVC: UIViewController) -> UIViewControllerAnimatedTransitioning? } |
Declaration | Introduction | |
---|---|---|
From | optional func tabBarController(_ tabBarController: UITabBarController, didEndCustomizingViewControllers viewControllers: [AnyObject], changed changed: Bool) | iOS 8.0 |
To | optional func tabBarController(_ tabBarController: UITabBarController, didEndCustomizingViewControllers viewControllers: [UIViewController], changed changed: Bool) | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Declaration | |
---|---|
From | optional func tabBarController(_ tabBarController: UITabBarController, willBeginCustomizingViewControllers viewControllers: [AnyObject]) |
To | optional func tabBarController(_ tabBarController: UITabBarController, willBeginCustomizingViewControllers viewControllers: [UIViewController]) |
Declaration | |
---|---|
From | optional func tabBarController(_ tabBarController: UITabBarController, willEndCustomizingViewControllers viewControllers: [AnyObject], changed changed: Bool) |
To | optional func tabBarController(_ tabBarController: UITabBarController, willEndCustomizingViewControllers viewControllers: [UIViewController], changed changed: Bool) |
Declaration | |
---|---|
From | optional func tabBarControllerSupportedInterfaceOrientations(_ tabBarController: UITabBarController) -> Int |
To | optional func tabBarControllerSupportedInterfaceOrientations(_ tabBarController: UITabBarController) -> UIInterfaceOrientationMask |
Modified UITabBarDelegate
Declaration | |
---|---|
From | protocol UITabBarDelegate : NSObjectProtocol { optional func tabBar(_ tabBar: UITabBar, didSelectItem item: UITabBarItem!) optional func tabBar(_ tabBar: UITabBar, willBeginCustomizingItems items: [AnyObject]) optional func tabBar(_ tabBar: UITabBar, didBeginCustomizingItems items: [AnyObject]) optional func tabBar(_ tabBar: UITabBar, willEndCustomizingItems items: [AnyObject], changed changed: Bool) optional func tabBar(_ tabBar: UITabBar, didEndCustomizingItems items: [AnyObject], changed changed: Bool) } |
To | protocol UITabBarDelegate : NSObjectProtocol { optional func tabBar(_ tabBar: UITabBar, didSelectItem item: UITabBarItem) optional func tabBar(_ tabBar: UITabBar, willBeginCustomizingItems items: [UITabBarItem]) optional func tabBar(_ tabBar: UITabBar, didBeginCustomizingItems items: [UITabBarItem]) optional func tabBar(_ tabBar: UITabBar, willEndCustomizingItems items: [UITabBarItem], changed changed: Bool) optional func tabBar(_ tabBar: UITabBar, didEndCustomizingItems items: [UITabBarItem], changed changed: Bool) } |
Declaration | Introduction | |
---|---|---|
From | optional func tabBar(_ tabBar: UITabBar, didBeginCustomizingItems items: [AnyObject]) | iOS 8.0 |
To | optional func tabBar(_ tabBar: UITabBar, didBeginCustomizingItems items: [UITabBarItem]) | iOS 2.0 |
Modified UITabBarDelegate.tabBar(_: UITabBar, didEndCustomizingItems: [UITabBarItem], changed: Bool)
Declaration | Introduction | |
---|---|---|
From | optional func tabBar(_ tabBar: UITabBar, didEndCustomizingItems items: [AnyObject], changed changed: Bool) | iOS 8.0 |
To | optional func tabBar(_ tabBar: UITabBar, didEndCustomizingItems items: [UITabBarItem], changed changed: Bool) | iOS 2.0 |
Declaration | Introduction | |
---|---|---|
From | optional func tabBar(_ tabBar: UITabBar, didSelectItem item: UITabBarItem!) | iOS 8.0 |
To | optional func tabBar(_ tabBar: UITabBar, didSelectItem item: UITabBarItem) | iOS 2.0 |
Declaration | Introduction | |
---|---|---|
From | optional func tabBar(_ tabBar: UITabBar, willBeginCustomizingItems items: [AnyObject]) | iOS 8.0 |
To | optional func tabBar(_ tabBar: UITabBar, willBeginCustomizingItems items: [UITabBarItem]) | iOS 2.0 |
Modified UITabBarDelegate.tabBar(_: UITabBar, willEndCustomizingItems: [UITabBarItem], changed: Bool)
Declaration | Introduction | |
---|---|---|
From | optional func tabBar(_ tabBar: UITabBar, willEndCustomizingItems items: [AnyObject], changed changed: Bool) | iOS 8.0 |
To | optional func tabBar(_ tabBar: UITabBar, willEndCustomizingItems items: [UITabBarItem], changed changed: Bool) | iOS 2.0 |
Modified UITabBarItem
Declaration | |
---|---|
From | class UITabBarItem : UIBarItem { init(title title: String?, image image: UIImage?, tag tag: Int) init(title title: String?, image image: UIImage?, selectedImage selectedImage: UIImage?) init(tabBarSystemItem systemItem: UITabBarSystemItem, tag tag: Int) var selectedImage: UIImage! var badgeValue: String? func setFinishedSelectedImage(_ selectedImage: UIImage!, withFinishedUnselectedImage unselectedImage: UIImage!) func finishedSelectedImage() -> UIImage! func finishedUnselectedImage() -> UIImage! func setTitlePositionAdjustment(_ adjustment: UIOffset) func titlePositionAdjustment() -> UIOffset } |
To | class UITabBarItem : UIBarItem { init() init?(coder aDecoder: NSCoder) convenience init(title title: String?, image image: UIImage?, tag tag: Int) convenience init(title title: String?, image image: UIImage?, selectedImage selectedImage: UIImage?) convenience init(tabBarSystemItem systemItem: UITabBarSystemItem, tag tag: Int) var selectedImage: UIImage? var badgeValue: String? func setFinishedSelectedImage(_ selectedImage: UIImage?, withFinishedUnselectedImage unselectedImage: UIImage?) func finishedSelectedImage() -> UIImage? func finishedUnselectedImage() -> UIImage? var titlePositionAdjustment: UIOffset } |
Declaration | |
---|---|
From | init(tabBarSystemItem systemItem: UITabBarSystemItem, tag tag: Int) |
To | convenience init(tabBarSystemItem systemItem: UITabBarSystemItem, tag tag: Int) |
Declaration | |
---|---|
From | init(title title: String?, image image: UIImage?, selectedImage selectedImage: UIImage?) |
To | convenience init(title title: String?, image image: UIImage?, selectedImage selectedImage: UIImage?) |
Declaration | |
---|---|
From | init(title title: String?, image image: UIImage?, tag tag: Int) |
To | convenience init(title title: String?, image image: UIImage?, tag tag: Int) |
Modified UITabBarItem.selectedImage
Declaration | |
---|---|
From | var selectedImage: UIImage! |
To | var selectedImage: UIImage? |
Modified UITabBarItemPositioning [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITabBarSystemItem [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITableView
Declaration | |
---|---|
From | class UITableView : UIScrollView, NSCoding { init(frame frame: CGRect, style style: UITableViewStyle) var style: UITableViewStyle { get } unowned(unsafe) var dataSource: UITableViewDataSource? unowned(unsafe) var delegate: UITableViewDelegate? var rowHeight: CGFloat var sectionHeaderHeight: CGFloat var sectionFooterHeight: CGFloat var estimatedRowHeight: CGFloat var estimatedSectionHeaderHeight: CGFloat var estimatedSectionFooterHeight: CGFloat var separatorInset: UIEdgeInsets var backgroundView: UIView? func reloadData() func reloadSectionIndexTitles() func numberOfSections() -> Int func numberOfRowsInSection(_ section: Int) -> Int func rectForSection(_ section: Int) -> CGRect func rectForHeaderInSection(_ section: Int) -> CGRect func rectForFooterInSection(_ section: Int) -> CGRect func rectForRowAtIndexPath(_ indexPath: NSIndexPath) -> CGRect func indexPathForRowAtPoint(_ point: CGPoint) -> NSIndexPath? func indexPathForCell(_ cell: UITableViewCell) -> NSIndexPath? func indexPathsForRowsInRect(_ rect: CGRect) -> [AnyObject] func cellForRowAtIndexPath(_ indexPath: NSIndexPath) -> UITableViewCell? func visibleCells() -> [AnyObject] func indexPathsForVisibleRows() -> [AnyObject]? func headerViewForSection(_ section: Int) -> UITableViewHeaderFooterView? func footerViewForSection(_ section: Int) -> UITableViewHeaderFooterView? func scrollToRowAtIndexPath(_ indexPath: NSIndexPath, atScrollPosition scrollPosition: UITableViewScrollPosition, animated animated: Bool) func scrollToNearestSelectedRowAtScrollPosition(_ scrollPosition: UITableViewScrollPosition, animated animated: Bool) func beginUpdates() func endUpdates() func insertSections(_ sections: NSIndexSet, withRowAnimation animation: UITableViewRowAnimation) func deleteSections(_ sections: NSIndexSet, withRowAnimation animation: UITableViewRowAnimation) func reloadSections(_ sections: NSIndexSet, withRowAnimation animation: UITableViewRowAnimation) func moveSection(_ section: Int, toSection newSection: Int) func insertRowsAtIndexPaths(_ indexPaths: [AnyObject], withRowAnimation animation: UITableViewRowAnimation) func deleteRowsAtIndexPaths(_ indexPaths: [AnyObject], withRowAnimation animation: UITableViewRowAnimation) func reloadRowsAtIndexPaths(_ indexPaths: [AnyObject], withRowAnimation animation: UITableViewRowAnimation) func moveRowAtIndexPath(_ indexPath: NSIndexPath, toIndexPath newIndexPath: NSIndexPath) var editing: Bool func setEditing(_ editing: Bool, animated animated: Bool) var allowsSelection: Bool var allowsSelectionDuringEditing: Bool var allowsMultipleSelection: Bool var allowsMultipleSelectionDuringEditing: Bool func indexPathForSelectedRow() -> NSIndexPath? func indexPathsForSelectedRows() -> [AnyObject]? func selectRowAtIndexPath(_ indexPath: NSIndexPath?, animated animated: Bool, scrollPosition scrollPosition: UITableViewScrollPosition) func deselectRowAtIndexPath(_ indexPath: NSIndexPath, animated animated: Bool) var sectionIndexMinimumDisplayRowCount: Int var sectionIndexColor: UIColor? var sectionIndexBackgroundColor: UIColor? var sectionIndexTrackingBackgroundColor: UIColor? var separatorStyle: UITableViewCellSeparatorStyle var separatorColor: UIColor! @NSCopying var separatorEffect: UIVisualEffect? var tableHeaderView: UIView? var tableFooterView: UIView? func dequeueReusableCellWithIdentifier(_ identifier: String) -> AnyObject? func dequeueReusableCellWithIdentifier(_ identifier: String, forIndexPath indexPath: NSIndexPath) -> AnyObject func dequeueReusableHeaderFooterViewWithIdentifier(_ identifier: String) -> AnyObject? func registerNib(_ nib: UINib, forCellReuseIdentifier identifier: String) func registerClass(_ cellClass: AnyClass, forCellReuseIdentifier identifier: String) func registerNib(_ nib: UINib, forHeaderFooterViewReuseIdentifier identifier: String) func registerClass(_ aClass: AnyClass, forHeaderFooterViewReuseIdentifier identifier: String) } |
To | class UITableView : UIScrollView { init(frame frame: CGRect, style style: UITableViewStyle) init?(coder aDecoder: NSCoder) var style: UITableViewStyle { get } weak var dataSource: UITableViewDataSource? weak var delegate: UITableViewDelegate? var rowHeight: CGFloat var sectionHeaderHeight: CGFloat var sectionFooterHeight: CGFloat var estimatedRowHeight: CGFloat var estimatedSectionHeaderHeight: CGFloat var estimatedSectionFooterHeight: CGFloat var separatorInset: UIEdgeInsets var backgroundView: UIView? func reloadData() func reloadSectionIndexTitles() var numberOfSections: Int { get } func numberOfRowsInSection(_ section: Int) -> Int func rectForSection(_ section: Int) -> CGRect func rectForHeaderInSection(_ section: Int) -> CGRect func rectForFooterInSection(_ section: Int) -> CGRect func rectForRowAtIndexPath(_ indexPath: NSIndexPath) -> CGRect func indexPathForRowAtPoint(_ point: CGPoint) -> NSIndexPath? func indexPathForCell(_ cell: UITableViewCell) -> NSIndexPath? func indexPathsForRowsInRect(_ rect: CGRect) -> [NSIndexPath]? func cellForRowAtIndexPath(_ indexPath: NSIndexPath) -> UITableViewCell? var visibleCells: [UITableViewCell] { get } var indexPathsForVisibleRows: [NSIndexPath]? { get } func headerViewForSection(_ section: Int) -> UITableViewHeaderFooterView? func footerViewForSection(_ section: Int) -> UITableViewHeaderFooterView? func scrollToRowAtIndexPath(_ indexPath: NSIndexPath, atScrollPosition scrollPosition: UITableViewScrollPosition, animated animated: Bool) func scrollToNearestSelectedRowAtScrollPosition(_ scrollPosition: UITableViewScrollPosition, animated animated: Bool) func beginUpdates() func endUpdates() func insertSections(_ sections: NSIndexSet, withRowAnimation animation: UITableViewRowAnimation) func deleteSections(_ sections: NSIndexSet, withRowAnimation animation: UITableViewRowAnimation) func reloadSections(_ sections: NSIndexSet, withRowAnimation animation: UITableViewRowAnimation) func moveSection(_ section: Int, toSection newSection: Int) func insertRowsAtIndexPaths(_ indexPaths: [NSIndexPath], withRowAnimation animation: UITableViewRowAnimation) func deleteRowsAtIndexPaths(_ indexPaths: [NSIndexPath], withRowAnimation animation: UITableViewRowAnimation) func reloadRowsAtIndexPaths(_ indexPaths: [NSIndexPath], withRowAnimation animation: UITableViewRowAnimation) func moveRowAtIndexPath(_ indexPath: NSIndexPath, toIndexPath newIndexPath: NSIndexPath) var editing: Bool func setEditing(_ editing: Bool, animated animated: Bool) var allowsSelection: Bool var allowsSelectionDuringEditing: Bool var allowsMultipleSelection: Bool var allowsMultipleSelectionDuringEditing: Bool var indexPathForSelectedRow: NSIndexPath? { get } var indexPathsForSelectedRows: [NSIndexPath]? { get } func selectRowAtIndexPath(_ indexPath: NSIndexPath?, animated animated: Bool, scrollPosition scrollPosition: UITableViewScrollPosition) func deselectRowAtIndexPath(_ indexPath: NSIndexPath, animated animated: Bool) var sectionIndexMinimumDisplayRowCount: Int var sectionIndexColor: UIColor? var sectionIndexBackgroundColor: UIColor? var sectionIndexTrackingBackgroundColor: UIColor? var separatorStyle: UITableViewCellSeparatorStyle var separatorColor: UIColor? @NSCopying var separatorEffect: UIVisualEffect? var cellLayoutMarginsFollowReadableWidth: Bool var tableHeaderView: UIView? var tableFooterView: UIView? func dequeueReusableCellWithIdentifier(_ identifier: String) -> UITableViewCell? func dequeueReusableCellWithIdentifier(_ identifier: String, forIndexPath indexPath: NSIndexPath) -> UITableViewCell func dequeueReusableHeaderFooterViewWithIdentifier(_ identifier: String) -> UITableViewHeaderFooterView? func registerNib(_ nib: UINib?, forCellReuseIdentifier identifier: String) func registerClass(_ cellClass: AnyClass?, forCellReuseIdentifier identifier: String) func registerNib(_ nib: UINib?, forHeaderFooterViewReuseIdentifier identifier: String) func registerClass(_ aClass: AnyClass?, forHeaderFooterViewReuseIdentifier identifier: String) } |
Modified UITableView.dataSource
Declaration | |
---|---|
From | unowned(unsafe) var dataSource: UITableViewDataSource? |
To | weak var dataSource: UITableViewDataSource? |
Modified UITableView.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UITableViewDelegate? |
To | weak var delegate: UITableViewDelegate? |
Modified UITableView.deleteRowsAtIndexPaths(_: [NSIndexPath], withRowAnimation: UITableViewRowAnimation)
Declaration | |
---|---|
From | func deleteRowsAtIndexPaths(_ indexPaths: [AnyObject], withRowAnimation animation: UITableViewRowAnimation) |
To | func deleteRowsAtIndexPaths(_ indexPaths: [NSIndexPath], withRowAnimation animation: UITableViewRowAnimation) |
Declaration | |
---|---|
From | func dequeueReusableCellWithIdentifier(_ identifier: String) -> AnyObject? |
To | func dequeueReusableCellWithIdentifier(_ identifier: String) -> UITableViewCell? |
Declaration | |
---|---|
From | func dequeueReusableCellWithIdentifier(_ identifier: String, forIndexPath indexPath: NSIndexPath) -> AnyObject |
To | func dequeueReusableCellWithIdentifier(_ identifier: String, forIndexPath indexPath: NSIndexPath) -> UITableViewCell |
Modified UITableView.dequeueReusableHeaderFooterViewWithIdentifier(_: String) -> UITableViewHeaderFooterView?
Declaration | |
---|---|
From | func dequeueReusableHeaderFooterViewWithIdentifier(_ identifier: String) -> AnyObject? |
To | func dequeueReusableHeaderFooterViewWithIdentifier(_ identifier: String) -> UITableViewHeaderFooterView? |
Declaration | |
---|---|
From | func indexPathsForRowsInRect(_ rect: CGRect) -> [AnyObject] |
To | func indexPathsForRowsInRect(_ rect: CGRect) -> [NSIndexPath]? |
Modified UITableView.insertRowsAtIndexPaths(_: [NSIndexPath], withRowAnimation: UITableViewRowAnimation)
Declaration | |
---|---|
From | func insertRowsAtIndexPaths(_ indexPaths: [AnyObject], withRowAnimation animation: UITableViewRowAnimation) |
To | func insertRowsAtIndexPaths(_ indexPaths: [NSIndexPath], withRowAnimation animation: UITableViewRowAnimation) |
Declaration | |
---|---|
From | func registerClass(_ cellClass: AnyClass, forCellReuseIdentifier identifier: String) |
To | func registerClass(_ cellClass: AnyClass?, forCellReuseIdentifier identifier: String) |
Declaration | |
---|---|
From | func registerClass(_ aClass: AnyClass, forHeaderFooterViewReuseIdentifier identifier: String) |
To | func registerClass(_ aClass: AnyClass?, forHeaderFooterViewReuseIdentifier identifier: String) |
Declaration | |
---|---|
From | func registerNib(_ nib: UINib, forCellReuseIdentifier identifier: String) |
To | func registerNib(_ nib: UINib?, forCellReuseIdentifier identifier: String) |
Declaration | |
---|---|
From | func registerNib(_ nib: UINib, forHeaderFooterViewReuseIdentifier identifier: String) |
To | func registerNib(_ nib: UINib?, forHeaderFooterViewReuseIdentifier identifier: String) |
Modified UITableView.reloadRowsAtIndexPaths(_: [NSIndexPath], withRowAnimation: UITableViewRowAnimation)
Declaration | |
---|---|
From | func reloadRowsAtIndexPaths(_ indexPaths: [AnyObject], withRowAnimation animation: UITableViewRowAnimation) |
To | func reloadRowsAtIndexPaths(_ indexPaths: [NSIndexPath], withRowAnimation animation: UITableViewRowAnimation) |
Modified UITableView.separatorColor
Declaration | |
---|---|
From | var separatorColor: UIColor! |
To | var separatorColor: UIColor? |
Modified UITableViewCell
Declaration | |
---|---|
From | class UITableViewCell : UIView, NSCoding, UIGestureRecognizerDelegate, NSObjectProtocol { init(style style: UITableViewCellStyle, reuseIdentifier reuseIdentifier: String?) var imageView: UIImageView? { get } var textLabel: UILabel? { get } var detailTextLabel: UILabel? { get } var contentView: UIView { get } var backgroundView: UIView? var selectedBackgroundView: UIView! var multipleSelectionBackgroundView: UIView? var reuseIdentifier: String? { get } func prepareForReuse() var selectionStyle: UITableViewCellSelectionStyle var selected: Bool var highlighted: Bool func setSelected(_ selected: Bool, animated animated: Bool) func setHighlighted(_ highlighted: Bool, animated animated: Bool) var editingStyle: UITableViewCellEditingStyle { get } var showsReorderControl: Bool var shouldIndentWhileEditing: Bool var accessoryType: UITableViewCellAccessoryType var accessoryView: UIView? var editingAccessoryType: UITableViewCellAccessoryType var editingAccessoryView: UIView? var indentationLevel: Int var indentationWidth: CGFloat var separatorInset: UIEdgeInsets var editing: Bool func setEditing(_ editing: Bool, animated animated: Bool) var showingDeleteConfirmation: Bool { get } func willTransitionToState(_ state: UITableViewCellStateMask) func didTransitionToState(_ state: UITableViewCellStateMask) } extension UITableViewCell { convenience init!(frame frame: CGRect, reuseIdentifier reuseIdentifier: String!) var text: String! var font: UIFont! var textAlignment: NSTextAlignment var lineBreakMode: NSLineBreakMode var textColor: UIColor! var selectedTextColor: UIColor! var image: UIImage! var selectedImage: UIImage! var hidesAccessoryWhenEditing: Bool unowned(unsafe) var target: AnyObject! var editAction: Selector var accessoryAction: Selector } |
To | class UITableViewCell : UIView, UIGestureRecognizerDelegate { init(style style: UITableViewCellStyle, reuseIdentifier reuseIdentifier: String?) init?(coder aDecoder: NSCoder) var imageView: UIImageView? { get } var textLabel: UILabel? { get } var detailTextLabel: UILabel? { get } var contentView: UIView { get } var backgroundView: UIView? var selectedBackgroundView: UIView? var multipleSelectionBackgroundView: UIView? var reuseIdentifier: String? { get } func prepareForReuse() var selectionStyle: UITableViewCellSelectionStyle var selected: Bool var highlighted: Bool func setSelected(_ selected: Bool, animated animated: Bool) func setHighlighted(_ highlighted: Bool, animated animated: Bool) var editingStyle: UITableViewCellEditingStyle { get } var showsReorderControl: Bool var shouldIndentWhileEditing: Bool var accessoryType: UITableViewCellAccessoryType var accessoryView: UIView? var editingAccessoryType: UITableViewCellAccessoryType var editingAccessoryView: UIView? var indentationLevel: Int var indentationWidth: CGFloat var separatorInset: UIEdgeInsets var editing: Bool func setEditing(_ editing: Bool, animated animated: Bool) var showingDeleteConfirmation: Bool { get } func willTransitionToState(_ state: UITableViewCellStateMask) func didTransitionToState(_ state: UITableViewCellStateMask) } extension UITableViewCell { convenience init(frame frame: CGRect, reuseIdentifier reuseIdentifier: String?) var text: String? var font: UIFont? var textAlignment: NSTextAlignment var lineBreakMode: NSLineBreakMode var textColor: UIColor? var selectedTextColor: UIColor? var image: UIImage? var selectedImage: UIImage? var hidesAccessoryWhenEditing: Bool unowned(unsafe) var target: AnyObject? var editAction: Selector var accessoryAction: Selector } |
Declaration | |
---|---|
From | var selectedBackgroundView: UIView! |
To | var selectedBackgroundView: UIView? |
Modified UITableViewCellAccessoryType [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITableViewCellEditingStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITableViewCellSelectionStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITableViewCellSeparatorStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITableViewCellStateMask [struct]
Declaration | Protocols | |
---|---|---|
From | struct UITableViewCellStateMask : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var DefaultMask: UITableViewCellStateMask { get } static var ShowingEditControlMask: UITableViewCellStateMask { get } static var ShowingDeleteConfirmationMask: UITableViewCellStateMask { get } } | RawOptionSetType |
To | struct UITableViewCellStateMask : OptionSetType { init(rawValue rawValue: UInt) static var DefaultMask: UITableViewCellStateMask { get } static var ShowingEditControlMask: UITableViewCellStateMask { get } static var ShowingDeleteConfirmationMask: UITableViewCellStateMask { get } } | OptionSetType |
Modified UITableViewCellStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITableViewController
Declaration | |
---|---|
From | class UITableViewController : UIViewController, UITableViewDelegate, NSObjectProtocol, UIScrollViewDelegate, UITableViewDataSource { init(style style: UITableViewStyle) init!(nibName nibNameOrNil: String!, bundle nibBundleOrNil: NSBundle!) init!(coder aDecoder: NSCoder!) var tableView: UITableView! var clearsSelectionOnViewWillAppear: Bool var refreshControl: UIRefreshControl? } |
To | class UITableViewController : UIViewController, UITableViewDelegate, UIScrollViewDelegate, UITableViewDataSource { init(style style: UITableViewStyle) init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) init?(coder aDecoder: NSCoder) var tableView: UITableView! var clearsSelectionOnViewWillAppear: Bool var refreshControl: UIRefreshControl? } |
Declaration | |
---|---|
From | init!(coder aDecoder: NSCoder!) |
To | init?(coder aDecoder: NSCoder) |
Declaration | |
---|---|
From | init!(nibName nibNameOrNil: String!, bundle nibBundleOrNil: NSBundle!) |
To | init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) |
Modified UITableViewDataSource
Declaration | |
---|---|
From | protocol UITableViewDataSource : NSObjectProtocol { func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int func tableView(_ tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell optional func numberOfSectionsInTableView(_ tableView: UITableView) -> Int optional func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? optional func tableView(_ tableView: UITableView, titleForFooterInSection section: Int) -> String? optional func tableView(_ tableView: UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) -> Bool optional func tableView(_ tableView: UITableView, canMoveRowAtIndexPath indexPath: NSIndexPath) -> Bool optional func sectionIndexTitlesForTableView(_ tableView: UITableView) -> [AnyObject]! optional func tableView(_ tableView: UITableView, sectionForSectionIndexTitle title: String, atIndex index: Int) -> Int optional func tableView(_ tableView: UITableView, commitEditingStyle editingStyle: UITableViewCellEditingStyle, forRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, moveRowAtIndexPath sourceIndexPath: NSIndexPath, toIndexPath destinationIndexPath: NSIndexPath) } |
To | protocol UITableViewDataSource : NSObjectProtocol { func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int func tableView(_ tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell optional func numberOfSectionsInTableView(_ tableView: UITableView) -> Int optional func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? optional func tableView(_ tableView: UITableView, titleForFooterInSection section: Int) -> String? optional func tableView(_ tableView: UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) -> Bool optional func tableView(_ tableView: UITableView, canMoveRowAtIndexPath indexPath: NSIndexPath) -> Bool optional func sectionIndexTitlesForTableView(_ tableView: UITableView) -> [String]? optional func tableView(_ tableView: UITableView, sectionForSectionIndexTitle title: String, atIndex index: Int) -> Int optional func tableView(_ tableView: UITableView, commitEditingStyle editingStyle: UITableViewCellEditingStyle, forRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, moveRowAtIndexPath sourceIndexPath: NSIndexPath, toIndexPath destinationIndexPath: NSIndexPath) } |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Declaration | Introduction | |
---|---|---|
From | optional func sectionIndexTitlesForTableView(_ tableView: UITableView) -> [AnyObject]! | iOS 8.0 |
To | optional func sectionIndexTitlesForTableView(_ tableView: UITableView) -> [String]? | iOS 2.0 |
Modified UITableViewDataSource.tableView(_: UITableView, canEditRowAtIndexPath: NSIndexPath) -> Bool
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UITableViewDataSource.tableView(_: UITableView, canMoveRowAtIndexPath: NSIndexPath) -> Bool
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UITableViewDelegate
Declaration | |
---|---|
From | protocol UITableViewDelegate : NSObjectProtocol, UIScrollViewDelegate { optional func tableView(_ tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, willDisplayHeaderView view: UIView, forSection section: Int) optional func tableView(_ tableView: UITableView, willDisplayFooterView view: UIView, forSection section: Int) optional func tableView(_ tableView: UITableView, didEndDisplayingCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, didEndDisplayingHeaderView view: UIView, forSection section: Int) optional func tableView(_ tableView: UITableView, didEndDisplayingFooterView view: UIView, forSection section: Int) optional func tableView(_ tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat optional func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat optional func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat optional func tableView(_ tableView: UITableView, estimatedHeightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat optional func tableView(_ tableView: UITableView, estimatedHeightForHeaderInSection section: Int) -> CGFloat optional func tableView(_ tableView: UITableView, estimatedHeightForFooterInSection section: Int) -> CGFloat optional func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? optional func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? optional func tableView(_ tableView: UITableView, accessoryTypeForRowWithIndexPath indexPath: NSIndexPath!) -> UITableViewCellAccessoryType optional func tableView(_ tableView: UITableView, accessoryButtonTappedForRowWithIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, shouldHighlightRowAtIndexPath indexPath: NSIndexPath) -> Bool optional func tableView(_ tableView: UITableView, didHighlightRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, didUnhighlightRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, willSelectRowAtIndexPath indexPath: NSIndexPath) -> NSIndexPath? optional func tableView(_ tableView: UITableView, willDeselectRowAtIndexPath indexPath: NSIndexPath) -> NSIndexPath? optional func tableView(_ tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, didDeselectRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, editingStyleForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCellEditingStyle optional func tableView(_ tableView: UITableView, titleForDeleteConfirmationButtonForRowAtIndexPath indexPath: NSIndexPath) -> String! optional func tableView(_ tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -> [AnyObject]? optional func tableView(_ tableView: UITableView, shouldIndentWhileEditingRowAtIndexPath indexPath: NSIndexPath) -> Bool optional func tableView(_ tableView: UITableView, willBeginEditingRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, didEndEditingRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, targetIndexPathForMoveFromRowAtIndexPath sourceIndexPath: NSIndexPath, toProposedIndexPath proposedDestinationIndexPath: NSIndexPath) -> NSIndexPath optional func tableView(_ tableView: UITableView, indentationLevelForRowAtIndexPath indexPath: NSIndexPath) -> Int optional func tableView(_ tableView: UITableView, shouldShowMenuForRowAtIndexPath indexPath: NSIndexPath) -> Bool optional func tableView(_ tableView: UITableView, canPerformAction action: Selector, forRowAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject) -> Bool optional func tableView(_ tableView: UITableView, performAction action: Selector, forRowAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject!) } |
To | protocol UITableViewDelegate : NSObjectProtocol, UIScrollViewDelegate { optional func tableView(_ tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, willDisplayHeaderView view: UIView, forSection section: Int) optional func tableView(_ tableView: UITableView, willDisplayFooterView view: UIView, forSection section: Int) optional func tableView(_ tableView: UITableView, didEndDisplayingCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, didEndDisplayingHeaderView view: UIView, forSection section: Int) optional func tableView(_ tableView: UITableView, didEndDisplayingFooterView view: UIView, forSection section: Int) optional func tableView(_ tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat optional func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat optional func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat optional func tableView(_ tableView: UITableView, estimatedHeightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat optional func tableView(_ tableView: UITableView, estimatedHeightForHeaderInSection section: Int) -> CGFloat optional func tableView(_ tableView: UITableView, estimatedHeightForFooterInSection section: Int) -> CGFloat optional func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? optional func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? optional func tableView(_ tableView: UITableView, accessoryTypeForRowWithIndexPath indexPath: NSIndexPath) -> UITableViewCellAccessoryType optional func tableView(_ tableView: UITableView, accessoryButtonTappedForRowWithIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, shouldHighlightRowAtIndexPath indexPath: NSIndexPath) -> Bool optional func tableView(_ tableView: UITableView, didHighlightRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, didUnhighlightRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, willSelectRowAtIndexPath indexPath: NSIndexPath) -> NSIndexPath? optional func tableView(_ tableView: UITableView, willDeselectRowAtIndexPath indexPath: NSIndexPath) -> NSIndexPath? optional func tableView(_ tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, didDeselectRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, editingStyleForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCellEditingStyle optional func tableView(_ tableView: UITableView, titleForDeleteConfirmationButtonForRowAtIndexPath indexPath: NSIndexPath) -> String? optional func tableView(_ tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -> [UITableViewRowAction]? optional func tableView(_ tableView: UITableView, shouldIndentWhileEditingRowAtIndexPath indexPath: NSIndexPath) -> Bool optional func tableView(_ tableView: UITableView, willBeginEditingRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, didEndEditingRowAtIndexPath indexPath: NSIndexPath) optional func tableView(_ tableView: UITableView, targetIndexPathForMoveFromRowAtIndexPath sourceIndexPath: NSIndexPath, toProposedIndexPath proposedDestinationIndexPath: NSIndexPath) -> NSIndexPath optional func tableView(_ tableView: UITableView, indentationLevelForRowAtIndexPath indexPath: NSIndexPath) -> Int optional func tableView(_ tableView: UITableView, shouldShowMenuForRowAtIndexPath indexPath: NSIndexPath) -> Bool optional func tableView(_ tableView: UITableView, canPerformAction action: Selector, forRowAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject?) -> Bool optional func tableView(_ tableView: UITableView, performAction action: Selector, forRowAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject?) } |
Modified UITableViewDelegate.tableView(_: UITableView, accessoryButtonTappedForRowWithIndexPath: NSIndexPath)
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Declaration | |
---|---|
From | optional func tableView(_ tableView: UITableView, canPerformAction action: Selector, forRowAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject) -> Bool |
To | optional func tableView(_ tableView: UITableView, canPerformAction action: Selector, forRowAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject?) -> Bool |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Declaration | |
---|---|
From | optional func tableView(_ tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -> [AnyObject]? |
To | optional func tableView(_ tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -> [UITableViewRowAction]? |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UITableViewDelegate.tableView(_: UITableView, heightForRowAtIndexPath: NSIndexPath) -> CGFloat
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UITableViewDelegate.tableView(_: UITableView, indentationLevelForRowAtIndexPath: NSIndexPath) -> Int
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Declaration | |
---|---|
From | optional func tableView(_ tableView: UITableView, performAction action: Selector, forRowAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject!) |
To | optional func tableView(_ tableView: UITableView, performAction action: Selector, forRowAtIndexPath indexPath: NSIndexPath, withSender sender: AnyObject?) |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Declaration | |
---|---|
From | optional func tableView(_ tableView: UITableView, titleForDeleteConfirmationButtonForRowAtIndexPath indexPath: NSIndexPath) -> String! |
To | optional func tableView(_ tableView: UITableView, titleForDeleteConfirmationButtonForRowAtIndexPath indexPath: NSIndexPath) -> String? |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UITableViewDelegate.tableView(_: UITableView, willSelectRowAtIndexPath: NSIndexPath) -> NSIndexPath?
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UITableViewHeaderFooterView
Declaration | |
---|---|
From | class UITableViewHeaderFooterView : UIView { var tintColor: UIColor? var textLabel: UILabel { get } var detailTextLabel: UILabel! { get } var contentView: UIView { get } var backgroundView: UIView? var reuseIdentifier: String? { get } init(reuseIdentifier reuseIdentifier: String?) func prepareForReuse() } |
To | class UITableViewHeaderFooterView : UIView { init(reuseIdentifier reuseIdentifier: String?) init?(coder aDecoder: NSCoder) var tintColor: UIColor! var textLabel: UILabel? { get } var detailTextLabel: UILabel? { get } var contentView: UIView { get } var backgroundView: UIView? var reuseIdentifier: String? { get } func prepareForReuse() } |
Declaration | |
---|---|
From | var detailTextLabel: UILabel! { get } |
To | var detailTextLabel: UILabel? { get } |
Declaration | |
---|---|
From | var textLabel: UILabel { get } |
To | var textLabel: UILabel? { get } |
Modified UITableViewHeaderFooterView.tintColor
Declaration | |
---|---|
From | var tintColor: UIColor? |
To | var tintColor: UIColor! |
Modified UITableViewRowAction
Declaration | |
---|---|
From | class UITableViewRowAction : NSObject, NSCopying { convenience init(style style: UITableViewRowActionStyle, title title: String!, handler handler: (UITableViewRowAction!, NSIndexPath!) -> Void) class func rowActionWithStyle(_ style: UITableViewRowActionStyle, title title: String!, handler handler: (UITableViewRowAction!, NSIndexPath!) -> Void) -> Self var style: UITableViewRowActionStyle { get } var title: String! @NSCopying var backgroundColor: UIColor! @NSCopying var backgroundEffect: UIVisualEffect? } |
To | class UITableViewRowAction : NSObject, NSCopying { convenience init(style style: UITableViewRowActionStyle, title title: String?, handler handler: (UITableViewRowAction, NSIndexPath) -> Void) class func rowActionWithStyle(_ style: UITableViewRowActionStyle, title title: String?, handler handler: (UITableViewRowAction, NSIndexPath) -> Void) -> Self var style: UITableViewRowActionStyle { get } var title: String? @NSCopying var backgroundColor: UIColor? @NSCopying var backgroundEffect: UIVisualEffect? } |
Modified UITableViewRowAction.backgroundColor
Declaration | |
---|---|
From | @NSCopying var backgroundColor: UIColor! |
To | @NSCopying var backgroundColor: UIColor? |
Declaration | |
---|---|
From | convenience init(style style: UITableViewRowActionStyle, title title: String!, handler handler: (UITableViewRowAction!, NSIndexPath!) -> Void) |
To | convenience init(style style: UITableViewRowActionStyle, title title: String?, handler handler: (UITableViewRowAction, NSIndexPath) -> Void) |
Modified UITableViewRowAction.title
Declaration | |
---|---|
From | var title: String! |
To | var title: String? |
Modified UITableViewRowActionStyle [enum]
Declaration | Raw Value Type | |
---|---|---|
From | enum UITableViewRowActionStyle : Int { case Default case Normal } | -- |
To | enum UITableViewRowActionStyle : Int { case Default static var Destructive: UITableViewRowActionStyle { get } case Normal } | Int |
Modified UITableViewRowAnimation [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITableViewScrollPosition [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITableViewStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITextAutocapitalizationType [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITextAutocorrectionType [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITextBorderStyle [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITextChecker
Declaration | |
---|---|
From | class UITextChecker : NSObject { func rangeOfMisspelledWordInString(_ stringToCheck: String!, range range: NSRange, startingAt startingOffset: Int, wrap wrapFlag: Bool, language language: String) -> NSRange func guessesForWordRange(_ range: NSRange, inString string: String, language language: String) -> [AnyObject]? func completionsForPartialWordRange(_ range: NSRange, inString string: String?, language language: String) -> [AnyObject]? func ignoreWord(_ wordToIgnore: String) func ignoredWords() -> [AnyObject]! func setIgnoredWords(_ words: [AnyObject]!) class func learnWord(_ word: String!) class func hasLearnedWord(_ word: String) -> Bool class func unlearnWord(_ word: String) class func availableLanguages() -> [AnyObject] } |
To | class UITextChecker : NSObject { func rangeOfMisspelledWordInString(_ stringToCheck: String, range range: NSRange, startingAt startingOffset: Int, wrap wrapFlag: Bool, language language: String) -> NSRange func guessesForWordRange(_ range: NSRange, inString string: String, language language: String) -> [AnyObject]? func completionsForPartialWordRange(_ range: NSRange, inString string: String?, language language: String) -> [AnyObject]? func ignoreWord(_ wordToIgnore: String) func ignoredWords() -> [AnyObject]? func setIgnoredWords(_ words: [AnyObject]?) class func learnWord(_ word: String) class func hasLearnedWord(_ word: String) -> Bool class func unlearnWord(_ word: String) class func availableLanguages() -> [AnyObject] } |
Declaration | |
---|---|
From | func ignoredWords() -> [AnyObject]! |
To | func ignoredWords() -> [AnyObject]? |
Declaration | |
---|---|
From | class func learnWord(_ word: String!) |
To | class func learnWord(_ word: String) |
Declaration | |
---|---|
From | func rangeOfMisspelledWordInString(_ stringToCheck: String!, range range: NSRange, startingAt startingOffset: Int, wrap wrapFlag: Bool, language language: String) -> NSRange |
To | func rangeOfMisspelledWordInString(_ stringToCheck: String, range range: NSRange, startingAt startingOffset: Int, wrap wrapFlag: Bool, language language: String) -> NSRange |
Modified UITextChecker.setIgnoredWords(_: [AnyObject]?)
Declaration | |
---|---|
From | func setIgnoredWords(_ words: [AnyObject]!) |
To | func setIgnoredWords(_ words: [AnyObject]?) |
Modified UITextDocumentProxy
Declaration | |
---|---|
From | protocol UITextDocumentProxy : UIKeyInput, UITextInputTraits, NSObjectProtocol { var documentContextBeforeInput: String! { get } var documentContextAfterInput: String! { get } func adjustTextPositionByCharacterOffset(_ offset: Int) } |
To | protocol UITextDocumentProxy : UIKeyInput, UITextInputTraits, NSObjectProtocol { var documentContextBeforeInput: String? { get } var documentContextAfterInput: String? { get } func adjustTextPositionByCharacterOffset(_ offset: Int) } |
Declaration | |
---|---|
From | var documentContextAfterInput: String! { get } |
To | var documentContextAfterInput: String? { get } |
Declaration | |
---|---|
From | var documentContextBeforeInput: String! { get } |
To | var documentContextBeforeInput: String? { get } |
Modified UITextField
Declaration | |
---|---|
From | class UITextField : UIControl, UITextInput, UIKeyInput, UITextInputTraits, NSObjectProtocol, NSCoding { var text: String! @NSCopying var attributedText: NSAttributedString? var textColor: UIColor! var font: UIFont! var textAlignment: NSTextAlignment var borderStyle: UITextBorderStyle var defaultTextAttributes: [NSObject : AnyObject]! var placeholder: String? @NSCopying var attributedPlaceholder: NSAttributedString? var clearsOnBeginEditing: Bool var adjustsFontSizeToFitWidth: Bool var minimumFontSize: CGFloat unowned(unsafe) var delegate: UITextFieldDelegate? var background: UIImage? var disabledBackground: UIImage? var editing: Bool { get } var allowsEditingTextAttributes: Bool var typingAttributes: [NSObject : AnyObject]? var clearButtonMode: UITextFieldViewMode var leftView: UIView? var leftViewMode: UITextFieldViewMode var rightView: UIView? var rightViewMode: UITextFieldViewMode func borderRectForBounds(_ bounds: CGRect) -> CGRect func textRectForBounds(_ bounds: CGRect) -> CGRect func placeholderRectForBounds(_ bounds: CGRect) -> CGRect func editingRectForBounds(_ bounds: CGRect) -> CGRect func clearButtonRectForBounds(_ bounds: CGRect) -> CGRect func leftViewRectForBounds(_ bounds: CGRect) -> CGRect func rightViewRectForBounds(_ bounds: CGRect) -> CGRect func drawTextInRect(_ rect: CGRect) func drawPlaceholderInRect(_ rect: CGRect) var inputView: UIView? var inputAccessoryView: UIView? var clearsOnInsertion: Bool } |
To | class UITextField : UIControl, UITextInput, UIKeyInput, UITextInputTraits { var text: String? @NSCopying var attributedText: NSAttributedString? var textColor: UIColor? var font: UIFont? var textAlignment: NSTextAlignment var borderStyle: UITextBorderStyle var defaultTextAttributes: [String : AnyObject] var placeholder: String? @NSCopying var attributedPlaceholder: NSAttributedString? var clearsOnBeginEditing: Bool var adjustsFontSizeToFitWidth: Bool var minimumFontSize: CGFloat weak var delegate: UITextFieldDelegate? var background: UIImage? var disabledBackground: UIImage? var editing: Bool { get } var allowsEditingTextAttributes: Bool var typingAttributes: [String : AnyObject]? var clearButtonMode: UITextFieldViewMode var leftView: UIView? var leftViewMode: UITextFieldViewMode var rightView: UIView? var rightViewMode: UITextFieldViewMode func borderRectForBounds(_ bounds: CGRect) -> CGRect func textRectForBounds(_ bounds: CGRect) -> CGRect func placeholderRectForBounds(_ bounds: CGRect) -> CGRect func editingRectForBounds(_ bounds: CGRect) -> CGRect func clearButtonRectForBounds(_ bounds: CGRect) -> CGRect func leftViewRectForBounds(_ bounds: CGRect) -> CGRect func rightViewRectForBounds(_ bounds: CGRect) -> CGRect func drawTextInRect(_ rect: CGRect) func drawPlaceholderInRect(_ rect: CGRect) var inputView: UIView? var inputAccessoryView: UIView? var clearsOnInsertion: Bool } |
Modified UITextField.defaultTextAttributes
Declaration | |
---|---|
From | var defaultTextAttributes: [NSObject : AnyObject]! |
To | var defaultTextAttributes: [String : AnyObject] |
Modified UITextField.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UITextFieldDelegate? |
To | weak var delegate: UITextFieldDelegate? |
Modified UITextField.font
Declaration | |
---|---|
From | var font: UIFont! |
To | var font: UIFont? |
Modified UITextField.text
Declaration | |
---|---|
From | var text: String! |
To | var text: String? |
Modified UITextField.textColor
Declaration | |
---|---|
From | var textColor: UIColor! |
To | var textColor: UIColor? |
Modified UITextField.typingAttributes
Declaration | |
---|---|
From | var typingAttributes: [NSObject : AnyObject]? |
To | var typingAttributes: [String : AnyObject]? |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UITextFieldViewMode [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITextGranularity [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITextInput
Declaration | |
---|---|
From | protocol UITextInput : UIKeyInput, UITextInputTraits, NSObjectProtocol { func textInRange(_ range: UITextRange) -> String func replaceRange(_ range: UITextRange, withText text: String) @NSCopying var selectedTextRange: UITextRange? { get set } var markedTextRange: UITextRange? { get } var markedTextStyle: [NSObject : AnyObject]! { get set } func setMarkedText(_ markedText: String!, selectedRange selectedRange: NSRange) func unmarkText() var beginningOfDocument: UITextPosition! { get } var endOfDocument: UITextPosition { get } func textRangeFromPosition(_ fromPosition: UITextPosition!, toPosition toPosition: UITextPosition!) -> UITextRange! func positionFromPosition(_ position: UITextPosition, offset offset: Int) -> UITextPosition? func positionFromPosition(_ position: UITextPosition, inDirection direction: UITextLayoutDirection, offset offset: Int) -> UITextPosition? func comparePosition(_ position: UITextPosition, toPosition other: UITextPosition) -> NSComparisonResult func offsetFromPosition(_ from: UITextPosition, toPosition toPosition: UITextPosition) -> Int unowned(unsafe) var inputDelegate: UITextInputDelegate! { get set } var tokenizer: UITextInputTokenizer { get } func positionWithinRange(_ range: UITextRange!, farthestInDirection direction: UITextLayoutDirection) -> UITextPosition! func characterRangeByExtendingPosition(_ position: UITextPosition, inDirection direction: UITextLayoutDirection) -> UITextRange! func baseWritingDirectionForPosition(_ position: UITextPosition, inDirection direction: UITextStorageDirection) -> UITextWritingDirection func setBaseWritingDirection(_ writingDirection: UITextWritingDirection, forRange range: UITextRange!) func firstRectForRange(_ range: UITextRange) -> CGRect func caretRectForPosition(_ position: UITextPosition!) -> CGRect func selectionRectsForRange(_ range: UITextRange) -> [AnyObject] func closestPositionToPoint(_ point: CGPoint) -> UITextPosition! func closestPositionToPoint(_ point: CGPoint, withinRange range: UITextRange!) -> UITextPosition! func characterRangeAtPoint(_ point: CGPoint) -> UITextRange? optional func shouldChangeTextInRange(_ range: UITextRange, replacementText text: String) -> Bool optional func textStylingAtPosition(_ position: UITextPosition, inDirection direction: UITextStorageDirection) -> [NSObject : AnyObject]! optional func positionWithinRange(_ range: UITextRange!, atCharacterOffset offset: Int) -> UITextPosition! optional func characterOffsetOfPosition(_ position: UITextPosition, withinRange range: UITextRange) -> Int optional var textInputView: UIView { get } optional var selectionAffinity: UITextStorageDirection { get set } optional func insertDictationResult(_ dictationResult: [AnyObject]) optional func dictationRecordingDidEnd() optional func dictationRecognitionFailed() optional func insertDictationResultPlaceholder() -> AnyObject optional func frameForDictationResultPlaceholder(_ placeholder: AnyObject!) -> CGRect optional func removeDictationResultPlaceholder(_ placeholder: AnyObject, willInsertResult willInsertResult: Bool) } |
To | protocol UITextInput : UIKeyInput, UITextInputTraits, NSObjectProtocol { func textInRange(_ range: UITextRange) -> String? func replaceRange(_ range: UITextRange, withText text: String) @NSCopying var selectedTextRange: UITextRange? { get set } var markedTextRange: UITextRange? { get } var markedTextStyle: [NSObject : AnyObject]? { get set } func setMarkedText(_ markedText: String?, selectedRange selectedRange: NSRange) func unmarkText() var beginningOfDocument: UITextPosition { get } var endOfDocument: UITextPosition { get } func textRangeFromPosition(_ fromPosition: UITextPosition, toPosition toPosition: UITextPosition) -> UITextRange? func positionFromPosition(_ position: UITextPosition, offset offset: Int) -> UITextPosition? func positionFromPosition(_ position: UITextPosition, inDirection direction: UITextLayoutDirection, offset offset: Int) -> UITextPosition? func comparePosition(_ position: UITextPosition, toPosition other: UITextPosition) -> NSComparisonResult func offsetFromPosition(_ from: UITextPosition, toPosition toPosition: UITextPosition) -> Int weak var inputDelegate: UITextInputDelegate? { get set } var tokenizer: UITextInputTokenizer { get } func positionWithinRange(_ range: UITextRange, farthestInDirection direction: UITextLayoutDirection) -> UITextPosition? func characterRangeByExtendingPosition(_ position: UITextPosition, inDirection direction: UITextLayoutDirection) -> UITextRange? func baseWritingDirectionForPosition(_ position: UITextPosition, inDirection direction: UITextStorageDirection) -> UITextWritingDirection func setBaseWritingDirection(_ writingDirection: UITextWritingDirection, forRange range: UITextRange) func firstRectForRange(_ range: UITextRange) -> CGRect func caretRectForPosition(_ position: UITextPosition) -> CGRect func selectionRectsForRange(_ range: UITextRange) -> [AnyObject] func closestPositionToPoint(_ point: CGPoint) -> UITextPosition? func closestPositionToPoint(_ point: CGPoint, withinRange range: UITextRange) -> UITextPosition? func characterRangeAtPoint(_ point: CGPoint) -> UITextRange? optional func shouldChangeTextInRange(_ range: UITextRange, replacementText text: String) -> Bool optional func textStylingAtPosition(_ position: UITextPosition, inDirection direction: UITextStorageDirection) -> [String : AnyObject]? optional func positionWithinRange(_ range: UITextRange, atCharacterOffset offset: Int) -> UITextPosition? optional func characterOffsetOfPosition(_ position: UITextPosition, withinRange range: UITextRange) -> Int optional var textInputView: UIView { get } optional var selectionAffinity: UITextStorageDirection { get set } optional func insertDictationResult(_ dictationResult: [UIDictationPhrase]) optional func dictationRecordingDidEnd() optional func dictationRecognitionFailed() optional func insertDictationResultPlaceholder() -> AnyObject optional func frameForDictationResultPlaceholder(_ placeholder: AnyObject) -> CGRect optional func removeDictationResultPlaceholder(_ placeholder: AnyObject, willInsertResult willInsertResult: Bool) optional func beginFloatingCursorAtPoint(_ point: CGPoint) optional func updateFloatingCursorAtPoint(_ point: CGPoint) optional func endFloatingCursor() } |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Modified UITextInput.beginningOfDocument
Declaration | Introduction | |
---|---|---|
From | var beginningOfDocument: UITextPosition! { get } | iOS 8.0 |
To | var beginningOfDocument: UITextPosition { get } | iOS 3.2 |
Declaration | Introduction | |
---|---|---|
From | func caretRectForPosition(_ position: UITextPosition!) -> CGRect | iOS 8.0 |
To | func caretRectForPosition(_ position: UITextPosition) -> CGRect | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Declaration | Introduction | |
---|---|---|
From | func characterRangeByExtendingPosition(_ position: UITextPosition, inDirection direction: UITextLayoutDirection) -> UITextRange! | iOS 8.0 |
To | func characterRangeByExtendingPosition(_ position: UITextPosition, inDirection direction: UITextLayoutDirection) -> UITextRange? | iOS 3.2 |
Declaration | Introduction | |
---|---|---|
From | func closestPositionToPoint(_ point: CGPoint) -> UITextPosition! | iOS 8.0 |
To | func closestPositionToPoint(_ point: CGPoint) -> UITextPosition? | iOS 3.2 |
Modified UITextInput.closestPositionToPoint(_: CGPoint, withinRange: UITextRange) -> UITextPosition?
Declaration | Introduction | |
---|---|---|
From | func closestPositionToPoint(_ point: CGPoint, withinRange range: UITextRange!) -> UITextPosition! | iOS 8.0 |
To | func closestPositionToPoint(_ point: CGPoint, withinRange range: UITextRange) -> UITextPosition? | iOS 3.2 |
Modified UITextInput.comparePosition(_: UITextPosition, toPosition: UITextPosition) -> NSComparisonResult
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Modified UITextInput.endOfDocument
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Declaration | |
---|---|
From | optional func frameForDictationResultPlaceholder(_ placeholder: AnyObject!) -> CGRect |
To | optional func frameForDictationResultPlaceholder(_ placeholder: AnyObject) -> CGRect |
Modified UITextInput.inputDelegate
Declaration | |
---|---|
From | unowned(unsafe) var inputDelegate: UITextInputDelegate! { get set } |
To | weak var inputDelegate: UITextInputDelegate? { get set } |
Declaration | Introduction | |
---|---|---|
From | optional func insertDictationResult(_ dictationResult: [AnyObject]) | iOS 8.0 |
To | optional func insertDictationResult(_ dictationResult: [UIDictationPhrase]) | iOS 5.1 |
Modified UITextInput.markedTextRange
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Modified UITextInput.markedTextStyle
Declaration | Introduction | |
---|---|---|
From | var markedTextStyle: [NSObject : AnyObject]! { get set } | iOS 8.0 |
To | var markedTextStyle: [NSObject : AnyObject]? { get set } | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Declaration | Introduction | |
---|---|---|
From | optional func positionWithinRange(_ range: UITextRange!, atCharacterOffset offset: Int) -> UITextPosition! | iOS 8.0 |
To | optional func positionWithinRange(_ range: UITextRange, atCharacterOffset offset: Int) -> UITextPosition? | iOS 3.2 |
Declaration | Introduction | |
---|---|---|
From | func positionWithinRange(_ range: UITextRange!, farthestInDirection direction: UITextLayoutDirection) -> UITextPosition! | iOS 8.0 |
To | func positionWithinRange(_ range: UITextRange, farthestInDirection direction: UITextLayoutDirection) -> UITextPosition? | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Modified UITextInput.selectedTextRange
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Declaration | Introduction | |
---|---|---|
From | func setBaseWritingDirection(_ writingDirection: UITextWritingDirection, forRange range: UITextRange!) | iOS 8.0 |
To | func setBaseWritingDirection(_ writingDirection: UITextWritingDirection, forRange range: UITextRange) | iOS 3.2 |
Declaration | |
---|---|
From | func setMarkedText(_ markedText: String!, selectedRange selectedRange: NSRange) |
To | func setMarkedText(_ markedText: String?, selectedRange selectedRange: NSRange) |
Modified UITextInput.textInputView
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Declaration | Introduction | |
---|---|---|
From | func textInRange(_ range: UITextRange) -> String | iOS 8.0 |
To | func textInRange(_ range: UITextRange) -> String? | iOS 3.2 |
Modified UITextInput.textRangeFromPosition(_: UITextPosition, toPosition: UITextPosition) -> UITextRange?
Declaration | Introduction | |
---|---|---|
From | func textRangeFromPosition(_ fromPosition: UITextPosition!, toPosition toPosition: UITextPosition!) -> UITextRange! | iOS 8.0 |
To | func textRangeFromPosition(_ fromPosition: UITextPosition, toPosition toPosition: UITextPosition) -> UITextRange? | iOS 3.2 |
Declaration | Introduction | |
---|---|---|
From | optional func textStylingAtPosition(_ position: UITextPosition, inDirection direction: UITextStorageDirection) -> [NSObject : AnyObject]! | iOS 8.0 |
To | optional func textStylingAtPosition(_ position: UITextPosition, inDirection direction: UITextStorageDirection) -> [String : AnyObject]? | iOS 3.2 |
Modified UITextInputDelegate
Declaration | |
---|---|
From | protocol UITextInputDelegate : NSObjectProtocol { func selectionWillChange(_ textInput: UITextInput) func selectionDidChange(_ textInput: UITextInput) func textWillChange(_ textInput: UITextInput) func textDidChange(_ textInput: UITextInput) } |
To | protocol UITextInputDelegate : NSObjectProtocol { func selectionWillChange(_ textInput: UITextInput?) func selectionDidChange(_ textInput: UITextInput?) func textWillChange(_ textInput: UITextInput?) func textDidChange(_ textInput: UITextInput?) } |
Declaration | |
---|---|
From | func selectionDidChange(_ textInput: UITextInput) |
To | func selectionDidChange(_ textInput: UITextInput?) |
Declaration | |
---|---|
From | func selectionWillChange(_ textInput: UITextInput) |
To | func selectionWillChange(_ textInput: UITextInput?) |
Declaration | |
---|---|
From | func textDidChange(_ textInput: UITextInput) |
To | func textDidChange(_ textInput: UITextInput?) |
Declaration | |
---|---|
From | func textWillChange(_ textInput: UITextInput) |
To | func textWillChange(_ textInput: UITextInput?) |
Modified UITextInputMode
Declaration | |
---|---|
From | class UITextInputMode : NSObject, NSSecureCoding, NSCoding { var primaryLanguage: String? { get } class func currentInputMode() -> UITextInputMode! class func activeInputModes() -> [AnyObject] } |
To | class UITextInputMode : NSObject, NSSecureCoding, NSCoding { var primaryLanguage: String? { get } class func currentInputMode() -> UITextInputMode? class func activeInputModes() -> [String] } |
Declaration | |
---|---|
From | class func activeInputModes() -> [AnyObject] |
To | class func activeInputModes() -> [String] |
Modified UITextInputStringTokenizer
Declaration | |
---|---|
From | class UITextInputStringTokenizer : NSObject, UITextInputTokenizer, NSObjectProtocol { init!(textInput textInput: UIResponder) } |
To | class UITextInputStringTokenizer : NSObject, UITextInputTokenizer { init(textInput textInput: UIResponder) } |
Declaration | |
---|---|
From | init!(textInput textInput: UIResponder) |
To | init(textInput textInput: UIResponder) |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Modified UITextLayoutDirection [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITextSpellCheckingType [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITextStorageDirection [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITextView
Declaration | |
---|---|
From | class UITextView : UIScrollView, UITextInput, UIKeyInput, UITextInputTraits, NSObjectProtocol { unowned(unsafe) var delegate: UITextViewDelegate? var text: String! var font: UIFont! var textColor: UIColor! var textAlignment: NSTextAlignment var selectedRange: NSRange var editable: Bool var selectable: Bool var dataDetectorTypes: UIDataDetectorTypes var allowsEditingTextAttributes: Bool @NSCopying var attributedText: NSAttributedString! var typingAttributes: [NSObject : AnyObject]! func scrollRangeToVisible(_ range: NSRange) var inputView: UIView? var inputAccessoryView: UIView? var clearsOnInsertion: Bool init(frame frame: CGRect, textContainer textContainer: NSTextContainer?) var textContainer: NSTextContainer { get } var textContainerInset: UIEdgeInsets var layoutManager: NSLayoutManager { get } var textStorage: NSTextStorage { get } var linkTextAttributes: [NSObject : AnyObject]! } |
To | class UITextView : UIScrollView, UITextInput, UIKeyInput, UITextInputTraits { weak var delegate: UITextViewDelegate? var text: String! var font: UIFont? var textColor: UIColor? var textAlignment: NSTextAlignment var selectedRange: NSRange var editable: Bool var selectable: Bool var dataDetectorTypes: UIDataDetectorTypes var allowsEditingTextAttributes: Bool @NSCopying var attributedText: NSAttributedString! var typingAttributes: [String : AnyObject] func scrollRangeToVisible(_ range: NSRange) var inputView: UIView? var inputAccessoryView: UIView? var clearsOnInsertion: Bool init(frame frame: CGRect, textContainer textContainer: NSTextContainer?) init?(coder aDecoder: NSCoder) var textContainer: NSTextContainer { get } var textContainerInset: UIEdgeInsets var layoutManager: NSLayoutManager { get } var textStorage: NSTextStorage { get } var linkTextAttributes: [String : AnyObject]! } |
Modified UITextView.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: UITextViewDelegate? |
To | weak var delegate: UITextViewDelegate? |
Modified UITextView.font
Declaration | |
---|---|
From | var font: UIFont! |
To | var font: UIFont? |
Modified UITextView.linkTextAttributes
Declaration | |
---|---|
From | var linkTextAttributes: [NSObject : AnyObject]! |
To | var linkTextAttributes: [String : AnyObject]! |
Modified UITextView.textColor
Declaration | |
---|---|
From | var textColor: UIColor! |
To | var textColor: UIColor? |
Modified UITextView.typingAttributes
Declaration | |
---|---|
From | var typingAttributes: [NSObject : AnyObject]! |
To | var typingAttributes: [String : AnyObject] |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UITextWritingDirection [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIToolbar
Declaration | |
---|---|
From | class UIToolbar : UIView, UIBarPositioning, NSObjectProtocol { var barStyle: UIBarStyle var items: [AnyObject]? var translucent: Bool func setItems(_ items: [AnyObject]?, animated animated: Bool) var tintColor: UIColor! var barTintColor: UIColor? func setBackgroundImage(_ backgroundImage: UIImage?, forToolbarPosition topOrBottom: UIBarPosition, barMetrics barMetrics: UIBarMetrics) func backgroundImageForToolbarPosition(_ topOrBottom: UIBarPosition, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setShadowImage(_ shadowImage: UIImage?, forToolbarPosition topOrBottom: UIBarPosition) func shadowImageForToolbarPosition(_ topOrBottom: UIBarPosition) -> UIImage? unowned(unsafe) var delegate: UIToolbarDelegate? } |
To | class UIToolbar : UIView, UIBarPositioning { var barStyle: UIBarStyle var items: [UIBarButtonItem]? var translucent: Bool func setItems(_ items: [UIBarButtonItem]?, animated animated: Bool) var tintColor: UIColor! var barTintColor: UIColor? func setBackgroundImage(_ backgroundImage: UIImage?, forToolbarPosition topOrBottom: UIBarPosition, barMetrics barMetrics: UIBarMetrics) func backgroundImageForToolbarPosition(_ topOrBottom: UIBarPosition, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setShadowImage(_ shadowImage: UIImage?, forToolbarPosition topOrBottom: UIBarPosition) func shadowImageForToolbarPosition(_ topOrBottom: UIBarPosition) -> UIImage? unowned(unsafe) var delegate: UIToolbarDelegate? } |
Modified UIToolbar.items
Declaration | |
---|---|
From | var items: [AnyObject]? |
To | var items: [UIBarButtonItem]? |
Declaration | |
---|---|
From | func setItems(_ items: [AnyObject]?, animated animated: Bool) |
To | func setItems(_ items: [UIBarButtonItem]?, animated animated: Bool) |
Modified UITouch
Declaration | |
---|---|
From | class UITouch : NSObject { var timestamp: NSTimeInterval { get } var phase: UITouchPhase { get } var tapCount: Int { get } var majorRadius: CGFloat { get } var majorRadiusTolerance: CGFloat { get } var window: UIWindow { get } var view: UIView { get } var gestureRecognizers: [AnyObject] { get } func locationInView(_ view: UIView?) -> CGPoint func previousLocationInView(_ view: UIView?) -> CGPoint } extension UITouch { func locationInNode(_ node: SKNode!) -> CGPoint func previousLocationInNode(_ node: SKNode!) -> CGPoint } |
To | class UITouch : NSObject { var timestamp: NSTimeInterval { get } var phase: UITouchPhase { get } var tapCount: Int { get } var majorRadius: CGFloat { get } var majorRadiusTolerance: CGFloat { get } var window: UIWindow? { get } var view: UIView? { get } var gestureRecognizers: [UIGestureRecognizer]? { get } func locationInView(_ view: UIView?) -> CGPoint func previousLocationInView(_ view: UIView?) -> CGPoint var force: CGFloat { get } var maximumPossibleForce: CGFloat { get } } extension UITouch { func locationInNode(_ node: SKNode) -> CGPoint func previousLocationInNode(_ node: SKNode) -> CGPoint } |
Modified UITouch.gestureRecognizers
Declaration | |
---|---|
From | var gestureRecognizers: [AnyObject] { get } |
To | var gestureRecognizers: [UIGestureRecognizer]? { get } |
Modified UITouch.view
Declaration | |
---|---|
From | var view: UIView { get } |
To | var view: UIView? { get } |
Modified UITouch.window
Declaration | |
---|---|
From | var window: UIWindow { get } |
To | var window: UIWindow? { get } |
Modified UITouchPhase [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UITraitCollection
Declaration | |
---|---|
From | class UITraitCollection : NSObject, NSCopying, NSSecureCoding, NSCoding { func containsTraitsInCollection(_ trait: UITraitCollection!) -> Bool init(traitsFromCollections traitCollections: [AnyObject]) -> UITraitCollection class func traitCollectionWithTraitsFromCollections(_ traitCollections: [AnyObject]) -> UITraitCollection init(userInterfaceIdiom idiom: UIUserInterfaceIdiom) -> UITraitCollection class func traitCollectionWithUserInterfaceIdiom(_ idiom: UIUserInterfaceIdiom) -> UITraitCollection var userInterfaceIdiom: UIUserInterfaceIdiom { get } init(displayScale scale: CGFloat) -> UITraitCollection class func traitCollectionWithDisplayScale(_ scale: CGFloat) -> UITraitCollection var displayScale: CGFloat { get } init(horizontalSizeClass horizontalSizeClass: UIUserInterfaceSizeClass) -> UITraitCollection class func traitCollectionWithHorizontalSizeClass(_ horizontalSizeClass: UIUserInterfaceSizeClass) -> UITraitCollection var horizontalSizeClass: UIUserInterfaceSizeClass { get } init(verticalSizeClass verticalSizeClass: UIUserInterfaceSizeClass) -> UITraitCollection class func traitCollectionWithVerticalSizeClass(_ verticalSizeClass: UIUserInterfaceSizeClass) -> UITraitCollection var verticalSizeClass: UIUserInterfaceSizeClass { get } } |
To | class UITraitCollection : NSObject, NSCopying, NSSecureCoding, NSCoding { init() init?(coder aDecoder: NSCoder) func containsTraitsInCollection(_ trait: UITraitCollection?) -> Bool init(traitsFromCollections traitCollections: [UITraitCollection]) class func traitCollectionWithTraitsFromCollections(_ traitCollections: [UITraitCollection]) -> UITraitCollection init(userInterfaceIdiom idiom: UIUserInterfaceIdiom) class func traitCollectionWithUserInterfaceIdiom(_ idiom: UIUserInterfaceIdiom) -> UITraitCollection var userInterfaceIdiom: UIUserInterfaceIdiom { get } init(displayScale scale: CGFloat) class func traitCollectionWithDisplayScale(_ scale: CGFloat) -> UITraitCollection var displayScale: CGFloat { get } init(horizontalSizeClass horizontalSizeClass: UIUserInterfaceSizeClass) class func traitCollectionWithHorizontalSizeClass(_ horizontalSizeClass: UIUserInterfaceSizeClass) -> UITraitCollection var horizontalSizeClass: UIUserInterfaceSizeClass { get } init(verticalSizeClass verticalSizeClass: UIUserInterfaceSizeClass) class func traitCollectionWithVerticalSizeClass(_ verticalSizeClass: UIUserInterfaceSizeClass) -> UITraitCollection var verticalSizeClass: UIUserInterfaceSizeClass { get } init(forceTouchCapability capability: UIForceTouchCapability) class func traitCollectionWithForceTouchCapability(_ capability: UIForceTouchCapability) -> UITraitCollection var forceTouchCapability: UIForceTouchCapability { get } } |
Declaration | |
---|---|
From | func containsTraitsInCollection(_ trait: UITraitCollection!) -> Bool |
To | func containsTraitsInCollection(_ trait: UITraitCollection?) -> Bool |
Declaration | |
---|---|
From | init(displayScale scale: CGFloat) -> UITraitCollection |
To | init(displayScale scale: CGFloat) |
Declaration | |
---|---|
From | init(horizontalSizeClass horizontalSizeClass: UIUserInterfaceSizeClass) -> UITraitCollection |
To | init(horizontalSizeClass horizontalSizeClass: UIUserInterfaceSizeClass) |
Declaration | |
---|---|
From | init(traitsFromCollections traitCollections: [AnyObject]) -> UITraitCollection |
To | init(traitsFromCollections traitCollections: [UITraitCollection]) |
Declaration | |
---|---|
From | init(userInterfaceIdiom idiom: UIUserInterfaceIdiom) -> UITraitCollection |
To | init(userInterfaceIdiom idiom: UIUserInterfaceIdiom) |
Declaration | |
---|---|
From | init(verticalSizeClass verticalSizeClass: UIUserInterfaceSizeClass) -> UITraitCollection |
To | init(verticalSizeClass verticalSizeClass: UIUserInterfaceSizeClass) |
Modified UIUserInterfaceIdiom [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIUserInterfaceIdiom.Pad
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Modified UIUserInterfaceIdiom.Phone
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.2 |
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIUserInterfaceSizeClass [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIUserNotificationAction
Declaration | |
---|---|
From | class UIUserNotificationAction : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding { var identifier: String! { get } var title: String! { get } var activationMode: UIUserNotificationActivationMode { get } var authenticationRequired: Bool { get } var destructive: Bool { get } } |
To | class UIUserNotificationAction : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding { init() init?(coder aDecoder: NSCoder) var identifier: String? { get } var title: String? { get } var behavior: UIUserNotificationActionBehavior { get } var parameters: [NSObject : AnyObject] { get } var activationMode: UIUserNotificationActivationMode { get } var authenticationRequired: Bool { get } var destructive: Bool { get } } |
Modified UIUserNotificationAction.identifier
Declaration | |
---|---|
From | var identifier: String! { get } |
To | var identifier: String? { get } |
Modified UIUserNotificationAction.title
Declaration | |
---|---|
From | var title: String! { get } |
To | var title: String? { get } |
Raw Value Type | |
---|---|
From | -- |
To | UInt |
Raw Value Type | |
---|---|
From | -- |
To | UInt |
Modified UIUserNotificationCategory
Declaration | |
---|---|
From | class UIUserNotificationCategory : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding { var identifier: String! { get } func actionsForContext(_ context: UIUserNotificationActionContext) -> [AnyObject]! } |
To | class UIUserNotificationCategory : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding { init() init?(coder aDecoder: NSCoder) var identifier: String? { get } func actionsForContext(_ context: UIUserNotificationActionContext) -> [UIUserNotificationAction]? } |
Declaration | |
---|---|
From | func actionsForContext(_ context: UIUserNotificationActionContext) -> [AnyObject]! |
To | func actionsForContext(_ context: UIUserNotificationActionContext) -> [UIUserNotificationAction]? |
Declaration | |
---|---|
From | var identifier: String! { get } |
To | var identifier: String? { get } |
Modified UIUserNotificationSettings
Declaration | |
---|---|
From | class UIUserNotificationSettings : NSObject { convenience init(forTypes types: UIUserNotificationType, categories categories: Set<NSObject>?) class func settingsForTypes(_ types: UIUserNotificationType, categories categories: Set<NSObject>?) -> Self var types: UIUserNotificationType { get } var categories: Set<NSObject>! { get } } |
To | class UIUserNotificationSettings : NSObject { convenience init(forTypes types: UIUserNotificationType, categories categories: Set<UIUserNotificationCategory>?) class func settingsForTypes(_ types: UIUserNotificationType, categories categories: Set<UIUserNotificationCategory>?) -> Self var types: UIUserNotificationType { get } var categories: Set<UIUserNotificationCategory>? { get } } |
Declaration | |
---|---|
From | var categories: Set<NSObject>! { get } |
To | var categories: Set<UIUserNotificationCategory>? { get } |
Declaration | |
---|---|
From | convenience init(forTypes types: UIUserNotificationType, categories categories: Set<NSObject>?) |
To | convenience init(forTypes types: UIUserNotificationType, categories categories: Set<UIUserNotificationCategory>?) |
Modified UIUserNotificationType [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIUserNotificationType : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var None: UIUserNotificationType { get } static var Badge: UIUserNotificationType { get } static var Sound: UIUserNotificationType { get } static var Alert: UIUserNotificationType { get } } | RawOptionSetType |
To | struct UIUserNotificationType : OptionSetType { init(rawValue rawValue: UInt) static var None: UIUserNotificationType { get } static var Badge: UIUserNotificationType { get } static var Sound: UIUserNotificationType { get } static var Alert: UIUserNotificationType { get } } | OptionSetType |
Modified UIVibrancyEffect
Declaration | |
---|---|
From | class UIVibrancyEffect : UIVisualEffect { init(forBlurEffect blurEffect: UIBlurEffect) -> UIVibrancyEffect class func effectForBlurEffect(_ blurEffect: UIBlurEffect) -> UIVibrancyEffect } extension UIVibrancyEffect { class func notificationCenterVibrancyEffect() -> UIVibrancyEffect! } |
To | class UIVibrancyEffect : UIVisualEffect { init(forBlurEffect blurEffect: UIBlurEffect) class func effectForBlurEffect(_ blurEffect: UIBlurEffect) -> UIVibrancyEffect } extension UIVibrancyEffect { class func notificationCenterVibrancyEffect() -> UIVibrancyEffect } |
Declaration | |
---|---|
From | init(forBlurEffect blurEffect: UIBlurEffect) -> UIVibrancyEffect |
To | init(forBlurEffect blurEffect: UIBlurEffect) |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.1 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.1 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 3.1 |
Modified UIView
Declaration | Protocols | |
---|---|---|
From | class UIView : UIResponder, NSCoding, UIAppearance, NSObjectProtocol, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace { class func layerClass() -> AnyClass init(frame frame: CGRect) var userInteractionEnabled: Bool var tag: Int var layer: CALayer { get } } extension UIView : UIAccessibilityIdentification, NSObjectProtocol { } extension UIView { func viewPrintFormatter() -> UIViewPrintFormatter func drawRect(_ rect: CGRect, forViewPrintFormatter formatter: UIViewPrintFormatter) } extension UIView { func endEditing(_ force: Bool) -> Bool } extension UIView : Reflectable { func getMirror() -> MirrorType } extension UIView { var frame: CGRect var bounds: CGRect var center: CGPoint var transform: CGAffineTransform var contentScaleFactor: CGFloat var multipleTouchEnabled: Bool var exclusiveTouch: Bool func hitTest(_ point: CGPoint, withEvent event: UIEvent?) -> UIView? func pointInside(_ point: CGPoint, withEvent event: UIEvent?) -> Bool func convertPoint(_ point: CGPoint, toView view: UIView?) -> CGPoint func convertPoint(_ point: CGPoint, fromView view: UIView?) -> CGPoint func convertRect(_ rect: CGRect, toView view: UIView?) -> CGRect func convertRect(_ rect: CGRect, fromView view: UIView?) -> CGRect var autoresizesSubviews: Bool var autoresizingMask: UIViewAutoresizing func sizeThatFits(_ size: CGSize) -> CGSize func sizeToFit() } extension UIView { var superview: UIView? { get } var subviews: [AnyObject] { get } var window: UIWindow? { get } func removeFromSuperview() func insertSubview(_ view: UIView, atIndex index: Int) func exchangeSubviewAtIndex(_ index1: Int, withSubviewAtIndex index2: Int) func addSubview(_ view: UIView) func insertSubview(_ view: UIView, belowSubview siblingSubview: UIView) func insertSubview(_ view: UIView, aboveSubview siblingSubview: UIView) func bringSubviewToFront(_ view: UIView) func sendSubviewToBack(_ view: UIView) func didAddSubview(_ subview: UIView) func willRemoveSubview(_ subview: UIView) func willMoveToSuperview(_ newSuperview: UIView?) func didMoveToSuperview() func willMoveToWindow(_ newWindow: UIWindow?) func didMoveToWindow() func isDescendantOfView(_ view: UIView) -> Bool func viewWithTag(_ tag: Int) -> UIView? func setNeedsLayout() func layoutIfNeeded() func layoutSubviews() var layoutMargins: UIEdgeInsets var preservesSuperviewLayoutMargins: Bool func layoutMarginsDidChange() } extension UIView { func drawRect(_ rect: CGRect) func setNeedsDisplay() func setNeedsDisplayInRect(_ rect: CGRect) var clipsToBounds: Bool @NSCopying var backgroundColor: UIColor? var alpha: CGFloat var opaque: Bool var clearsContextBeforeDrawing: Bool var hidden: Bool var contentMode: UIViewContentMode var contentStretch: CGRect var maskView: UIView? var tintColor: UIColor! var tintAdjustmentMode: UIViewTintAdjustmentMode func tintColorDidChange() } extension UIView { class func beginAnimations(_ animationID: String?, context context: UnsafeMutablePointer<Void>) class func commitAnimations() class func setAnimationDelegate(_ delegate: AnyObject?) class func setAnimationWillStartSelector(_ selector: Selector) class func setAnimationDidStopSelector(_ selector: Selector) class func setAnimationDuration(_ duration: NSTimeInterval) class func setAnimationDelay(_ delay: NSTimeInterval) class func setAnimationStartDate(_ startDate: NSDate) class func setAnimationCurve(_ curve: UIViewAnimationCurve) class func setAnimationRepeatCount(_ repeatCount: Float) class func setAnimationRepeatAutoreverses(_ repeatAutoreverses: Bool) class func setAnimationBeginsFromCurrentState(_ fromCurrentState: Bool) class func setAnimationTransition(_ transition: UIViewAnimationTransition, forView view: UIView, cache cache: Bool) class func setAnimationsEnabled(_ enabled: Bool) class func areAnimationsEnabled() -> Bool class func performWithoutAnimation(_ actionsWithoutAnimation: () -> Void) } extension UIView { class func animateWithDuration(_ duration: NSTimeInterval, delay delay: NSTimeInterval, options options: UIViewAnimationOptions, animations animations: () -> Void, completion completion: ((Bool) -> Void)?) class func animateWithDuration(_ duration: NSTimeInterval, animations animations: () -> Void, completion completion: ((Bool) -> Void)?) class func animateWithDuration(_ duration: NSTimeInterval, animations animations: () -> Void) class func animateWithDuration(_ duration: NSTimeInterval, delay delay: NSTimeInterval, usingSpringWithDamping dampingRatio: CGFloat, initialSpringVelocity velocity: CGFloat, options options: UIViewAnimationOptions, animations animations: () -> Void, completion completion: ((Bool) -> Void)?) class func transitionWithView(_ view: UIView, duration duration: NSTimeInterval, options options: UIViewAnimationOptions, animations animations: () -> Void, completion completion: ((Bool) -> Void)?) class func transitionFromView(_ fromView: UIView, toView toView: UIView, duration duration: NSTimeInterval, options options: UIViewAnimationOptions, completion completion: ((Bool) -> Void)?) class func performSystemAnimation(_ animation: UISystemAnimation, onViews views: [AnyObject], options options: UIViewAnimationOptions, animations parallelAnimations: (() -> Void)?, completion completion: ((Bool) -> Void)?) } extension UIView { class func animateKeyframesWithDuration(_ duration: NSTimeInterval, delay delay: NSTimeInterval, options options: UIViewKeyframeAnimationOptions, animations animations: () -> Void, completion completion: ((Bool) -> Void)?) class func addKeyframeWithRelativeStartTime(_ frameStartTime: Double, relativeDuration frameDuration: Double, animations animations: () -> Void) } extension UIView { var gestureRecognizers: [AnyObject]? func addGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer) func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool } extension UIView { func addMotionEffect(_ effect: UIMotionEffect) func removeMotionEffect(_ effect: UIMotionEffect) var motionEffects: [AnyObject]? } extension UIView { func constraints() -> [AnyObject] func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [AnyObject]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [AnyObject]) } extension UIView { func updateConstraintsIfNeeded() func updateConstraints() func needsUpdateConstraints() -> Bool func setNeedsUpdateConstraints() } extension UIView { func translatesAutoresizingMaskIntoConstraints() -> Bool func setTranslatesAutoresizingMaskIntoConstraints(_ flag: Bool) class func requiresConstraintBasedLayout() -> Bool } extension UIView { func alignmentRectForFrame(_ frame: CGRect) -> CGRect func frameForAlignmentRect(_ alignmentRect: CGRect) -> CGRect func alignmentRectInsets() -> UIEdgeInsets func viewForBaselineLayout() -> UIView? func intrinsicContentSize() -> CGSize func invalidateIntrinsicContentSize() func contentHuggingPriorityForAxis(_ axis: UILayoutConstraintAxis) -> UILayoutPriority func setContentHuggingPriority(_ priority: UILayoutPriority, forAxis axis: UILayoutConstraintAxis) func contentCompressionResistancePriorityForAxis(_ axis: UILayoutConstraintAxis) -> UILayoutPriority func setContentCompressionResistancePriority(_ priority: UILayoutPriority, forAxis axis: UILayoutConstraintAxis) } extension UIView { func systemLayoutSizeFittingSize(_ targetSize: CGSize) -> CGSize func systemLayoutSizeFittingSize(_ targetSize: CGSize, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority, verticalFittingPriority verticalFittingPriority: UILayoutPriority) -> CGSize } extension UIView { func constraintsAffectingLayoutForAxis(_ axis: UILayoutConstraintAxis) -> [AnyObject] func hasAmbiguousLayout() -> Bool func exerciseAmbiguityInLayout() } extension UIView { var restorationIdentifier: String? func encodeRestorableStateWithCoder(_ coder: NSCoder) func decodeRestorableStateWithCoder(_ coder: NSCoder) } extension UIView { func snapshotViewAfterScreenUpdates(_ afterUpdates: Bool) -> UIView func resizableSnapshotViewFromRect(_ rect: CGRect, afterScreenUpdates afterUpdates: Bool, withCapInsets capInsets: UIEdgeInsets) -> UIView func drawViewHierarchyInRect(_ rect: CGRect, afterScreenUpdates afterUpdates: Bool) -> Bool } extension UIView : Reflectable { func getMirror() -> MirrorType } | AnyObject, NSCoding, NSObjectProtocol, Reflectable, UIAccessibilityIdentification, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UITraitEnvironment |
To | class UIView : UIResponder, NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace { class func layerClass() -> AnyClass init(frame frame: CGRect) init?(coder aDecoder: NSCoder) var userInteractionEnabled: Bool var tag: Int var layer: CALayer { get } class func userInterfaceLayoutDirectionForSemanticContentAttribute(_ attribute: UISemanticContentAttribute) -> UIUserInterfaceLayoutDirection var semanticContentAttribute: UISemanticContentAttribute } extension UIView : UIAccessibilityIdentification { } extension UIView { func viewPrintFormatter() -> UIViewPrintFormatter func drawRect(_ rect: CGRect, forViewPrintFormatter formatter: UIViewPrintFormatter) } extension UIView { func endEditing(_ force: Bool) -> Bool } extension UIView : _Reflectable { } extension UIView { var frame: CGRect var bounds: CGRect var center: CGPoint var transform: CGAffineTransform var contentScaleFactor: CGFloat var multipleTouchEnabled: Bool var exclusiveTouch: Bool func hitTest(_ point: CGPoint, withEvent event: UIEvent?) -> UIView? func pointInside(_ point: CGPoint, withEvent event: UIEvent?) -> Bool func convertPoint(_ point: CGPoint, toView view: UIView?) -> CGPoint func convertPoint(_ point: CGPoint, fromView view: UIView?) -> CGPoint func convertRect(_ rect: CGRect, toView view: UIView?) -> CGRect func convertRect(_ rect: CGRect, fromView view: UIView?) -> CGRect var autoresizesSubviews: Bool var autoresizingMask: UIViewAutoresizing func sizeThatFits(_ size: CGSize) -> CGSize func sizeToFit() } extension UIView { var superview: UIView? { get } var subviews: [UIView] { get } var window: UIWindow? { get } func removeFromSuperview() func insertSubview(_ view: UIView, atIndex index: Int) func exchangeSubviewAtIndex(_ index1: Int, withSubviewAtIndex index2: Int) func addSubview(_ view: UIView) func insertSubview(_ view: UIView, belowSubview siblingSubview: UIView) func insertSubview(_ view: UIView, aboveSubview siblingSubview: UIView) func bringSubviewToFront(_ view: UIView) func sendSubviewToBack(_ view: UIView) func didAddSubview(_ subview: UIView) func willRemoveSubview(_ subview: UIView) func willMoveToSuperview(_ newSuperview: UIView?) func didMoveToSuperview() func willMoveToWindow(_ newWindow: UIWindow?) func didMoveToWindow() func isDescendantOfView(_ view: UIView) -> Bool func viewWithTag(_ tag: Int) -> UIView? func setNeedsLayout() func layoutIfNeeded() func layoutSubviews() var layoutMargins: UIEdgeInsets var preservesSuperviewLayoutMargins: Bool func layoutMarginsDidChange() var layoutMarginsGuide: UILayoutGuide { get } var readableContentGuide: UILayoutGuide { get } } extension UIView { func drawRect(_ rect: CGRect) func setNeedsDisplay() func setNeedsDisplayInRect(_ rect: CGRect) var clipsToBounds: Bool @NSCopying var backgroundColor: UIColor? var alpha: CGFloat var opaque: Bool var clearsContextBeforeDrawing: Bool var hidden: Bool var contentMode: UIViewContentMode var contentStretch: CGRect var maskView: UIView? var tintColor: UIColor! var tintAdjustmentMode: UIViewTintAdjustmentMode func tintColorDidChange() } extension UIView { class func beginAnimations(_ animationID: String?, context context: UnsafeMutablePointer<Void>) class func commitAnimations() class func setAnimationDelegate(_ delegate: AnyObject?) class func setAnimationWillStartSelector(_ selector: Selector) class func setAnimationDidStopSelector(_ selector: Selector) class func setAnimationDuration(_ duration: NSTimeInterval) class func setAnimationDelay(_ delay: NSTimeInterval) class func setAnimationStartDate(_ startDate: NSDate) class func setAnimationCurve(_ curve: UIViewAnimationCurve) class func setAnimationRepeatCount(_ repeatCount: Float) class func setAnimationRepeatAutoreverses(_ repeatAutoreverses: Bool) class func setAnimationBeginsFromCurrentState(_ fromCurrentState: Bool) class func setAnimationTransition(_ transition: UIViewAnimationTransition, forView view: UIView, cache cache: Bool) class func setAnimationsEnabled(_ enabled: Bool) class func areAnimationsEnabled() -> Bool class func performWithoutAnimation(_ actionsWithoutAnimation: () -> Void) class func inheritedAnimationDuration() -> NSTimeInterval } extension UIView { class func animateWithDuration(_ duration: NSTimeInterval, delay delay: NSTimeInterval, options options: UIViewAnimationOptions, animations animations: () -> Void, completion completion: ((Bool) -> Void)?) class func animateWithDuration(_ duration: NSTimeInterval, animations animations: () -> Void, completion completion: ((Bool) -> Void)?) class func animateWithDuration(_ duration: NSTimeInterval, animations animations: () -> Void) class func animateWithDuration(_ duration: NSTimeInterval, delay delay: NSTimeInterval, usingSpringWithDamping dampingRatio: CGFloat, initialSpringVelocity velocity: CGFloat, options options: UIViewAnimationOptions, animations animations: () -> Void, completion completion: ((Bool) -> Void)?) class func transitionWithView(_ view: UIView, duration duration: NSTimeInterval, options options: UIViewAnimationOptions, animations animations: (() -> Void)?, completion completion: ((Bool) -> Void)?) class func transitionFromView(_ fromView: UIView, toView toView: UIView, duration duration: NSTimeInterval, options options: UIViewAnimationOptions, completion completion: ((Bool) -> Void)?) class func performSystemAnimation(_ animation: UISystemAnimation, onViews views: [UIView], options options: UIViewAnimationOptions, animations parallelAnimations: (() -> Void)?, completion completion: ((Bool) -> Void)?) } extension UIView { class func animateKeyframesWithDuration(_ duration: NSTimeInterval, delay delay: NSTimeInterval, options options: UIViewKeyframeAnimationOptions, animations animations: () -> Void, completion completion: ((Bool) -> Void)?) class func addKeyframeWithRelativeStartTime(_ frameStartTime: Double, relativeDuration frameDuration: Double, animations animations: () -> Void) } extension UIView { var gestureRecognizers: [UIGestureRecognizer]? func addGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer) func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool } extension UIView { func addMotionEffect(_ effect: UIMotionEffect) func removeMotionEffect(_ effect: UIMotionEffect) var motionEffects: [UIMotionEffect] } extension UIView { var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) } extension UIView { func updateConstraintsIfNeeded() func updateConstraints() func needsUpdateConstraints() -> Bool func setNeedsUpdateConstraints() } extension UIView { var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool } extension UIView { func alignmentRectForFrame(_ frame: CGRect) -> CGRect func frameForAlignmentRect(_ alignmentRect: CGRect) -> CGRect func alignmentRectInsets() -> UIEdgeInsets func viewForBaselineLayout() -> UIView var viewForFirstBaselineLayout: UIView { get } var viewForLastBaselineLayout: UIView { get } func intrinsicContentSize() -> CGSize func invalidateIntrinsicContentSize() func contentHuggingPriorityForAxis(_ axis: UILayoutConstraintAxis) -> UILayoutPriority func setContentHuggingPriority(_ priority: UILayoutPriority, forAxis axis: UILayoutConstraintAxis) func contentCompressionResistancePriorityForAxis(_ axis: UILayoutConstraintAxis) -> UILayoutPriority func setContentCompressionResistancePriority(_ priority: UILayoutPriority, forAxis axis: UILayoutConstraintAxis) } extension UIView { func systemLayoutSizeFittingSize(_ targetSize: CGSize) -> CGSize func systemLayoutSizeFittingSize(_ targetSize: CGSize, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority, verticalFittingPriority verticalFittingPriority: UILayoutPriority) -> CGSize } extension UIView { var layoutGuides: [UILayoutGuide] { get } func addLayoutGuide(_ layoutGuide: UILayoutGuide) func removeLayoutGuide(_ layoutGuide: UILayoutGuide) } extension UIView { var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } } extension UIView { func constraintsAffectingLayoutForAxis(_ axis: UILayoutConstraintAxis) -> [NSLayoutConstraint] func hasAmbiguousLayout() -> Bool func exerciseAmbiguityInLayout() } extension UIView { var restorationIdentifier: String? func encodeRestorableStateWithCoder(_ coder: NSCoder) func decodeRestorableStateWithCoder(_ coder: NSCoder) } extension UIView { func snapshotViewAfterScreenUpdates(_ afterUpdates: Bool) -> UIView func resizableSnapshotViewFromRect(_ rect: CGRect, afterScreenUpdates afterUpdates: Bool, withCapInsets capInsets: UIEdgeInsets) -> UIView func drawViewHierarchyInRect(_ rect: CGRect, afterScreenUpdates afterUpdates: Bool) -> Bool } extension UIView : _Reflectable { } | AnyObject, NSCoding, NSObjectProtocol, UIAccessibilityIdentification, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UITraitEnvironment |
Declaration | |
---|---|
From | func addConstraints(_ constraints: [AnyObject]) |
To | func addConstraints(_ constraints: [NSLayoutConstraint]) |
Modified UIView.constraintsAffectingLayoutForAxis(_: UILayoutConstraintAxis) -> [NSLayoutConstraint]
Declaration | |
---|---|
From | func constraintsAffectingLayoutForAxis(_ axis: UILayoutConstraintAxis) -> [AnyObject] |
To | func constraintsAffectingLayoutForAxis(_ axis: UILayoutConstraintAxis) -> [NSLayoutConstraint] |
Modified UIView.gestureRecognizers
Declaration | |
---|---|
From | var gestureRecognizers: [AnyObject]? |
To | var gestureRecognizers: [UIGestureRecognizer]? |
Modified UIView.motionEffects
Declaration | |
---|---|
From | var motionEffects: [AnyObject]? |
To | var motionEffects: [UIMotionEffect] |
Declaration | |
---|---|
From | class func performSystemAnimation(_ animation: UISystemAnimation, onViews views: [AnyObject], options options: UIViewAnimationOptions, animations parallelAnimations: (() -> Void)?, completion completion: ((Bool) -> Void)?) |
To | class func performSystemAnimation(_ animation: UISystemAnimation, onViews views: [UIView], options options: UIViewAnimationOptions, animations parallelAnimations: (() -> Void)?, completion completion: ((Bool) -> Void)?) |
Declaration | |
---|---|
From | func removeConstraints(_ constraints: [AnyObject]) |
To | func removeConstraints(_ constraints: [NSLayoutConstraint]) |
Modified UIView.subviews
Declaration | |
---|---|
From | var subviews: [AnyObject] { get } |
To | var subviews: [UIView] { get } |
Declaration | |
---|---|
From | class func transitionWithView(_ view: UIView, duration duration: NSTimeInterval, options options: UIViewAnimationOptions, animations animations: () -> Void, completion completion: ((Bool) -> Void)?) |
To | class func transitionWithView(_ view: UIView, duration duration: NSTimeInterval, options options: UIViewAnimationOptions, animations animations: (() -> Void)?, completion completion: ((Bool) -> Void)?) |
Declaration | Deprecation | |
---|---|---|
From | func viewForBaselineLayout() -> UIView? | -- |
To | func viewForBaselineLayout() -> UIView | iOS 9.0 |
Modified UIViewAnimationCurve [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIViewAnimationOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIViewAnimationOptions : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var LayoutSubviews: UIViewAnimationOptions { get } static var AllowUserInteraction: UIViewAnimationOptions { get } static var BeginFromCurrentState: UIViewAnimationOptions { get } static var Repeat: UIViewAnimationOptions { get } static var Autoreverse: UIViewAnimationOptions { get } static var OverrideInheritedDuration: UIViewAnimationOptions { get } static var OverrideInheritedCurve: UIViewAnimationOptions { get } static var AllowAnimatedContent: UIViewAnimationOptions { get } static var ShowHideTransitionViews: UIViewAnimationOptions { get } static var OverrideInheritedOptions: UIViewAnimationOptions { get } static var CurveEaseInOut: UIViewAnimationOptions { get } static var CurveEaseIn: UIViewAnimationOptions { get } static var CurveEaseOut: UIViewAnimationOptions { get } static var CurveLinear: UIViewAnimationOptions { get } static var TransitionNone: UIViewAnimationOptions { get } static var TransitionFlipFromLeft: UIViewAnimationOptions { get } static var TransitionFlipFromRight: UIViewAnimationOptions { get } static var TransitionCurlUp: UIViewAnimationOptions { get } static var TransitionCurlDown: UIViewAnimationOptions { get } static var TransitionCrossDissolve: UIViewAnimationOptions { get } static var TransitionFlipFromTop: UIViewAnimationOptions { get } static var TransitionFlipFromBottom: UIViewAnimationOptions { get } } | RawOptionSetType |
To | struct UIViewAnimationOptions : OptionSetType { init(rawValue rawValue: UInt) static var LayoutSubviews: UIViewAnimationOptions { get } static var AllowUserInteraction: UIViewAnimationOptions { get } static var BeginFromCurrentState: UIViewAnimationOptions { get } static var Repeat: UIViewAnimationOptions { get } static var Autoreverse: UIViewAnimationOptions { get } static var OverrideInheritedDuration: UIViewAnimationOptions { get } static var OverrideInheritedCurve: UIViewAnimationOptions { get } static var AllowAnimatedContent: UIViewAnimationOptions { get } static var ShowHideTransitionViews: UIViewAnimationOptions { get } static var OverrideInheritedOptions: UIViewAnimationOptions { get } static var CurveEaseInOut: UIViewAnimationOptions { get } static var CurveEaseIn: UIViewAnimationOptions { get } static var CurveEaseOut: UIViewAnimationOptions { get } static var CurveLinear: UIViewAnimationOptions { get } static var TransitionNone: UIViewAnimationOptions { get } static var TransitionFlipFromLeft: UIViewAnimationOptions { get } static var TransitionFlipFromRight: UIViewAnimationOptions { get } static var TransitionCurlUp: UIViewAnimationOptions { get } static var TransitionCurlDown: UIViewAnimationOptions { get } static var TransitionCrossDissolve: UIViewAnimationOptions { get } static var TransitionFlipFromTop: UIViewAnimationOptions { get } static var TransitionFlipFromBottom: UIViewAnimationOptions { get } } | OptionSetType |
Modified UIViewAnimationTransition [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIViewAutoresizing [struct]
Declaration | Protocols | |
---|---|---|
From | struct UIViewAutoresizing : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var None: UIViewAutoresizing { get } static var FlexibleLeftMargin: UIViewAutoresizing { get } static var FlexibleWidth: UIViewAutoresizing { get } static var FlexibleRightMargin: UIViewAutoresizing { get } static var FlexibleTopMargin: UIViewAutoresizing { get } static var FlexibleHeight: UIViewAutoresizing { get } static var FlexibleBottomMargin: UIViewAutoresizing { get } } | RawOptionSetType |
To | struct UIViewAutoresizing : OptionSetType { init(rawValue rawValue: UInt) static var None: UIViewAutoresizing { get } static var FlexibleLeftMargin: UIViewAutoresizing { get } static var FlexibleWidth: UIViewAutoresizing { get } static var FlexibleRightMargin: UIViewAutoresizing { get } static var FlexibleTopMargin: UIViewAutoresizing { get } static var FlexibleHeight: UIViewAutoresizing { get } static var FlexibleBottomMargin: UIViewAutoresizing { get } } | OptionSetType |
Modified UIViewContentMode [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIViewController
Declaration | |
---|---|
From | class UIViewController : UIResponder, NSCoding, UIAppearanceContainer, NSObjectProtocol, UITraitEnvironment, UIContentContainer { init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) var view: UIView! func loadView() func viewWillUnload() func viewDidUnload() func viewDidLoad() func isViewLoaded() -> Bool var nibName: String? { get } var nibBundle: NSBundle? { get } var storyboard: UIStoryboard? { get } func performSegueWithIdentifier(_ identifier: String?, sender sender: AnyObject?) func shouldPerformSegueWithIdentifier(_ identifier: String?, sender sender: AnyObject?) -> Bool func prepareForSegue(_ segue: UIStoryboardSegue, sender sender: AnyObject?) func canPerformUnwindSegueAction(_ action: Selector, fromViewController fromViewController: UIViewController, withSender sender: AnyObject) -> Bool func viewControllerForUnwindSegueAction(_ action: Selector, fromViewController fromViewController: UIViewController, withSender sender: AnyObject?) -> UIViewController? func segueForUnwindingToViewController(_ toViewController: UIViewController, fromViewController fromViewController: UIViewController, identifier identifier: String?) -> UIStoryboardSegue func viewWillAppear(_ animated: Bool) func viewDidAppear(_ animated: Bool) func viewWillDisappear(_ animated: Bool) func viewDidDisappear(_ animated: Bool) func viewWillLayoutSubviews() func viewDidLayoutSubviews() var title: String? func didReceiveMemoryWarning() var parentViewController: UIViewController? { get } var modalViewController: UIViewController! { get } var presentedViewController: UIViewController? { get } var presentingViewController: UIViewController? { get } var definesPresentationContext: Bool var providesPresentationContextTransitionStyle: Bool func isBeingPresented() -> Bool func isBeingDismissed() -> Bool func isMovingToParentViewController() -> Bool func isMovingFromParentViewController() -> Bool func presentViewController(_ viewControllerToPresent: UIViewController, animated flag: Bool, completion completion: (() -> Void)?) func dismissViewControllerAnimated(_ flag: Bool, completion completion: (() -> Void)?) func presentModalViewController(_ modalViewController: UIViewController!, animated animated: Bool) func dismissModalViewControllerAnimated(_ animated: Bool) var modalTransitionStyle: UIModalTransitionStyle var modalPresentationStyle: UIModalPresentationStyle var modalPresentationCapturesStatusBarAppearance: Bool func disablesAutomaticKeyboardDismissal() -> Bool var wantsFullScreenLayout: Bool var edgesForExtendedLayout: UIRectEdge var extendedLayoutIncludesOpaqueBars: Bool var automaticallyAdjustsScrollViewInsets: Bool var preferredContentSize: CGSize func preferredStatusBarStyle() -> UIStatusBarStyle func prefersStatusBarHidden() -> Bool func preferredStatusBarUpdateAnimation() -> UIStatusBarAnimation func setNeedsStatusBarAppearanceUpdate() func targetViewControllerForAction(_ action: Selector, sender sender: AnyObject?) -> UIViewController? func showViewController(_ vc: UIViewController, sender sender: AnyObject?) func showDetailViewController(_ vc: UIViewController, sender sender: AnyObject?) } extension UIViewController { func presentMoviePlayerViewControllerAnimated(_ moviePlayerViewController: MPMoviePlayerViewController!) func dismissMoviePlayerViewControllerAnimated() } extension UIViewController { var navigationItem: UINavigationItem { get } var hidesBottomBarWhenPushed: Bool var navigationController: UINavigationController? { get } } extension UIViewController { var toolbarItems: [AnyObject]? func setToolbarItems(_ toolbarItems: [AnyObject]?, animated animated: Bool) } extension UIViewController { var modalInPopover: Bool var contentSizeForViewInPopover: CGSize } extension UIViewController { var splitViewController: UISplitViewController? { get } func collapseSecondaryViewController(_ secondaryViewController: UIViewController, forSplitViewController splitViewController: UISplitViewController) func separateSecondaryViewControllerForSplitViewController(_ splitViewController: UISplitViewController) -> UIViewController } extension UIViewController { var tabBarItem: UITabBarItem! var tabBarController: UITabBarController? { get } } extension UIViewController { class func attemptRotationToDeviceOrientation() func shouldAutorotateToInterfaceOrientation(_ toInterfaceOrientation: UIInterfaceOrientation) -> Bool func shouldAutorotate() -> Bool func supportedInterfaceOrientations() -> Int func preferredInterfaceOrientationForPresentation() -> UIInterfaceOrientation func rotatingHeaderView() -> UIView? func rotatingFooterView() -> UIView? var interfaceOrientation: UIInterfaceOrientation { get } func willRotateToInterfaceOrientation(_ toInterfaceOrientation: UIInterfaceOrientation, duration duration: NSTimeInterval) func didRotateFromInterfaceOrientation(_ fromInterfaceOrientation: UIInterfaceOrientation) func willAnimateRotationToInterfaceOrientation(_ toInterfaceOrientation: UIInterfaceOrientation, duration duration: NSTimeInterval) func willAnimateFirstHalfOfRotationToInterfaceOrientation(_ toInterfaceOrientation: UIInterfaceOrientation, duration duration: NSTimeInterval) func didAnimateFirstHalfOfRotationToInterfaceOrientation(_ toInterfaceOrientation: UIInterfaceOrientation) func willAnimateSecondHalfOfRotationFromInterfaceOrientation(_ fromInterfaceOrientation: UIInterfaceOrientation, duration duration: NSTimeInterval) } extension UIViewController { var editing: Bool func setEditing(_ editing: Bool, animated animated: Bool) func editButtonItem() -> UIBarButtonItem } extension UIViewController { var searchDisplayController: UISearchDisplayController? { get } } extension UIViewController { var childViewControllers: [AnyObject] { get } func addChildViewController(_ childController: UIViewController) func removeFromParentViewController() func transitionFromViewController(_ fromViewController: UIViewController, toViewController toViewController: UIViewController, duration duration: NSTimeInterval, options options: UIViewAnimationOptions, animations animations: (() -> Void)?, completion completion: ((Bool) -> Void)?) func beginAppearanceTransition(_ isAppearing: Bool, animated animated: Bool) func endAppearanceTransition() func childViewControllerForStatusBarStyle() -> UIViewController? func childViewControllerForStatusBarHidden() -> UIViewController? func setOverrideTraitCollection(_ collection: UITraitCollection?, forChildViewController childViewController: UIViewController) func overrideTraitCollectionForChildViewController(_ childViewController: UIViewController) -> UITraitCollection! } extension UIViewController { func automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers() -> Bool func shouldAutomaticallyForwardRotationMethods() -> Bool func shouldAutomaticallyForwardAppearanceMethods() -> Bool func willMoveToParentViewController(_ parent: UIViewController?) func didMoveToParentViewController(_ parent: UIViewController?) } extension UIViewController : UIStateRestoring, NSObjectProtocol { var restorationIdentifier: String? var restorationClass: AnyObject.Type? func encodeRestorableStateWithCoder(_ coder: NSCoder) func decodeRestorableStateWithCoder(_ coder: NSCoder) func applicationFinishedRestoringState() } extension UIViewController { func updateViewConstraints() } extension UIViewController { unowned(unsafe) var transitioningDelegate: UIViewControllerTransitioningDelegate? } extension UIViewController { var topLayoutGuide: UILayoutSupport { get } var bottomLayoutGuide: UILayoutSupport { get } } extension UIViewController : NSExtensionRequestHandling, NSObjectProtocol { var extensionContext: NSExtensionContext? { get } } extension UIViewController { var presentationController: UIPresentationController? { get } var popoverPresentationController: UIPopoverPresentationController? { get } } extension UIViewController { func transitionCoordinator() -> UIViewControllerTransitionCoordinator? } extension UIViewController { class func prepareInterstitialAds() var interstitialPresentationPolicy: ADInterstitialPresentationPolicy var canDisplayBannerAds: Bool var originalContentView: UIView! { get } var presentingFullScreenAd: Bool { get } var displayingBannerAd: Bool { get } func requestInterstitialAdPresentation() -> Bool var shouldPresentInterstitialAd: Bool { get } } |
To | class UIViewController : UIResponder, NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer { init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) init?(coder aDecoder: NSCoder) var view: UIView! func loadView() func loadViewIfNeeded() var viewIfLoaded: UIView? { get } func viewWillUnload() func viewDidUnload() func viewDidLoad() func isViewLoaded() -> Bool var nibName: String? { get } var nibBundle: NSBundle? { get } var storyboard: UIStoryboard? { get } func performSegueWithIdentifier(_ identifier: String, sender sender: AnyObject?) func shouldPerformSegueWithIdentifier(_ identifier: String, sender sender: AnyObject?) -> Bool func prepareForSegue(_ segue: UIStoryboardSegue, sender sender: AnyObject?) func canPerformUnwindSegueAction(_ action: Selector, fromViewController fromViewController: UIViewController, withSender sender: AnyObject) -> Bool func allowedChildViewControllersForUnwindingFromSource(_ source: UIStoryboardUnwindSegueSource) -> [UIViewController] func childViewControllerContainingSegueSource(_ source: UIStoryboardUnwindSegueSource) -> UIViewController? func viewControllerForUnwindSegueAction(_ action: Selector, fromViewController fromViewController: UIViewController, withSender sender: AnyObject?) -> UIViewController? func unwindForSegue(_ unwindSegue: UIStoryboardSegue, towardsViewController subsequentVC: UIViewController) func segueForUnwindingToViewController(_ toViewController: UIViewController, fromViewController fromViewController: UIViewController, identifier identifier: String?) -> UIStoryboardSegue? func viewWillAppear(_ animated: Bool) func viewDidAppear(_ animated: Bool) func viewWillDisappear(_ animated: Bool) func viewDidDisappear(_ animated: Bool) func viewWillLayoutSubviews() func viewDidLayoutSubviews() var title: String? func didReceiveMemoryWarning() weak var parentViewController: UIViewController? { get } var modalViewController: UIViewController? { get } var presentedViewController: UIViewController? { get } var presentingViewController: UIViewController? { get } var definesPresentationContext: Bool var providesPresentationContextTransitionStyle: Bool func isBeingPresented() -> Bool func isBeingDismissed() -> Bool func isMovingToParentViewController() -> Bool func isMovingFromParentViewController() -> Bool func presentViewController(_ viewControllerToPresent: UIViewController, animated flag: Bool, completion completion: (() -> Void)?) func dismissViewControllerAnimated(_ flag: Bool, completion completion: (() -> Void)?) func presentModalViewController(_ modalViewController: UIViewController, animated animated: Bool) func dismissModalViewControllerAnimated(_ animated: Bool) var modalTransitionStyle: UIModalTransitionStyle var modalPresentationStyle: UIModalPresentationStyle var modalPresentationCapturesStatusBarAppearance: Bool func disablesAutomaticKeyboardDismissal() -> Bool var wantsFullScreenLayout: Bool var edgesForExtendedLayout: UIRectEdge var extendedLayoutIncludesOpaqueBars: Bool var automaticallyAdjustsScrollViewInsets: Bool var preferredContentSize: CGSize func preferredStatusBarStyle() -> UIStatusBarStyle func prefersStatusBarHidden() -> Bool func preferredStatusBarUpdateAnimation() -> UIStatusBarAnimation func setNeedsStatusBarAppearanceUpdate() func targetViewControllerForAction(_ action: Selector, sender sender: AnyObject?) -> UIViewController? func showViewController(_ vc: UIViewController, sender sender: AnyObject?) func showDetailViewController(_ vc: UIViewController, sender sender: AnyObject?) } extension UIViewController { func presentMoviePlayerViewControllerAnimated(_ moviePlayerViewController: MPMoviePlayerViewController!) func dismissMoviePlayerViewControllerAnimated() } extension UIViewController { var navigationItem: UINavigationItem { get } var hidesBottomBarWhenPushed: Bool var navigationController: UINavigationController? { get } } extension UIViewController { var toolbarItems: [UIBarButtonItem]? func setToolbarItems(_ toolbarItems: [UIBarButtonItem]?, animated animated: Bool) } extension UIViewController { var modalInPopover: Bool var contentSizeForViewInPopover: CGSize } extension UIViewController { var splitViewController: UISplitViewController? { get } func collapseSecondaryViewController(_ secondaryViewController: UIViewController, forSplitViewController splitViewController: UISplitViewController) func separateSecondaryViewControllerForSplitViewController(_ splitViewController: UISplitViewController) -> UIViewController? } extension UIViewController { var tabBarItem: UITabBarItem! var tabBarController: UITabBarController? { get } } extension UIViewController { class func attemptRotationToDeviceOrientation() func shouldAutorotateToInterfaceOrientation(_ toInterfaceOrientation: UIInterfaceOrientation) -> Bool func shouldAutorotate() -> Bool func supportedInterfaceOrientations() -> UIInterfaceOrientationMask func preferredInterfaceOrientationForPresentation() -> UIInterfaceOrientation func rotatingHeaderView() -> UIView? func rotatingFooterView() -> UIView? var interfaceOrientation: UIInterfaceOrientation { get } func willRotateToInterfaceOrientation(_ toInterfaceOrientation: UIInterfaceOrientation, duration duration: NSTimeInterval) func didRotateFromInterfaceOrientation(_ fromInterfaceOrientation: UIInterfaceOrientation) func willAnimateRotationToInterfaceOrientation(_ toInterfaceOrientation: UIInterfaceOrientation, duration duration: NSTimeInterval) func willAnimateFirstHalfOfRotationToInterfaceOrientation(_ toInterfaceOrientation: UIInterfaceOrientation, duration duration: NSTimeInterval) func didAnimateFirstHalfOfRotationToInterfaceOrientation(_ toInterfaceOrientation: UIInterfaceOrientation) func willAnimateSecondHalfOfRotationFromInterfaceOrientation(_ fromInterfaceOrientation: UIInterfaceOrientation, duration duration: NSTimeInterval) } extension UIViewController { var editing: Bool func setEditing(_ editing: Bool, animated animated: Bool) func editButtonItem() -> UIBarButtonItem } extension UIViewController { var searchDisplayController: UISearchDisplayController? { get } } extension UIViewController { var childViewControllers: [UIViewController] { get } func addChildViewController(_ childController: UIViewController) func removeFromParentViewController() func transitionFromViewController(_ fromViewController: UIViewController, toViewController toViewController: UIViewController, duration duration: NSTimeInterval, options options: UIViewAnimationOptions, animations animations: (() -> Void)?, completion completion: ((Bool) -> Void)?) func beginAppearanceTransition(_ isAppearing: Bool, animated animated: Bool) func endAppearanceTransition() func childViewControllerForStatusBarStyle() -> UIViewController? func childViewControllerForStatusBarHidden() -> UIViewController? func setOverrideTraitCollection(_ collection: UITraitCollection?, forChildViewController childViewController: UIViewController) func overrideTraitCollectionForChildViewController(_ childViewController: UIViewController) -> UITraitCollection? } extension UIViewController { func automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers() -> Bool func shouldAutomaticallyForwardRotationMethods() -> Bool func shouldAutomaticallyForwardAppearanceMethods() -> Bool func willMoveToParentViewController(_ parent: UIViewController?) func didMoveToParentViewController(_ parent: UIViewController?) } extension UIViewController : UIStateRestoring { var restorationIdentifier: String? var restorationClass: AnyObject.Type? func encodeRestorableStateWithCoder(_ coder: NSCoder) func decodeRestorableStateWithCoder(_ coder: NSCoder) func applicationFinishedRestoringState() } extension UIViewController { func updateViewConstraints() } extension UIViewController { weak var transitioningDelegate: UIViewControllerTransitioningDelegate? } extension UIViewController { var topLayoutGuide: UILayoutSupport { get } var bottomLayoutGuide: UILayoutSupport { get } } extension UIViewController { func addKeyCommand(_ keyCommand: UIKeyCommand) func removeKeyCommand(_ keyCommand: UIKeyCommand) } extension UIViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } } extension UIViewController { var presentationController: UIPresentationController? { get } var popoverPresentationController: UIPopoverPresentationController? { get } } extension UIViewController { func registerForPreviewingWithDelegate(_ delegate: UIViewControllerPreviewingDelegate, sourceView sourceView: UIView) -> UIViewControllerPreviewing func unregisterForPreviewingWithContext(_ previewing: UIViewControllerPreviewing) } extension UIViewController { func previewActionItems() -> [UIPreviewActionItem] } extension UIViewController { func transitionCoordinator() -> UIViewControllerTransitionCoordinator? } extension UIViewController { class func prepareInterstitialAds() var interstitialPresentationPolicy: ADInterstitialPresentationPolicy var canDisplayBannerAds: Bool var originalContentView: UIView! { get } var presentingFullScreenAd: Bool { get } var displayingBannerAd: Bool { get } func requestInterstitialAdPresentation() -> Bool var shouldPresentInterstitialAd: Bool { get } } |
Declaration | |
---|---|
From | var childViewControllers: [AnyObject] { get } |
To | var childViewControllers: [UIViewController] { get } |
Declaration | |
---|---|
From | func overrideTraitCollectionForChildViewController(_ childViewController: UIViewController) -> UITraitCollection! |
To | func overrideTraitCollectionForChildViewController(_ childViewController: UIViewController) -> UITraitCollection? |
Declaration | |
---|---|
From | var parentViewController: UIViewController? { get } |
To | weak var parentViewController: UIViewController? { get } |
Declaration | |
---|---|
From | func performSegueWithIdentifier(_ identifier: String?, sender sender: AnyObject?) |
To | func performSegueWithIdentifier(_ identifier: String, sender sender: AnyObject?) |
Declaration | Deprecation | |
---|---|---|
From | func segueForUnwindingToViewController(_ toViewController: UIViewController, fromViewController fromViewController: UIViewController, identifier identifier: String?) -> UIStoryboardSegue | -- |
To | func segueForUnwindingToViewController(_ toViewController: UIViewController, fromViewController fromViewController: UIViewController, identifier identifier: String?) -> UIStoryboardSegue? | iOS 9.0 |
Declaration | |
---|---|
From | func separateSecondaryViewControllerForSplitViewController(_ splitViewController: UISplitViewController) -> UIViewController |
To | func separateSecondaryViewControllerForSplitViewController(_ splitViewController: UISplitViewController) -> UIViewController? |
Declaration | |
---|---|
From | func setToolbarItems(_ toolbarItems: [AnyObject]?, animated animated: Bool) |
To | func setToolbarItems(_ toolbarItems: [UIBarButtonItem]?, animated animated: Bool) |
Declaration | |
---|---|
From | func shouldPerformSegueWithIdentifier(_ identifier: String?, sender sender: AnyObject?) -> Bool |
To | func shouldPerformSegueWithIdentifier(_ identifier: String, sender sender: AnyObject?) -> Bool |
Declaration | |
---|---|
From | func supportedInterfaceOrientations() -> Int |
To | func supportedInterfaceOrientations() -> UIInterfaceOrientationMask |
Modified UIViewController.toolbarItems
Declaration | |
---|---|
From | var toolbarItems: [AnyObject]? |
To | var toolbarItems: [UIBarButtonItem]? |
Declaration | |
---|---|
From | unowned(unsafe) var transitioningDelegate: UIViewControllerTransitioningDelegate? |
To | weak var transitioningDelegate: UIViewControllerTransitioningDelegate? |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Declaration | |
---|---|
From | protocol UIViewControllerAnimatedTransitioning : NSObjectProtocol { func transitionDuration(_ transitionContext: UIViewControllerContextTransitioning) -> NSTimeInterval func animateTransition(_ transitionContext: UIViewControllerContextTransitioning) optional func animationEnded(_ transitionCompleted: Bool) } |
To | protocol UIViewControllerAnimatedTransitioning : NSObjectProtocol { func transitionDuration(_ transitionContext: UIViewControllerContextTransitioning?) -> NSTimeInterval func animateTransition(_ transitionContext: UIViewControllerContextTransitioning) optional func animationEnded(_ transitionCompleted: Bool) } |
Declaration | |
---|---|
From | func transitionDuration(_ transitionContext: UIViewControllerContextTransitioning) -> NSTimeInterval |
To | func transitionDuration(_ transitionContext: UIViewControllerContextTransitioning?) -> NSTimeInterval |
Modified UIViewControllerContextTransitioning
Declaration | |
---|---|
From | protocol UIViewControllerContextTransitioning : NSObjectProtocol { func containerView() -> UIView func isAnimated() -> Bool func isInteractive() -> Bool func transitionWasCancelled() -> Bool func presentationStyle() -> UIModalPresentationStyle func updateInteractiveTransition(_ percentComplete: CGFloat) func finishInteractiveTransition() func cancelInteractiveTransition() func completeTransition(_ didComplete: Bool) func viewControllerForKey(_ key: String) -> UIViewController? func viewForKey(_ key: String) -> UIView? func targetTransform() -> CGAffineTransform func initialFrameForViewController(_ vc: UIViewController) -> CGRect func finalFrameForViewController(_ vc: UIViewController) -> CGRect } |
To | protocol UIViewControllerContextTransitioning : NSObjectProtocol { func containerView() -> UIView? func isAnimated() -> Bool func isInteractive() -> Bool func transitionWasCancelled() -> Bool func presentationStyle() -> UIModalPresentationStyle func updateInteractiveTransition(_ percentComplete: CGFloat) func finishInteractiveTransition() func cancelInteractiveTransition() func completeTransition(_ didComplete: Bool) func viewControllerForKey(_ key: String) -> UIViewController? func viewForKey(_ key: String) -> UIView? func targetTransform() -> CGAffineTransform func initialFrameForViewController(_ vc: UIViewController) -> CGRect func finalFrameForViewController(_ vc: UIViewController) -> CGRect } |
Declaration | Introduction | |
---|---|---|
From | func containerView() -> UIView | iOS 8.0 |
To | func containerView() -> UIView? | iOS 2.0 |
Modified UIViewControllerContextTransitioning.finalFrameForViewController(_: UIViewController) -> CGRect
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UIViewControllerContextTransitioning.initialFrameForViewController(_: UIViewController) -> CGRect
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Declaration | |
---|---|
From | protocol UIViewControllerTransitionCoordinator : UIViewControllerTransitionCoordinatorContext, NSObjectProtocol { func animateAlongsideTransition(_ animation: ((UIViewControllerTransitionCoordinatorContext!) -> Void)!, completion completion: ((UIViewControllerTransitionCoordinatorContext!) -> Void)!) -> Bool func animateAlongsideTransitionInView(_ view: UIView!, animation animation: ((UIViewControllerTransitionCoordinatorContext!) -> Void)!, completion completion: ((UIViewControllerTransitionCoordinatorContext!) -> Void)!) -> Bool func notifyWhenInteractionEndsUsingBlock(_ handler: (UIViewControllerTransitionCoordinatorContext!) -> Void) } |
To | protocol UIViewControllerTransitionCoordinator : UIViewControllerTransitionCoordinatorContext, NSObjectProtocol { func animateAlongsideTransition(_ animation: ((UIViewControllerTransitionCoordinatorContext) -> Void)?, completion completion: ((UIViewControllerTransitionCoordinatorContext) -> Void)?) -> Bool func animateAlongsideTransitionInView(_ view: UIView?, animation animation: ((UIViewControllerTransitionCoordinatorContext) -> Void)?, completion completion: ((UIViewControllerTransitionCoordinatorContext) -> Void)?) -> Bool func notifyWhenInteractionEndsUsingBlock(_ handler: (UIViewControllerTransitionCoordinatorContext) -> Void) } |
Declaration | |
---|---|
From | func animateAlongsideTransition(_ animation: ((UIViewControllerTransitionCoordinatorContext!) -> Void)!, completion completion: ((UIViewControllerTransitionCoordinatorContext!) -> Void)!) -> Bool |
To | func animateAlongsideTransition(_ animation: ((UIViewControllerTransitionCoordinatorContext) -> Void)?, completion completion: ((UIViewControllerTransitionCoordinatorContext) -> Void)?) -> Bool |
Declaration | Introduction | |
---|---|---|
From | func animateAlongsideTransitionInView(_ view: UIView!, animation animation: ((UIViewControllerTransitionCoordinatorContext!) -> Void)!, completion completion: ((UIViewControllerTransitionCoordinatorContext!) -> Void)!) -> Bool | iOS 8.0 |
To | func animateAlongsideTransitionInView(_ view: UIView?, animation animation: ((UIViewControllerTransitionCoordinatorContext) -> Void)?, completion completion: ((UIViewControllerTransitionCoordinatorContext) -> Void)?) -> Bool | iOS 2.0 |
Declaration | |
---|---|
From | func notifyWhenInteractionEndsUsingBlock(_ handler: (UIViewControllerTransitionCoordinatorContext!) -> Void) |
To | func notifyWhenInteractionEndsUsingBlock(_ handler: (UIViewControllerTransitionCoordinatorContext) -> Void) |
Declaration | |
---|---|
From | protocol UIViewControllerTransitionCoordinatorContext : NSObjectProtocol { func isAnimated() -> Bool func presentationStyle() -> UIModalPresentationStyle func initiallyInteractive() -> Bool func isInteractive() -> Bool func isCancelled() -> Bool func transitionDuration() -> NSTimeInterval func percentComplete() -> CGFloat func completionVelocity() -> CGFloat func completionCurve() -> UIViewAnimationCurve func viewControllerForKey(_ key: String) -> UIViewController! func viewForKey(_ key: String) -> UIView? func containerView() -> UIView func targetTransform() -> CGAffineTransform } |
To | protocol UIViewControllerTransitionCoordinatorContext : NSObjectProtocol { func isAnimated() -> Bool func presentationStyle() -> UIModalPresentationStyle func initiallyInteractive() -> Bool func isInteractive() -> Bool func isCancelled() -> Bool func transitionDuration() -> NSTimeInterval func percentComplete() -> CGFloat func completionVelocity() -> CGFloat func completionCurve() -> UIViewAnimationCurve func viewControllerForKey(_ key: String) -> UIViewController? func viewForKey(_ key: String) -> UIView? func containerView() -> UIView func targetTransform() -> CGAffineTransform } |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UIViewControllerTransitionCoordinatorContext.viewControllerForKey(_: String) -> UIViewController?
Declaration | Introduction | |
---|---|---|
From | func viewControllerForKey(_ key: String) -> UIViewController! | iOS 8.0 |
To | func viewControllerForKey(_ key: String) -> UIViewController? | iOS 2.0 |
Declaration | |
---|---|
From | protocol UIViewControllerTransitioningDelegate : NSObjectProtocol { optional func animationControllerForPresentedController(_ presented: UIViewController, presentingController presenting: UIViewController, sourceController source: UIViewController) -> UIViewControllerAnimatedTransitioning? optional func animationControllerForDismissedController(_ dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? optional func interactionControllerForPresentation(_ animator: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? optional func interactionControllerForDismissal(_ animator: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? optional func presentationControllerForPresentedViewController(_ presented: UIViewController, presentingViewController presenting: UIViewController!, sourceViewController source: UIViewController) -> UIPresentationController? } |
To | protocol UIViewControllerTransitioningDelegate : NSObjectProtocol { optional func animationControllerForPresentedController(_ presented: UIViewController, presentingController presenting: UIViewController, sourceController source: UIViewController) -> UIViewControllerAnimatedTransitioning? optional func animationControllerForDismissedController(_ dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? optional func interactionControllerForPresentation(_ animator: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? optional func interactionControllerForDismissal(_ animator: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? optional func presentationControllerForPresentedViewController(_ presented: UIViewController, presentingViewController presenting: UIViewController, sourceViewController source: UIViewController) -> UIPresentationController? } |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Declaration | |
---|---|
From | optional func presentationControllerForPresentedViewController(_ presented: UIViewController, presentingViewController presenting: UIViewController!, sourceViewController source: UIViewController) -> UIPresentationController? |
To | optional func presentationControllerForPresentedViewController(_ presented: UIViewController, presentingViewController presenting: UIViewController, sourceViewController source: UIViewController) -> UIPresentationController? |
Declaration | Protocols | |
---|---|---|
From | struct UIViewKeyframeAnimationOptions : RawOptionSetType { init(_ rawValue: UInt) init(rawValue rawValue: UInt) static var LayoutSubviews: UIViewKeyframeAnimationOptions { get } static var AllowUserInteraction: UIViewKeyframeAnimationOptions { get } static var BeginFromCurrentState: UIViewKeyframeAnimationOptions { get } static var Repeat: UIViewKeyframeAnimationOptions { get } static var Autoreverse: UIViewKeyframeAnimationOptions { get } static var OverrideInheritedDuration: UIViewKeyframeAnimationOptions { get } static var OverrideInheritedOptions: UIViewKeyframeAnimationOptions { get } static var CalculationModeLinear: UIViewKeyframeAnimationOptions { get } static var CalculationModeDiscrete: UIViewKeyframeAnimationOptions { get } static var CalculationModePaced: UIViewKeyframeAnimationOptions { get } static var CalculationModeCubic: UIViewKeyframeAnimationOptions { get } static var CalculationModeCubicPaced: UIViewKeyframeAnimationOptions { get } } | RawOptionSetType |
To | struct UIViewKeyframeAnimationOptions : OptionSetType { init(rawValue rawValue: UInt) static var LayoutSubviews: UIViewKeyframeAnimationOptions { get } static var AllowUserInteraction: UIViewKeyframeAnimationOptions { get } static var BeginFromCurrentState: UIViewKeyframeAnimationOptions { get } static var Repeat: UIViewKeyframeAnimationOptions { get } static var Autoreverse: UIViewKeyframeAnimationOptions { get } static var OverrideInheritedDuration: UIViewKeyframeAnimationOptions { get } static var OverrideInheritedOptions: UIViewKeyframeAnimationOptions { get } static var CalculationModeLinear: UIViewKeyframeAnimationOptions { get } static var CalculationModeDiscrete: UIViewKeyframeAnimationOptions { get } static var CalculationModePaced: UIViewKeyframeAnimationOptions { get } static var CalculationModeCubic: UIViewKeyframeAnimationOptions { get } static var CalculationModeCubicPaced: UIViewKeyframeAnimationOptions { get } } | OptionSetType |
Modified UIViewTintAdjustmentMode [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIVisualEffectView
Declaration | |
---|---|
From | class UIVisualEffectView : UIView, NSSecureCoding, NSCoding { var contentView: UIView { get } @NSCopying var effect: UIVisualEffect { get } init(effect effect: UIVisualEffect) } |
To | class UIVisualEffectView : UIView, NSSecureCoding { var contentView: UIView { get } @NSCopying var effect: UIVisualEffect? init(effect effect: UIVisualEffect?) init?(coder aDecoder: NSCoder) } |
Modified UIVisualEffectView.effect
Declaration | |
---|---|
From | @NSCopying var effect: UIVisualEffect { get } |
To | @NSCopying var effect: UIVisualEffect? |
Declaration | |
---|---|
From | init(effect effect: UIVisualEffect) |
To | init(effect effect: UIVisualEffect?) |
Modified UIWebPaginationBreakingMode [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIWebPaginationMode [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified UIWebView
Declaration | |
---|---|
From | class UIWebView : UIView, NSCoding, UIScrollViewDelegate, NSObjectProtocol { unowned(unsafe) var delegate: UIWebViewDelegate? var scrollView: UIScrollView { get } func loadRequest(_ request: NSURLRequest) func loadHTMLString(_ string: String!, baseURL baseURL: NSURL!) func loadData(_ data: NSData!, MIMEType MIMEType: String!, textEncodingName textEncodingName: String!, baseURL baseURL: NSURL!) var request: NSURLRequest? { get } func reload() func stopLoading() func goBack() func goForward() var canGoBack: Bool { get } var canGoForward: Bool { get } var loading: Bool { get } func stringByEvaluatingJavaScriptFromString(_ script: String) -> String? var scalesPageToFit: Bool var detectsPhoneNumbers: Bool var dataDetectorTypes: UIDataDetectorTypes var allowsInlineMediaPlayback: Bool var mediaPlaybackRequiresUserAction: Bool var mediaPlaybackAllowsAirPlay: Bool var suppressesIncrementalRendering: Bool var keyboardDisplayRequiresUserAction: Bool var paginationMode: UIWebPaginationMode var paginationBreakingMode: UIWebPaginationBreakingMode var pageLength: CGFloat var gapBetweenPages: CGFloat var pageCount: Int { get } } |
To | class UIWebView : UIView, UIScrollViewDelegate { unowned(unsafe) var delegate: UIWebViewDelegate? var scrollView: UIScrollView { get } func loadRequest(_ request: NSURLRequest) func loadHTMLString(_ string: String, baseURL baseURL: NSURL?) func loadData(_ data: NSData, MIMEType MIMEType: String, textEncodingName textEncodingName: String, baseURL baseURL: NSURL) var request: NSURLRequest? { get } func reload() func stopLoading() func goBack() func goForward() var canGoBack: Bool { get } var canGoForward: Bool { get } var loading: Bool { get } func stringByEvaluatingJavaScriptFromString(_ script: String) -> String? var scalesPageToFit: Bool var detectsPhoneNumbers: Bool var dataDetectorTypes: UIDataDetectorTypes var allowsInlineMediaPlayback: Bool var mediaPlaybackRequiresUserAction: Bool var mediaPlaybackAllowsAirPlay: Bool var suppressesIncrementalRendering: Bool var keyboardDisplayRequiresUserAction: Bool var paginationMode: UIWebPaginationMode var paginationBreakingMode: UIWebPaginationBreakingMode var pageLength: CGFloat var gapBetweenPages: CGFloat var pageCount: Int { get } var allowsPictureInPictureMediaPlayback: Bool var allowsLinkPreview: Bool } |
Declaration | |
---|---|
From | func loadData(_ data: NSData!, MIMEType MIMEType: String!, textEncodingName textEncodingName: String!, baseURL baseURL: NSURL!) |
To | func loadData(_ data: NSData, MIMEType MIMEType: String, textEncodingName textEncodingName: String, baseURL baseURL: NSURL) |
Declaration | |
---|---|
From | func loadHTMLString(_ string: String!, baseURL baseURL: NSURL!) |
To | func loadHTMLString(_ string: String, baseURL baseURL: NSURL?) |
Modified UIWebViewDelegate
Declaration | |
---|---|
From | protocol UIWebViewDelegate : NSObjectProtocol { optional func webView(_ webView: UIWebView, shouldStartLoadWithRequest request: NSURLRequest, navigationType navigationType: UIWebViewNavigationType) -> Bool optional func webViewDidStartLoad(_ webView: UIWebView) optional func webViewDidFinishLoad(_ webView: UIWebView) optional func webView(_ webView: UIWebView, didFailLoadWithError error: NSError) } |
To | protocol UIWebViewDelegate : NSObjectProtocol { optional func webView(_ webView: UIWebView, shouldStartLoadWithRequest request: NSURLRequest, navigationType navigationType: UIWebViewNavigationType) -> Bool optional func webViewDidStartLoad(_ webView: UIWebView) optional func webViewDidFinishLoad(_ webView: UIWebView) optional func webView(_ webView: UIWebView, didFailLoadWithError error: NSError?) } |
Declaration | Introduction | |
---|---|---|
From | optional func webView(_ webView: UIWebView, didFailLoadWithError error: NSError) | iOS 8.0 |
To | optional func webView(_ webView: UIWebView, didFailLoadWithError error: NSError?) | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified UIWebViewNavigationType [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Declaration | |
---|---|
From | func CGAffineTransformFromString(_ string: String!) -> CGAffineTransform |
To | func CGAffineTransformFromString(_ string: String) -> CGAffineTransform |
Declaration | |
---|---|
From | func CGPointFromString(_ string: String!) -> CGPoint |
To | func CGPointFromString(_ string: String) -> CGPoint |
Declaration | |
---|---|
From | func CGRectFromString(_ string: String!) -> CGRect |
To | func CGRectFromString(_ string: String) -> CGRect |
Declaration | |
---|---|
From | func CGSizeFromString(_ string: String!) -> CGSize |
To | func CGSizeFromString(_ string: String) -> CGSize |
Declaration | |
---|---|
From | func CGVectorFromString(_ string: String!) -> CGVector |
To | func CGVectorFromString(_ string: String) -> CGVector |
Declaration | |
---|---|
From | func NSStringFromCGAffineTransform(_ transform: CGAffineTransform) -> String! |
To | func NSStringFromCGAffineTransform(_ transform: CGAffineTransform) -> String |
Declaration | |
---|---|
From | func NSStringFromCGPoint(_ point: CGPoint) -> String! |
To | func NSStringFromCGPoint(_ point: CGPoint) -> String |
Declaration | |
---|---|
From | func NSStringFromCGRect(_ rect: CGRect) -> String! |
To | func NSStringFromCGRect(_ rect: CGRect) -> String |
Declaration | |
---|---|
From | func NSStringFromCGSize(_ size: CGSize) -> String! |
To | func NSStringFromCGSize(_ size: CGSize) -> String |
Declaration | |
---|---|
From | func NSStringFromCGVector(_ vector: CGVector) -> String! |
To | func NSStringFromCGVector(_ vector: CGVector) -> String |
Declaration | |
---|---|
From | func NSStringFromUIEdgeInsets(_ insets: UIEdgeInsets) -> String! |
To | func NSStringFromUIEdgeInsets(_ insets: UIEdgeInsets) -> String |
Declaration | |
---|---|
From | func NSStringFromUIOffset(_ offset: UIOffset) -> String! |
To | func NSStringFromUIOffset(_ offset: UIOffset) -> String |
Declaration | |
---|---|
From | func UIAccessibilityConvertFrameToScreenCoordinates(_ rect: CGRect, _ view: UIView!) -> CGRect |
To | func UIAccessibilityConvertFrameToScreenCoordinates(_ rect: CGRect, _ view: UIView) -> CGRect |
Declaration | |
---|---|
From | func UIAccessibilityConvertPathToScreenCoordinates(_ path: UIBezierPath!, _ view: UIView!) -> UIBezierPath! |
To | func UIAccessibilityConvertPathToScreenCoordinates(_ path: UIBezierPath, _ view: UIView) -> UIBezierPath |
Declaration | |
---|---|
From | func UIAccessibilityPostNotification(_ notification: UIAccessibilityNotifications, _ argument: AnyObject!) |
To | func UIAccessibilityPostNotification(_ notification: UIAccessibilityNotifications, _ argument: AnyObject?) |
Declaration | |
---|---|
From | func UIAccessibilityRequestGuidedAccessSession(_ enable: Bool, _ completionHandler: ((Bool) -> Void)!) |
To | func UIAccessibilityRequestGuidedAccessSession(_ enable: Bool, _ completionHandler: (Bool) -> Void) |
Declaration | |
---|---|
From | func UIAccessibilityZoomFocusChanged(_ type: UIAccessibilityZoomType, _ frame: CGRect, _ view: UIView!) |
To | func UIAccessibilityZoomFocusChanged(_ type: UIAccessibilityZoomType, _ frame: CGRect, _ view: UIView) |
Declaration | |
---|---|
From | typealias UIActivityViewControllerCompletionHandler = (String!, Bool) -> Void |
To | typealias UIActivityViewControllerCompletionHandler = (String?, Bool) -> Void |
Declaration | |
---|---|
From | typealias UIActivityViewControllerCompletionWithItemsHandler = (String!, Bool, [AnyObject]!, NSError!) -> Void |
To | typealias UIActivityViewControllerCompletionWithItemsHandler = (String?, Bool, [AnyObject]?, NSError?) -> Void |
Declaration | |
---|---|
From | func UIApplicationMain(_ argc: Int32, _ argv: UnsafeMutablePointer<UnsafeMutablePointer<Int8>>, _ principalClassName: String!, _ delegateClassName: String!) -> Int32 |
To | func UIApplicationMain(_ argc: Int32, _ argv: UnsafeMutablePointer<UnsafeMutablePointer<Int8>>, _ principalClassName: String?, _ delegateClassName: String?) -> Int32 |
Modified UIDeviceOrientationIsLandscape(_: UIDeviceOrientation) -> Bool
Declaration | |
---|---|
From | func UIDeviceOrientationIsLandscape(_ orientation: UIDeviceOrientation) -> Bool |
To | @warn_unused_result func UIDeviceOrientationIsLandscape(_ orientation: UIDeviceOrientation) -> Bool |
Modified UIDeviceOrientationIsPortrait(_: UIDeviceOrientation) -> Bool
Declaration | |
---|---|
From | func UIDeviceOrientationIsPortrait(_ orientation: UIDeviceOrientation) -> Bool |
To | @warn_unused_result func UIDeviceOrientationIsPortrait(_ orientation: UIDeviceOrientation) -> Bool |
Modified UIDeviceOrientationIsValidInterfaceOrientation(_: UIDeviceOrientation) -> Bool
Declaration | |
---|---|
From | func UIDeviceOrientationIsValidInterfaceOrientation(_ orientation: UIDeviceOrientation) -> Bool |
To | @warn_unused_result func UIDeviceOrientationIsValidInterfaceOrientation(_ orientation: UIDeviceOrientation) -> Bool |
Declaration | |
---|---|
From | func UIEdgeInsetsFromString(_ string: String!) -> UIEdgeInsets |
To | func UIEdgeInsetsFromString(_ string: String) -> UIEdgeInsets |
Declaration | |
---|---|
From | func UIGraphicsAddPDFContextDestinationAtPoint(_ name: String!, _ point: CGPoint) |
To | func UIGraphicsAddPDFContextDestinationAtPoint(_ name: String, _ point: CGPoint) |
Declaration | |
---|---|
From | func UIGraphicsBeginPDFContextToData(_ data: NSMutableData!, _ bounds: CGRect, _ documentInfo: [NSObject : AnyObject]!) |
To | func UIGraphicsBeginPDFContextToData(_ data: NSMutableData, _ bounds: CGRect, _ documentInfo: [NSObject : AnyObject]?) |
Declaration | |
---|---|
From | func UIGraphicsBeginPDFContextToFile(_ path: String!, _ bounds: CGRect, _ documentInfo: [NSObject : AnyObject]!) -> Bool |
To | func UIGraphicsBeginPDFContextToFile(_ path: String, _ bounds: CGRect, _ documentInfo: [NSObject : AnyObject]?) -> Bool |
Declaration | |
---|---|
From | func UIGraphicsBeginPDFPageWithInfo(_ bounds: CGRect, _ pageInfo: [NSObject : AnyObject]!) |
To | func UIGraphicsBeginPDFPageWithInfo(_ bounds: CGRect, _ pageInfo: [NSObject : AnyObject]?) |
Declaration | |
---|---|
From | func UIGraphicsGetCurrentContext() -> CGContext! |
To | func UIGraphicsGetCurrentContext() -> CGContext? |
Modified UIGraphicsPushContext(_: CGContext)
Declaration | |
---|---|
From | func UIGraphicsPushContext(_ context: CGContext!) |
To | func UIGraphicsPushContext(_ context: CGContext) |
Declaration | |
---|---|
From | func UIGraphicsSetPDFContextDestinationForRect(_ name: String!, _ rect: CGRect) |
To | func UIGraphicsSetPDFContextDestinationForRect(_ name: String, _ rect: CGRect) |
Declaration | |
---|---|
From | func UIGraphicsSetPDFContextURLForRect(_ url: NSURL!, _ rect: CGRect) |
To | func UIGraphicsSetPDFContextURLForRect(_ url: NSURL, _ rect: CGRect) |
Declaration | |
---|---|
From | func UIGuidedAccessRestrictionStateForIdentifier(_ restrictionIdentifier: String!) -> UIGuidedAccessRestrictionState |
To | func UIGuidedAccessRestrictionStateForIdentifier(_ restrictionIdentifier: String) -> UIGuidedAccessRestrictionState |
Declaration | |
---|---|
From | func UIImageJPEGRepresentation(_ image: UIImage!, _ compressionQuality: CGFloat) -> NSData! |
To | func UIImageJPEGRepresentation(_ image: UIImage, _ compressionQuality: CGFloat) -> NSData? |
Declaration | |
---|---|
From | func UIImagePNGRepresentation(_ image: UIImage!) -> NSData! |
To | func UIImagePNGRepresentation(_ image: UIImage) -> NSData? |
Declaration | |
---|---|
From | func UIImageWriteToSavedPhotosAlbum(_ image: UIImage!, _ completionTarget: AnyObject!, _ completionSelector: Selector, _ contextInfo: UnsafeMutablePointer<Void>) |
To | func UIImageWriteToSavedPhotosAlbum(_ image: UIImage, _ completionTarget: AnyObject?, _ completionSelector: Selector, _ contextInfo: UnsafeMutablePointer<Void>) |
Modified UIInterfaceOrientationIsLandscape(_: UIInterfaceOrientation) -> Bool
Declaration | |
---|---|
From | func UIInterfaceOrientationIsLandscape(_ orientation: UIInterfaceOrientation) -> Bool |
To | @warn_unused_result func UIInterfaceOrientationIsLandscape(_ orientation: UIInterfaceOrientation) -> Bool |
Modified UIInterfaceOrientationIsPortrait(_: UIInterfaceOrientation) -> Bool
Declaration | |
---|---|
From | func UIInterfaceOrientationIsPortrait(_ orientation: UIInterfaceOrientation) -> Bool |
To | @warn_unused_result func UIInterfaceOrientationIsPortrait(_ orientation: UIInterfaceOrientation) -> Bool |
Declaration | |
---|---|
From | func UIOffsetFromString(_ string: String!) -> UIOffset |
To | func UIOffsetFromString(_ string: String) -> UIOffset |
Modified UIPasteboardTypeListColor
Declaration | |
---|---|
From | var UIPasteboardTypeListColor: NSArray! |
To | var UIPasteboardTypeListColor: NSArray |
Modified UIPasteboardTypeListImage
Declaration | |
---|---|
From | var UIPasteboardTypeListImage: NSArray! |
To | var UIPasteboardTypeListImage: NSArray |
Modified UIPasteboardTypeListString
Declaration | |
---|---|
From | var UIPasteboardTypeListString: NSArray! |
To | var UIPasteboardTypeListString: NSArray |
Modified UIPasteboardTypeListURL
Declaration | |
---|---|
From | var UIPasteboardTypeListURL: NSArray! |
To | var UIPasteboardTypeListURL: NSArray |
Modified UIPrinterPickerCompletionHandler
Declaration | |
---|---|
From | typealias UIPrinterPickerCompletionHandler = (UIPrinterPickerController!, Bool, NSError!) -> Void |
To | typealias UIPrinterPickerCompletionHandler = (UIPrinterPickerController, Bool, NSError?) -> Void |
Modified UIPrintInteractionCompletionHandler
Declaration | |
---|---|
From | typealias UIPrintInteractionCompletionHandler = (UIPrintInteractionController!, Bool, NSError!) -> Void |
To | typealias UIPrintInteractionCompletionHandler = (UIPrintInteractionController, Bool, NSError?) -> Void |
Declaration | |
---|---|
From | func UISaveVideoAtPathToSavedPhotosAlbum(_ videoPath: String!, _ completionTarget: AnyObject!, _ completionSelector: Selector, _ contextInfo: UnsafeMutablePointer<Void>) |
To | func UISaveVideoAtPathToSavedPhotosAlbum(_ videoPath: String, _ completionTarget: AnyObject?, _ completionSelector: Selector, _ contextInfo: UnsafeMutablePointer<Void>) |
Declaration | |
---|---|
From | func UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(_ videoPath: String!) -> Bool |
To | func UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(_ videoPath: String) -> Bool |