iOS indie developers writing every day about their stuff.

Introduction to Test Driven Development (TDD) for iOS apps (Part 2 of 4)

Doug Sjoquist
sunetos.com

Introduction to Test Driven Development (TDD) for iOS apps (Part 2 of 4) Welcome back to the second part of the tutorial series, “Test Driven Development of iOS apps”. In part one of the series we introduced Test Driven Development (TDD), briefly discussed how it can help your development, and began the process using a [...]

Introduction to Test Driven Development (TDD) for iOS apps (Part 1 of 4)

Doug Sjoquist
sunetos.com

Introduction to Test Driven Development (TDD) for iOS apps (Part 1 of 4) After a recent developer meetup, we were talking about useful things to do at future meetings. Someone fairly new to iOS development mentioned he would love to watch someone go through the design and development of an app. He knew he could [...]

Writing Is Hard — Let’s Do Math

Doug Sjoquist
sunetos.com

Tutorials ‘R Us Several months ago, Ray Wenderlich put out a call for developers to write for his excellent tutorial site. So, I put my name in the hat, joined the team, and signed up to for my first tutorial in May: “Test Driven Development with iOS”. Part way through, we decided that it needed [...]

Live From 360iDev!

Doug Sjoquist
sunetos.com

Live From 360iDev! 360iDev 2011 is in full swing, and it’s been great so far. My OCMock Session On Sunday I gave an updated presentation/training session on OCMock Sunday morning entitled “OCMock: Crash Test Dummies For Your Code”. Overall, I was pleased with how it went. It was a three hour session, so we took [...]

How To Use Custom Classes With Core Data Without Fear

Doug Sjoquist
sunetos.com

If you are using CoreData in your iOS app, you have several options for your domain objects. Here is a short list of ways you could use Core Data objects in your app: Use generic NSManagedObject, no custom classes Create custom classes by hand Create a file template to use when creating custom classes Use [...]

Don’t Nest Those UIViewControllers!

Doug Sjoquist
sunetos.com

Like many iOS developers, I came to iOS from a non-Mac development background. Switching platforms always requires some time to adjust to the different libraries and usage patterns of the new platform, and Cocoa is no exception. I really like it now, and am very comfortable working with it, but there were some things it [...]

Top 10 Reasons You Should Do A Cocoa Coding Day

Doug Sjoquist
sunetos.com

Cincinnati Cocoa Dev Coding Day Our local NSCoder style group, Cincinnati CocoaDev, meets once a month. Usually someone presents on a particular topic on a weekday evening, we spend some time talking around pizza — the usual stuff. This month, we decided to do an informal coding day on Saturday, June 25th at Cincinnati Coworks [...]

Deliberate Practice: The Key To Improving

Doug Sjoquist
sunetos.com

A Software Craftsman’s Journey I am better at the craft of software than I once was. But, I am not as good a craftsman as I want to be. The road from where I was, to where I am, to where I want to be has crossed small creeks, gentle valleys, and deep ravines. Some [...]

Real Life iOS project using TDD Techniques

Doug Sjoquist
sunetos.com

iOS + TDD = Winning Combination I just finished a short-term iOS project where I used TDD (Test Driven Development) techniques to good advantage. I know I ended up with a cleaner design and better code than I would have otherwise. I am not a TDD expert, nor am I a TDD purist, but I [...]

Are You Being Energized or Drained?

Doug Sjoquist
sunetos.com

Things That Energize Me Eric Yesterday I was in the basement talking with one of my sons. I heard laughter upstairs and went to see what was up — at the top of the stairs I found my grandson quickly crawling towards me. He had heard my voice and decided being with grandpa sounded like [...]

chwilowki