Open the Mac App Store to buy and download apps.
Xcode includes everything developers need to create great applications for Mac, iPhone, iPad, Apple TV, and Apple Watch. Xcode provides developers a unified workflow for user interface design, coding, testing, and debugging. The Xcode IDE combined with the Swift programming language make developing apps easier and more fun than ever before.
Xcode includes the Xcode IDE, Swift and Objective-C compilers, Instruments analysis tool, simulators, the latest SDKs, and hundreds of powerful features:
Innovative tools help you create great apps
• Swift is a revolutionary programming language that is safe, fast, and modern
• Playgrounds are a fun way to experiment and interact with Swift code
• Interface Builder displays pixel-perfect UI for each target device and can edit at any zoom level
• View debugging shows a 3D stack of all your app's UI view layers at runtime
• Assistant editors show content related to your primary task
• Live Issues display errors as you type, and Fix-its can correct mistakes for you
Swift is a powerful, modern, and fun programming language
• Safe by design, Swift syntax and features prevent entire categories of bugs
• Fast code execution and compile time are powered by the proven LLVM compiler
• Modern language features are inspired by leading research, including:
- Closures unified with function pointers
- Tuples and multiple return values
- Structs as value types that support methods, extensions, protocols
- Powerful protocols that can extend functionality throughout your codebase
- Functional programming patterns including map and filter
Interface Builder makes it easy to design your interface without code
• Storyboards let you arrange the complete flow of screens within your app
• See your custom controls rendered live within the design canvas
• Customize your interface for different devices, screen sizes, and orientations
• StackViews make it easy to reason about the layout of each section of your interface
• Create connections from your GUI design directly to the related source code
Professional editor and debugger keep your code front and center
• Hit a few keys and Open Quickly will instantly open any file within your project
• Message bubbles show errors, warnings, and other issues right beside your code
• Data tips show a variable's value by hovering your mouse over the code
• Quick Look variables while debugging to see the actual color, bezier path, image, and more
• Third party app extensions can add new capabilities to the source editor
Test driven development is built right in
• Use the Test Navigator to add, edit, or run unit tests or user interface tests with just a click
• Test Assistant makes it easy to edit your code and related tests, side-by-side
• Create continuous integration bots using macOS Server to automatically build and test your apps
• Monitor performance and user interface test data using macOS Server to immediately spot regressions
• Analyzer travels countless code paths looking for logical errors before they become bugs
Instruments makes performance analysis beautiful
• Compare CPU, disk, memory, and OpenGL performance as graphical tracks over time
• Identify performance bottlenecks, then dive deep into the code to uncover the cause
• Monitor your app directly, or sample the entire system, with very little overhead
To test or deploy applications on an iOS device, Apple TV, or on Apple Watch all you need is a free Apple ID. To submit your apps to the App Store you must be a member of the Apple Developer Program. Continuous integration features require a current version of macOS Server. Some features may require Internet access.
What's New in Version 9.1
Xcode 9.1 includes Swift 4 and SDKs for iOS 11, watchOS 4, tvOS 11, and macOS High Sierra 10.13
• Fixes an issue in Simulator that impacted the performance of OpenGL ES and maps
• Improves support for iPhone X
• Additional bug fixes and stability improvements
NOT “Blazingly fast"
I chuckled when I saw one of the updates to Xcode was that it now featured a “Blazing Fast” Interface - was it a joke or were they talking about setting your CPU on fire? Unfortunately, 9.x performance downright stinks. Interface Builder is borderline unusable with long waits for it to even show contents after clicking on a storyboard. And even when not in IB, the "interface builder cocoa touch tool” was sucking down 100+% CPU until I killed it in Activity Monitor. Text completion is hit or miss and feels much slower than 8.x. Alas, if you want to test on iOS 11 devices, you need to upgrade to XCode 9.x so there’s no going back to 8.x . . . I really really hope they have someone looking at the performance and can bring it closer to what it was in 8.x.
Fantastic features - horrible performance
So many things get better with each release, but also breakage. As cited in many reports, the performance of the latest release (9.1) is so slow that it's almost unusable. Every character typed causes a spinning beachball on a fast modern MBP with 16GB memory. It must have been developed by engineers running on super computers and didn't notice the performance problems. With thousands of developers relying on Xcode, it's neglagent to release in this state. Schedule pressures, no doubt. We can only hope for a new release that addresses the lag.
Hope you don’t use storyboards!
As others have said, interface builder is borderline unusable. Since the update to Xcode 9, it takes an insane amount of time to even load the storyboard, and I hope to god you don’t try to change anything. For me, the time it takes to load a storyboard jumped up to over a minute on this version where previous versions only took 10 or 12 seconds (which is still ridiculous).
Please Apple, fix interface builder.
Numerous other bugs as well, but they can be dealt with. Crashes aren’t the end of the world when I can just reopen the project.