From 69b93ef886fba91fdabc9547ff8337bfab31fdd1 Mon Sep 17 00:00:00 2001 From: Baris Sencan Date: Tue, 6 Oct 2015 17:27:25 +0100 Subject: [PATCH] Update example app and bump versions --- ManualLayout.podspec | 2 +- ManualLayout/Info.plist | 4 ++-- SimpleExample/ExampleViewController.swift | 4 ++-- SimpleExample/Info.plist | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ManualLayout.podspec b/ManualLayout.podspec index 82ad08a..118db22 100644 --- a/ManualLayout.podspec +++ b/ManualLayout.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'ManualLayout' - s.version = '1.0.0' + s.version = '1.1.0' s.license = { :type => 'MIT', :file => 'LICENSE' } s.summary = 'Easy to use and flexible AutoLayout alternative for iOS 8+. Supports AsyncDisplayKit.' diff --git a/ManualLayout/Info.plist b/ManualLayout/Info.plist index 60b9c00..b676c51 100644 --- a/ManualLayout/Info.plist +++ b/ManualLayout/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0.0 + 1.1.0 CFBundleSignature ???? CFBundleVersion - $(CURRENT_PROJECT_VERSION) + 9 NSPrincipalClass diff --git a/SimpleExample/ExampleViewController.swift b/SimpleExample/ExampleViewController.swift index 41a4d76..1ea1392 100644 --- a/SimpleExample/ExampleViewController.swift +++ b/SimpleExample/ExampleViewController.swift @@ -14,7 +14,7 @@ internal final class ExampleViewController: UIViewController { let subtitleLabel = UILabel(frame: CGRectZero) let yinView = UIView(frame: CGRectZero) - override init() { + init() { super.init(nibName: nil, bundle: nil) titleLabel.attributedText = NSAttributedString( string: "Hello World!", @@ -51,7 +51,7 @@ internal final class ExampleViewController: UIViewController { yinView.bottom2 = bottom } - private func generateTextStyle(smaller: Bool = false) -> [NSObject: AnyObject] { + private func generateTextStyle(smaller smaller: Bool = false) -> [String: AnyObject] { return [ NSFontAttributeName: UIFont.systemFontOfSize(smaller ? 14 : 18), NSForegroundColorAttributeName: UIColor.blackColor() diff --git a/SimpleExample/Info.plist b/SimpleExample/Info.plist index a8adb9b..f281e5e 100644 --- a/SimpleExample/Info.plist +++ b/SimpleExample/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.1.0 + 1.1.1 CFBundleSignature ???? CFBundleVersion - 2 + 3 LSRequiresIPhoneOS UILaunchStoryboardName