Book Image

Xcode 6 Essentials

By : Jayant Varma
Book Image

Xcode 6 Essentials

By: Jayant Varma

Overview of this book

<p>Apple made their iOS devices easy to use and now they have extended that to their development tools such as Xcode. In Xcode, you can create native applications in the easiest way. Apple's new Xcode technology is making the development curve smoother with its easy-to-develop features and enhancements.</p> <p>Xcode can now write code with the performance-upgraded, brand new, innovative language called Swift, so you no longer need to rely on third-party frameworks to create applications.</p> <p>The book gives you a tour of the new features of Xcode 6. It introduces some important aspects such as the Swift language and its Playgrounds with visual live coding, creating interfaces, storyboards, controllers, frameworks, and live previews. Diving more into the subject, this books shows you how to debug your code, and how to build and test the application on a device or the simulator.</p>
Table of Contents (15 chapters)

Introduction


Programming has always been considered difficult. It is not only because of the complexities of logic or the syntax of the language; it has been so also because of the tools available to work with. The second issue is that to test a single line, you have to write the code in an editor, then compile it, and run it to finally see the results; tedious for a single line of code. If you have to test a function, and there is a line that has a bug, it is not easy to debug that unless you have an integrated debugger that allows you to go line by line and add watches, and print out the values of the variables. The mere mention of the "issue" makes it sound complicated. Apple has released a new feature as part of Xcode 6 called Playgrounds. This is largely based on the principles of live coding where one can change the code without having to recompile it. Think of it as a scratchpad that executes your code with each keystroke you type into the editor, without having to even run it. It...