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
Time for Xcode Behavior
Search
Tachibana Kaoru
February 22, 2018
Technology
1.4k
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Time for Xcode Behavior
Tachibana Kaoru
February 22, 2018
Transcript
22 slides
Time for Xcode Behavior! potato tips 2018/02/22 Tachibana Kaoru
About Me • @TachibanaKaoru • iOS freelance engineer • This
years theme : No Travel, No Work! • Bali όϦౡ • Greece ΪϦγϟ
Xcode Source Code Extension • WWDC 2016 Ͱհ • Apple's
Xcode official extension!
ͬͨʙʂ ެࣜϓϥάΠϯͩʂ
Ͱ;ͨΛ͚͋ͯ ΈΔͱ……
Xcode Source Code Extension • ࡞σόοάେมͩ͠……ɻ • ಈ࡞ʹ͔ͳΓ੍ݶ͕͋Δ͠……ɻ • GUIදࣔͰ͖ͳ͍͠……ɻ
ʢৄ͘͠ɺ@takasek͞Μͷ Xcode Source Editor Extensionͷ ੈքΛࢀরʣ
͜͜Ͱ Xcode Behavior!
Xcode Behaviorͱ • Xcode ͷmenu͔ΒىಈͰ͖Δಠࣗ εΫϦϓτ • ଠݹͷੲ͔Β͑·͢ɻ
XcodeͷઃఆͷBehaviorsը໘Ͱઃఆ
What can it do? Xcode Source Code Extension Xcode Behavior
XcodeͷΤσΟλʔͰࠓͻΒ ͍͍ͯΔϑΝΠϧͷதΛม ߋ͢Δ͜ͱ͔͠Ͱ͖ͳ͍ɻ Xcode͔Βಠཱͯ͠ಈ࡞͢Δ εΫϦϓτͳͷͰɺͳΜͰ Ͱ͖Δɻ
context from Xcode... Xcode Source Code Extension Xcode Behavior XcodeͰ։͍͍ͯΔϑΝΠϧ
ͷதͷΈऔಘͰ͖Δɻ ڥมͰࠓXcodeͰ։͍ͯ ͍ΔϓϩδΣΫτ͕Θ͔Δɻ
Editing, Distributing... Xcode Source Code Extension Xcode Behavior ࡞มߋෳࡶ ࣗͰॻ͍ͨεΫϦϓτΛࣗ
ݾͰ͏εΩʔϜͳͷ Ͱɺ࡞มߋָ
show GUI Xcode Source Code Extension Xcode Behavior GUIΛදࣔͰ͖ͳ͍ GUIΛදࣔͰ͖ΔɻAppKit
ͪΖΜՄɻ
Programming Language Xcode Source Code Extension Xcode Behavior XcodeͰίϯύΠϧͰ͖Δݴ ޠͷΈ
εΫϦϓτͱͯ͑͠Δݴޠ ͳΒͳΜͰՄɻSwiftͰɺ γΣϧεΫϦϓτͰɺapple scriptͰɺrubyͰɻ
Hello World with Apple Script #!/usr/bin/osascript set theDialogText to "Hello
World!" display dialog theDialogText
ͯ͞ɺ͜͜Ͱɺ࣮ϓϩδΣΫτͰ͑ ΔXcode BehaviorͷαϯϓϧΛݟͯ Έ·͠ΐ͏ɻ
Markdown in Xcode
Markdown in Apple Sample • preview mode
Markdown in my project... • not preview mode!
to change makrdown's preiew mode ϓϩδΣΫτʹಛఆͷ໊લͷplistϑΝΠϧΛ͓͘ͱɺXcode ͰϚʔΫμϯϑΝΠϧ͕ϓϨϏϡʔϞʔυͰදࣔ͞ΕΔΑ͏ ʹͳΓ·͢ɻ Xcode9ͰͷMarkdownϨϯμϦϯά -
http://www.toyship.org/ archives/2541
script to change preview mode of markdown in Xcode #!/usr/bin/swift
import Foundation let env = ProcessInfo.processInfo.environment let manager = FileManager.default let fileNakami = "...." if let pathValue = env["XcodeProjectPath"] as? String{ var fileURL = URL(fileURLWithPath: pathValue) fileURL.appendPathComponent(".xcodesamplecode.plist") try! fileNakami.write(to: fileURL, atomically: true, encoding: String.Encoding.utf8) } https://gist.github.com/TachibanaKaoru/ 4ffa5dda9b86b4f0ef1a02e064ba34e9
·ͱΊ • Xcode Behaviorศརʂ • ଠݹͷੲ͔Β͑ΔٕͰ͕͢ɺࠓͦ͜Έͳ͓͞ΕΔ͖ʂ
More Decks by Tachibana Kaoru
See All by Tachibana Kaoru
GeoLocationAnchor and MKTileOverlay
toyship
0
430
Custom Group Activities
toyship
3
1.5k
Synchronized iPhones, Again!
toyship
2
1.7k
ARKit4.pdf
toyship
1
2.4k
Custom Gesture Recognizer on iOS
toyship
3
1.5k
HEVC Video with Alpha Channel
toyship
1
1.3k
RealityKit & Reality Composer
toyship
3
710
ARKit3
toyship
4
7.7k
UIViewPropertyAnimator and Easing
toyship
2
1.2k
Other Decks in Technology
See All in Technology
An Introduction to Context Ontology Accelerator (teaching AI agents what your data means)
inariku
PRO
1
220
[JAWS Festa 2026]一番いい仕事は、請求書に現れない / jawsfesta2026
sh_fk2
2
500
Context Ontology Accelerator 入門 (業務データの意味を、AI エージェントに渡す)
inariku
PRO
3
660
自治体AIコンタクトセンター、何をどこに任せる?~Amazon Connect Customer +Amazon Bedrockの実践知~ / 20261107 Satoshi Torano
shift_evolve
PRO
1
130
小さなエージェントから始めてみよう!実践コンテキストエンジニアリング
iwamot
PRO
0
110
高品質と高スピードを支える品質のシフトレフトのアプローチ
goyoki
2
520
[dbts2026]数十PBの超巨大データ×AI活用を支えるSnowflakeの実力〜大規模環境におけるアーキテクチャと運用のリアル〜
y_matsubara
0
140
ゼロから作るWebアプリの新定番!?Amplify Gen 2 × AWS Blocksで実現する「開発速度とRDBの柔軟性のいいとこ取り」
amixedcolor
1
240
GCASアップデート(202607-202610)
techniczna
1
310
Agent Harnessはどう作る?事例から学ぶAI Agentの設計思想
sergicalsix
0
280
Kiro を使うコツ (頼み方、覚えさせ方、任せ方) | 目指せ Kiro マスター 09
inariku
PRO
3
150
Kiro IDE 入門 (画面の各部から、頼み方、任せ方、戻し方まで) | 目指せ Kiro マスター 02
inariku
PRO
4
220
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Optimising Largest Contentful Paint
csswizardry
37
4k
The Limits of Empathy - UXLibs8
cassininazir
2
780
Discover your Explorer Soul
emna__ayadi
2
1.3k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
470
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Balancing Empowerment & Direction
lara
6
1.4k
Faster Mobile Websites
deanohume
310
32k
Navigating Weather and Climate Data
rabernat
0
590
Game over? The fight for quality and originality in the time of robots
wayneb77
1
330
Un-Boring Meetings
codingconduct
0
490