iphone

CIFilter available in the iPhone SDK?

This might be a dumb question, but I want to know for sure before I start implementing my own filters (probably using opengl ES) but are the CIFilters available on the iphone? Anything similar? Thanks ...

TextField with Keyboard in cocos2d !

hello, I am trying to develop a iphone app by using cocos2d. I create a alert view with a text field. when I touch the text field then comes the keyboard. But I want that when the alert is open, in the same time textfield will be selected and keyboard comes(without any touch). how can it posible ? sorry for my bad English. ...

Is there a framewok / API I could use to export iPhone-SDK's ABRecordRef instances to vCard?

I'm looking at source code from Funambol, but the dependencies are so huge, I'm rethinking of using them, not to mention the code is based on OC++. Can anyone help me out on this? Thanks. ...

How get the list of controls on a view with iPhone SDK?

I wanna do something like the safari app when fill a form, so when the user see the keyboard do next and move to next control. Now, how I get the next text control? ...

How programatically move a UIScrollView to focus in a control above keyboard

I have 6 UITextFields on my UIScrollView. Now, I can scroll by user request. But when the keyboard appear, some textfields are hidden. That is not user-friendly. How scroll programatically the view so I get sure the keyboard not hide the textfield? ...

What methods do I have to implement in order to re-arrange the UITableView rows?

For a simple example of using a NSMutableArray of strings called rows, what do I have to implement in my table controller to move the tableView rows and have the changes reflected in my array? ...

How do I create a Cocoa touch template using the iPhone SDK?

I downloaded the free iphone sdk. Now when I try to create a new project I am not given the option to create a cocoa touch template. I only have the option to create a Mac OS X template. Does anyone know why this would occur and how to fix it? Edit: if you start then restart a download does that damage the downloaded material? ...

how can I use animation in cocos2d ?

hello, I am trying to develop a Roulette game for iPhone. How can I animation (spin) the Roulette board? ...

Can you help me understand retain counts in cocoa/objective-c?

> .h file: NSString *myString; @property (nonatomic, retain) NSString *myString; > .m file: self.myString = [[NSString alloc] init]; If i'm not wrong i will end up with an NSString instance with retain count of +2. Right? I'm curious because Apple's example for Location uses "self." for initialization. Why? I checked and it does show...

UIView Clipped By Statusbar until Autorotate

Hi There, Ive created a multiview application that uses multiple controllers to display and control views. The problem Im having is, when the simulator initially loads the view the header is partially covered by the bar at top of screen and the tool bar at the base is not touching the base of the screen. I used the Interface builder size...

Memory leak issue with UIImagePickerController

I'm getting memory leak with UIImagePickerController class. Here's how I'm using it: UIImagePickerController *picker = [[UIImagePickerController alloc] init]; picker.delegate = self; picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary; [self presentModalViewController:picker animated:YES]; [picker release]; To remo...

NSTimer and Touches event conflict

hi im trying to execute 2 actions on occurrence of their particular events one is the animation occurring when the a timer with fixed interval is fired and other is also a animation occurring when a touch is detected both r working fine individually but when simultaneously occurring anyone of the animation slows down .its because in the...

Reduce UIImage size to a manageable size (reduce bytes)

I want to reduce the number of bytes of an image captured by the device, since i believe the _imageScaledToSize does not reduce the number of bytes of the picture (or does it?) - i want to store a thumbnail of the image in a local dictionary object and can't afford to put full size images in the dictionary. Any idea? ...

Add SQLite Database to iphone app

Hi all, i am trying to learn SQLite and i am building an iphone app. but i would like to add SQLite database to my building app. i have got three tutorial but i am not clear on that code. pls send some ideas how i can add SQLite database to my building app. it would be more help if i get code for this. ...

SQLite Database

hey all, i have built a SQLite database and wanna to add into iphone app. already i have add it resource->add->x.sqlite and also add libsqlite3.0.dylib.framework but i don't know what is the showing code. how i can show it to iphone. ....... ...

how can i get alert view action

UIAlertView* av = [UIAlertView new]; av.title = @"Dealer offer Insurence"; [av addButtonWithTitle:@"YES"]; [av addButtonWithTitle:@"NO"]; Which button user select how can i know ? If anyone have available solution then help me. I want to some work on these button action. I wait one response..... ...

How much of a transition is programming Java to iPhone apps?

I'm a highly skilled Java dev contemplating learning iPhone development. Mac only dev aspects aside, how much of a leap would learning the mobile application stack be? Sure I understand that its closer to C in how one should approach it, and with that comes memory management and so on. My queries would also include How well is OOP/O...

SQLite 3: Mass Data Load Issue: Error 14 Database Not Found

I have an iPhone application that is a data load harness to pre-populate database with data that will be shipped in a separate application. When I kick the program off I am reading from an XML file and the records are inserted into the database. Everytime I hit the 247th record in the list the database then returns an error 14 databa...

iPhone GPS Development - Tips + Tricks

Hello - I'm looking for some feedback, blog links, etc that offer some tips and tricks for iPhone GPS development. I've read and understand the API, I have my demo app up and running, etc but I have run into some "quirks" with gps on iphone. For example, it seems that you you will receive a lot less location updates when your iphone ent...

How can I animate manually on the iPhone?

I've got a very simplistic "game" set up on the iPhone. Things move around, rotate, you can interact with them, etc. In the simulator, it runs fine, but on the device it gets around 0.25 FPS, and it's so slow that it doesn't have time to recognize touches, apparently. This was originally just using a UIView with an array of Items each...