In Xcode, to complete a suggestion you need to press the TAB key. In Visual Studio, you can just type some punctuation and it will finish the suggestion.
e.g. in VS, typing f.m(); could expand to foo.method();, whereas in Xcode you'd have to type fTAB.mTAB();.
Is there any way to emulate VS's behaviour in Xcode?
...
Hi all,
I have an app that has some non-US Localizable.strings files. They appear in the project as I expect them to: there's a Localizable.strings object, and sub objects for "en", "fr", etc. Each of those is a UTF16 text file, and I've verified that they get propagated into the build package as correct binary plist files.
When runnin...
Ive seen tutorials after tutorials but i still dont get how to connect a database to my xcode.. i already put it in my reference, put the sqlite framework but still it doesnt work.. i even tried copying the whole code the tutorial offers but still my iphone simulator turns up blank.. can you please help me understand why?
...
My project is like a classifieds kind of stuff..
I have a search text box in the first page.
When the user enters some text in that, i need to compare that text to the XML file from where all the data are being recieved, and should list out all the advertisements in the Table View (next page)..
I had did this kind of search in sql dat...
I have a Titanium module and i want to use it for voice over ip using pjsip. I have changed the project settings the following way:
added to the other linker flags the libraries from pjsip
added to the header search paths the headers from pjsip
added to the library search paths the libraries from pjsip
If i do these things for a norm...
I have a class like this
@interface MyParentClass : NSObject {
NSString *objectName_;
}
@property(nonatomic, copy) NSString *objectName;
@end
and in implementation, I have this:
@implementation MyParentClass
@synthesize objectName = objectName_;
@end
then I have a child class that inherits from MyParentClass like this
@interfa...
HEy all,
I have a question to share..Tried to find the solution in various posts but failed. So if you know the solution in any other post Kindly paste the link over here.
The question is
"Can we change the click event of the (-) minus sign that appears when the table is in editmode".
Can we change the image of the minus sign that a...
I have a preference that, when set, forces my application to perform some synchronization on startup.
Can I use IB to display a different initial view based on this setting?
Is there a standard way to enable this behavior?
...
Changing Mode: Scale to fit has no effect on the MapView?
...
how do you divide two integers and get a decimal answer? in xcode..
the only thing i could was find http://www.gnu.org/s/libc/manual/html_node/Integer-Division.html
this method will not allow me to have a decimal answer...
...
I recently deployed my first iPhone app, a simple game, to my testing iPhone for the first time. Everything looks and runs fine on the simulator in Xcode, but on the iPhone the whole image is shifted up about 10 pixels or so. So the gameplay goes slightly offscreen on top and has a slim white/grey bar at the bottom. Has anyone encounter...
When building my Xcode project I am receiving a Linker error that I cannot figure out how to resolve. If I build the following code the compile step completes just fine but I get an error from the Linker saying '"_OBJC_CLASS_$_CIImage", referenced from Objc-class-ref-to-CIImage in AppController.o' followed by a second error that looks i...
I had a bookmark which described the process on how to do this - finding the name of a mounted CD in OS X - but I deleted the bookmark when I reformatted my Mac. :P
Reading up on the subject, this is what I think might work. Basically, I need to verify if a particular CD is mounted before continuing in the application
Access NSWorksp...
Hi all,
I have an xcode Objective-C iPhone static library project. When I build it in xcode I get no errors or warnings. But when I build it using xcodebuild from the command line I get:
"/Developer/usr/bin/gcc" -v -dM -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk -E -arch armv6 -o - -x objective-c /d...
I do most development testing on my iPad. When I test an iPhone app, it runs in 'compatibility' mode where the little iPhone app runs in a small window or x2 magnification. Now that I've created a universal app it runs as a native iPad app. For testing I'd like to use the simulated iPhone when I don't have an iPhone handy for testing.
...
hi,
i am working on iphone project, i like to create an svn folder and link that one to my server
I tried to run the below command
fsp3s-MacBook-Pro:~ fsp3$ svnadmin create /ram/Code/SVN
i got the below error
svnadmin: Repository creation failed
svnadmin: Could not create top-level directory
svnadmin: Can't create directory '/ram/Co...
In the Stanford course the lecturer uses some shortcut to create both braces when implementing a new method. I know in Visual Studio you use TAB TAB, what do you use in Xcode?
...
Trying to wrap my head around the apple design scheme. I have a UIViewController and the corresponding XIB file that has my main screen in my application. I want to have a button on this XIB that displays another "form" (this is my disconnect) in the foreground where the user selects from a myriad of choices, then it hides that "form" ...
I am having trouble saving simple website data to file. I believe the sintax is correct, could someone help me? When I run it, it shows that it gets the data, but when i quit and open up the file that it is supposed to save to, nothing is in it.
- (BOOL)textFieldShouldReturn:(UITextField *)nextField {
[timer invalidate];
startButto...
I am trying to save a .txt file to the documents directory in order to read and write to it. Is the documents directory the same as resource? If so, what is working code that will let me read and write a NSString to that .txt file? I want to actually know where in xcode, either resources or wherever, that i can create that .txt file.
...