What to To See in New York City During try! Swift NYC

A photo of the Highline and buildings, from 20th Street.

The Highline runs north along 10th Avenue from 14th Street.*

Tomorrow is the first day of one of the most anticipated conferences in the iOS developer world. try! Swift NYC is only hours away, and if you’re arriving early, or staying late, you might want a break from working on your latest app or scrolling through the Twitter. If you’re in town for the conference and you want to know what there is to do around here, I’ve got you covered. Here’s a list of my favorite spots, followed by a tour:

Continue reading

Putting the Pro in iPad Pro

There was a lot of talk a few months ago about Apple’s marketing of the iPad Pro, and how they are positioning it as a PC replacement. In order for app developers to produce professional-level content creation apps, Apple needs to create more complex and generalized user-facing developer components that are designed for the human finger.

Continue reading

Core Data and Core Location Part 3, Sorting By Location

A screenshot that sa

I’d like to go back to the basics, and revisit the interface that I need for this to work. We want to be able to display a list of venues, either alphabetically or in proximity to some location. The list is filtered by venue type, and sometimes, a subtype and/or a search string. To accomplish this, we need a few steps.

Continue reading

Kosher GPS 9

The final version of the new Kosher GPS icon.

The new Kosher GPS icon.

The new Kosher GPS app is finally out. I’ve been working on it for over two years, and it’s finally out. (This post is a little late too, I guess in the spirit of things.) It’s really exciting. The new version includes a modern user interface and some really cool integrations.

From the App Store release notes, the new features are:

Continue reading

Core Data and Core Location Part 2

I linked to my previous post on a swift slack channel and got some interesting feedback. I forgot to mention in the last post the option of subclassing NSSortDescriptor to order by location. One of the ideas was one I tried but forgot to mention: subclassing NSSortDescriptor to compare based on distance. I had initially abandoned that approach because of something in this blog post which explains some gotchas involved in that process. I mistakenly thought that ARC made it impossible to override copyWithZone:, which is one of the “requirements” mentioned in that post.

Continue reading

Core Data and Core Location

Core Data by Core Location

I’m building an app that is supposed to track user location and sort a bunch of venues based on where the user is on the latitude/longitude coordinate system relative to those venues. This post is me thinking through how to make Core Location and Core Data work together to sort the venues. I’m using Objective-C for some parts of the app, but my Core Data stack is all Swift 2.2, Xcode 7.3.1 and I’m testing on iOS 9.3.1.

Continue reading

Hacking Pokemon Go

Pokémon Go is finally out in the United States, and as a long time fan of the franchise, I downloaded it as quickly as I could. (I tried the New Zealand App Store this morning, but of course regional stores kept me waiting for a few more hours.)

Continue reading

Generating a PDF from a UIScrollView

A screenshot of an icon on the OS X desktop called UIScrollView.pdf.

PDF Generation of a UICollectionView.

There are plenty of situations where you might want to generate a PDF from a UIScrollView. If you search the internet, you’ll find lots of posts instructing you to change the frame of the scroll view to enclose all of its contents. This won’t work if you’re using AutoLayout. In any case, there’s a better way.

Continue reading

Fixing Plain Style Unsupported in a Navigation Item in Xcode 7

A screenshot of Xcode's errors and warnings pane showing "Plain Style Unsupported in a Navigation Item"

Plain Style Unsupported in a Navigation Item

If you’ve ever seen this Xcode complain about that the “plain style” for UIBarButtonItem is “unsupported in a navigation item” you know that it can be a nuisance to narrow down which button item has the unsupported style, especially in larger projects.

Here’s some good news for you. It’s pretty easy to figure out what button is causing the warning. Here’s how you do it:

Continue reading