Skip to content

Commit

Permalink
Updated for 0.6.24 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed May 9, 2018
1 parent d8b3b9e commit 9ec8b53
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## [0.6.24](https://github.com/schibsted/layout/releases/tag/0.6.24) (2018-05-09)

- Significantly improved performance for inline HTML and NSAttributedString expressions
- Added support for inline HTML inside UITableViewCell nodes
- Added support for nodes containing both body text and subviews
- Minor breaking changes to the RuntimeType API

## [0.6.23](https://github.com/schibsted/layout/releases/tag/0.6.23) (2018-05-03)

- Added a warning when setting UIView property expressions directly on a UIViewController node
Expand Down
2 changes: 1 addition & 1 deletion EditorExtension/Application/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.6.23</string>
<string>0.6.24</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSMinimumSystemVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion EditorExtension/Extension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>0.6.23</string>
<string>0.6.24</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSMinimumSystemVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions Layout.podspec.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Layout",
"version": "0.6.23",
"version": "0.6.24",
"license": {
"type": "MIT",
"file": "LICENSE.md"
Expand All @@ -10,7 +10,7 @@
"authors": "Nick Lockwood",
"source": {
"git": "https://github.com/schibsted/layout.git",
"tag": "0.6.23"
"tag": "0.6.24"
},
"default_subspecs": "Core",
"subspecs": [
Expand Down
2 changes: 1 addition & 1 deletion Layout/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.6.23</string>
<string>0.6.24</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
14 changes: 14 additions & 0 deletions Layout/RuntimeTypes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ public extension RuntimeType {
"landmark": 3,
] as [String: Int])
}()

@objc static let uiAccessibilityNavigationStyle = RuntimeType([
"automatic": .automatic,
"separate": .separate,
Expand Down Expand Up @@ -207,6 +208,7 @@ public extension RuntimeType {
}
return RuntimeType(types)
}()

@objc static let uiFont = RuntimeType(UIFont.self)
@objc static let uiFontDescriptorSymbolicTraits = RuntimeType([
"traitItalic": .traitItalic,
Expand Down Expand Up @@ -271,6 +273,7 @@ public extension RuntimeType {
}
return RuntimeType(keyboardTypes)
}()

@objc static let uiReturnKeyType = RuntimeType([
"default": .default,
"go": .go,
Expand Down Expand Up @@ -322,6 +325,7 @@ public extension RuntimeType {
"yes": 2,
] as [String: Int])
}()

@objc static let uiTextSmartDashesType: RuntimeType = {
if #available(iOS 11.0, *) {
return RuntimeType([
Expand All @@ -336,6 +340,7 @@ public extension RuntimeType {
"yes": 2,
] as [String: Int])
}()

@objc static let uiTextSmartInsertDeleteType: RuntimeType = {
if #available(iOS 11.0, *) {
return RuntimeType([
Expand All @@ -350,6 +355,7 @@ public extension RuntimeType {
"yes": 2,
] as [String: Int])
}()

@objc static let uiTextSpellCheckingType = RuntimeType([
"default": .default,
"no": .no,
Expand Down Expand Up @@ -425,12 +431,14 @@ public extension RuntimeType {
}
return .anyObject
}()

@objc static let uiTextDropDelegate: RuntimeType = {
if #available(iOS 11.0, *) {
return RuntimeType(UITextDropDelegate.self)
}
return .anyObject
}()

@objc static let uiTextDragOptions: RuntimeType = {
if #available(iOS 11.0, *) {
return RuntimeType([
Expand Down Expand Up @@ -555,6 +563,7 @@ public extension RuntimeType {
"always": 3,
] as [String: Int])
}()

@objc static let uiScrollViewIndicatorStyle = RuntimeType([
"default": .default,
"black": .black,
Expand Down Expand Up @@ -590,6 +599,7 @@ public extension RuntimeType {
"slow": 2,
] as [String: Int])
}()

@objc static let uiCollectionViewFlowLayoutSectionInsetReference: RuntimeType = {
if #available(iOS 11.0, *) {
return RuntimeType([
Expand Down Expand Up @@ -679,6 +689,7 @@ public extension RuntimeType {
"fromAutomaticInsets": 1,
] as [String: Int])
}()

@objc static let uiTableViewStyle = RuntimeType([
"plain": .plain,
"grouped": .grouped,
Expand Down Expand Up @@ -714,6 +725,7 @@ public extension RuntimeType {
"all": IntOptionSet(rawValue: 3),
] as [String: IntOptionSet])
}()

@objc static let wkDataDetectorTypes: RuntimeType = {
if #available(iOS 10, *) {
return RuntimeType([
Expand All @@ -738,6 +750,7 @@ public extension RuntimeType {
"all": IntOptionSet(rawValue: 127),
] as [String: IntOptionSet])
}()

@objc static let wkSelectionGranularity = RuntimeType([
"dynamic": .dynamic,
"character": .character,
Expand Down Expand Up @@ -814,6 +827,7 @@ public extension RuntimeType {
"current": IntOptionSet(rawValue: 2),
] as [String: IntOptionSet])
}()

@objc static let uiImagePickerControllerSourceType = RuntimeType([
"photoLibrary": .photoLibrary,
"camera": .camera,
Expand Down
2 changes: 1 addition & 1 deletion Layout/UIViewController+Layout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ extension UITabBarController {
types["selectedIndex"] = .int
types["viewControllers"] = .array(of: UIViewController.self)
types["customizableViewControllers"] = .array(of: UIViewController.self)

#if arch(i386) || arch(x86_64)
// Private and read-only properties
for name in [
Expand Down
2 changes: 1 addition & 1 deletion LayoutTool/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Foundation

/// The current LayoutTool version
let version = "0.6.23"
let version = "0.6.24"

extension String {
var inDefault: String { return "\u{001B}[39m\(self)" }
Expand Down

0 comments on commit 9ec8b53

Please sign in to comment.