content top

The problem with Cocoapods

How should a dependency manager work? A dependency manager (like Cocoapods) should work like a package manager (homebrew). I might be opinionated. But read on. In my opinion, Cocoapods (or any dependency manager) should install a dependency in a way that one should not be able to tell whether the dependency was installed using Cocoapods or by manually editing the project file. Example 1 I open the project’s root directory in terminal...

Read More

Why you shouldn’t hire a iOS developer based on his portfolio

Update: 23rd July 2014: This post is available in French translated by Vicky Rotarova Well, this is not a tech post. Shoo… developers… I’m not sure if this is a “Singaporean” thing or applies globally. Some people who are in charge of hiring has no clue how to get a good developer. So the first question they ask is for your “portfolio“. I really don’t understand how a iOS developer’s skill can...

Read More

iOS programming architecture and design guidelines

A good programmer gets the job done. A great programmer gets the job done, the right way. I’ve been a programmer for more than a decade now and been writing Objective-C code for almost half a decade. Some of the coding guidelines I follow have been immensely useful to me and I guess will be useful to you too. Before that, a brief background. I started my career doing Win 32 SDK/MFC programming. Delved a bit into Windows Device Driver...

Read More

Mobile apps and number of concurrent connections

HTTP RFC Spec 2616 Section 8.1.4 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html) says A single-user client SHOULD NOT maintain more than 2 connections with any server or proxy. A proxy SHOULD use up to 2*N connections to another server or proxy, where N is the number of simultaneously active users. While this spec was written quite a long time ago, it’s still a spec and you as a client developer should respect. Most browsers...

Read More

Avoiding merge conflicts with Storyboards

With iOS 5 gaining traction, most of you have already moved to iOS 5+ in your apps. This means, you would have explored UIStoryboard and might have migrated some parts of the User Interface from nib files to Storyboards. The problem Storyboards have a rather annoying problem when you work as a team. When you create a new application (choosing the “Use Storyboards” option), Xcode creates a project with one Storyboard for the...

Read More

Software patents: the good, the bad and the ugly

Ok, there is almost a war in the between Apple and Google “fanbois” because Apple used patent suit to block sales of Samsung’s Galaxy Nexus. Before we comment on this, allow me to explain a bit. What is a patent? Wikipedia describes it as an intellectual property to which the inventor is granted exclusive rights for a limited period of time. A patent is a form of intellectual property. It consists of a set of exclusive...

Read More
Page 1 of 712345...Last »
content top