Leverage Swift and enhance your code to take your applications to the next level
About This Book
Build solid, high performance applications in Swift
Increase your efficiency by getting to grips with concurrency and parallel programming
Use Swift to design performance-oriented solutions
Who This Book Is For
This book is aimed at experienced Swift developers wanting to optimize their programs on Apple platforms to optimize application performance.
What You Will Learn
Build solid, stable, and reliable applications using Swift
Use REPL and Pl to manage and configure relational databases
Explore Swift's features including its static type system, value objects, and functional programming Design reusable code for high performance in Swift
Use to Xcode LLBD and REPL to debug commands
Avoid sharing resources by using concurrency and parallel programming
Understand the lazy loading pattern, lazy sequences, and lazy evolution.
Swift is one of the most popular and powerful programming languages for building iOS and Mac OS applications, and continues to evolve with new features and capabilities. Swift is considered a replacement to Objective-C and has performance advantages over Objective-C and Python. Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible, and more fun.
Develop Swift and discover best practices that allow you to build solid applications and optimize their performance.
First, a few of performance characteristics of Swift will be explained. You will implement new tools available in Swift, including Playgrounds and REPL. These will improve your code efficiency, enable you to analyse Swift code, and enhance performance. Next, the importance of building solid applications using multithreading concurrency and multi-core device architecture is covered, before moving on to best practices and techniques that you should utilize when building high performance applications, such as concurrency and lazy-loading. Finally, you will explore the underlying structure of Swift further, and learn how to disassemble and compile Swift code.
Style and approach
This is a comprehensive guide to enhancing Swift programming techniques and methodology to enable faster application development.