Informatyka
Kostiantyn Koval
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.
Swift iOS Programming for Kids. Help your kids build simple and engaging applications with Swift 3.0
Steffen D. Sommer, Jim Campagno
This book starts at the beginning by introducing programming through easy to use examples with the Swift Playgrounds app. Kids are regularly encouraged to explore and play with new concepts to support knowledge acquisition and retention – these newly learned skills can then be used to express their own unique ideas. Children will be shown how to create their first iOS application and build their very own movie night application.
Swift iOS Programming for Kids. Help your kids build simple and engaging applications with Swift 3.0
Steffen D. Sommer, Jim Campagno
This book starts at the beginning by introducing programming through easy to use examples with the Swift Playgrounds app. Kids are regularly encouraged to explore and play with new concepts to support knowledge acquisition and retention – these newly learned skills can then be used to express their own unique ideas. Children will be shown how to create their first iOS application and build their very own movie night application.
Swift od podstaw. Praktyczny przewodnik
Paweł Pasternak
Dołącz do programistów języka Swift! Zrozum konstrukcje i składnię Swifta Poznaj środowisko Xcode od podszewki Naucz się korzystać z kontrolek Pisz testy jednostkowe Firma Apple od lat z powodzeniem i świetnym wyczuciem potrzeb klientów działa na rynku elektroniki użytkowej. Pracujący w niej inżynierowie projektują produkty oryginalne, funkcjonalne i wyprzedzające swoją epokę. Ważną składową tego sukcesu jest wysokiej jakości oprogramowanie, które można tworzyć wyłącznie za pomocą wydajnych, wygodnych w użyciu i nowoczesnych narzędzi programistycznych. Przewodnik ten poświęcono językowi Swift, który jest podstawą oprogramowania współpracującego z macOS, iOS, watchOS oraz tvOS. Od chwili wprowadzenia na rynek w 2014 roku Swift doczekał się już trzeciej wersji i powoli wypiera królujący niepodzielnie od lat Objective-C. Jeśli chcesz poznać najnowszą wersję języka Swift oraz środowisko programistyczne Xcode, sięgnij po tę książkę! Opanujesz dzięki niej przejrzystą składnię Swifta, typy danych oraz sposoby deklarowania stałych i zmiennych. Dowiesz się, jak tworzyć instrukcje warunkowe i pętle, jak korzystać z operatorów, funkcji, tablic, słowników, krotek i klas. Poznasz elementy interfejsu użytkownika, nauczysz się zarządzać danymi w swoich aplikacjach i posługiwać się komentarzami. Zrozumiesz także, jak działają narzędzia oferowane przez środowisko Xcode, i zyskasz wiedzę o podstawach pisania testów jednostkowych. Czas na naukę! Podstawowe informacje o języku Swift i środowisku programistycznym Xcode Korzystanie z Playground i wyświetlanie danych na ekranie Proste typy danych oraz używanie zmiennych i stałych Korzystanie z operatorów i tworzenie funkcji Używanie instrukcji warunkowych i różnych rodzajów pętli Posługiwanie się złożonymi typami danych i możliwości obiektowe Korzystanie z kontrolek, obsługa akcji i delegacji Zapisywanie i odczytywanie danych przy użyciu CoreData Tworzenie komentarzy i pisanie testów jednostkowych Wkrocz w świat programowania na platformy Apple!
Jon Hoffman
Protocol-oriented programming is an incredibly powerful concept at the heart of Swift's design. Swift's standard library was developed using POP techniques, generics, and first-class value semantics; therefore, it is important for every Swift developer to understand these core concepts and take advantage of them. The fourth edition of this book is improved and updated to the latest version of the Swift programming language.This book will help you understand what protocol-oriented programming is all about and how it is different from other programming paradigms such as object-oriented programming. This book covers topics such as generics, Copy-On-Write, extensions, and of course protocols. It also demonstrates how to use protocol-oriented programming techniques via real-world use cases. By the end of this book, you will know how to use protocol-oriented programming techniques to build powerful and practical applications.
Giordano Scalzo, Edgar Nzokwe
SwiftUI provides an innovative and simple way to build beautiful user interfaces (UIs) for all Apple platforms, from iOS and macOS through to watchOS and tvOS, using the Swift programming language. In this recipe-based cookbook, you’ll cover the foundations of SwiftUI as well as the new SwiftUI 3 features introduced in iOS 15 and explore a range of essential techniques and concepts that will help you through the development process.The cookbook begins by explaining how to use basic SwiftUI components. Once you’ve learned the core concepts of UI development, such as Views, Controls, Lists, and ScrollViews, using practical implementations in Swift, you'll advance to adding useful features to SwiftUI using drawings, built-in shapes, animations, and transitions. You’ll understand how to integrate SwiftUI with exciting new components in the Apple development ecosystem, such as Combine for managing events and Core Data for managing app data. Finally, you’ll write iOS, macOS, and watchOS apps by sharing the same SwiftUI codebase.By the end of this SwiftUI book, you'll have discovered a range of simple, direct solutions to common problems encountered when building SwiftUI apps.
Giordano Scalzo, Edgar Nzokwe
SwiftUI is an innovative and simple way to build beautiful user interfaces (UIs) for all Apple platforms, right from iOS and macOS through to watchOS and tvOS, using the Swift programming language. In this recipe-based book, you’ll work with SwiftUI and explore a range of essential techniques and concepts that will help you through the development process. The recipes cover the foundations of SwiftUI as well as the new SwiftUI 2.0 features introduced in iOS 14. Other recipes will help you to make some of the new SwiftUI 2.0 components backward-compatible with iOS 13, such as the Map View or the Sign in with Apple View.The cookbook begins by explaining how to use basic SwiftUI components. Then, you’ll learn the core concepts of UI development such as Views, Controls, Lists, and ScrollViews using practical implementation in Swift. By learning drawings, built-in shapes, and adding animations and transitions, you’ll discover how to add useful features to the SwiftUI. When you’re ready, you’ll understand how to integrate SwiftUI with exciting new components in the Apple development ecosystem, such as Combine for managing events and Core Data for managing app data. Finally, you’ll write iOS, macOS, and watchOS apps while sharing the same SwiftUI codebase.By the end of this SwiftUI book, you'll have discovered a range of simple, direct solutions to common problems found in building SwiftUI apps.
SwiftUI Essentials - iOS Edition. Learn to Develop iOS Apps using SwiftUI, Swift 5 and Xcode 11
Neil Smyth
Beginning with the basics, this book provides an outline of the steps necessary to set up an iOS development environment and introduced you to Swift Playgrounds so that you can learn and experiment with Swift.You’ll begin with an introduction to the key concepts of SwiftUI and its architecture. You’ll learn how to create customer SwiftUI views and combine them to create user interface layouts including how to use stacks, frames, and forms. As you progress, you’ll learn how to handle data using state properties. You’ll also learn how to use graphics, animation, transitions, and gestures in your user interface. The book finishes by explaining how to package an application and upload it to the App Store for publication.By the end of the book, you’ll have all the necessary skills to develop your own applications for iOS 13 with SwiftUI, Swift 5, and Xcode 11.
Craig Clayton
Released by Apple during WWDC 2019, SwiftUI provides an innovative and exceptionally simple way to build user interfaces for all Apple platforms with the power of Swift.This practical guide involves six real-world projects built from scratch, with two projects each for iPhone, iPad, and watchOS, built using Swift programming and Xcode. Starting with the basics of SwiftUI, you’ll gradually delve into building these projects. You’ll learn the fundamental concepts of SwiftUI by working with views, layouts, and dynamic types. This SwiftUI book will also help you get hands-on with declarative programming for building apps that can run on multiple platforms. Throughout the book, you’ll work on a chart app (watchOS), NBA draft app (watchOS), financial app (iPhone), Tesla form app (iPhone), sports news app (iPad), and shoe point-of-sale system (iPad), which will enable you to understand the core elements of a SwiftUI project.By the end of the book, you’ll have built fully functional projects for multiple platforms and gained the knowledge required to become a professional SwiftUI developer.