How to fix Xcode 4's useless uncommenting behavior
In Xcode 4, selecting the Uncomment command only works properly if the comment slashes are at the beginning of the line.
So using ⌘/ on this line:
// sudo make me a sandwich
results in this:
sudo make me a sandwich
But when the comment is indented:
//sudo make me a sandwich
⌘/ results in this:
// //sudo make me a sandwich
If my cursor is in a line that is a comment, I want ⌘/ to uncomment it. Period. Does anyone have a workaround/fix for this?
I have a crash which only occurs on 4S (not on 3GS). I am doubting its because of @2x. Basically I get raw bytes of image and manipulate. Here's the question I have. I load a image as mentioned in the
XCode 3.2.5 Organizer hanged when I try to Use for Development a Touch (2nd Generation), for over 30 mins: If I try to quit, it shows a warning: How can I fix it? Thanks!
I made a custom component so I could display images and the like, but it refuses to use anchor properly and centers at the top. Does anyone have a fix? Also, if anyone can point me to an easier layout
Did I just break some kind of record? Ok so this is actually a serious question :) What I did was drag one of my code files onto my desktop. I then deleted the file from Xcode, thinking I had a bett
This was pretty easy in Xcode 3. But I'm totally lost in Xcode 4.* It looks like IB is not used at all. And all the TabBarController code is in code. Question: How do I add a NavigationBarController
Possible Duplicate: How to “add existing frameworks” in Xcode 4? How do I add a Framework in Xcode 4?
If I have any file open in Xcode and I would like to know the complete path to the file, how do I do that in Xcode 4? In Xcode 3 I could hover over the file name and get a tooltip with the complete pa
I just upgraded to Xcode 4 (from 3.2.4) and while there are a lot of behavior/preference changes I need to get used to, I'd like to get a couple issues handled sooner rather than later. Can I exclude
If i try to debug an iPhone 5s on Xcode 4 it will say: Xcode does not know how to run code on arm64 devices. However if I compile an adhoc ipa, it will install and run. We still need Xcode 4 for tem
How do I switch between the header and implementation file in Xcode 4? In XCode 3 it was cmd and right or left (I think)
Greetings, There are a lot of such questions on stackoverflow, but all of them about xcode version < 4, so I asking once more time: How add preprocessor define globally for Debug configuration in
In Xcode 4 I've tried to localize some files, clicking + in property it adds English, then I insert another language. The problem is that it crashes at start, saying that it can't find MainWindow.XIB.
After generating a default function skeleton using Eclipse's Quick Fix function (Ctrl+1 Windows, ⌘+1 OS X) how do I move to it? The content of the function-skeleton is rarely sufficient, and this rem
Today when I opened up Xcode project and built it for the iOS simulator. Everything was working fine yesterday but this morning there is a compilation error. The following line is highlighted red in a
of course i did research before posting my question. I looked at How to add existing frameworks in Xcode 4? Adding Framework in XCode 4 Adding an OpenGL framework in Xcode 4 XCode 4 adding dylib bu
Consider an Application developed on Xcode 4.3 in lion and have lion's apis in that application. I have another application which is running on Xcode 3.2 in snow leopard.Can I launch the Xcode 4 appli
Possible Duplicate: How can I identify and get rid of unused units in the “uses clause” in Delphi 7 ? Is there a wizard/tool to automatically detect all useless units? If in the current unit I use
Is there a way to reset all warnings/errors in a Xcode 4 project? Xcode 4 shows me errors and warnings e.g. Unused variable 'pageType' which is has been removed weeks ago or 'XXXXViewController' undec
Possible Duplicate: How to deal with iPhone 5 screen size? The new iPhone 5 has a 4 inch display. In IB, I want to make my iPhone 5 view different to my 4S. The 4S version needs a scroll view, but t
I want to check the output of the preprocessor for some files. How can i view the preprocessor's output in Xcode 4?
Possible Duplicate: Xcode 4.1 GM Not Installing (must quit iTunes) on Lion? I've downloaded XCode 4 from the App(le) store and started installation. After approx. 3/4 of the installation process, an
In Xcode 3 you used to simply use Cmd T. However, in Xcode 4 this now opens a new tab. What's the shortcut (or menu command) to open the font picker for a UITextField in Xcode 4?
I've got the Exception Breakpoint added in Xcode 4, and it's breaking on a line where some kind of exception is being thrown. But it's not logging any error information. How do I tell what exception i
How do you organize your Xcode4 projects? With reference to groups/directories in Xcode vs. on Disk With reference to SCM (I'm using Subversion for my projects) I'm looking for something similar t
I watched a video with xcode 3, that shows a button Design that displays a UML diagram, but I can't find how to do it with xcode 4.
If I have project in xcode4 for the iphone, How can I use it as framework for other project ? thanks.
Did it disappear ? In XCode 3 it did exist. How to create a subview class in XCode 4 ?
iPhone 4s not receiving iBeacon notifications in background. I have an app that acts as an iBeacon and also scans for them.Using an iPhone 5, iPad Air, and iPad mini Retina I get the notifications in
I can't figure out how to create a Subversion tag in Xcode 4. I would think it would be in the Organizer -> Repositories interface, but I can't seem to find a way. In Xcode 3, you could browse the
Currently I am working on application to make and receive call. everything is working fine , excluding one bug specifically iniPhone 4s. Steps to generate the issue : Step 1 :When User A calls to Use
I'm not even sure where to begin. Page loads fine on my 5, but not my 4S. Instead it crashes the browser to the home screen. Without sharing the specific URL, can you point me in the right direction
I don't know if it's some setting I accidentally ticked, but tell me how to fix it please: Whenever I create a new Obj-C class, it automatically looks like: #import <Foundation/Foundation.h> @in
my first iPhone app is ready for submission using the Application Uploader. I think I understand that I have to create the file by going Product : Archive in Xcode, but when I do I get this message:
I have been working extensively testing out the BLE capabilities of the iPhone 4s as well as the iPhone 5. At the moment, all I have been accomplishing is pulling in the advertisement data from multi
I have a project where a couple of files are in red, In XCode 3 I used to click the file Get Info and change the Path, but I have no idea how to do it in the new XCode 4.
How to fixed iOS analyze issues like Potential leak of an object stored into CODE ABMultiValueRef email = ABRecordCopyValue(person, kABPersonEmailProperty); txtEmail.text = ( NSString*)CFBridgingRe
Is it possible to have multiple projects in one xcode project all accessible for simultaneous development? Specific situation is to have an application and middleware library under simultaneous develo
I was wonder how I would go about creating something similar to the connections inspector view in the utilities panel in Xcode. The only thing I can see that looks similar is an Outline View or Source
This question already has an answer here: How to “add existing frameworks” in Xcode 4? 8 answers How i can add a framework to XCode 4.3.2 project ? Because a SDK directories inside a XCode.app
After researching how to disable indexing, I came across this snippet: defaults write com.apple.dt.XCode IDEIndexDisable 1 I have no clue how to implement this. Can someone show a front-end guy how I
I was trying to look for an example of using an Aggregate Target in Xcode4, including its purpose and why a developer should use it. Do you have any reference link, especially from Apple Developer web
in Xcode, why is my debug editor area showing me this? how can i fix this show it shows me something more relevant/ easier to look at?
I am writing the below code into xcode and it keeps coming up size undeclared: first use in this function how do I fix this so I can run the code? // on init you need to initialize your instance -(i
In Xcode 3, when you click on a build setting, a small description appears at the bottom window briefly describing what the setting does. How do I view the equivalent in Xcode 4 without having to goog
I don't quite understand the utility of Xcode 4's workspaces. What are they used for, and how do they aid with development in Xcode?
I am hoping someone has had these errors and knows how to fix it. This is the console output in Xcode 5 b4 that suddenly appeared: Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0
I have two devices: iPhone 4S and iPod Touch 4. They have the same iOS 5.0.1. I find an interesting behavior: my iPod Touch usually gets the notification from Mail or other apps first. Then about 10 s
Just beginning to learn C. if I compile the following code in Dev-C++ the program runs fine. If I compile in Xcode 3.2.6 it looks like in the screenshot. I tried different compiler settings in Xcode b
I am a SCM newbie, but I just need some basic things for version control. I am using Git in XCode 4. the questions are : How can I automatically give my project a versioning number (such as 1.1.2) whe
I want to make my MVC4 web application log in using Google or Facebook. I've read that uncommenting the line OAuthWebSecurity.RegisterGoogleClient() of the AuthConfig.cs is enough to set it up but it