Trying to learn Cocoa/Xcode, LQya the same problem

cron0

Registered
Hello everyone,

I've been trying to learn Objective-C, Cocoa and Xcode for the past few days and for every tutorials/guides I go through, I always get stuck at the same place.

I've created my Cocoa project, double-clicked the .mib and then created my interface, one main class, and linked my interface buttons/text fields to/from my classes and connected them to the proper actions.

As some point, every guide I've tried they tell me to click on my class and do "Create files for <project name>".

My problem is, there are no "Targets" to select in the right list. This result in the files not being placed/created in my project folder.

Any ideas?

Thanks in advance!
 
Do you have your project open in Xcode? If you don't, nothing will appear in the list. Open it up and try again.

It makes things easier if you don't use the Finder at all. Open all your files, including nibs, from the interface in Xcode instead.
 
Seems like newly created projects will not appear in the list.

I closed the project and re-opened it and now it's there!

Thanks!
 
Back
Top