iOS 18 入门应用开发必备:使用 SwiftUI、Swift 和 Xcode 16 开发 iOS 应用程序
This book aims to teach the skills necessary to build iOS 18 applications using SwiftUI, Xcode 16, and the Swift programming language.
Beginning with the basics, this book outlines the steps to set up an iOS development environment, together with an introduction to using Swift Playgrounds to learn and experiment with Swift.
The book also includes in-depth chapters introducing the Swift programming language, including data types, control flow, functions, object-oriented programming, property wrappers, structured concurrency, and error handling.
A guided tour of Xcode in SwiftUI development mode follows an introduction to the key concepts of SwiftUI and project architecture. The book also covers creating custom SwiftUI views and explains how these views are combined to create user interface layouts, including stacks, frames, and forms.
Other topics covered include data handling using state properties and observable, state, and environment objects, as are key user interface design concepts such as modifiers, lists, tabbed views, context menus, user interface navigation, and outline groups.
The book also includes chapters covering graphics and chart drawing, user interface animation, view transitions and gesture handling, WidgetKit, Live Activities, document-based apps, Core Data, SwiftData, and CloudKit.
Chapters also explain how to integrate SwiftUI views into existing UIKit-based projects and integrate UIKit code into SwiftUI.
Finally, the book explains how to package up a completed app and upload it to the App Store for publication.
Along the way, the topics covered in the book are put into practice through detailed tutorials, the source code for which is also available for download, and over 50 online knowledge test quizzes.
The aim of this book, therefore, is to teach you the skills to build your own apps for iOS 18 using SwiftUI. Assuming you are ready to download the iOS 18 SDK and Xcode 16 and have an Apple Mac system, you are ready to get started.
这本书旨在教授使用SwiftUI、Xcode 16和Swift编程语言来构建iOS 18应用程序所需的技能。 从基础开始,本书概述了设置iOS开发环境的步骤,以及使用Swift Playgrounds学习和实验Swift的方法。 此外,该书还包含深入介绍Swift编程语言的章节,包括数据类型、控制流、函数、面向对象编程、属性包装器、结构化并发和错误处理等内容。 在引入SwiftUI的关键概念和项目架构之后,本书会进行一次iOS开发模式下的Xcode导览。书中也会涵盖自定义SwiftUI视图的内容,并解释这些视图是如何结合以创建用户界面布局的,包括堆叠、框架和表单等。 其他涉及的主题还包括使用状态属性和可观察对象管理数据、以及列表、标签视图、上下文菜单、用户界面导航和大纲组等关键用户界面设计概念。 书中也涵盖图形绘制、用户界面动画、视图过渡及手势处理等内容,同时还包括WidgetKit、Live Activities、基于文档的应用程序、Core Data、SwiftData和CloudKit等章节。 此外,还解释了如何将SwiftUI视图集成到现有的UIKit项目中,并将UIKit代码集成到SwiftUI中。 最后,书中解释了如何打包完成的应用并上传至App Store进行发布。 在本书的过程中,通过详细教程实践所涵盖的主题,这些教程的源代码也可以下载,还有超过50道在线知识测试题。 因此,本书的目标是教会您使用SwiftUI来构建iOS 18应用程序所需的技能。假定您已经准备好下载iOS 18 SDK和Xcode 16,并且有一个苹果Mac系统的话,那么您可以开始了。
本站不对文件进行储存,仅提供文件链接,请自行下载,本站不对文件内容负责,请自行判断文件是否安全,如发现文件有侵权行为,请联系管理员删除。
Wireless Communications for Power Substations: RF Characterization and Modeling
Projective Geometry: Solved Problems and Theory Review (True PDF,EPUB)
Kingship and Government in Pre-Conquest England c.500–1066
Numerical Algorithms with C
Mathematical Modelling Skills
The Art of Encouragement: How to Lead Teams, Spread Love, and Serve from the Heart (True PDF)
Principles of Cybersecurity
React in Depth (True/Retail EPUB)
The Complete Obsolete Guide to Generative AI (True/Retail EPUB)
IT-Forensik: Ein Grundkurs