I've seen all the posts about setting preprocessor flags via the "Preprocessor Macros" setting. For some reason, Xcode seems to ignore my settings.
I'm building an Xcode project that was created via CMake. Inside the Dependencies.cmake file, there are a few definitions added. For example:
add_definitions(-DUSE_POCO)
add_definitions...
I have some Audiotoolbox sounds.
I created a sound in a UIViewController A. Using AudioServices functions, I play them, and it's fine.
When I change the system sound volume via device (with my finger), the sound's volume behaves just fine and changes accordingly.
But then I alloc another UIViewController B and add its view as a subvie...
Though selecting multiple files to be included to the target build is easy (select multiple files, then just pressing space key), deselecting multiple files at once is painful work. Is there anyone who found the neat way to do that?
...
I'm trying to replicate the unrar functionality in this project:
http://github.com/tarasis/QuietUnrar
But having trouble. I have copied the relevant files (/libunrar/,QuietUnrarAppDelegate.) into my project so I can turn QuietUnrarAppDelegate into a more generalised Unrar class, and immediately I run into problems. All the source files...
Hi, I have an animation (currently 30 different images repeating) and I wish to add it into a single page in a ScrollView (currently holding 7 pages). Can this be done?
I've added my code below, the behaviour I'm getting is that on my selected page nothing appears, on all the other pages I get the images as normal, but there must be som...
Hi all
I'm afraid I'm a newbie to objective-c programming, and I am having a problem that I have spent all day trying to figure out and I cannot, so I am humbly asking you guys if anyone can help.
I am trying to read the details from a JSON page online (for instance a local services directory) and have installed the JSON library into X...
I know there are multiple questions about this but I wish for this one to help my specifically with my application. Here is an overview on my application:
I have a scrollview that holds a 7-page brochure. On one of the pages, there is an animation (a simple, cycling series of images). The images are currently 500x750 but the scrollview ...
hello everyone.In my application am getting an xml file from server and in that i have some attributes for the element.i donno how to read the attributes can anyone help me please..
...
Title says it all ^^
Thanks in advance,
Lewion
...
Does anyone know why my xCode intellisense does not show up when I type in UIPopoverCont...
...
Hi everyone,
If i added a user-defined setting in my build configuration, how can i read that setting in my objective-C files. I have two files in my project debug.plist and release.plist. I want my MainApp.m file to read one of these files based on which build configuration is running. I set up a user-defined setting named "filename" i...
IS it possible to change color of image from code ?
...
I am working on a universal app. When I want to run it on the iPad simulator, I set the executable to the iPad version, and it runs on that simulator, no problem.
But whenever I restart Xcode, or even just close and reopen the project, it switches back to the iPhone executable. I can switch it back again, but it's still annoying. Is ...
I have a multi-threaded Cocoa app that processes images. The program has a progress bar and some text showing how far along the process is. This all works great. However, sometimes the interface will just freeze up and everything will stop updating. The progress bar stops moving, and the text stops updating in the percentage counter. How...
hello all,
in my universal app i need to check in the ViewDidLoad if the iDevices is iPad or iPhone is there an method or code ?
thanks
...
I put a button on view and want to call this view from another view and change size of this view but when i change size,size of button doesn't change How can i change size of view that size of all controls on view changed?
Three *second = [[Three alloc] initWithNibName:@"Three" bundle:nil];
second.view.frame=CGRectMake(0, 0, 100, 100);...
I am using several accounts to manage my customers iPhone/iPad applications. Therefore I need to connect to iTunes Connect with different logins. How can I change the login in XCode or Application Loader? It is always set to one default value that I probably entered the first time XCode was started.
When it comes to validating or submit...
hey all
in my app i have this method
-(void) Setinput:(int)input {
//value declared in .h
value = input;
switch(value){
case(0)
[b_do setTitle:@"Do" forState:(UIControlState )UIControlStateNormal];
[b_re setTitle:@"Re" forState:(UIControlState )UIControlStateNormal];
[b_me setTitle:@"Me" forState:(UIControlState...
Hi Guys, I'm trying to create an array out of the information inside a plist. My plist's root is of type array and inside this array is many dictionaries of data.
Here is what I've been trying to do so far:
//SET UP ARRAY OF PAGES
NSString *path = [[NSBundle mainBundle] bundlePath];
NSString *finalPath = [path stringByAppendingPathC...
I have a ~/.gdbinit file which is loosely based on http://stackoverflow.com/questions/1237830/how-do-i-set-these-break-points-in-gdbinit. Allegedly, gdb is supposed to source ~/.gdbinit when it launches. However, it's not loading mine - I have to stop at an existing breakpoint and type in 'source ~/.gdbinit', and then it loads it. Is ...