Nyd den ubegrænsede adgang til tusindvis af spændende e- og lydbøger - helt gratis
Fakta
Over 50 hands-on recipes to help you create apps and build your portfolio of projects in Swift 2
About This Book
• Conceptualize and write effective applications for iOS/OS X using Swift 2
• Make the most of Swift's diverse features, from configuring your projects to using design patterns and different types of databases
• A fast-paced, comprehensive guide equipped with lots of tips and tricks to help you learn about Swift programming quickly
Who This Book Is For
If you are an Apple developer who wants to use Swift to build your applications, this book is for you. With Swift 2 going open source, this book will also help web developers. Some understanding of Objective-C or Swift would be helpful but is not required.
What You Will Learn • Install Xcode from the App Store
• Upgrade your existing Swift 1.2 code to Swift 2.0
• Use the standard Swift 2.0 library and collections
• Work with structs, generics, and design patterns in Swift
• Use the new markup language to provide rich documentation of code
• Write a book using Playgrounds and Swift
• Debug and test your code using Xcode
• Integrate your code with Objective-C and use assembly code with Swift
• Leverage the Objective-C runtime when compiling Swift using associated objects
In Detail
Swift is Apple's innovative development language that was introduced at the WWDC (WorldWide Developers Conference) 2014 alongside Xcode 6 and iOS 8. This user-friendly language is packed with modern features to make programming easier and fun, with a lot of flexibility. With Swift 2 comes even better performance, a new error handling API, protocol extensions, and super support for availability checking.
This book will equip you with all the practical programming aspects of Swift 2. It covers the important features and paradigms that Swift provides to developers. You will begin by installing Xcode from the App Store and using Swift as an interpreter. Then, you will see how you can upgrade your existing Swift 1.2 code to Swift 2.0 with the help of Xcode. You will see how to use structs and generics, and work with different Design Patterns with Swift. Debug and test your code using Xcode and see how to use assembly code effectively with Swift.
By the end of this book, you will have the necessary skills to get the most out of Swift to develop effective mobile and web applications.
Style and approach
This book follows a problem-solution methodology using step-by-step recipes, and is filled with screenshots to help you create samples and learn something new in every recipe.
© 2016 Packt Publishing (E-bog): 9781785882463
Release date
E-bog: 30. marts 2016
Over 600.000 titler
Download og nyd titler offline
Eksklusive titler + Mofibo Originals
Børnevenligt miljø (Kids Mode)
Det er nemt at opsige når som helst
For dig som vil prøve Mofibo.
1 konto
20 timer/måned
Eksklusivt indhold hver uge
Fri lytning til podcasts
Gem ubrugt tid
Ingen binding
For dig som lytter og læser ofte.
1 konto
100 timer/måned
Eksklusivt indhold hver uge
Fri lytning til podcasts
Ingen binding
For dig som lytter og læser ubegrænset.
1 konto
Ubegrænset adgang
Eksklusivt indhold hver uge
Fri lytning til podcasts
Ingen binding
For dig som ønsker at dele historier med familien.
2-6 konti
100 timer/måned pr. konto
Fri lytning til podcasts
Kun 39 kr. pr. ekstra konto
Ingen binding
2 konti
179 kr. /månedDansk
Danmark