
Swift High Performance
Leverage Swift and enhance your code to take your applications to the next level
Kostiantyn Koval(Author)
Packt Publishing
Published on 6. November 2015
Book
Paperback/Softback
212 pages
978-1-78528-220-1 (ISBN)
Description
Leverage Swift and enhance your code to take your applications to the next level
Key Features
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
Book DescriptionSwift 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.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.
Who this book is forThis book is aimed at experienced Swift developers wanting to optimize their programs on Apple platforms to optimize application performance.
Key Features
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
Book DescriptionSwift 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.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.
Who this book is forThis book is aimed at experienced Swift developers wanting to optimize their programs on Apple platforms to optimize application performance.
More details
Language
English
Place of publication
Birmingham
United Kingdom
Target group
Professional and scholarly
US School Grade: College Graduate Student
Dimensions
Height: 235 mm
Width: 191 mm
Thickness: 12 mm
Weight
406 gr
ISBN-13
978-1-78528-220-1 (9781785282201)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions

Kostiantyn Koval
Swift High Performance
Leverage Swift and enhance your code to take your applications to the next level
E-Book
01/2025
Packt Publishing
from
€26.39
Available for download
Person
Kostiantyn Koval is a passionate developer with 5 years of experience. All the time, his main passion and work has been building iOS applications. So far, he has built many different applications, including games, enterprise apps, and big platforms. He fell in love with Swift the first minute he saw it, and keeps expressing this to the rest of the world. Other than iOS, he is also interested in technologies and languages such as Scala, Clojure, LLVM, Ruby, JavaScript, and others. He loves open source and blogging. You can find him on GitHub at https://github.com/kostiakoval and his blogs at https://medium.com/@kostiakoval. Other places to contact him are http://kostiakoval.github.io and Twitter at @KostiaKoval. His hobbies are programming, building start-ups, and making this world better with software.
Content
Table of Contents
Exploring swift power and performance
Making good apps architecture in Swift
Identify slow code with Swift toolkit
Improve code performance
Choosing correct data structure
Architecting apps for high performance
Importance of being lazy
Discovering all underlying Swift power
Exploring swift power and performance
Making good apps architecture in Swift
Identify slow code with Swift toolkit
Improve code performance
Choosing correct data structure
Architecting apps for high performance
Importance of being lazy
Discovering all underlying Swift power