Blog

Complications Publishing My WachtKit App to the iTunes Store

I go about my usual business when pushing out an app- final tests on the simulator, creating the provisioning profiles, App Id, the whole enchilada. The first time I tried to publish my WatchKit app, I got a binary error saying that Apple couldn’t take my binary due to my App Icons containing “Alpha” and […]

How I Learned to Pass Data Between Views in Watchkit

Unlike the standard way of passing data in the voidPrepareForSegue method we use for iPhone, Watchkit forces the developer to use an alternate method of doing the task.   Originally, you would create an instance of your next view controller in your voidPrepareForSegue. After creating this instance and casting it to a segue.DestinationViewController, you would […]

Experiences Creating a Watchkit iOS App

One of the biggest hurtles i dealt with when developing my watch kit app was attempting to incorporate a third party framework into my app. No matter how many times I attempted to reference any .h files from said framework, none of the files in my project would recognize it. This issue persisted for five […]

Table Views for WatchKit in Xcode 6.2+

Instead of the traditional Table View Controllers that we use for most iOS devices, WatchKit forces the developer to learn the Row Controller. According to Apple, this is how you configure your row controller: A row controller is a template for displaying a single row of data in your table. When you add a table […]

WatchKit Integration in Xcode 6.2 +

With Apple’s release of WatchKit this past year, iOS developers from across the globe are configuring their projects/developing new ones for the iWatch. Giving the limited screen size, the process for this can be quite strenuous, however the main concern of most programmers is integrating the WatchKit into their project. According to Apple, you must […]

Calling a Web API Within Another Web API

It was simple really. I called a Web API which returned the ID and name of a food item. I passed this URL over to the next file in which I would grab the ingredients. By doing that, I was able to pass the food ID and retrieve the ingredients with the following code:   […]

Multithreading

When I got around to the topic of multithreading, I was in the mental state that I was only learning this because I had to. It never occurred to me that I would soon have to take a step back and really understand what the heck I was doing. At the time, I was working […]

Core Location Services

Core Location provides facilities for the device to determine and report its location (location services). It takes advantage of three sensors: Wi-Fi The device (if Wi-Fi is turned on) may scan for nearby Wi-Fi devices and compare these against an online database. Cell The device (if it has cell capabilities) may compare nearby telephone cell […]

Calendars in iOS

The calendar database is retrieved as an instance of the EKEventStore class. This is expensive to obtain but quite easy to use, so your usual strategy, in an app where you’ll be working with the user’s calendar database, will be to instantiate EKEventStore (by calling [EKEventStore new]) early in the life of the app or of […]

Using Photos From A User’s Photo Library

You know when you’re in an app, and you select a button to set your profile picture? Then this button pops open a library full of photos for you to choose from? In Xcode, we have the opportunity of doing such a task using a UIImagePickerController.   To let the user choose an item from […]