Cocoanuts iOS Blog

Adventures in Swift & Objective-C

avatar

What would you do if you weren't afraid?

Like all good stories, it started with a LinkedIn recruiter email. Except that this one was slightly different. It felt somewhat more personal and referenced some professional details that were not listed directly in my LinkedIn profile. Also, it was coming from Facebook...


A more generic builder pattern for Objective-C

A few weeks ago I came across this blog post about a builder pattern for Objective-C. It was one of our interns who pointed me to the article and asked if I considered this to be a good idea. At first I dismissed it altogether...


Asynchronous image loading in fast scrolling table cells

In the UIImageView+AFNetworking implementation, certain decisions are made to optimize for loading images currently on screen, which is done by cancelling previous requests for offscreen views. This behavior can interfere with cell reuse behavior, which may result in images not being loaded correctly...


How to install an App Store build on your device

As you get close to submitting your app to the App Store, you really want your test builds to be as close as possible to the submitted binary. This is why we typically use Ad Hoc builds for our final test sessions, even when using enterprise distribution for earlier builds. But even with Ad Hoc builds, you still end up submitting a different binary, an App Store build that has never been installed on a real device...


Reusing views in storyboards with Auto Layout

The first time you try to set up constraints for a non-trivial view hierarchy can be a frustrating experience, and your productivity will probably take a hit when you start working with storyboards, but you end up with some valuable new tools in your belt and a much better understanding of UIKit, if nothing else...


First impressions of ReactiveCocoa

I had been looking forward to learn more about this framework ever since I first heard about it. The talk was inspiring, and I bought the book the next day, but now we are two weeks later and I'm still not sure what to really think of it...


And so it begins...

I'll admit it, I have never been much of a web developer. Sure, I once built a website, somewhere around the start of the century. It included a guestbook, a visitor counter and a LED ticker display. It was hosted on a free .tk domain. You get the idea...