iphone

Accessing classes in .a library file?

How do I access any classes in a library when all I have is the .a file? I've included the -ObjC linker flag and added the .a file to my project. Still, none of the classes appear in code hints. ...

How do I open an Excel file while working with iphone simulator?

How do I open an Excel file while working with iphone simulator? ...

Getting photo from Photo Library

How to know the Mode of the photo taken from Photo Library. eg- i am saving photo from the photo library into the application but how can i know that photo in Landscape mode or portrait mode. My photo get Stretch when it is in Landscape mode. ...

Tracking down cocoa memory leaks

I'm getting reports of memory leaks in my app, but I can't track down exactly what is happening. I have a function which takes out an old view and swaps in a new view. I'm not using NavControllers or any @properties; I'm managing my top-level window directly. -(void)swapInView:(UIViewController*)newViewController { [currentViewer.vi...

edit contact information in iphone

Hello, I am developing an app in which I have to allow user to edit the contact programatically. I googled about it I found that ABPersonViewController will be used. I am not able to find it how to implament it. Address Book Programming Guide for iPhone OS also didnt work for me. Can you suggest me the way to do it. Thnx in advanc...

Difference between CFMutableArray and NSMutableArray ?

What is the difference between NSMutableArray and CFMutableArray? In which case(s) should we use one or the other? ...

Save session of Play Audio file

Hello, i want save play Audio file session when my application Terminate. is this possible in iPhone? i am developing ebook application in this application i have add new functionality (i.e when application launch,page scroll and Audio file play simultaneously ) and while application terminate and re- launch the application, applicatio...

How to make custom TableViewCell with initWithStyle after 3.0

I am trying to have custom TableViewCell with initWithStyle, since it says initWithFrame is deprecated after 3.0. Everything worked fine with initWithFrame before. Is there any tutorials or sample code available for this? Thanks. ...

How to collapse the section when user click on the header of the section in UITableView?

IS there an easier way to animate the table view. All the rows in my table view change when the user clicks the tab on header of the section of the table view. ...

Customizing "More" Tab Bar

I am using a tab bar (UITabBarController) on my app and I wish to customize the appearance of the table that appears when you click the more button. My app customized with a background image on every page. But image is not displaying when i click more button. Any ideas? ...

How can I make a multiline label in a UITableView?

How can we make the text in the label of a table view go to the next line? ...

Amazon S3 POST upload (from iPhone)

A bit of background: I am building an iPhone app with a complementary server backend (written in Rails or possibly Sinatra, but probably not relevant for this discussion). Part of the functionality involves uploading pictures from the iPhone to the server. These ultimately get stored on S3, so in order to simplify the app and conserve ba...

UIImage Rotation Offset

I have the following code - (void)ComputeRotationWithRadians:(CGFloat)rad { CGFloat width = exportImage.size.width; CGFloat height = exportImage.size.height; UIGraphicsBeginImageContext(CGSizeMake(width, height)); CGContextRef ctxt = UIGraphicsGetCurrentContext(); CGContextScaleCTM(ctxt, 1.0, -1.0); CGContextTran...

Books to learn objective-C for an experienced programmer.

I am an experienced C++, C# programmer on Windows platform and would like to learn Objective-C to try out developing on the Mac and iPhone. What books do you recommend me to start out with? Thanks. ...

cocos multi touch game.

I am developing some games using multi touch for iPhone (cocos). Could anyone teach me how to start, from very scratch beginning. I am not sure where to start or any resources that can help. I really appreciate the helps. @implementation GameScene - (id)init { if (self = [super init]) { Sprite *background = [Sprite spriteW...

How do I access the UITableView in the XCode "Navigation Based Application"

This "wizard" gives me a tableview to work with when I build and run. RootViewController is subclassing UITableViewController. Opening up the XIB, there is a table view, but what is the name of the tableview instance being displayed? I'm trying to reload the tableview after a receiving data from an asynchronous URL request and I don't ...

Assigning result from (autorelease) method must use 'copy'

there's a static method like: + (id) getRoutes:(NSString *)stationName{ NSMutableArray *routeArray = [[NSMutableArray alloc] init]; ...... [routeArray autorelease]; return routeArray; } when i call it like following, is okay ... @property(nonatomic, retain) NSMutableArray *routeArray; ... @synthesize routeArray; ... routeArray = ...

iPhone - start two processes simultaneously

Hi I have to start more than one processes simultaneously - an AVAudioPlayer's play, a timer and a file write operation. If I just write them in a method, they are executed one after the other and the start of all the operations has a slight lag. Any ideas? Appreciate any help. Thanks. ...

Is MonoDeveloper's editor slow for you?

I'm using the evaluation version of MonoTouch and MonoDeveloper to check out writing iPhone app in C#. However, MonoDeveloper's editor is very slow for me. I mean really really slow. I have to type and wait for text to be rendered. Do you experience the same? Any insights on what can be the causes? Thanks. ...

Convert Flash art to OpenGL-ready vector format?

Say I have some 2D artwork in Flash CS4 format .FLAs, and I'd like to put it into an iPhone game that uses OpenGL ES, keeping it in vector format. An OpenGL-ready format could just be a list of vertex positions and colors for a triangle strip. Is there a converter available that can do that easily? ...