Ad

Our DNA is written in Swift
Jump

Should I switch to Swift?

Angelina asks:

I was very surprised when I heard about Swift.  I was curious what your thoughts are about Swift and phasing out Objective-C specifically since you are in the process of writing the Barcodes book.  Are you going to update your book to use Swift instead of Objective-C?

Read more

DTCoreText 1.6.12

It’s been a while since the previous update to DTCoreText. Now that I mostly finished my book I pulled together a new maintenance release.

Read more

DTFoundation 1.7.0

This release of DTFoundation contains fixes for the most part, but also one new class DTProgressHUD. Also it is the first released via the new CocoaPods Trunk mechanism. This is why it gets a minor release number bump.

Read more

Book: Feature Complete

On the last working day of May, I handed in the 7th and final chapter of my book. This chapter on Geofencing and iBeacons rounds off the offering of all technologies in iOS you need to know to build apps centring around physical products.

Read more

Radar: Ranging of iBeacons might fail if beacon is emitted on same device

This problem was encountered by me while research for chapter 7 of my book. Apparently other developers have encountered it as well as you can see from several questions on Stack Overflow:

So I am filing this as a dupe hoping for it to be fixed in iOS 8. Or if not, that it will become more visible to Apple.

Filed as rdar://17003408 and on Open Radar.

Read more

Radar: Monitoring CLRegion immediately after removing one fails

This gotcha became apparent to me while putting together the sample app for the seventh and last chapter of my book. There I am monitoring for the 10 regions from a plist which are closest to the user. I was removing all monitored regions and re-added the 10 I am interested in. To update the state I called the requestStateForRegion: but didn’t get a state update. Instead the monitoring failed with error code 5. Fortunately a workaround is possible.

Submitted as rdar://16986842 and to OpenRadar.

Read more

Forward Geocoding

There are two kinds of Geocoding which you might encounter: forward and reverse. The class doing that for you in iOS is CLGeocoder. It is both capable of doing it forward (from address to lat/long) and reverse (from geo coordinates to placemarks). For this tutorial we will build an app that lets you search for addresses and display the results individually on a map view.

Read more

Radar: NSParagraphStyle’s +defaultParagraphStyle return type should be instancetype

This minor SDK inconsistency was submitted as rdar://16939304 and to OpenRadar.

Read more

Radar: Search Bar jumps around and disappears

iOS 8 might be around the corner and things like this are probably fixed. Still, that does not mean you shouldn’t file your grievences. On this Radar Apple is getting two bug reports for the price of one.

Filed as rdar://16938543 and on Open Radar.

Read more

Book Updated (Again)!

Readers of my book get good news today! My publisher Manning released a new chapter for the early-access-version of the book.

Previously available chapters 1 through 5 have seen lots of improvements and clarifications based on valuable reader feedback as well as the keen eyes of my editor. The first 3 chapters are now locked for pre-production. That means that various experts are honing in on the manuscript and are putting the polish on for the bound book release!

It’s shaping up to be a really awesome publication. If you haven’t pre-ordered the book via Manning’s Early Access Program (MEAP) then please do so today!

Read more