Our DNA is written in Objective-C
Jump

Kvitto 1.0.1

Kvitto is my first Swift component. I built it to decode universal app store receipts for the purpose of purchase validation and determining subscription durations.

Somehow the podspec for Kvitto had gotten lost. So I needed to reconstruct it from the JSON version which I found in the Cocoapods specs repo. Also there was some cleanup work and experiments trying to get unit testing and code coverage for Swift working. So this is purely a housekeeping release.

Read more

BSA Banner

DTKeychain 1.0.2

This update to DTKeychain adds the ability to use it as a dynamic framework. This nifty little component is what we use for all things required to store account information.

Read more

DTCoreText 1.6.17

This update to DTCoreText aggregates and release half a year worth of fixes. The previous update was in July 2015.

Read more

DTFoundation 1.7.9

I’m doing this year-end update for DTFoundation to not have any unreleased contributions.

Read more

GeoCorder saves the day

Sometimes I hear from users of my apps and the ones I like to hear from the most are the happy ones. Here is one case of a happy customer that relates to my app for recording map paths: GeoCorder

Read more

Swift Golf

For a project I needed a way to get a reference to a UISwitch contained in the contentView of a UITableViewCell. I remembered from my research for my Swift talk that there was this handy is operator, so I was excited to tweet that I had finally found the first good use for it.

Read more

Growth Spurt

In January 2016 the Cocoanetics blog as well as my iOS development business will exist 7 years. The business entity behind it – Drobnik KG – existed for twice as long. At the end of 2015 there will be several fundamental changes.

Read more

XLIFF Fix

I reported in an earlier post¬†that there are some gotchas trying to localize an app with the combination of Xcode’s XLIFF export and POEditor.com. The latter stated that it is not their fault and somebody responsible for the former thanked me for my sample.

A future fix in Xcode notwithstanding, I found it necessary to create the Localizable and Main storyboard strings file from the XLIFF files exported from the translation site. This way I could be certain that the translations I care about all all accounted for.

Read more

DTRichTextEditor 1.6.12 + DTLoupe 1.5.8

These updates to DTRichTextEditor and DTLoupe address some tenacious crashes occurring from invalid geometry of sublayers.

Read more

Hero Rays

Our app prod.ly recently got the ability to award achievements to users for a variety of activities. Now, achievements have little impact if you cannot translate those into a rush of dopamine for the winning user. To achieve that, we are planning to have a pop up show as soon as the achievement is awarded, congratulating the user.

From psychology we know that if something is colourful and has animation it has a larger emotional impact than something that is static and B/W. One ingredient that is often used to heighten the effect are what I call “Hero Rays”. In this tutorial I am showing how I achieved them.

Read more