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

100 days of swiftUI

🔗
 楼主| julyVAHF 2021-10-13 10:57:00 来自APP | 只看该作者
全局:
Day 39: project 8 part1
Moon shot
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-13 11:01:57 来自APP | 只看该作者
全局:
Day 40: project 8 - part2:
Use generic Bindle.main.decide to load different  json file to object
- data formatting at the struct, not in the view
- load date formatted while decode json
- separate view to smaller comparable views
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-18 12:11:13 来自APP | 只看该作者
全局:
Day 41: project 8 part3
Use struct self define init to merge astronaut data between missions.json and astronauts.json
Use plain button style at navigation view and layout priority
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-18 12:15:27 来自APP | 只看该作者
全局:
Day 42: moonshot wrap up
Use spacer(minLength:) instead of minHeoght so it automatically adjust to both width/height of the view
Reduce(initial value){ obj in
// doing things for the obj with initial value
}
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-19 13:23:12 来自APP | 只看该作者
全局:
Day 43: drawing using path/shape
Conform to insettableShape protocol with insetAmount
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-20 14:43:29 来自APP | 只看该作者
全局:
Day 44:
CGAffineTransform( flower) and even-odd fills/ImagePaint/metal - drawing group
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-23 02:48:47 来自APP | 只看该作者
全局:
Day 45: animate shape with blue blending animable data/group
Create Spirograph
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-25 03:20:24 来自APP | 只看该作者
全局:
Day 46: drawing wrap up and challenge:
Path+ use animation binding in project 6
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-26 12:45:24 来自APP | 只看该作者
全局:
Day 47:
class: copy by reference
Struct: copy by value
SwiftUI: data- class, view: struct
UIKit: data - struct, view: class

Use UserDefault to determine the apps default state- no thing above 512KB  of data

When to use generic

Skip challenge…
回复

使用道具 举报

🔗
 楼主| julyVAHF 2021-10-26 14:01:25 来自APP | 只看该作者
全局:
Day48: watch what Star Wars can teach us about swift( mainly on UIKit world)

- avoid options whenever you can
- use protocol with restrictions
-
Everyone has something to learn and something to teach

9F076073-0788-430F-BD2A-DB09D37C1C5A.jpg (119.39 KB, 下载次数: 4)

9F076073-0788-430F-BD2A-DB09D37C1C5A.jpg
回复

使用道具 举报

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

本版积分规则

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