Xcode 8.3 macOS Project without storyboard - xcode8

I am trying to find a way to start a project in Xcode 8.3.1 (8E1000a) using .xib files instead of storyboards in Objective-C on macOS.
There isn't a clearcut way to do it, and everything I've seen is iOS using single view storyboard application.
I'm hoping you guys have a fix or at least a quick hack.
Thanks in advance.

A workaround is to keep a copy of Xcode 8.2 around to create new projects. Create the project in 8.2. Develop the project in 8.3.
If you're going to use Xcode 8.3 to create new projects, you'll have to manually remove the storyboard and add xib files to the project. You'll also have to tell the project to use one of your xib files as the main interface file for the project. The following discussion on Apple's developer forums shows you how to do this:
Did Xcode 8.3 update eliminate the basic AppDelegate project template?

Update in 2018: In Xcode 9, the Use Storyboards option is back!
This does not apply to all templates, for example the Game template, but it is in the normal Cocoa App template.

You can't. Basically Xcode is proposing you some templates when you create a new project.
And there are all using Storyboards.
However, you can definitely use xib files in your project.
I myself use xib files because it is so much simpler when your project is under version control.
Storyboard + Version Control = Mess

Related

How to use native xib in phone gap?

i am using phone gap for an application in xcode.Now i want to create one native xib inside the same project.i will write appropriate code in objective-c.Now my doubt is .how to use/connect the xib into view that i have created in phone gap.Is there any plug in to do this.Help me .thanks in advance.
You would have to write a plugin or find an existing plugin that fits your needs.
PhoneGap Documentation on iOS plugin development

Xcode: how to create .app from a cocoa project?

I have a cocoa project and I would like to create .app package for that. Maybe it's a silly question but I was unable figure it out.
In Xcode, in the menu bar. Product->Archive When that is done it should take you to the Organiser (with the new archive selected), select share, and you can export it to the format you choose.
Have a read of the Xcode 4 User Guide which tells you how to do this for iOS and for Mac OS.
It also tells you a lot of other stuff that you'll find useful as well.

How do i migrate an app to iOS 5? (or turn on ARC)

I've got an app i'm working on and i just started using iOS 5. I'd like to start using Automatic Reference Counting but I'm not sure what steps i need to take to either migrate to iOS 5 or at least to turn on ARC.
If you look in Edit > Refactor menu, you'll see an option called Migrate to Objective-C ARC. That tool will help convert your code to ARC.
iOS 5 docs are not publically viewable yet, but in your Xcode you can go to the Organizer and view documentation. Search for "Programming with ARC Release Notes" and there's a document in there which will hopefully answer most of the questions you have about the process.

Adding project to existing one

I have a table view project with multiple controllers and another one that is a image gallery project and have a Three20 project added to it. I found it in internet.
So i want when a table view cell is tapped a image gallery opens. Both projects work fine when i test em separated . I tried dragging gallery project and adding it to my main project ,but and then adding a headers to my project ,but the only thing i got are errors. Any ideas
It's hard to tell you anything, because you didn't mention detailed information of your works. At least, we must know that if you are using XCode 4, what kind of errors you have got! and so on...
Moreover, do you know how to link static library into XCode project. That's the way it should work!

How build a custom control in Xcode for the iPhone SDK?

I want to build a custom control to reuse in my project which consists of two UITextFields that are linked together + a label.
It is starting to become repetitive across my App and smells of code duplication ;)
However, I wonder what is the best aproach here.
Is it best do everything by code in a controller or is posible do a visual thing like the ones built-in in Xcode?
You can build an Interface Builder plug-in for this. It's fairly straight-forward. To get started, read the Interface Builder Plug-In Programming Guide. It even has a quick, step-by-step tutorial to get you started. Apple recommends creating a plug-in to IB for just your case...
I don't think this is possible. I briefly looked at the IB Plug-In Programming Guide and apparently Interface builder plugins are implemented through Custom Cocoa Frameworks. That is, your plugin is defined in a framework which is loaded in Interface Builder. IB looks in the current projects frameworks to find any custom components defined and will load plugins accordingly. It is not possible to use custom or third party frameworks on the iPhone so I don't see how IB would make a connection here. If somebody has more info I'd love to see this discussion continued.
This is fine except it is for the iPhone. The iPhone presents a more difficult environment to create the plug-in for interface builder. It should be possible but I have yet to see a Xcode project that does this. They are all limited to creation of desktop "AppKit" versions, not iPhone "UIKit" versions of the plugins for IB.