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
Kiss your wallet goodbye
Search
Mikimoto Chuang
October 30, 2012
Programming
4
330
Kiss your wallet goodbye
談 iOS6 PassBook 實作細節
Mikimoto Chuang
October 30, 2012
Tweet
Share
More Decks by Mikimoto Chuang
See All by Mikimoto Chuang
App 如何跨越虛擬與真實世界的鴻溝
mikimoto
1
230
開放資料與市場經濟
mikimoto
1
87
2013,還在搞輸入法?
mikimoto
0
140
MOPCON 2012 回顧與展望
mikimoto
0
400
那些年,我們一起用過的 Xcode
mikimoto
4
420
CocoaHeads Kaohsiung Meetup Introduction
mikimoto
1
180
DIY Open Source 無人自走砲 - OSDC.tw 2012
mikimoto
1
580
Other Decks in Programming
See All in Programming
[初登壇@jAZUG]アプリ開発者が気になるGoogleCloud/Azure+wasm/wasi
asaringo
0
130
エンジニア向け採用ピッチ資料
inusan
0
160
AWS CDKの推しポイント 〜CloudFormationと比較してみた〜
akihisaikeda
3
310
VS Code Update for GitHub Copilot
74th
1
320
Go1.25からのGOMAXPROCS
kuro_kurorrr
1
800
Benchmark
sysong
0
260
既存デザインを変更せずにタップ領域を広げる方法
tahia910
1
240
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
390
Google Agent Development Kit でLINE Botを作ってみた
ymd65536
2
160
生成AIコーディングとの向き合い方、AIと共創するという考え方 / How to deal with generative AI coding and the concept of co-creating with AI
seike460
PRO
1
330
Blazing Fast UI Development with Compose Hot Reload (droidcon New York 2025)
zsmb
1
190
iOSアプリ開発で 関数型プログラミングを実現する The Composable Architectureの紹介
yimajo
2
210
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
430
65k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
5
210
How STYLIGHT went responsive
nonsquared
100
5.6k
Producing Creativity
orderedlist
PRO
346
40k
A designer walks into a library…
pauljervisheath
206
24k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
We Have a Design System, Now What?
morganepeng
53
7.7k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
930
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
A Tale of Four Properties
chriscoyier
160
23k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Transcript
Kiss your wallet goodbye Mikimoto 12年10月30⽇日星期⼆二
How many tickets and cards in your wallet? 12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
⼿手機與卡⽚片的結合? 12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
Think Different 12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
All Resource on developer.apple.com 12年10月30⽇日星期⼆二
background.png footer.png icon.png logo.png pass.json strip.png thumbnail.png 12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
NSImage 負責載⼊入圖⽚片 12年10月30⽇日星期⼆二
@2x.png 來對應解析度問題 12年10月30⽇日星期⼆二
NSBundle 載⼊入 Resource 12年10月30⽇日星期⼆二
en.proj... 來對應多國語系問題 12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
pass.json 12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
Layout of a boarding pass 12年10月30⽇日星期⼆二
Layout of a coupon 12年10月30⽇日星期⼆二
Layout of an event ticket 12年10月30⽇日星期⼆二
Layout of a store card 12年10月30⽇日星期⼆二
Layout of a generic pass 12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
Updating a Pass 12年10月30⽇日星期⼆二
12年10月30⽇日星期⼆二
Pass Kit Framework 12年10月30⽇日星期⼆二
PKPassLibrary 存取 iOS Pass Library 12年10月30⽇日星期⼆二
[PKPassLibrary isPassLibraryAvailable] NSArray myPasses = [PKPassLibrary passes]; PKPass myPass =
[PKPassLibrary passWithPassTypeIdentifier:[identifierserial] Number:[serialNumber]]; [PKPassLibrary replacePassWithPass:[new pass]] [PKPassLibrary removePass:[pass]] 12年10月30⽇日星期⼆二
PKPass Pass 的抽象化物件 12年10月30⽇日星期⼆二
PKAddPassesViewController 提供新增 Pass 的預設 View Controller 12年10月30⽇日星期⼆二
[[UIApplication sharedApplication] openURL: [pass passURL]] to open your Pass. 12年10月30⽇日星期⼆二
addObserverForName:object:queue:usingBlock: to handle your pass change notification. UserInfo of the
notification describes what changes. 12年10月30⽇日星期⼆二
Demo 12年10月30⽇日星期⼆二
• CocoaHeads Kaohsiung BookPass Project • Demo • http://kaohsiung.cocoaheads.tw/ PassBook/
• Open source • https://github.com/CocoaHeads- Kaohsiung/BookPass 12年10月30⽇日星期⼆二
歡迎⼤大家⼀一起來玩 12年10月30⽇日星期⼆二