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
開発効率を考えてみました。xsort
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
keisukeYamagishi
February 01, 2022
340
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
開発効率を考えてみました。xsort
keisukeYamagishi
February 01, 2022
More Decks by keisukeYamagishi
See All by keisukeYamagishi
RxAlert 結構便利だと思います。
keisukeyamagishi
0
220
Chart実装が楽になりました。
keisukeyamagishi
0
1.2k
NabigationControllerとの付き合い方
keisukeyamagishi
0
350
MVVMについて.pdf
keisukeyamagishi
0
510
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
From π to Pie charts
rasagy
1
410
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
350
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
330
The Art of Programming - Codeland 2020
erikaheidi
57
14k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
Abbi's Birthday
coloredviolet
4
10k
How GitHub (no longer) Works
holman
316
150k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
580
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
280
Transcript
開発効率を考えた、gemです
初めまして、山岸と申します。 Github: https://github.com/keisukeYamagishi Twitter: https://twitter.com/jelly_0_o Qiita: https://qiita.com/keisukeYamagishi/items/a055c4b33e2c42d667e7
Xcodeのファイルツリーのファイルの並び順が汚いとファイル が探しづらい
ファイルの名前順で並んでいない、拡張子の名前で並んでい ない、名前順で上から並んでいると分かりやすいと思いまし た。
Xcodeのファイルツリーはxcodeprojの中に同梱されている、 project.pbxprojで管理されています。 このファイルは、ビルドするファイルや、アプリで使う画像、依存する ライブラリー、ビルドの方法等々を管理します。 Xcodeのファイルツリーの順番もここで管理しております。
project.pbxprojはこんなファイルです。
D&Dで並び替えると間違えたり、してしまうので、どうし たものか、、、
None
Rubyで作ってみました🎉
project.pbxprojの文字列を抽出し、ファイル名と、拡張子の名 前で並び替えるロジックを作成しました。
iOSの開発者はほとんどがMacなので、Macのデフォルトでイ ンストールされている、Rubyのバージョンで動くGemになって ます。 インストール方法は
None
デフォルトの場合 コマンド:sudo gem install xsort gemがhome直下にある場合 コマンド: gem install xsort
実行するとファイル名と拡張子でソートできます。
私はファイルツリーの並び順がおかしくなりすぎた時に 使います。 ただ、数字を多様している場合は、数字でのソート機能 は一桁までしか対応できていません、 その旨ご留意下さい。
Contributor様大歓迎です🎉