Building small big things
Prefix.pch and how to use it in open toolchain 
Sunday, March 8, 2009, 04:21 PM - Resources
Posted by Administrator
Most if not all of the sample apps provided with the iphone SDK use a prefix.pch file which, under Xcode would be handled as a precompiled prefix header included with all source files.

I searched all over to see if anyone had already handled it but come up empty.

This is what I came up with to properly include the prefix header and also have it precompiled.


%.o: %.m Prefix.pch.gch
$(CC) -include Prefix.pch -c $(CFLAGS) $< -o $@

%.o: %.cpp Prefix.pch.gch
$(CXX) -include Prefix.pch -c $(CXXFLAGS) $< -o $@

Prefix.pch.gch: Prefix.pch
$(CC) -x objective-c-header $(CFLAGS) Prefix.pch


It adds the Prefix.pch.gch as a dependence and then includes it when creating an object file.
add comment ( 17 views )   |  0 trackbacks   |  permalink
Found a ported version IPhone Sample UICatalog 
Saturday, February 21, 2009, 11:20 PM - Resources
Posted by Administrator
It does not use a NIB file, which can only be generated on a Mac using the ibtool.

It can be found here: Apple IPhone SDK Ported UICatalog
add comment ( 15 views )   |  0 trackbacks   |  permalink   |  related link
BOOK: The Pragmatic Programmer 
Monday, October 27, 2008, 10:11 PM - Books
Posted by Administrator


Authors: Andrew Hunt, David Thomas
Publisher: Addison-Wesley Professional; 3 edition (May 15, 2008)
List Price: $49.99, Your Amazon.com Price: $31.49
ISBN-10: 020161622X
ISBN-13: 978-0201616224
Average rating: 4 1/2 stars
Amazon Sales Rank: #3,271 in Books



BUY THE BOOK



Summary (from author's website)
Read this book, and you’ll learn how to:

* Fight software rot.
* Catalyze change.
* Avoid the trap of duplicating knowledge.
* Write flexible, dynamic and adaptable code.
* Harness the power of basic tools.
* Avoid programming by coincidence.
* Bullet-proof your code with contracts, assertions and exceptions.
* Capture real requirements.
* Keep formal tools in their place.
* Test ruthlessly and effectively.
* Delight your users.
* Build teams of pragmatic programmers.
* Take responsibility for your work and career.
* Make your developments more precise with automation.
add comment ( 32 views )   |  0 trackbacks   |  permalink   |  related link
BOOK REVIEW: Cocoa Programming for Mac OS X (second edition) 
Friday, October 24, 2008, 10:07 PM - Books
Posted by Administrator


Author: Aaron Hillegass
Publisher: Addison-Wesley Professional; 3 edition (May 15, 2008)
List Price: $49.99, Your Amazon.com Price: $31.49
ISBN-10: 0321503619
ISBN-13: 978-0321503619
Average rating: 4 1/2 stars
Amazon Sales Rank: #1,009 in Books



BUY THE BOOK



Summary (from publisher's website)
The best-selling introduction to Cocoa, once again updated to cover the latest Mac programming technologies, and still enthusiastically recommended by experienced Mac OS X developers.
add comment ( 27 views )   |  0 trackbacks   |  permalink
IPhone developer forums now open 
Thursday, October 23, 2008, 11:22 PM - Websites
Posted by Administrator
Since releasing developers of the gag order via their IPhone developer NDA, Apple apparently has added forums to discuss IPhone development.

https://devforums.apple.com

The forums are only available to paid IPhone developers
add comment ( 30 views )   |  0 trackbacks   |  permalink   |  related link

| 1 | 2 | 3 | 4 | 5 | 6 | 7 | Next> Last>>