Skip to content

Commit

Permalink
fix playground for Xcode 6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
banjun committed Apr 18, 2015
1 parent 0908fc5 commit 9c776b8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
8 changes: 5 additions & 3 deletions Example/AsakusaSatellite.playground/section-1.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ let c = Client(apiKey: nil)
c.roomList() { r in
switch r {
case .Success(let many):
let rooms = many().items
let rooms = many.value.items
for room in rooms {
room
room.id
room.name
room.ownerAndMembers
}
case .Failure(let error):
error
}
}

XCPSetExecutionShouldContinueIndefinitely(continueIndefinitely: true)
NSRunLoop.currentRunLoop().runUntilDate(NSDate(timeIntervalSinceNow: 3))
10 changes: 9 additions & 1 deletion Example/AsakusaSatellite.playground/timeline.xctimeline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@
version = "3.0">
<TimelineItems>
<LoggerValueHistoryTimelineItem
documentLocation = "#CharacterRangeLen=4&amp;CharacterRangeLoc=503&amp;EndingColumnNumber=17&amp;EndingLineNumber=18&amp;StartingColumnNumber=13&amp;StartingLineNumber=18&amp;Timestamp=448459579.961018">
documentLocation = "#CharacterRangeLen=9&amp;CharacterRangeLoc=527&amp;EndingColumnNumber=22&amp;EndingLineNumber=19&amp;StartingColumnNumber=13&amp;StartingLineNumber=19&amp;Timestamp=451063689.951857"
lockedSize = "{240, 95}"
selectedRepresentationIndex = "1"
shouldTrackSuperviewWidth = "NO">
</LoggerValueHistoryTimelineItem>
<LoggerValueHistoryTimelineItem
documentLocation = "#CharacterRangeLen=0&amp;CharacterRangeLoc=465&amp;EndingColumnNumber=19&amp;EndingLineNumber=16&amp;StartingColumnNumber=9&amp;StartingLineNumber=16&amp;Timestamp=451063517.52294"
selectedRepresentationIndex = "0"
shouldTrackSuperviewWidth = "NO">
</LoggerValueHistoryTimelineItem>
</TimelineItems>
</Timeline>

0 comments on commit 9c776b8

Please sign in to comment.