Skip to content

Commit

Permalink
Updated for 0.6.20 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Apr 4, 2018
1 parent 8567ea8 commit e4443be
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [0.6.20](https://github.com/schibsted/layout/releases/tag/0.6.20) (2018-04-04)

- Fixed `UITableViewCell` layout bug

## [0.6.19](https://github.com/schibsted/layout/releases/tag/0.6.19) (2018-04-04)

- Added `leading` and `trailing` layout expressions for handling right-to-left internationalization
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.19</string>
<string>0.6.20</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.19</string>
<string>0.6.20</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSMinimumSystemVersion</key>
Expand Down
Binary file added Layout.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.19",
"version": "0.6.20",
"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.19"
"tag": "0.6.20"
},
"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.19</string>
<string>0.6.20</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
3 changes: 1 addition & 2 deletions LayoutTests/TableViewTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TableViewController: UIViewController, LayoutLoading, UITableViewDataSourc
loadLayout(named: "TableViewTest.xml", bundle: Bundle(for: type(of: self)))
}

func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
func tableView(_: UITableView, numberOfRowsInSection _: Int) -> Int {
didLoadRows = true
return 5
}
Expand All @@ -27,7 +27,6 @@ class TableViewController: UIViewController, LayoutLoading, UITableViewDataSourc
}

class TableViewTests: XCTestCase {

func testTableCellSizing() {
let vc = TableViewController()
vc.view.frame = CGRect(x: 0, y: 0, width: 512, height: 512)
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.19"
let version = "0.6.20"

extension String {
var inDefault: String { return "\u{001B}[39m\(self)" }
Expand Down
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@

# Layout

Layout is a native Swift framework for implementing iOS user interfaces using XML template files and runtime-evaluated expressions. It is intended as a more-or-less drop-in replacement for Nibs and Storyboards, but offers a number of advantages such as human-readable templates and live editing.

![Screenshot](Layout.gif?raw=true)

- [Introduction](#introduction)
- [What?](#what)
- [Why?](#why)
- [How?](#how)
- [Usage](#usage)
Expand Down Expand Up @@ -85,13 +88,6 @@

# Introduction

## What?

Layout is a framework for implementing iOS user interfaces using runtime-evaluated expressions for layout and XML template files. It is intended as a more-or-less drop-in replacement for Nibs and Storyboards, but offers a number of advantages.

To find out more about why we built Layout, and the problems it addresses, check out [this article](http://bytes.schibsted.com/layout-declarative-ui-framework-ios/).


## Why?

Layout seeks to solve a number of issues that make Storyboards unsuitable for large, collaborative projects, including:
Expand All @@ -109,6 +105,7 @@ Layout also includes a replacement for AutoLayout that aims to be:
* More deterministic and simpler to debug
* More performant (at least in theory :-))

To find out more about why we built Layout, and the problems it addresses, check out [this article](http://bytes.schibsted.com/layout-declarative-ui-framework-ios/).

## How?

Expand Down

0 comments on commit e4443be

Please sign in to comment.