Skip to content

Commit

Permalink
Merge pull request #6 from lukaskubanek/swift-2
Browse files Browse the repository at this point in the history
Update to Swift 2.0
  • Loading branch information
lukaskubanek committed Oct 21, 2015
2 parents 83983a6 + 961985d commit e5a066b
Show file tree
Hide file tree
Showing 15 changed files with 791 additions and 842 deletions.
15 changes: 13 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Xcode
# OS X
.DS_Store
.AppleDouble
.LSOverride

# Ruby
.ruby-*
.rbenv-*

build/
# Xcode
*.pbxuser
!default.pbxuser
*.mode1v3
Expand All @@ -17,3 +24,7 @@ DerivedData
*.ipa
*.xcuserstate
*.xctimeline

# Carthage
Carthage/Checkouts
Carthage/**/OrderedDictionary*
7 changes: 0 additions & 7 deletions Examples/Examples.playground/contents.xcplayground

This file was deleted.

85 changes: 0 additions & 85 deletions Examples/Examples.playground/section-1.swift

This file was deleted.

48 changes: 48 additions & 0 deletions Examples/LoremSwiftum.playground/Contents.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
//
// __ _____ _ ______
// / / ____ ________ ____ ___ / ___/ __(_) __/ /___ ______ ___
// / / / __ \/ ___/ _ \/ __ `__ \\__ \ | /| / / / /_/ __/ / / / __ `__ \
// / /___/ /_/ / / / __/ / / / / /__/ / |/ |/ / / __/ /_/ /_/ / / / / / /
// /_____/\____/_/ \___/_/ /_/ /_/____/|__/|__/_/_/ \__/\__,_/_/ /_/ /_/
//
// LoremSwiftum.playground
// http://github.com/lukaskubanek/LoremSwiftum
// 2014-2015 (c) Lukas Kubanek (http://lukaskubanek.com)
//

import LoremSwiftum

// ======================================================= //
// Texts
// ======================================================= //

let word = Lorem.word
let words0 = Lorem.words(0)
let words1 = Lorem.words(1)
let words5 = Lorem.words(5)

let sentence = Lorem.sentence
let sentences0 = Lorem.sentences(0)
let sentences1 = Lorem.sentences(1)
let sentences5 = Lorem.sentences(5)

let paragraph = Lorem.paragraph
let paragraphs0 = Lorem.paragraphs(0)
let paragraphs1 = Lorem.paragraphs(1)
let paragraphs5 = Lorem.paragraphs(5)

let title = Lorem.title

// ======================================================= //
// Misc Data
// ======================================================= //

let name = Lorem.name
let firstName = Lorem.firstName
let lastName = Lorem.lastName

let email = Lorem.email
let url = Lorem.URL
let tweet = Lorem.tweet

let date = Lorem.date
3 changes: 3 additions & 0 deletions Examples/LoremSwiftum.playground/Sources/SupportCode.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
//
// This file (and all other Swift source files in the Sources directory of this playground) will be precompiled into a framework which is automatically made available to Examples.playground.
//
4 changes: 4 additions & 0 deletions Examples/LoremSwiftum.playground/contents.xcplayground
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<playground version='5.0' target-platform='ios' requires-full-environment='true'>
<timeline fileName='timeline.xctimeline'/>
</playground>
File renamed without changes.
Loading

0 comments on commit e5a066b

Please sign in to comment.