Monthly Archives: August 2011

Editing the source files in Eclipse PDT

Eclipse really wants to create a project directory to hold its metadata. However, there’s nothing that stops you from having a folder “within” a project but located outside of it.

File -> New Project

then

File -> New Folder, click “Advanced” and select “Link to folder in the file system”.

I’d suggest you avoid linking folders that exist as subdirectories of your workspace directory. Linking something that’s a subdirectory of a workspace directory will lead to a world of pain and resources being out of sync.

That is, create a project MyProject in /workspace/MyProject, but make sure foo-0.x.0 is in ~/foo or somewhere else not under /workspace.

However, if the folder is shared (from the server), it has to locate one level up, or else the “import” will fail.

Advertisements

iOS materials

Understanding @Class:
http://blog.prosight.me/index.php/2009/09/347

The at the end of declaring an interface: Calls a Protocol
http://blog.eddie.com.tw/2010/12/11/protocol-in-objective-c/

How to assign a Delegate

How to debug

Navigation Controllers
http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/NavigationControllers/NavigationControllers.html#//apple_ref/doc/uid/TP40007457-CH103-SW1