Explore tweets tagged as #XcodeTips
@KalinkinAleksey
AlexKalinkin
8 years
Instead Xcode snippets I use Dash snippets, it’s two times quicker. #Xcode #XcodeTips
0
3
17
@pfandrade_
Paulo Andrade
6 years
I don’t think many devs know this, but you can move your current instruction when debugging in Xcode via drag & drop. #xcodetips
8
16
62
@dsteppenbeck
David Steppenbeck
5 years
Spice up and improve your documentation with code snippets. #Xcode #XcodeTips
2
11
67
@dsteppenbeck
David Steppenbeck
6 years
Everyone's no doubt noticed that when you move the cursor over a curly brace #Xcode will flash its opening or closing counterpart. However, you can also double click the curly braces, which will select all the code in that chunk. Can be a useful visual aid at times. #XcodeTips
13
61
305
@pfandrade_
Paulo Andrade
5 years
Use shift+right click in Xcode to quickly select any view in the hierarchy beneath the cursor. #xcodetips
1
1
4
@JuanpeCatalan
Juanpe Catalán
7 years
I was thinking about creating a Xcode Source Editor Extension to generate templates for the documentation of methods with a shortcut, but looking in Xcode's preferences I found that we already have a shortcut to do it 🎉 The shortcut is: ⌥ ⌘ / #XcodeTips #iOSdev #Xcode #Docs
7
37
140
@NgHuiQin
Ng Hui Qin
5 years
How to show indention arrows on Xcode. Editor > ✅ Invisibles #ios #xcodetips #trytoshareanusefulmessage
1
7
22
@KyawTheMonkey
Kyaw Zay Ya Lin Tun
4 years
In #Xcode14, you can now simulate the keyboard layout to better visualise your actual UI. #Xcode #XcodeTips #iosdev
3
4
39
@dsteppenbeck
David Steppenbeck
6 years
Did you know you can drag and drop your code around in #Xcode? This is great for making quick, minor adjustments to the ordering of variables, for example. You can even copy code from one file to another. #XcodeTips
6
8
71
@conanchou_
conan ⎔
2 years
wow, you can inspect the a view variable in the debug mode #SwiftUI #XCodeTips
0
0
0
@dsteppenbeck
David Steppenbeck
6 years
Here's another good one for moving code around: Use cmd+opt+{ and cmd+opt+} to move code up and down, respectively. If no code chunk is selected, it'll move whichever line you're on. Also, you can use cmd+{ and cmd+} to indent code right and left. #Xcode #XcodeTips
3
11
60
@dsteppenbeck
David Steppenbeck
6 years
Use appearance() to easily set the look of all instances of a class throughout your app... this might tidy up a lot of code in your project, and even remove subclasses! It can be restricted to instances that are contained only in other classes and trait collections. #XcodeTips
2
6
27
@KSJP9
麹町jp ₍ᐡ• •ᐡ₎ 🧩こうじまち
2 years
Xcode の使い方 変数などを command + click Rename... 一気に近くに寄ってくれます。 #XcodeTips
2
1
25
@KSJP9
麹町jp ₍ᐡ• •ᐡ₎ 🧩こうじまち
2 years
Xcode の使い方 並行処理/並列処理などの処理の実行時間、負荷、分担などを確認する ① Xcode > Open Developer Tool > Instruments ②「time」や「profile(r)」で検索 ③ Time Profiler を選択 ④ 録画ボタンを押してアプリを動かす Time Profiler の存在を覚えて、忘れたら検索 #XcodeTips
1
1
27
@dsteppenbeck
David Steppenbeck
5 years
In case you didn't know, you can quickly show and hide individual changes to source control in Xcode with ⌘+click on the blue side bar. You can also discard an individual change without discarding other changes in the file. #Xcode #XcodeTips
3
8
29
@ethanhuang13
13
5 years
如果你還不知道怎麼關掉 Xcode 12 的雙 Tab Bars 的話,在設定裡把 Navigation Style 改回 Open in Place #XcodeTips
1
5
28
@dsteppenbeck
David Steppenbeck
6 years
Did you know you can import specific submodules, classes, funcs, etc? As far as I'm aware, this is only to signal your intent and perhaps make it clear where some func comes from, for example, rather than speed up compile times. #XcodeTips #SwiftTips
6
3
26
@mokagio
Gio 💻🔧📚
8 years
Added a poster to the @_xcodetips landing page, makes the loading feel faster.
1
0
1
@dsteppenbeck
David Steppenbeck
6 years
This is one I wish I'd known years ago! You can add multi cursors by holding control+shift then clicking wherever you want (I knew we could use arrow keys with this, but never tried clicking!) Tidying up long methods like this, which I often do, is now easier. #XcodeTips
3
4
41