Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Hot answers tagged

19

To begin migration to swift 2.0 latest syntax, open your Xcode project with xcode7, Click Edit > Convert. See this link: https://developer.apple.com/swift/blog/


18

A quick search for Xcode at the Wikipedia give you the answer. With the OS X version 10.9.4, you are able to install Xcode 6.2 and below. On Xcode 6.2 you can code in Swift, but I'm afraid is not the latest Swift version. This is the table where you can find out the requested information.


16

If you are an Apple Developer for iOS or Mac OS X, which is $99 a year, go to the Xcode page and scroll down to Xcode 6. If you are already signed into the Apple developer portal, you can download the Xcode disk image.


14

Go to https://developer.apple.com/devcenter/ios/index.action If you are still not Update Program License Agreement, don't forget to do it: In the top left, select iOS 8 Beta Scroll down and search for Xcode 6 beta


10

Xcode 6 currently requires an active iOS or Mac Developer Program membership, available from developer.apple.com/programs, as Xcode 6 and Swift is not publicly available yet. Once Xcode 6 is out of beta / prerelease anyone should be able to download it from the MAS, but that is speculation based on past experience and not something Apple has announced.


8

If you are in the paid developer program you can download the beta from: https://developer.apple.com/devcenter/ios/index.action If you have a free developer account, you cannot download the beta.


6

You have to migrate all your code to Swift 1.2 if you're using Xcode 6.3. If you go to Edit > Convert > To Latest Swift Syntax, it will help find many of the changes. However, there's still a lot of manual editing to do. In the long run, it will serve you better to keep your Swift code at the latest version so that future migrations are easier and so that ...


6

Go to https://developer.apple.com/devcenter/ios/index.action Log in Look right above the Resources for iOS 7 header you'll see the iOS 8 beta pill. Or just search for the text iOS 8 beta on the page. Click on iOS 8 beta pill Heed the Read Me Before Downloading warning Click on Download Xcode Profit


5

This has changed. The better place to download Xcode 6 Beta (as of Beta 3), is the Apple Swift resources page.


4

Xcode 6 beta is available to anyone that signs up for a free developer account at https://developer.apple.com/programs/which-program/ and scroll to the bottom of the page. Paid developers get distribution and code signing certificates, but you can start with Swift and the beta Xcode 6 for free. More details are on the developer news and the Apple swift blog:...


4

Swift has now been open sourced. From swift.org On December 3, 2015, the Swift language, supporting libraries, debugger, and package manager were published under the Apache 2.0 license with a Runtime Library Exception, and Swift.org was created to host the project. The source code is hosted on GitHub Swift has been ported to OSX and Linux. The Ubuntu ...


4

You can code in Swift language on any platform using a Swift environment hosted on a web site like http://swiftstub.com or http://runswiftlang.com


4

It is specified in the iOS Human Interface Guidelines that there is a default back button positioned in the top left. In full, it reads: A navigation bar appears at the top of an app screen, below the status bar, and enables navigation through a series of hierarchical app screens. When a new screen is displayed, a back button, often labeled with the title ...


4

Not in Xcode itself, but there are third party solutions. They both can analyse Swift code. PMD, it includes CPD, the copy-paste-detector. jscpd, a copy/paste detector for programming source code


3

Ok, it turns out that if you use AirDrop to send the Playground book to yourself, iOS offers to open it in the Swift Playgrounds app.


3

No, iOS 6.1.6 is the latest version your iPod touch will support. There is absolutely no way to install iOS 7, 8, 9, or (extremely) likely anything later. It just won't work.


3

The current version of Xcode doesn’t support Swift for OS X… yet. The App Store update description says: * NOTE: Swift support for OS X is coming in a future Xcode update So you'll either have to download the beta version from http://developer.apple.com/xcode/downloads or wait for support to be added for the release channel.


3

You can install multiple toolchains for Xcode to use - wrote a small how-to here: https://medium.com/@pardel/using-old-versions-of-swift-in-xcode-4dd46644a257 TL;DR - Download & install old Swift toolchains from: https://swift.org/download/#releases


3

You can select which version of Swift you'd like to use in Xcode 7.3 via the following: (Menu) XCode > Toolchains > (select your version)


2

Currently Swift is not available except through Apple's Developer program as part of the Xcode 6 Beta. Rumors seem to suggest that Swift will not be available elsewhere until the beta is finished. If you want to use Swift now, your only option is to emulate/virtualize OS X and run Xcode 6. I do not know the legalities of doing this. However, when Swift is ...


2

Here is a nice graphic that displays all the screen sizes and background image sizes (courtesy of Reign Design):


2

I think a good approach would be to save each world under a category, and saving the information for each world. For example: <dict> <key>Worlds</key> <dict> <key>TheLand</key> <dict> <key>WorldIsUnlocked</key> <true/> <key>...


2

Most apps like that store data in a SQLite3 database rather than property lists. I recommend this route instead—actual implementation/etc is off-topic here.


2

$ represents the standard shell prompt and is usually used to show that the commands need to be entered in Terminal. So you only need to enter the part starting with export.


2

According to Apple: Swift Playgrounds requires a 64-bit iPad with iOS 10 or later, including iPad mini 2 or later, iPad Air or later, or iPad Pro.


2

It will not be possible to build Swift 2 code in Xcode 9. You have two options: Use the compatible version of Xcode (Xcode 7.x.x) and macOS (OS X El Capitan 10.11, or macOS Sierra 10.12) to build the app. Migrate the codebase to a more recent version of Swift (3.x or 4.x) using the migration assistant built into a recent version of Xcode. Xcode 8 can ...


1

I’m not sure iBooks offers an easy way to keep two versions of the same book from the iBooks Store around. You could instead add the old version as an ePub or PDF copy. Apple makes the Swift documentation available as an ePub on swift.org. That site only seems to have the latest version, but copies of the older versions can be found around the web. Here's ...


1

I found the problematic URL at: info.plist > URL schemes and reversed it myself. i.e.: com.googleusercontent.apps.xxxxxx-xxxxxxxx then did a fresh build, all was ok


1

Current iOS is 9.0.2 Latest Xcode release is 7.0.1 - from the App Store I'd try updating to those first. If iTunes doesn't seem to think it needs updating, you could always get the .ipsw file from one of the many direct download links available [the files come directly from Apple, just the links are published separately] then hold Alt ⌥ whilst clicking ...


1

What you describe as an error, it's not. That is the main queue where the program runs. You will see that queue every time you run a program.


Only top voted, non community-wiki answers of a minimum length are eligible