Skip to content

Commit

Permalink
Merge pull request #1 from tp/xcode-6.3beta
Browse files Browse the repository at this point in the history
Fix to work with latest Xcode / Swift
  • Loading branch information
tp committed Mar 12, 2015
2 parents 1f16e99 + 54041dc commit 8f1e63a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions Flipbook WatchKit Extension/InterfaceController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ class InterfaceController: WKInterfaceController {
@IBOutlet weak var arcImage: WKInterfaceImage!
@IBOutlet weak var activityImage: WKInterfaceImage!

override init(context: AnyObject?) {
// Initialize variables here.
super.init(context: context)

// Configure interface objects here.
NSLog("%@ init", self)
}

override func willActivate() {
// This method is called when watch view controller is about to be visible to user
super.willActivate()
Expand Down
2 changes: 1 addition & 1 deletion Flipbook.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Flipbook: NSObject {

private func newImagePath() -> String? {
if let documentsDirectory = documentsDirectory() {
let imagePath = documentsDirectory.stringByAppendingPathComponent(NSString(format: "%@-%d@2x.png", imagePrefix, imageCounter++))
let imagePath = documentsDirectory.stringByAppendingPathComponent(String(format: "%@-%d@2x.png", imagePrefix, imageCounter++))
return imagePath
}

Expand Down

0 comments on commit 8f1e63a

Please sign in to comment.