PDA

View Full Version : Generating Code




EricBrian
Nov 8, 2007, 12:40 PM
In my continuing quest to walk through a HowTo, I am stumbling over yet another difference in IB3. The HowTo was written for IB2.

So, the paragraph says:

Make sure the MAFoo instance is sleected in the MainMenu.nib window and then switch to the Class tab. You should see a list of classes within which the MAFoo class is selected. In the Classes menu, select Create Files for MAFoo. Interface Builder then asks you where you want your generated file to be put on disk. By default, the files will go in the project folder of our application, which is exeactly what we want.

My problem with this is the sentence where it says:
In the Classes menu, select Create Files for MAFoo.

Where do I now select Create Files?

Thanks again,
Eric



EricBrian
Nov 8, 2007, 12:52 PM
I did find in IB under the Files menu item and item called "Write Class Files..."

Is this what I should be using? If so, why are they now showing up in Xcode under classes group?

Again, thanks.

kainjow
Nov 8, 2007, 10:52 PM
Is this what I should be using?

Yes.

If so, why are they now showing up in Xcode under classes group?

The "Classes" group is where they should go by default. But it doesn't really matter as long as they get compiled correctly.