My Book
-
Recent Posts
Archives
- January 2019
- May 2017
- April 2017
- January 2017
- November 2016
- October 2016
- July 2016
- June 2016
- May 2016
- April 2016
- February 2016
- December 2015
- November 2015
- April 2015
- March 2015
- November 2014
- September 2014
- July 2014
- June 2014
- January 2014
- November 2013
- October 2013
- September 2013
- June 2013
- March 2013
- January 2013
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- November 2011
- October 2011
- July 2011
- May 2011
- April 2011
- January 2011
- November 2010
- October 2010
- September 2010
Categories
- Android
- Auto Layout
- Books
- CocoaTouch
- Debugging
- Genetic Algorithms
- Interface Builder
- iOS 6
- iOS Programming for .NET Developers
- iOS7
- iOS8
- Jobs
- MacBook Pro
- MonoTouch
- Networking
- Objective-C
- Streaming Media
- Sustainable Coding
- Swift
- Thoughts
- Tic-tac-toe
- Tips and Tricks
- Two Letters
- UICollectionView
- UITableView
- Uncategorized
- User Experience
- XCode 3
- Xcode 4
Meta
Category Archives: Objective-C
Objective-C workflow for iOS apps
This article reviews a simple, lightweight Objective-C workflow component for iOS applications. The source code and demo app can be downloaded from GitHub and freely used under the permissive MIT license. Repository: https://github.com/ijoshsmith/iOS-Workflow Workflow as a conceptual tool Workflow diagrams are often … Continue reading
Posted in iOS 6, Objective-C
2 Comments
Deciding between native iOS and Xamarin (MonoTouch)
An old friend of mine, who I worked with back when I was a .NET developer, emailed me recently. He was looking for some advice on which platform to use for creating iOS software, mostly focusing on native versus Xamarin … Continue reading
Posted in MonoTouch, Objective-C
8 Comments
Objective-C Literals for iOS in Xcode 4.4
Apple recently released Xcode 4.4, which includes several minor enhancements for iOS developers. One of those features, named Objective-C Literals, is fully supported for OS X desktop apps, but is still a work-in-progress for iOS apps. This “teaser” preview has … Continue reading
Sneak Peek: Reference vs. Pointer
It’s time to let the cat out of the bag. I’m writing a book that explains iOS programming to .NET developers! I have written seven of the twelve chapters and, I must say, it’s really coming together nicely so far. … Continue reading
Objective-C Genetic Algorithm That Solves The 8 Queens Puzzle
Introduction In my previous post I explained the basics of genetic algorithms, and provided a very simple example written in Objective-C. In this post I will dive deeper into the fascinating world of genetic algorithms and show a more sophisticated solution to … Continue reading
Posted in Genetic Algorithms, Objective-C
3 Comments
Simple Genetic Algorithm in Objective-C
Introduction This article explores a simple genetic algorithm I wrote in Objective-C. The purpose of this article is to introduce the basics of genetic algorithms to someone new to the topic, as well as show a fully functional example of … Continue reading
Posted in Genetic Algorithms, Objective-C
14 Comments
Good mobile software is frugal
All software development requires discipline. Attention to detail, adhering to important conventions, and the willingness to do things the right way are necessary traits for any software developer worthy of the title. But if you are writing code that will … Continue reading
Posted in Objective-C
3 Comments
Mediator design pattern in CocoaTouch
The CocoaTouch UI framework has its own built-in implementation of the Mediator design pattern, named NSNotificationCenter. You can use an instance of the NSNotificationCenter class to broadcast notifications to any objects that are interested in that particular event. Several components in … Continue reading
Posted in CocoaTouch, Objective-C
7 Comments
Anonymous categories to the rescue
One of the things about Objective-C that seems a bit archaic to me is methods must be declared before they are called by other methods in the same code file. If you don’t, the compiler emits warnings. This is a … Continue reading
Posted in Objective-C
3 Comments
Categories in Objective-C
Objective-C has a feature called “categories” that allows you to extend the API of a type. It’s somewhat similar to extension methods in C# in that you can define methods which can be invoked on an instance of some class you … Continue reading
Posted in Objective-C
7 Comments