Hello, I have some UIImageViews (Animals) and by touching them a specific soundloop starts to play.
But if the user touches twice or more on the same View, the apropriate soundloop starts over and over again with an overlap. I wanna have that the touched sound is played once until its end and than the user can start the next time. The du...
I am trying to build an fairly simple iPad app that requires me to navigate through multiple views. What I want to do is have some sort of main menu view with multiple buttons on it, and when you click one of the buttons the new view appears and then you work with that. I'm new to iPad development, so I have a few questions about the b...
When I press the End key I expect it to bring me to the end of the line. Likewise when I press the Home key I expect it to bring me to the beginning of the line. In Xcode though, these navigate to the top and bottom of the page. How can this be changed?
...
Hi, does anybody know a way for allow multiple items selected for a setting in Application Settings? I know PSMultiValueSpecifier, but it only allows one and only one selected value.
Thanks!
...
Hi
I am trying to use the following script by duckrowing (http://www.duckrowing.com/2010/03/18/documenting-objective-c-with-doxygen-part-ii/), to document an existing xcode project.
#
# Build the doxygen documentation for the project and load the docset into Xcode
#
# Created by Fred McCann on 03/16/2010.
# http://www.duckrowing.com...
I want the keyboard to go away as soon as I hit "submit" in my iphone app, and not wait until the function completes. The function takes a long time because I'm doing a synchronous HTTP request.
How come the view doesn't update until the whole function completes? I'm working in the simulator in xcode.
-(IBAction)submit:(id)sender{
...
I have a tabBarController xib. I've set the first item's class to a view controller I made (.h and .m files, no .xib). When I try to push the tabBarController, I get a warning saying the tabBarController "view outlet was not set".
I'm not sure how to set the view outlet, since I am loading from another view. I'm expecting the default gr...
I have a core data model object called Entry.
In this I have an attribute IsFavorite.
I would like to use an NSPredicate to filter the results of my NSFetchedResultsController.
Currently I am getting EXC_BAD_ACCESS when the fetch executes.
NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] init];
// Edit the entity name as appropr...
Hi, everyone,
I want to ask a question about the iPhone application. I use the Xcode to write the iPhone application about the calendar and the simulator is 3.1.3.
However, I cannot see the Calendar app. (The simulator only displays the 1. Photos and 2. Settings). Do I need to set something or download from the Internet in order to se...
Are there any free c++ compilers for macs that do not need xcode?
...
Hi Guys, I've been working on a GUI program for a while now, and I just can't get it to compile correctly, I am constantly receiving the following error -
Command /Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings failed with exit code 71
I've done some searching around to try to find a solution, ...
How do we pass the arguments in @selector method for UIButton?
-(void)loadView{
UIButton *btn1 = [UIButton buttonWithType:UIButtonTypeCustom];
btn1.tag=1;
[btn1 addTarget:self action:@selector(showRestaurant:tag:) forControlEvents:UIControlEventTouchDown];
btn1.frame = CGRectMake(2370.828125,1020.015625,35,34);
[i...
Hello,
I have the following code in place:
- (void)viewDidLoad {
NSString *homeDirectoryPath = NSHomeDirectory();
NSString *imagePath = [homeDirectoryPath stringByAppendingString:@"/graph.png"];
NSLog(@"Image: %@", imagePath);
if (![[NSFileManager defaultManager] fileExistsAtPath:imagePath isDirectory:NULL])
{
...
Hello developers,
I am new to iphone developmenet. I'm trying to load PNGs using libpng but I'm unable to add it to my project after trying so much. I've got following errors while adding libpng to my project. Plz help me how to get rid of these errors:
"_deflateReset", reference from...
"_inflateEnd", referenced from...
"_*inflate", ...
I have an iphone3g with this function running in my ViewController
- (void)viewDidAppear:(BOOL)animated {
[super viewDidLoad];
}
I use a TabBar iphone app. But when I click from tab 1 to tab 2 and debug the secondView Controller it is stopped before the view is actually in the users view.
So there for when you click tab 2 until eve...
I'm porting a project to be built with MacOS. We compile the current source revision number into our code which is used to track version compatibility between files and libraries at a code level.
-DSRC_REVISION=12345
In our existing build system 12345 is output (as text) by a script called by make and turned into a build option each t...
I got this crash:
"this class is not key value coding-compliant for the key view."
And I have no idea what its talking about. Could someone help?
...
I want to have a compiler (pre-compiler) directive in my objective-C class to distinguish between the simulator build and the device build.
#if SIMULATOR
call testModule();
#else
call productionModule();
#endif
Is there such a #directive in X-code for the iPad/iPhone?
...
Hi!
I got this weird problem testing for empty (or null) text property.
Here my setup : I got a view with 6 textfield in it and here the code I use to go thru those field (loaded in a NSMutable Array)...
NSEnumerator *portsEnumerator = [appliancePorts objectEnumerator];
UITextField *tmpField;
newSite.port = [NSMutableArray array];
whil...
I have a bug I'm trying to replicate but testing it requires the absolute path to my application to change which I know it does occasionally, this part:
/var/mobile/Applications/75774D23-5D27-4872-971C-911F213E3C34/...
How can you force that to change? I've tried changing the version number and cleaning all targets to no avail, I don'...