Stump 360 III: The Search for Stump Aug 12, 2016 Later this month I’m hosting Stump 360 III: The Search for Stump, the third annual Stump 360. It’s part of 360iDev in Denver. It’s on August 23, 4:45pm - 6:00pm. In case you’re not familiar with Stump 360, here’s some possibly interesting information. Stump is sort of approximately a game with two teams, the audience and the panel. It’s a quiz/trivia style event where each team poses questions to the other in the hope of stumping them. ...
Stump 360 Questions, 2015 Aug 12, 2016 Here’s the list of questions asked at Stump 360 in 2015. If you’re not familiar with Stump 360, see my other post that describes it more fully In general, Stump 360 questions can cover Anything iOS or Apple related Especially anything covered in a 360iDev talk. Keep in mind the audience is allowed to use Google, etc, so questions shouldn’t be too easy. These are the questions asked of the audience at Stump 360 in 2015. ...
Using Stack Views in Table Cells Aug 4, 2016 One of the cool things UIStackView can do for you is make it easy to dynamically update your app’s user interface while it’s running, with smooth animations and not a lot of code. My recent talk at iOSDevCamp DC covered some techniques. Natasha the Robot wrote a couple of great posts based on my talk, and today I’m going to talk about another unexpected (to me?) use of stack views. ...
Flexible UI Design with UIStackView Jul 28, 2016 As I mentioned in my last post, last week I did a talk at iOSDevCamp DC where I talked about UIStackView, a relatively new UIKit class that’s my new favorite thing in iOS development. I’m going to cover some of the more useful things UIStackView can do in posts here, which will fall more or less into two categories: Simplified and flexible UI design, making common UI patterns easier to implement and modify. ...
UIStackView talk at iOSDevCamp DC Jul 26, 2016 Last week I did a talk at iOSDevCamp DC, an annual event hosted by Luis de la Rosa. I talked about UIStackView, under the admittedly grandiose title of “Mastering UIStackView”. I’ve used stack views for a number of things recently, as I’ve come to realize they’re a lot more useful than a lot of introductory material might suggest. I’ll be writing about some of this in the very near future, but in the meantime the excellent Natasha the Robot has already done two blog posts based on stuff that I covered: ...
Dates and Data Models Feb 25, 2016 Just use NSDate, right? The obvious choice for handling dates in iOS and OS X apps is NSDate. It’s obvious, right? It’s got “date” right in its name, doesn’t it? And that’s the thing about NSDate. It’s mis-named. It almost says so right in the docs: NSDate objects encapsulate a single point in time, independent of any particular calendrical system or time zone. A single point in time? I don’t know about you but I think of “date” as meaning more like ...
File Coordination Fixed! May 18, 2015 I wrote a post a few months ago about sharing data between iOS apps and app extensions in which I recommended using NSFileCoordinator and NSFilePresenter. But I had to update the post to remove that portion when some helpful people pointed me to Apple Tech Note 2408 ...
Swift Generators and Sequences Mar 23, 2015 I was going to write a blog post about how to create and use Swift generators and sequences. But while I was trying to understand them myself, I found this post over at iOSDeveloperZone ...
Using Core Data with Swift Mar 16, 2015 Over the past month or so I’ve been diving into Swift, after many years of working with Objective-C on Macs and iOS. It’s been a change but, gradually, I’m learning the Swift way of doing things. On the way I’ve run into a few bumps in the road when dealing with Core Data, and I thought would be useful to share how I got past them. Xcode Generated Subclasses Considered Harmful This is the main impetus for this post. ...
Sharing data between iOS apps and app extensions Nov 20, 2014 Since iOS app extensions run as part of a host application rather than as part of their containing app (i.e. your app’s extensions run in somebody else’s app), data sharing isn’t automatic. Finding standard locations like the documents directory doesn’t work for shared data. In this post I’ll go through the details of how to make it all work. Along the way I’ll get into how to set up real-time messaging between apps and their extensions. ...