Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Kiss your wallet goodbye
Search
Mikimoto Chuang
October 30, 2012
Programming
390
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Kiss your wallet goodbye
談 iOS6 PassBook 實作細節
Mikimoto Chuang
October 30, 2012
Transcript
48 slides
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⽇日星期⼆二
More Decks by Mikimoto Chuang
See All by Mikimoto Chuang
App 如何跨越虛擬與真實世界的鴻溝
mikimoto
1
270
開放資料與市場經濟
mikimoto
1
140
2013,還在搞輸入法?
mikimoto
0
180
MOPCON 2012 回顧與展望
mikimoto
0
460
那些年,我們一起用過的 Xcode
mikimoto
4
460
CocoaHeads Kaohsiung Meetup Introduction
mikimoto
1
200
DIY Open Source 無人自走砲 - OSDC.tw 2012
mikimoto
1
640
Other Decks in Programming
See All in Programming
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
220
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
300
AppFunctionsの内部実装を紐解く
hiroaki404
0
100
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
220
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
330
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
270
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
160
우리의 Nitro Modules는 당신의 Turbo Modules보다 아름답다
l2hyunwoo
0
270
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
390
祈るテストから、探索するテストへ 〜Lincheckではじめる並行処理テスト〜
yyh_gl
0
380
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
340
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
150
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
529
40k
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Faster Mobile Websites
deanohume
310
32k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k
How to Ace a Technical Interview
jacobian
280
24k
Writing Fast Ruby
sferik
630
63k
Automating Front-end Workflow
addyosmani
1370
210k
The Limits of Empathy - UXLibs8
cassininazir
2
800
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Chasing Engaging Ingredients in Design
codingconduct
0
400
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k