Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 29, 2011, 03:56 PM   #1
larswik
macrumors 65816
 
Join Date: Sep 2006
Clipboard / holding area in Xcode?

Hi, I was just wondering if there is some kind of a storage area in Xcode for my code. I am testing some code and I want to remove a chunk temporarily. I have been using a TextEdit file that I would copy paste to but wanted to keep it in my project instead of a separate file. Just a blank document that won't get complied or give me errors that exists within my Xcode project, if possible?

Can someone recommended something it there is something?
__________________
I know more than yesterday.
Lars
larswik is offline   0 Reply With Quote
Old Dec 29, 2011, 03:59 PM   #2
dejo
Demi-God (Moderator)
 
dejo's Avatar
 
Join Date: Sep 2004
Location: Colorado
Quote:
Originally Posted by larswik View Post
I am testing some code and I want to remove a chunk temporarily.
Why not just comment-out the code using /* */ ?
__________________
My iOS Apps: a.k.a., DreamStream
I support the MacRumors Blood Drive!
dejo is offline   0 Reply With Quote
Old Dec 29, 2011, 04:19 PM   #3
larswik
Thread Starter
macrumors 65816
 
Join Date: Sep 2006
That is what I was doing as well as copying it over to a text file. I'm trying to keep clean looking code and less stuff to look at on the screen which is less distracting when I jump around. Looking at the 'new file' I can create a blank RTF file. I am guessing that would be safe to use as a scratch board so to speak?

I know it is such a small thing but it is a habit that I formed as I learned to make the screen less intimidating and focus on the code that I am working with.

Thanks
__________________
I know more than yesterday.
Lars
larswik is offline   0 Reply With Quote
Old Dec 29, 2011, 04:29 PM   #4
dejo
Demi-God (Moderator)
 
dejo's Avatar
 
Join Date: Sep 2004
Location: Colorado
You know you can collapse sections of code too, yeah?
__________________
My iOS Apps: a.k.a., DreamStream
I support the MacRumors Blood Drive!
dejo is offline   0 Reply With Quote
Old Dec 29, 2011, 05:06 PM   #5
larswik
Thread Starter
macrumors 65816
 
Join Date: Sep 2006
I just learned something new Dejo, I just tried it and that will work perfectly. Now I can comment it out and hide it.

Thanks man!
__________________
I know more than yesterday.
Lars
larswik is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
adding NSNumbers in xcode ghousemd iPhone/iPad Programming 2 Aug 26, 2011 05:56 AM
changing Base SDK in xcode started giving errors hrishidev Mac Programming 4 Apr 21, 2011 01:29 AM
Xcode C++ help! Holding files in a program unknown.exe Mac Programming 3 Dec 4, 2007 10:20 PM


All times are GMT -5. The time now is 04:44 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC