Search code examples
objective-cswiftwatchkitapple-watch

Can i write a WatchKit app using Swift?


Can I use Swift for WatchKit? Or do I have to use objective C?


Solution

  • Yes, you are free to use either Objective-C or Swift when writing a WatchKit extension. On the WatchKit developer page, there is a link to some sample code ("Lister") that has an accompanying Apple Watch app and is available in both Objective-C and Swift.