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
Rubyでやりたい駆動開発 / Ruby driven development
chobishiba
1
740
코딩 에이전트 체크리스트: Claude Code ver.
nacyot
0
840
High-Level Programming Languages in AI Era -Human Thought and Mind-
hayat01sh1da
PRO
0
830
Hack Claude Code with Claude Code
choplin
5
2.4k
20250704_教育事業におけるアジャイルなデータ基盤構築
hanon52_
5
880
おやつのお供はお決まりですか?@WWDC25 Recap -Japan-\(region).swift
shingangan
0
140
すべてのコンテキストを、 ユーザー価値に変える
applism118
4
1.4k
テスト駆動Kaggle
isax1015
1
480
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
410
RailsGirls IZUMO スポンサーLT
16bitidol
0
190
PicoRuby on Rails
makicamel
2
140
Rails Frontend Evolution: It Was a Setup All Along
skryukov
0
230
Featured
See All Featured
Site-Speed That Sticks
csswizardry
10
690
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
The Language of Interfaces
destraynor
158
25k
Making Projects Easy
brettharned
116
6.3k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
740
The Invisible Side of Design
smashingmag
301
51k
YesSQL, Process and Tooling at Scale
rocio
173
14k
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⽇日星期⼆二