The Mac Developer Network with Steve Scott(Scotty) and Tim Isted are hosting a great conference, called NSConference, in UK this week. I wish I could be there as well, but it is a bit of a hike for me to be there in person. It would be great if they can make some of the materials available online after the show.
April 12th, 2009 / in Mac / by keremk
April 10th, 2009 / in IPhone / by keremk
April 9th, 2009 / in IPhone / by keremk
Currently the only way to create re-usable code amongst different projects for the iPhone platform is to create static libraries. 3rd party frameworks (as in Mac OS X) are not supported in the iPhone SDK. Also setting up unit testing, which is a crucial part of building re-usable libraries of course, is not that trivial.
To help building static libraries for the iPhone, I decided to create a project template and file template. The project template includes 2 targets. One is the actual static library itself and the other is a unit test target. The file template simplifies creating unit test classes, by including the necessary header files and boiler plate code. I have included the Google Toolbox for Mac’s iPhone unit testing facilities and the OCMock framework in these templates.