Post

Replies

Boosts

Views

Activity

Xcode: how to see matching brace?
Every IDE I have ever used (besides XCode) has a dead-simple way for you to find the matching brace in a piece of code. You usually select one brace and then the other one is highlighted.XCode does this but only for like 1/100000 of a second, and it does not help when the brace is off the screen, which is the only time you really need this function.Is there a way to do it? I know there used to be that way of folding up the entire scope so that it disappeared, but I always hated that, it was confusing and alarming, and besides I don't even see it anymore.Can somebody please let me know how to do it? I am sure there is a way and I don't see it -- why don't they just do it like everyone else does?
16
3
28k
Sep ’15
using Siri Remote menu button as pause
So, games should use the Menu button to pause/unpause the game -- not the Play/Pause button?Ok -- I have my game set up to do this via the GCController.controllerPausedHandler, and it is pausing correctly when I press the Menu button during gameplay.However, when I press it a second time to unpause, the game does unpause but then it goes on to pull me out of the game entirely and back to the Apple TV home screen. Why does it do that and how do I prevent it? I took a look at the DemoBots source code -- it does not have this problem -- but I couldn't make sense of it.Thanks,Bob
7
0
2.2k
Sep ’15