September 23, 2017

[KiwiControls] Update to support Xcode9 and Swift4

The KiwiControl Framework define GUI parts which can be used by macOS and iOS. At the swift4 and SDK for it, following type definition is required to use it by AppKit(macOS) and UIKit(iOS) software.

#if os(iOS)
 public typealias KCLayoutAttribute = NSLayoutAttribute
 public typealias KCLayoutRelation = NSLayoutRelation
 public typealias KCLineBreakMode = NSLineBreakMode
 public typealias KCLayoutAttribute = NSLayoutConstraint.Attribute
 public typealias KCLayoutRelation = NSLayoutConstraint.Relation
 public typealias KCLineBreakMode = NSParagraphStyle.LineBreakMode

No comments: