Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

luckylefty01

macrumors member
Original poster
Apr 8, 2008
32
0
If I'm using Xcode to automatically insert a closing brace, is there a way to temporarily not insert a brace? As in the case where I want to encase an entire block of already written code inside a loop or if() statement and thus need the closing brace way down at the bottom, not right at the start.

Thanks.

-L
 
You can just delete it. However, for what you described, all you really need to do is put the cursor between the brackets, that way your end bracket will always be below what you want to type and you won't forget to close it later.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.