iOS indie developers writing every day about their stuff.

Mastering Copy and Paste in iOS – Part 2

Pat Zearfoss
zearfoss.wordpress.com

In part 1 of this series I focused on a very simple locking down of copy and paste in iOS.  Replying NO to canPerformSelector: simply removes the ability to copy and paste from the menu that appears.  Needless to say that can be a little inelegant.  Preventing data leakage can be a good thing but […]

A Quick Gotcha About Blocks

Pat Zearfoss
zearfoss.wordpress.com

Blocks are a great addition to the iOS SDK and C standard, especially for predominantly event driven applications as we commonly see on the iPhone and iPad.  There’s a quick gotcha that a junior developer here at Mindgrub reminded me of the other day. While blocks are a powerful tool, if you’re not careful they [...]

A Lesson In Knowing Your Product

Pat Zearfoss
zearfoss.wordpress.com

Long ago, in my first year at Mindgrub we were contracted to work on a community site that circled around creating a sense of nostalgia.  You could go in and become fans (or something) of things from your 80s childhood.  The site details really aren’t important, and I’m not even sure if the site is even [...]

Do Just About Anything With Blocks

Pat Zearfoss
zearfoss.wordpress.com

I love using blocks in objective-C (and C for that matter).  I think they’re the most useful additions to language since . . . well I don’t know.  I allows your code to be more compact and more logically grouped (remember UIView animation delegates? yeesh).  In some cases, even faster by backgrounding certain operations with [...]

Do Just About Anything With Blocks

Pat Zearfoss
zearfoss.wordpress.com

I love using blocks in objective-C (and C for that matter).  I think they’re the most useful additions to language since . . . well I don’t know.  I allows your code to be more compact and more logically grouped (remember UIView animation delegates? yeesh).  In some cases, even faster by backgrounding certain operations with [...]

2012 – A look back and a look forward

Pat Zearfoss
zearfoss.wordpress.com

Another day, another dollar.  Another year, another . . . something. Dunno.  I’ve never had much use for resolutions related to an arbitrary day of the year.  I tend to see goal setting as an ongoing thing and goals as more of a continual series of milestones rather than a single achievable event.  Why new [...]

Multiple Build Targets For Fun and Profit

Pat Zearfoss
zearfoss.wordpress.com

This month Mindgrub and Wheelhouse Analytics released Salesbag 1.0, a sales presentation tool geared at the financial services industry. The project represents somewhat of departure for Mindgrub as a consultancy. Most previous projects have been a once-and-done kind of project. For Salesbag we’ll be working long-term with Wheelhouse to release frequent updates to the app. [...]

Cappuccino : First Thoughts

Pat Zearfoss
zearfoss.wordpress.com

Hello to all the readers coming from iDevBlogADay!  I’ve started working on a project that is being built using Cappuccino, a web development framework modeled off Objective-c and Cocoa.  After working with it for about 5 days I wanted to scribble down my first impression of the framework and tools. Language: The language for working [...]

A Better Table View Data Structure

Pat Zearfoss
zearfoss.wordpress.com

Lately, I’ve found myself creating a lot of table views that look like this: A plain-jane table view filled with homogenous items grouped by some common element.  I couldn’t help but notice how ill-suited the standard NS data structures are for handling this.  It always involves some sorted array containing the keys of a dictionary [...]

6 Things in iOS 5 That Will Make Your Next Project Easier

Pat Zearfoss
zearfoss.wordpress.com

There’s no shortage of hype around the arrival of iOS5 this week.  Much of it has been about iCloud, ARC, notifications, and Siri of course.  These are big deals to be sure, but for a coder there’s some great improvements that simply make your development process easier.  Here’s my list of favorites, some of which [...]