iphone

Can using my iPhone as a development device ruin my iphone for normal use?

I'm a programmer with about 5 years of experience and I'm thinking about going into iPhone development. I checked out some books from the library for info. I found something that disturbed me tucked in a little corner of a book: "A development unit needs to be devoted exclusively to development. Using a device as a development unit mea...

Compiling external C++ library (Octave) for iPhone (Fortran compiler missing?)

A friend of mine asked me if it would be possible to port the Octave project to the iPhone. I haven't compiled an external package for an iPhone project before, so I downloaded the source code, and then used some scripts found on a couple of different Web sites (one, two) to try and build the libraries. However, when I try either of thes...

calling an animation?

I have placed the following code in my program CATransition *animation = [CATransition animation]; [animation setDuration:0.5]; [animation setType:kCATransitionFade]; [animation setSubtype:kCATransitionFromLeft]; [animation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]]; [[th...

UITabBarController not loading "More" views at applicationDidFinishLaunching

I'm trying to restore the state of my multi-tabbed iPhone application. There are more than 5 tabs, each with it's own navigation controller. On applicationDidFinishLaunching, I determine which was the last tab the user was on and set it with myTabController.selectedIndex = persistedTabIndex; I then call a function on that tab's root v...

How to integrate apple payment gateway with iphone?

I want to payment in apple store from the iphone. So I want to make this type of application in which I can pay the amount to the apple store? But I dont know how it possible. ...

iPhone Development - Bypass Authentication Screen of Facebook Connect

Hi, You can integrate Facebook Connect in your iPhone application to interact with Facebook and perform operations like updating status, posting link etc. To post status update to Facebook, you require extended permissions. To get extended permissions Facebook Connect shows a dialog for authentication (with username and password field)...

Error: Expected specifier-qualifier-list before ... in XCode Core Data

Hi guys, I keep on getting this error "error: expected specifier-qualifier-list for core data code im working with, in the app delegate. Now when i get this error and about 40 other errors relating to managedobjectcontext etc, i thought maybe the library needs to be imported. Now i havent done this before, but i went to Frameworks group...

count .plist dictionary items (iPhone SDK)

This is what the plist looks like as source code: { authorLastName = Doe; authorFirstName = Jane; imageFilePath = "NoImage.png"; title = "Account Test 1"; year = 2009; }, { authorLastName = Doe; authorFirstName = John; imageFilePath = "NoImage.png"; title = "Account Test 2"; year = 2009; }, How come it isnt in XML format??? ...

How to load Google Maps Faster in iPhone

Hello all, in my iPhone application I'm loading the driving directions to a WebView from a bundled html page (because i can't find a way to load it directly to the MapKit), but it taking too much time to load, is there any better way to do so? Like in the iPhone default map application code : NSString *filePathString = [[NSBundle ...

Saving audio files in iPod library

I want to record sound as part of my application. Is it possible to save my audio files in ipod library and sync using iTunes? Thanks in advance!!! ...

doubt on XML parsing?

hi,i am a student and also new to iphone SDK.i want to do xml parsing which has image URL and Data,it is a XML file about news.i have to show it .can i use table view or navigation controller? which is the best way?i have to show images and titles in first page.when i click it,it shows other page to show full news with image. is there an...

how to append different strings with use of CFStringAppend??

tell me as early as possible thanks ...

UIScrollView contentOffset

Hi, i have done a simple scroll test and logged contentOffset in the scrollViewDidScroll delegate. If i scroll fast i got crazy offsets 336 53 360 44 406 26 ... the if the decrementing value reaches 0 it is always incrementing... If i am scrolling to the right i would await incrementing values ONLY and not alternating ones for the fir...

iPhone: Reading a gzipped stream

Are they any classes or libraries to read a gzipped stream from a server? For example, Java has the GZIPInputStream and GZIPOutputStream classes to read from a gzipped stream. Does iPhone SDK have such libraries or are there any external libraries that we can use? ...

save checked items in table view for later reuse in iPhone

Got a conceptual question: If I got a tableview with about 100 items and the user can check as many as he wants from that list, how and where do I save the checked status of each individual item for later reuse? ...

Improving Accuracy of The Gps Updates

i am using the follwing code to start and set the location manager parameters self.locationManager = [[CLLocationManager alloc] init]; self.locationManager.delegate = self; self.locationManager.distanceFilter = kCLDistanceFilterNone; self.locationManager.desiredAccuracy = kCLLocationAccuracyBest; [locationManager startUpdatingL...

MKMapView and dequeueReusableAnnotationViewWithIdentifier:

I have an MKMapView with about 1000 MKPinAnnotationView's on-screen at the same time. It has extremely slow scrolling performance. I am attempting to dequeue my annotations views appropriately like so: - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>)annotation { static NSString *viewIdentifi...

programmatically identifing the iphone device

Hi all, I want to identify the device on which my application is installed. That means, when I install the app on the iphone, it should tell me the device information. The information is like, the device is 2G, 3G or 3GS. Currently I am getting only model, name, systemName, systemVersion of the device. I want to know the device is 2...

Cell customization in iPhone Application

I want to make a table view in my iPhone Application.. In that table each shall contains 1 image, some text of line, some symbols, etc.. I don't now how to customize our cell of table. Please provide some help if you have.. ...

how can we link UITableview in tab bar controller?

i have coded in applicationdidfinishing method in appdelegate.m file.RtbfViewController,infoViewController are UItableviewcontrolleras.but when i click HOME tab,it does not show table.what i have to do? anyone can help? tabBarController = [[UITabBarController alloc] init]; RtbfViewController *rtbfViewController = [[RtbfViewController al...