I found this:
http://stackoverflow.com/questions/1412882/changing-compiler-to-llvm-clang-on-existing-iphone-project
But that does not help.
I am still getting the error. Setting the BaseSDK to the iPhoneSimulator 3.1 seems to work. But I don't think this is the right thing to do...
...
I'd like to be able to take a picture (camera or library) and overlay something like a picture frame on it, then save it back to the camera roll. Should I be looking into OpenGL?or, what?
Thanks for the pointers.
...
hello
Is there any functionality of a task manager in iphone like we have in windows? if so how to access it?
thanks
...
I have managed to avoid C and C++ up until now (except for a few HelloWorlds), and have instead worked in higher-level languages. I've worked and lived in VB6, then Java, then C#, then ActionScript, and now Ruby.
I've recently become curious about programming for the IPod Touch/IPhone. Though I've seen some possibilities for avoiding Ob...
I'm trying to get nsdate from uidatepicker, but it constantly returns me a date time with trailing 20 seconds. How can I manually set NSDate's second to zero?
...
Hi,
I've got a tabbarcontroller, and a MainView.nib that houses 3 Views and ViewControllers within the MainView.nib.
When I try to associate another nib with its own ViewController to the fourth tabBar, I get errors on tapping the bar,
I'm probably doing something wrong cuz usually the same principle works perfect in a non tabBarContr...
I'd like to be able to add a runtime object inspector to my iPhone app, mostly for debugging purposes.
This would let me do something like:
[inspector addObject:someObject];
and in my app, a view would appear that would let me browse and change the public properties of the object in question.
Possibly it would work with a subset o...
I'm trying to find examples of interpreted languages ported to the iPhone, with source code available to show how to embed it, without Jailbreaking the device:
I've found:
Ruby: http://www.cocos2d-iphone.org/forum/topic/1163
Lua: http://www.mobileorchard.com/announcing-iphone-wax-native-uikit-iphone-apps-written-in-lua/
and I'd like...
I've tried setting the style of the UINavigationbar to be a translucent style in the viewDidLoad method of my controller. But nothing is changed. Why?
I set the property using the standard code like
self.navigationController.navigationBar.barStyle = UIBarStyleBlackTranslucent;
...
I'm trying to create a custom actionSheet view from a view loaded in a nib. I can unload the the view from the nib fine and then I'm adding the view to the main view:
UIWindow* window = [UIApplication sharedApplication].keyWindow;
UIView* mainView = [window.subviews objectAtIndex:0];
[mainView addSubview:self];
but...
In one of the code examples from Apple, they give an example of searching:
for (Person *person in personsOfInterest)
{
NSComparisonResult nameResult = [person.name compare:searchText
options:(NSCaseInsensitiveSearch|NSDiacriticInsensitiveSearch)
range:NSMakeRange(0, [searchText length])];
if (nameResult == NSO...
How do you write binary data to a file? I want to write floats to a file, raw, and then read them back as floats. How do you do that?
...
Hello all,
I am getting an error while uploading my app on device. It does installs it but not able to upload it.
Also I want to run the instrument tool on device but when I run it shows nothing.
Anyone facing the same issues.
...
Hi, I'm new to iPhone SDK 3.0.
I've seen table view edit mode where you can check multiple row items and then delete them or move them.
The picture here (http://twitpic.com/khmog) illustrates what I mean. I've also seen this in several other apps, such as "Groceries".
Could anyone tell me how to do this? Can this be done using 3.0 API...
On iPhone.. Why would code such as this cause memory leak? after 2 minutes the net bytes have doubled.
All I'm doing is moving a ball round the screen with an NSTimer calling the below method.
Any ideas?
- (void)nextFrame:(NSNotification *)notification {
ballInstance.frame = CGRectMake(value, 0, 320, 480);
}
...
We've been programming an iPhone application under iPhone OS 3.1, but the client has now decided he wants us to redo the existing codebase to run under 2.2. One of the nice pieces of built-in functionality we used under 3.1 was the UISearchDisplayController functionality for searching UITableViews, but that functionality was not availabl...
I have a custom table cell which contains a number of UILabels. At runtime, I am adjusting the height of the labels to fit their contents using sizeWithFont:constrainedToSize:lineBreakMode: and repositioning them accordingly. The last label in the cell contains a large amount of text, causing it to wrap, and I'm having a very odd problem...
Under NSTimeZone class, there is both +localTimeZone and +systemTimeZone. I did a test on iphone simulator, both return NSTimeZone object indicating the same timezone. What is the difference? Which one I should use to find out the timezone setting of the iPhone? Thanks
My test:
NSLog(@"Local Time Zone %@",[[NSTimeZone localTimeZone] na...
My app should post some message to Twitter at the end of each day at the time X. App might not be running at this time X, but it still has to post that message. I don't want to bother user by everyday asking to do this task.
Can I use Push Notification to silently (without any alert view popup, sound or anything else) do some task in my...
-(void)setX:(int)x andY:(int)y andObject:(Sprite*)obj
{
[obj setPosition:CGPointMake(x,y)];
}
Now, I want to call above method, using following timer.
[NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@selector() userInfo:nil repeats:NO];
What to set Here?
How to Pass arguments? (as per my knowledge - selector spec...