In our last lesson we set up navigation in the Storyboard and programmatically. We left off with passing data from one view controller to another using the context parameter like this: We made a context variable which we passed to the destination controller. We… Continue Reading “Swift WatchKit: Introducing Navigation to the Apple Watch(Part 3: Using Delegates and Contexts)”
Category: GUI, ios8, Swift, Swift Swift, Tutorial, WatchKitTags: Apple Watch, awakeWithContext, Buttons, context, delegate, glance, groups, layout, Notification, prepareforsegue, Programming Apple watch, pushControllerWithName, segue, Story Board, storyboard, swift, UIviewcontroller, view controllers, viewDidAppear, viewDidLoad, viewWillAppear, Watchkit, willActivate, WKInterfaceController
Apple WatchKit gives you a choice when it comes to navigation. You can be Page-based as we introduced in our last lesson. Another alternative, is hierarchical interfaces, which closely resemble navigation controllers on the phone. In this lesson, we’ll introduce the hierarchical type of… Continue Reading “Swift WatchKit: Introducing Navigation to the Apple Watch(Part 2: Hierarchical Interfaces)”
The Simulator for WatchKit is the worst part of Xcode. It’s horribly buggy, and has one particular bug that freezes or kills your running app very often. I had a hard time figuring this out, but once I found one place that discussed it,… Continue Reading “Swift WatchKit: Introducing Navigation to the Apple Watch(Part 1: Page Interfaces)”
In our last lesson we did the layout for a watch app that included images. However, we did not yet code those images. In this lesson we’ll add the code to the application to change a button background and show images. If you have… Continue Reading “Swift WatchKit: Using Images on an Apple Watch(Part 2: Code)”
Goodbye Emoticons! Up to this point in our lessons for programming Apple Watch we’ve used emoticons for graphics. It’s time to introduce true images to our WatchKit apps. There are two ways to use graphics. We’ll discuss adding images to Buttons, Groups, and Interface… Continue Reading “Swift WatchKit: Using Images on an Apple Watch (Part 1: Storyboard)”
In the last few lessons, we’ve covered some of the controls a developer can use in an Apple Watch app. As we’ve learned, we do not have full access to the properties of the controls. Instead, we have a few attributes we can only… Continue Reading “Swift WatchKit: Programming Sliders on the Apple Watch”
There is a horrible secret in WatchKit with many implications for those programming for the Apple watch. There is also a secret many people do not get about Apple’s corporate address. There two secrets are interestingly related. In WatchKit, There are no properties in… Continue Reading “Swift WatchKit Tutorial: Coding Timers and NSTimer on Apple Watch”
Once you start connecting outlets and actions for an Apple Watch you realize this is not your friendly neighborhood iOS app. There are controls that look familiar in storyboard, but are far from the same in code. In this lesson, you’ll learn about the… Continue Reading “Swift WatchKit Tutorials: Programming Buttons, Switches and Timers for Apple Watch”
WatchKit is not UIKit. How you program for Apple watch differs greatly from how you program a iPhone or iPad. There are controls that look familiar, but act very differently. In this lesson you’ll learn about groups, a layout mechanism which is, but should… Continue Reading “Swift WatchKit Tutorials: Using Groups in WatchKit”
Like a lot of people I ordered my Apple watch on April 10th, and now have to wait until June for it to arrive. I’m excited about the possibilities of the watch. I’m excited about writing applications for the watch, and I’m excited about sharing… Continue Reading “Swift WatchKit Tutorials — A Basic Watch Kit App”
If you are making your own stuff, doing your own work and trying to sell it in the market, most advice isn't enough. You want it to work. You want to sell your works to those who most are touched by them. This newsletter is for you. I am one of those people like you, creative, independent and maybe a little bit crazy to the outside world. I'll talk about writing good apps for Apple platforms, the tools and API's to get there. Along the way I will show you how to become you best creative self. I will show you how to build and create, and make some money at it too.
Get exclusive content, new post notifications, tips and more in A Slice of App Pie.
This site may include links that provide monetary compensation to the owners of this site.