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
Related
I have developed an OS X app using Xcode 6 on OS X 10.10.4. The app runs great in 10.10.4. When I copy and attempt to run in OS X 10.9.5, the app icon appears in the dock but the main window does not show. In addition, only the first menu item is displayed. Activity Monitor shows it running but idle at 0% CPU. There is nothing on the system log and no output written from my app. The app does not crash but sits idle in the dock.
The app settings use OS X 10.8 as the minimum target.
I have not installed Xcode and tried to rebuild as the project file is for Xcode 6, and I would have to downgrade to Xcode 5.x on OS X 10.9.5.
Thoughts on how to solve this? Is there a tool to diagnose this?
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.
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.
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.
I've probably done this to myself somehow, but in XCode 3.2.5, I can create both iOS and Mac OS X projects, but I only have documentation for iOS. When I click on that little "Home" dropdown, iOS is the only option.
I used to have more options for documentation.
So how do I get the Mac OS X docs? Do I have to re-install xcode or something?
Open the XCode preferences, and go to the «Documentation» tab.
From there, you can re-install (download) the documentation sets.
Documentation for Snow Leopard is:
http://developer.apple.com/rss/com.apple.adc.documentation.AppleSnowLeopard.atom
Google for more atom feeds.. : )