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
OS X Lion Versions
Search
USAMI Kosuke
January 21, 2012
Programming
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
OS X Lion Versions
第42回 Cocoa勉強会関西での発表資料です。
http://www.slideshare.net/kosukeusami/os-x-lionversions
USAMI Kosuke
January 21, 2012
Transcript
20 slides
049-JPOͷ7FSTJPOT ରԠ Ӊࠤݟެี !VTBNJLVTBNJL
ࣗݾհ wӉࠤݟެีʢ͏͞Έ͜͏͚͢ʣ wຊۀΈࠐΈιϑτΤϯδχΞʢσ όΠευϥΠόɺϒʔτϩʔμͳͲʣ w$PU&EJUPS։ൃɾϝϯςφϯε w.BD1PSUT1PSU.BJOUBJOFS
$PU&EJUPSհ w.BD༻ςΩετΤσΟλ w࡞ऀOBLBNVYV͞Μ wҰࡢɺ։ൃΛҾ͖ܧ͗·ͨ͠
7FSTJPOTͱ wυΩϡϝϯτͷόʔδϣϯཧ wυΩϡϝϯτอଘ࣌ʹࣗಈతʹόʔδϣ ϯཧ͞ΕΔʢϢʔβίϛοτͳͲ ͷૢ࡞Λҙࣝ͠ͳ͍ʣ w"VUP4BWFػೳͱηοτͰΘΕΔ
7FSTJPOT#SPXTFS
%PDVNFOUCBTFE "QQMJDBUJPO w7FSTJPOTʹରԠ͢Δʹɺ%PDVNFOU CBTFE"QQMJDBUJPOͰ͋Δ͜ͱ͕݅
w$PDPBͰυΩϡϝϯτૢ࡞Λ͢ΔΞϓ Ϧέʔγϣϯͷجຊύλʔϯ wυΩϡϝϯτΛ։͘ɺอଘ͢ΔɺͳͲ ͷૢ࡞͕͋Β͔͡Ί࣮͞Ε͍ͯΔ %PDVNFOUCBTFE "QQMJDBUJPOͱ
ओཁΫϥε wNSDocumentController wυΩϡϝϯτཧɺ͚̍ͭͩଘࡏ wNSDocument wυΩϡϝϯτͷσʔλ wNSWindowController wυΩϡϝϯτΛΟϯυʹදࣔ
/4%PDVNFOUΫϥε w"VUP4BWF7FSTJPOTͷରԠ΄ͱΜ ͲNSDocumentΫϥεʢͷαϒΫϥ εʣͰߦ͏ wυΩϡϝϯτΛಡΈग़ͨ͠Γอଘ͠ ͨΓ͢ΔͷNSDocumentΫϥε
7FSTJPOTରԠํ๏ wNSDocumentͷαϒΫϥεͰɾɾɾ w͜ΕͰɺ"VUP4BWFͱ7FSTJPOTʹରԠ ͍ͯ͠Δ͜ͱΛએݴ͢Δ + (BOOL)autosavesInPlace { return YES; }
7FSTJPOTରԠํ๏ w"VUP4BWFػೳͱ7FSTJPOTػೳ͕྆ํ ༗ޮʹͳΔ w"VUP4BWFͷΈ༗ޮʹ͢Δ͜ͱՄೳ ʢpreservesVersionsͰNOΛฦ͢ʣ w7FSTJPOTͷΈ༗ޮʹ͢Δ͜ͱෆՄ
7FSTJPOTରԠํ๏ w࣮͜Ε͚ͩͰɺ΄ͱΜͲ͏·ͬ͘ ͯ͘ΕΔ w"VUP4BWFΛউखʹͬͯ͘ΕΔ w7FSTJPO#SPXTFSදࣔ͞ΕΔ
͏·͍͔͘ͳ͍߹ w7FSTJPOT༻ʹԿΒ͔ͷผॲཧ͕ඞཁͳ ߹͋Δ wྫ͑ɺϑΝΠϧύεΛ͏ॲཧ͕͋ Δͱμϝ
͏·͍͔͘ͳ͍߹ w7FSTJPO#SPXTFSͷӈଆΛදࣔ͢Δࡍ ʹɺ௨ৗͷΦʔϓϯॲཧ͕ݺΕΔ wͨͩ͠ɺͦ͜Ͱ͞ΕΔϑΝΠϧύε ࣮ࡍͷϑΝΠϧΛࢦ͢ύεͰͳ͍ ʢϑΝΠϧͱͯ͠ଘࡏ͠ͳ͍ʣ
ྫ$PU&EJUPSͷ߹ w$PU&EJUPSΦʔϓϯ࣌ʹ֎෦ίϚϯυ ʢBVUIPQFOʣΛ͏ w֎෦ίϚϯυʹ͢ϑΝΠϧύε͕औ ಘͰ͖ͳ͍ͨΊΦʔϓϯΤϥʔͱͳΔ
ྫ$PU&EJUPSͷ߹
ରԠํ๏ wNSDocumentͷisInViewingModeϝ ιουͰผͯ͠ॲཧΛ͚Δ w7FSTJPO#SPXTFSͷ߹YES͕ฦͬ ͯ͘Δ
ͦͷଞ w7FSTJPO#SPXTFSʹΓସΘΔࡍʹ௨ Λड͚औΔʢNSWindowͷ௨ʣ •NSWindowWillEnterVersionBrow serNotification •NSWindowDidExitVersionBrowse rNotification
ͦͷଞ wNSFileVersionΫϥε wݹ͍όʔδϣϯΛNSDocumentΛܦ ༝ͤͣʹऔΓग़ͤΔ wJ04ʹ͜ͷΫϥε͕͋Δʁ
·ͱΊ w"VUP4BWFػೳɺ7FSTJPOTػೳɺ %PDVNFOUCBTFE"QQMJDBUJPOͳΒͱ ͯ؆୯ʹରԠͰ͖Δ wͨͩ͠ɺಡΈग़࣌͠อଘ࣌ʹಛघͳ ͜ͱΛ͍ͯ͠Δ߹ҙ
More Decks by USAMI Kosuke
See All by USAMI Kosuke
Onsager代数とその周辺 / Onsager algebra tsudoi
usamik26
0
740
Apple HIG 正式名称クイズ結果発表 / HIG Quiz Result
usamik26
0
300
ゆめみ大技林製作委員会の立ち上げの話 / daigirin project
usamik26
0
430
@ViewLoadingプロパティラッパの紹介と自前で実装する方法 / @ViewLoading property wrapper implementation
usamik26
0
580
これからUICollectionViewを実践活用する人のためのガイド / Guide to UICollectionView
usamik26
1
850
Xcodeとの最近の付き合い方のはなし / Approach To Xcode
usamik26
2
760
UICollectionView Compositional Layout
usamik26
0
920
Coding Swift with Visual Studio Code and Docker
usamik26
0
630
Swift Extension for Visual Studio Code
usamik26
2
1.2k
Other Decks in Programming
See All in Programming
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
290
AI Augmentation Techniques with Liberty
ivargrimstad
1
470
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
300
小さなアプリを作って公開するまで
onozaty
0
170
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.7k
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
2.1k
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
230
SODA - FACT BOOK(EN)
sodainc
1
230
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
420
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
130
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
260
Featured
See All Featured
How GitHub (no longer) Works
holman
316
150k
Done Done
chrislema
187
17k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
Docker and Python
trallard
47
4.3k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
470
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Tell your own story through comics
letsgokoyo
1
1.1k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
760