Skip to content

Commit

Permalink
Merge pull request #152 from Augustyniak/feature/nullability-and-swif…
Browse files Browse the repository at this point in the history
…t-example-project

Feature/nullability and swift example project
  • Loading branch information
Augustyniak committed Nov 28, 2015
2 parents 0a55279 + 280b173 commit 0a7b787
Show file tree
Hide file tree
Showing 29 changed files with 1,231 additions and 317 deletions.
1 change: 1 addition & 0 deletions Examples/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ source 'https://github.com/CocoaPods/Specs.git'

workspace 'RATreeViewExamples.xcworkspace'
platform :ios, '5.0'
use_frameworks!

pod 'RATreeView', :path => '../RATreeView.podspec'
4 changes: 2 additions & 2 deletions Examples/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- RATreeView (2.0.0)
- RATreeView (2.0.1)

DEPENDENCIES:
- RATreeView (from `../RATreeView.podspec`)
Expand All @@ -9,6 +9,6 @@ EXTERNAL SOURCES:
:path: "../RATreeView.podspec"

SPEC CHECKSUMS:
RATreeView: fc067313776c0b3c4cc6074ffbc42a8b40e5966b
RATreeView: 42cd7a96cad0dea6330a9fd98b4b7a5222a01083

COCOAPODS: 0.39.0
1 change: 0 additions & 1 deletion Examples/Pods/Headers/Public/RATreeView/RATreeView.h

This file was deleted.

4 changes: 2 additions & 2 deletions Examples/Pods/Local Podspecs/RATreeView.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Examples/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

594 changes: 331 additions & 263 deletions Examples/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions Examples/Pods/Target Support Files/Pods/Info.plist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Examples/Pods/Target Support Files/Pods/Pods-frameworks.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Examples/Pods/Target Support Files/Pods/Pods-umbrella.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions Examples/Pods/Target Support Files/Pods/Pods.debug.xcconfig

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Examples/Pods/Target Support Files/Pods/Pods.modulemap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions Examples/Pods/Target Support Files/Pods/Pods.release.xcconfig

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions Examples/Pods/Target Support Files/RATreeView/Info.plist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions Examples/RATreeViewBasicExampleSwift/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//
// AppDelegate.swift
// RATreeViewBasicExampleSwift
//
// Created by Rafal Augustyniak on 21/11/15.
// Copyright © 2015 com.Augustyniak. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
let navigationController = UINavigationController(rootViewController: TreeViewController())
window = UIWindow(frame: UIScreen.mainScreen().bounds)
window?.rootViewController = navigationController;
window?.makeKeyAndVisible()
return true
}

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"images" : [
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "3x"
},
{
"idiom" : "ipad",
"size" : "29x29",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "29x29",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "40x40",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "40x40",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "76x76",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "76x76",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8150" systemVersion="15A204g" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8122"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<animations/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
</document>
Loading

0 comments on commit 0a7b787

Please sign in to comment.