iphone

Rolling an image partially like in google maps

Can someone tell me how I can realize the rolling / unrolling animation as in google maps for iPhone? Thanks. ...

How can I install and ideally run an iPhone app entirely from the command-line?

I'm porting an existing game engine to the iPhone. As a result of a large and complicated build process that isn't really conducive to Xcode I'm developing my own build system that calls the same programs and does the same build steps as Xcode does. This is generally working pretty well, referring heavily to xcodebuild's output for refe...

Is there an iPhone Checkbox List Control thats not listed in Google or SO?

I have a demo working but I was wondering if there is already a library like Three20 that comes with this sort of control. This is what I have till now. It's not refactored yet. - (void)viewDidLoad { [super viewDidLoad]; // Gets Types [self getTypes]; // Set Guilt Types UI CGFloat kTopMargin = 160.0; CGFloat kTopMarginSpan...

Leveraging Core Animation for Animation in OpenGL

I'm interested in using Core Animation to drive custom animations in my OpenGL scene on the iPhone. I was hoping to find a mechanism that allowed you to generically animate a keypath of an NSObject or a delegate method for each animation tick. What I have come up with is to animate an arbitrary property of a CALayer and poll them from Op...

How do I put objects in an NSArray into an NSSet?

Hi all, I have some NSDictionary objects stored in an NSArray called telephoneArray. I fetch the values for the key number and then replace the NSDictionary I've just read with a new object at the same index in the array. I then want to put these new objects into an NSSet. How can this be achieved? See my unsuccessful attempt below. ...

Coldfusion Calls in Objective-C

So a client right now is asking me to send requests that are synchronous to an example he gave me that is in Coldfusion, and seeing as I have no real experience with Coldfusion I was wondering how I could run the following command(request?) on the iPhone: <cfhttp method="post" username="6Z3YcQhPTZWcCHG0o9OcFA" url="https://url.com/api/d...

Is there a way to move row to the selected row in UITableView

Hello everyone I hope to know if there is a way to move row to the selected row in UITableView. for example, row are: 1 2 3 4 5 6 7 8 only 3 rows are visible, I hope to move row directly to 7 Welcome any comment Thanks interdev ...

iPhone - stdint.h file not found!

I am dealing with a project designed for iPhone OS 2.0 and I am intending to keep compatibility with this version while offering new OS 3.x functionality. When I set the base SDK to iPhone OS 3.1.3 and Target OS for 2.0, Xcode gives me this error during compilation. 'stdint.h' file not found /Developer/usr/lib/clang/1.0.1/include/stdin...

Run an UIActivityIndicatorView while the main thread is busy

Hi all, is there a way to display the animated spinning wheel while the main thread does a lengthy operation? The animation is handled by the same thread that created the UIActivityIndicatorView, right? If so, can views that belong to several threads sit in the same view hierarchy? All else failing, I don't mind moving a lengthy operat...

Contact importing in iPhone

Hi guys, Can anyone suggest me how to work with contact importing in Iphone sdk? I mean to import the address book into my application. Thanks. ...

CSS: How do I set <link media="" /> as inline CSS with @media if the media type is a phrase?

How do you set as inline if it's not one of the words listed on the single word media types? (http://www.w3.org/TR/CSS2/media.html#media-types) <link media="only screen and (max-device-width:480px)" href="iphone.css" type="text/css" rel="stylesheet" /> The handheld media type is ignored by the iPhone, but I'd imagine the external cal...

How should I implement an editable rich document view for the iPhone?

I want to implement a view in an iPhone application that is essentially like a rich text document. I need it to be click-editable, and I'd like to be able to embed graphic objects (either an overlaid view object, or manually drawn in graphic) with the text wrapping around. much like you would expect in a word processor. That's about t...

how can i use the UTF8string for the NSArray

I have taken char data into database into array. now i want to convert that data into string. how can i convert array data into NSString. ...

iphone mapkit drag and get center location

HI, I have a Mapview with some marker points + a marker for current location. Now, what I want to do here is, when user drag or traverse through mapview, I want to find coordinate (latitude, longitude) of the new center location after map has been dragged. I want to clarify once again, I am not talking about dragging the marker/point,...

What is the even prompted after a UITableView loaded data?

As title Welcome any comment Thanks interdev ...

How to Develop a DJ Application for iPhone

Hi All, I am new to iPhone development, so please bear with me if I ask some simple questions. I have to develop a DJ application for iPhone. My application should have some common features like selecting songs from the device, mixing, scratching and turntable implementation. Any help in this respect will be highly appreciated. Thank...

how to pass variable arguments to another method ?

HI, i have googled and came to know that how to use the variable arguments. but i want to pass my variable arguments to another method. i m getting errors. how to do that ? -(void) aMethod:(NSString *) a, ... { [self anotherMethod:a]; // i m doing this but getting error. how to pass complete vararg to anotherMethod } ...

how to set the badgevalue in tabbar in iphone ?

I am using the following code to set the badgevalue in current tab bar but its not visible in tab bar self.navigationController.tabBarItem.badgeValue = @"1" what is the correct way of putting the badge value in the tab bar. ...

Analyzer marks a potential leak for this construct

With the following code the analyzer marks the setMyDict selector call as a potential leak and in dealloc it states "Incorrect decrement of the reference count is not owned at this point by the caller" - (id)init { if (self = [super init]) { [self setMyDict:[[NSMutableDictionary alloc] init]]; } return self; } - (void)deall...

Open a camera by clicking on the table view cell in iphone app

How to open a camera by clicking on the table view cell in an iPhone application? ...