Skip to content
项目

关于

完整的 SwiftUI 文档及示例

学习与教育

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

🍻 SwiftOnTap is back.

Complete SwiftUI Docs with Examples.

Get Started | How It Works | Add Docs


Get Started

To get started,

  1. Go to swiftontap.com 👉.
  2. Press / and search for a struct, enum, func, or any other SwiftUI symbol.
  3. Press return.

We've got it all on tap. 🚰🍻


If you're new to SwiftUI 🤓

We get it, docs are overwhelming at first. To start, we recommend these resources (in order!)

  1. Apple's Swift book (if you're new to the language)
  2. Apple's SwiftUI tutorials, which are quite good!
  3. SwiftOnTap (these docs) once you get moving 🚴

How It Works

Who wrote all these docs?

A bunch of us SwiftUI developers have been hard at work filling Apple's documentation hole 🕳. You can also edit these docs!


Where do the docs live?

All the docs live in one file called SwiftUI.swift. It's just a regular .swift file with lots of documentation comments 🧑‍💻. Whenever anyone edits this file on GitHub, we automatically scan for the comments. Then it goes live to swiftontap.com!


Could this work for any .swift file?

Theoretically, yes! We've just been focused writing SwiftUI docs for now. Let us know 📧 if you want to generate your own sweet documentation site.


Add Docs

To add or edit docs,

  1. Open a pull request from github.com/SwiftOnTap/Docs. (See here to learn how!)
  2. See this Apple guide for writing great documentation comments.
  3. Sit back 🧘, and watch your work go live!

探索相关项目

加载中…