No interface builder (.xib)

Hello


I have Xcode 7.3 for 2 days.

When I create a new project with an application for Mac Ox, I never have or find the famous form "xib". Thus, I don't have any objects.

I think I don't load perhaps the interface builder.

How can I do ?

thanks for your answer

Answered by bob133 in 130518022

The venerable .xib file format is actually on its way out (well, kind of). It's been largely replaced by OS X storyboards (the .storyboard extension), which are basically a collection of xibs packaged together so that you can see all of an app at once. You can still use traditional .xib files, but it's no longer the default. If you create a new project, under the Language button is a checkbox for "Use Storyboards." Deselect that and the project will use the traditional setup.


Do keep in mind that storyboards are used differently in code than traditional .xib files, so do make sure that any documentation you're using matches whatever method you choose to use.


If you're just starting out from scratch, I recommend that you learn storyboards. They make it a lot easier to define simple interactions and can spare you the trouble of writing a lot of "glue code."

Accepted Answer

The venerable .xib file format is actually on its way out (well, kind of). It's been largely replaced by OS X storyboards (the .storyboard extension), which are basically a collection of xibs packaged together so that you can see all of an app at once. You can still use traditional .xib files, but it's no longer the default. If you create a new project, under the Language button is a checkbox for "Use Storyboards." Deselect that and the project will use the traditional setup.


Do keep in mind that storyboards are used differently in code than traditional .xib files, so do make sure that any documentation you're using matches whatever method you choose to use.


If you're just starting out from scratch, I recommend that you learn storyboards. They make it a lot easier to define simple interactions and can spare you the trouble of writing a lot of "glue code."

Tank you so much

I'll test the 2 possibilities.

No interface builder (.xib)
 
 
Q