This repository has been archived by the owner on Feb 3, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a working playground to the project
- Loading branch information
Adrian Kosmaczewski
committed
Apr 11, 2015
1 parent
6ae49c6
commit 986dc83
Showing
7 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import SwiftMoment | ||
|
||
let now = moment() | ||
println(now.format()) | ||
|
||
var obj = moment([2015, 01, 19, 20, 45, 34])! | ||
obj = obj + 4.days | ||
obj.format(dateFormat: "YYYY MMMM dd") |
3 changes: 3 additions & 0 deletions
3
SwiftMoment/MyPlayground.playground/Sources/SupportCode.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 MyPlayground.playground. | ||
// |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.