![]() ![]() How should your app use the Digital Crown on watchOS? What about the Play/Pause button on tvOS? Or right-click menus on macOS?Īnswering these questions – and answering them well! – is the key to building great multi-platform experiences. But to get great apps – to build apps that are really tailored for each of Apple’s platforms – you need to add some platform-specific enhancements. Yes, the core of your app remains unchanged: your models, your networking, and much of your user interface. That might seem like the same thing being said in two different ways, but in practice it means that many parts of SwiftUI work great on iOS, but aren’t available on macOS, or are designed specifically for watchOS and so aren’t available anywhere else. You don’t need to read them in order to follow along they are there to provide extra information and detail if you want to understand the bigger picture more thoroughly.When Apple announced SwiftUI, they made an important distinction: SwiftUI is not a multi-platform framework, but is instead a framework for creating apps on multiple platforms. Tip: At the end of each chapter I’ve added a “Further reading” section that suggests links to other chapters in this book. The Swift Extension for Visual Studio Code provides a cross-platform solution for Swift development supporting macOS, Linux, and Windows.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |