It has been some time since I posted to this site. I’ve been posting (although infrequently) to Facebook, but think I’ll come back to this and do posts here again. I can always push from here to Facebook.
I completely rewrote my “A Dose of Humor” app and it is not “Daily Dose of Humor”. The rewrite served two purposes:
- change from Objective-C to Swift. Swift is the new language (relatively new anyway) from Apple for iPhone development. Might as well keep up to date with the current language.
- secondly, the database back-end that I had used originally was done in Parse. Parse was a fantastic tool to quickly configure and use a cloud database. Parse was purchased by Facebook, and not too long after it was purchased it was announced that it would close down.
So, with the shutting down of Parse I had to find another cloud database back-end, and I chose to write this in CloudKit, which is Apple’s native cloud database backend.
So here we are, my new app has been released into the wild, check it in iTunes on the App Store.
View on App Store
I've been following Ray Wenderlich (www.raywenderlich.com) and Steven Lipton (in the iOS-Developers group in LinkedIn) for some time, and recently went through some tutorials by both of them for WatchKit, Apple's addition to XCode that allows creating Apple Watch apps (no, it's not an iWatch) that piggy back off of your main app.
I tried adding WatchKit to my Dose of Humor app, but because I originally made the app before WatchKit was available, XCode doesn't like it at all, and is fraught with errors.
So, what I think I'll have to do is create a new project and include WatchKit in it, and then either copy/paste my code over from my original project in Objective-C, or rewrite it in Swift.
The last couple of tutorials I went through with WatchKit used Swift, and I think I could definitely get used to that. It's more user-friendly in terms of language and syntax, which is good for me. Anything that helps me get my concepts and ideas transposed to an app is a good thing.
I think for the Watch app I'll go for super simple. Instead of having to get the joke of the day directly on the phone, I'll enable that to be done with the app. At least that's the plan. Without having done it yet I have no idea what parts are even possible. Ideally I would want the Watch app to force the phone to download todays joke, and then play it over the watch. With some simple animation maybe that mimics what is on the phone.
That's my mission today. Get started with a new project and get it functional for what the app has/does now, then maybe take a look at WatchKit and see what magic I can make happen there.