Xcode Tips (@XcodeTips) profile picture

A venue for Xcode- and iOS dev-related tips, tricks and musings. Hosted by Kevin Munc (@muncman).

Joined January 2012
Photo by Xcode Tips (@XcodeTips)Photo by Xcode Tips (@XcodeTips)Photo by Xcode Tips (@XcodeTips)
Happy “Secret Birthday” to Swift!
Swift is 10 years old today: github.com/apple/swift/commi… Pretty amazing how far things have come in such a short time!
1
Xcode Tips retweeted
One of the last relics of Leopard-era UI design in the current Xcode (⌘J) – I wonder if anyone really uses this?
21
7
8
64
Xcode Tips retweeted
PSA: Xcode has awesome keyboard navigation: • ⇧⌘O to quickly open a file or type • ^6 and type to jump to a function in the file • ⌘J or ^` to move focus Modifiers change the destination (try with Cmd+Click, e.g.): • ⌥: assistant editor • ⇧⌥: choose where to open
4
23
1
103
Xcode tip: improving the assistant editor · Jesse Squires jessesquires.com/blog/xcode-…
1
1
Xcode Tips retweeted
Developer friends: there’s a new build warning you probably want to turn on for your ObjC code. Without “All Versions”, it only does iOS11+.
4
33
2
98
Xcode Tips retweeted
A handy pneumonic for remembering the shortcuts in Xcode: [B]uild [R]un Prof[I]le T[U]est Ana[hold shift and press B]lyze c[hold shift and press K]lean
6
38
2
112
Replying to @PaleBlueDot79
Excellent. Thanks for letting me know!
Replying to @PaleBlueDot79
Let me know if/when you get it working!
Replying to @PaleBlueDot79
Sorry I don’t have a solution readily available! :)
Replying to @PaleBlueDot79
Or possibly go manual with some custom approach along the lines of stackoverflow.com/a/39441461
Replying to @PaleBlueDot79
Not sure. Maybe some combo of UIFont’s monospacedDigitSystemFontOfSize:weight: + UIFontDescriptorTraitMonoSpace might help?
This is a ludicrous thing to do in Xcode 9. Also, I think I would recommend it as a best practice.
3
2
6
Xcode Tips retweeted
Handy terminal command: “xcrun simctl open url booted {url}” launches app links in your simulator.
2
9
While everyone is so excited about eclipse, please remember there are other fine IDEs and text editors.
69
1,517
130
3,410
Awesome tip! Print the exception message when the exception breakpoint triggers.
2
170
3
450
Annual reminder that you can Inspect Element on a video and then `$0.playbackRate = 1.4;` to make watching WWDC videos go more quickly.
12
88
7
348
Xcode Tips retweeted
Xcode: that header doesn’t exist *I thrash around for awhile* X: there it is! Me: hey, that’s where we started X: psyche M: what? X: what?
2
4
25