Storyboards for OSX App in Xcode 6 - macos

With Xcode 6 StoryBoards were added for OSX Apps as well.
But when I create a new app in Cocoa , Storyboards button is disabled.
Am I missing something here ?

Storyboards are a feature of OS X 10.10 (Yosemite). If you run Xcode 6 on 10.9 (Mavericks), you won't be able to use them.

Related

Can I get Mac storyboards on Xcode 4?

I only have a 2007 macbook, and I can only get Xcode 4. I saw in Xcode 6 they have storyboards for mac (which I think was long overdue). Is there any way to get these mac storyboards in Xcode 4? (maybe port them in some how?)
Is there any way to get these mac storyboards in Xcode 4? (maybe port them in some how?)
No. There's no way to port Mac storyboards back to Xcode 4 because there's nothing to port them to. The problem isn't that Xcode 6 uses a different format or anything like that, it's that Xcode 4 doesn't support storyboards on the Mac at all.

Swift Storyboards MAC OSX 10.9 deployment

I made a Swift Storyboards project, fully working on MAC OS X 10.10, when I try on MAC OS X 10.9 the program's windows do not appear. I'm wondering if the Storyboards feature is only available for MAC OS X 10.10. Any suggestion?
Yes, storyboards are new in OSX 10.10, as you can easily find out in the OSX API diffs.
Or in the AppKit Release Notes. etc

Xcode 6 does not allow creation of Mac OS X project using Swift

So, a few days ago I download the new Xcode 6. I'm in the process of learning Swift. But here is the problem: It will only let me make a Swift app for iOS and not Mac OS X.
I start up Xcode and click, "Create New Xcode Project."
Next, I select, "Cocoa Application." But when I try to change the language from Objective-C to Swift, it won't let me! It will only show Objective-C!
Any ideas of why this is happening?
Swift for OS X isn't officially out yet.
Quoted from developer.apple.com/swift/resources:
Swift for OS X is coming with OS X Yosemite later this fall. If you
are using Swift to write Mac apps, you can download Xcode 6.1 GM seed
2 for Yosemite, which also includes the iOS 8.1 beta 2 SDK.
↳ Xcode 6.1 GM seed 2 for Yosemite Download
Xcode6-Beta6 ... if you can still get your hands on it ... will create a swift based project, even if you're running on Mavericks. I've been using it to create projects, and then opening them in Xcode6. Then in Xcode 6, to create a swift file, I hit cmd-N and go to the iOS section and pick the swift file type. Xcode 6 adds the swift file to the OS X project without any problems.

Develop apps for the iPad 3's retina display without lion?

Is Xcode 4.3.1 (and therefore lion) required to develop apps for the iPad 3's retina display?
Or is there a way to develop for the new device using Xcode 4.2? I'm not running lion yet.
If you are asking about iOS the iOS 5.1 sdk, then you will have to update to Lion and Xcode 4.3.1 to get it.
But as to the Retina display of the iPad 3, there is nothing special about it in the new sdk. So you can develop apps for the iPad 3 using Xcode 4.2. Just make sure you take into account the high resolution of the device when working with images and other graphics as you do with the iPhone Retina Display.
This small hack may be able to help you: it presents how you could install the 5.1 SDK with an older version of Xcode that works on Snow Leopard.
http://www.iphonedevsdk.com/forum/iphone-sdk-development/100229-snow-leopard-sdk-5-1-a.html
It turns out you do need to develop using Lion and iOS 5.1. If you don't build with the latest SDK then the #2x graphics won't show up in the app.

Xcode 4.1+ Autolayout checkbox missing

I am trying to enable autolayout for an iOS project but cannot find the checkbox in the info panel. I know it's supposed to be under the versioning section and above Localization. I also see that the documentation says:
Note: Auto Layout is available only in Mac OS X v10.7 Lion and later. If you are running Xcode 4 in Mac OS X v10.6 Snow Leopard, Auto Layout is not available.
from:
http://developer.apple.com/LIBRARY/IOS/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/InterfaceBuilder/InterfaceBuilder.html
I'm on Lion and running Xcode 4.2 and the checkbox is not showing. Any thoughts?
Auto Layout is implemented in AppKit in 10.7, so 10.7 is required to develop and to run. It isn't in iOS 4 or 5.

Resources