SwiftUI01

2019-06-06  本文已影响0人  ngugg

.Introducing SwiftUI

SwiftUI is a modern way to declare user interfaces for any Apple platform. Create beautiful, dynamic apps faster than ever before.

Describe your layout just once.

Declare the content and layout for any state of your view. SwiftUI knows when that state changes, and updates your view’s rendering to match.

Build reusable components.

构建可重用的组件。

Combine small, single-responsibility views into larger, more complex interfaces. Share your custom views between apps designed for any Apple platform.

Simplify your animations.

简化您的动画。

Creating smooth animations is as easy as adding a single method call. SwiftUI automatically calculates and animates transitions when needed.

See it live in Xcode.

在Xcode中直播。

Design, build, and test your app’s interface without ever running your app. Test your controls as well as your layout using interactive previews.

Tutorial

教程

Creating and Combining Views

创建和组合视图

This tutorial guides you through building Landmarks — an iOS app for discovering and sharing the places you love. You’ll start by building the view that shows a landmark’s details.

上一篇 下一篇

猜你喜欢

热点阅读