Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
關於我在 visionOS 上 寫影片貼圖 app 這檔事
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
MarkFly
November 12, 2024
0
130
關於我在 visionOS 上 寫影片貼圖 app 這檔事
於 iPlayground2024 分享
MarkFly
November 12, 2024
Tweet
Share
More Decks by MarkFly
See All by MarkFly
關於 Mobile Developer 用 Flutter 去寫 Web 這檔事
mark33699
0
10
iOS、Android、Flutter超級比一比
mark33699
1
970
如何使用Swift遙控你的樂高
mark33699
0
62
直播簡單講
mark33699
1
86
多執行緒編程
mark33699
0
50
演算法到底是在演哪一齣
mark33699
0
67
對戰三平棋
mark33699
0
150
Featured
See All Featured
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
760
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
920
4 Signs Your Business is Dying
shpigford
187
22k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
110
Designing for Performance
lara
610
70k
Are puppies a ranking factor?
jonoalderson
1
2.7k
WENDY [Excerpt]
tessaabrams
9
36k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
310
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
90
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
120
Transcript
關於我在 visionOS 上 寫影片貼圖 app 這檔事 三⼼⼆意⼯程師 MarkFly
Mark(阿⾶) - 多年 ERP 經驗 (鼎新TIPTOP) - 三屆 IT 鐵⼈賽完賽
(應該不會有第四屆) - 略懂 Android (代表作Apple Music Player, 對你沒看錯) - 前 iOS ⼯程師 (已叛逃⾄Flutter)
[email protected]
(⾺克之蘋果開發者) https://twitter.com/MarkFlyyyyy (5個y) 歡迎各種形式之合作與交流 (包括但不限於招募, 外包, 談⼼事)
A. visionOS 科普時間 B. 影片編輯 app 經驗談 B.1 貼圖功能實作 B.2
時間軸功能實作
visionOS 科普時間
本來是這麼打算啦...
None
None
影片編輯 app 經驗談
Demo Time
「貼圖」功能實作
https://www.flaticon.com/stickers-pack/ letters-alphabet
1. 選貼圖時出現在影片上
https://github.com/Ilesh/Sticker-Image
1. StickerCanvasView: UIViewRepresentable 2. StickerView: UIView 3. Sticker
None
None
2. 貼圖可改變位置/⼤⼩
None
None
None
3. 點關閉按鈕的時候要把貼圖刪除
None
4. 移動到影片外不顯⽰ ✨
None
5. 怎麼根據預覽時的位置及⼤⼩貼到影片上
https://github.com/jaiobs/OptiVideoEditor-for-iOS
None
None
None
「時間軸」功能實作
iOS18 iOS17
6. ⾸先我們要先有⼀條基準線
None
7. 把影片變成很多張縮圖
None
None
8. 縮圖們⼀開始就要對準基準線 ✨
None
9. 滑動時間軸時影片要跳到特定時間
None
None
10. 影片播放中時間軸也要跟著動 ✨
None
None
11. 新增貼圖後,增加對應的時間軸
None
None
12. 顯⽰時間軸的選中效果 ✨
None
13. 根據拖動邊界改變時間軸長度 ✨
None
None
None
None
14. 根據時間軸長度顯⽰或隱藏貼圖
None
99. 最後分享:window 跟 hover
感謝聆聽