楼主: julyVAHF
跳转到指定楼层
上一主题 下一主题
收起左侧

100 days of swiftUI

🔗
 楼主| julyVAHF 2021-9-29 03:43:18 来自APP | 只看该作者
全局:
Day 30: park 5, part 2
Use list to add possible user input words, and use uiTextChecker to validate user input is a valid word.
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-9-30 13:29:34 来自APP | 只看该作者
全局:
Day 31: word scramble wrap up
Guard let
Bundle
List: two views in a list create an implicit Hstack/label? / id for each view
On appear() view life cycle
NSNotFound
Fatal error

回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-1 14:25:26 来自APP | 只看该作者
全局:
Day 32: animation
Animation modifier(implicit animation)
Animation binding:eg: stepper increase/decrease value also changes animation
explicit animation: e.g. rotation3Deffect/with animation closure
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-2 13:51:47 来自APP | 只看该作者
全局:
Day 33, project 6 part 2
Animation stack/ view transitions/ custome transition view modifier
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-3 15:21:41 来自APP | 只看该作者
全局:
Day 34: animation review and challenge (not able to finish challenge 2: make non selected bottom opaque 25%)
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-4 14:57:51 来自APP | 只看该作者
全局:
Day 35: summarize project 4-6
Key points:
  flat app bundles: loose app files will be put to resource folder during app build time this-> file name needs to be unique across project
Swift does not support String[idx] = character and you should know exactly why
Foreach use Range<Int> but 0…5 is Closed Range type thus not able to pass in Foreach.
Foreach init()
Public init(_ data: Range<Int>, @ViewBuilder content: @escaping (Int)-> Content)
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-7 11:12:42 来自APP | 只看该作者
全局:
Day 35 challenge: create a game to select number of questions and reset game
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-9 15:04:03 来自APP | 只看该作者
全局:
Day 36: project 7 part 1
3 steps for @observedObject to use class across views/ environment bonding/ user default/ codable
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-10 10:42:49 来自APP | 只看该作者
全局:
Day 37: project 7 part 2

ObservableObject protocol and use of @published/@ObservedObject(similar to @State)
Codable protocol: use UserDefault to save encoded data and when app launch, load data/decode to object
@Environemnt(\.presentationMode) to dismiss sheet automatically
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-12 13:56:07 来自APP | 只看该作者
全局:
Day 38 moonshot
Resize image, with geometry reader
Scroll view not lazy; list is lazy
Navigation link/ codable

补充内容 (2021-10-13 10:59 +08:00):
iExpense wrap up:
Challenge: edit/done navigation bar item
Validate amount is number
Add style for amount range
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表