iphone

how to authenticate googleaccount in iphone ?

how to authenticate googleaccount in iphone ? in my app. i import gdata(gmap)services properly through this link(http://www.johntwang.com/blog/2009/06/08/how-to-use-google-apis-with-iphone-sdk/) next step i want to access my gmail account (showing map) i have no way ? ...

How can I set a connection time out manually?

I use connect(socketfd, (struct sockaddr*)&remoteAddr, sizeof(remoteAddr)) to connect my iPhone to a computer (over WIFI) and it works fine so far. However if the computer is out of reach, my iPhone tries to establish a connection for more than a min. Is there a posibility to set the time manually out to a new value, e.g. 15 sec? ...

Best way of obfuscating / encrypting form data on the iPhone

I want to create an app which holds sensitive information (imagine it's bank account details, thought it's not). The user enters this information on a form the first time the app starts up. I want this info to be saved, and available, any time the user uses the app (without having to enter a password). However, if the iPhone has a passwo...

How to prevent image view loading while scrollong in iphone?

I am new to iphone development.i want to check whether the image is loaded in the image view and if the image view is nil then load the image.i want to implement this in cell for row at index path so that i can increase the scrolling performance of the table , How can i do that ? please help me out.Thanks. ...

related to gdata in iphone

what are the settings needed to build gdata application in iphone ...

Iphone SDK for Tiger MAC

I am running Mac Tiger on my VMware, trying to install iphone SDK and Xcode, and then I found out I have to have leopard in order to be able to develop for Iphone. I was wondering is there any Iphone SDK and Xcode for MAc Tiger 10.4 ??? many thanks ...

Is it better to store an NSArray of NSManagedObjects or NSManagedObjectIDs?

In my application I need to keep track of a list of objects that are being displayed. Right now I have an NSArray with all of the NSManagedObjects. Would I be better off to store the ObjectIDs and then only request the object when I need it? I am mainly concerned about memory at this point. ...

CoverFlow using UIVIews

I am trying to implement "CoverFlow" in iPhone referring http://www.chaosinmotion.com/flowcover.m . But what I actually want is a coverflow of UIViews, and not images. ie, I want my coverflow to contain controls like UIViews and not static images. Is this possible ? Please help ... Thanx in advance. ...

What's the difference between arc4random and random?

What's the difference between arc4random and random? ...

NSDirectoryEnumerator And Subfolders

I have an iPhone app that searches a folder, collates an an array of all the audio files, and lets them be played back. The problem is that if there is a subfolder within the folder I am searching, it will just skip over it/not go into its contents. My code is as follows: NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumen...

Device settings to build iphone GData applications

Hello all , my gdata application build successfully in simulator i followed simulator settings to do that . now i want to build it in iphone will u tell me the settings to do that. ...

Sorting array containing strings in objective c

Hello experts! I have an array named 'names' with strings looking like this: ["name_23_something", "name_25_something", "name_2_something"]; Now I would like to sort this array in ascending order so it looks like this: ["name_25_something", "name_23_something", "name_2_something"]; I guess that should start of with extracting the numbe...

FrameWorks to build gdata application in iphone

Hai all,which frameworks i need to build my gdata application in iphone. ...

touch multi UIViews

Hello everyone There are a series UIViews arranged very close. I hope when my finger touches some of them, my app can detect which UIView touched. Maybe one or two or three.(because the displayed parts of each UIView are too thin). I hope to get the middle x value of the touch, then spread the UIView where the middle x value locates ...

Are there video tutorials on how to analyze the memory footprint of an iPhone app?

Are there good video tuts that show how to use this Object Alloc instrument to figure out if my objects and other stuff get freed from memory? Also, I have a bunch of C code and use Core Audio, so those are not really objects but still heavy in memory. Would like to know more about that Object Alloc instrument. ...

Graphics for iPhone development from Maya

Hello, I am new to integrating graphics into iPhone apps and need some direction on integrating graphics from maya into the application flow. Does anyone out there have any advice on good books or tutorials covering the design flow for Maya -> iPhone SDK? Thanks ...

What do the columns in the Object Alloc instrument mean?

I was unable to find the documentation for this. There is no Quick Info. The columns have these opaque titles: Category Live Bytes # Living # Transitory Overall Bytes # Overall # Allocations (Net / Overall) Is there a document that shows what these columns mean? Without having to read 600 pages? ...

custom URL scheme doesn't work! Navigon AppInteract

Hey guys, It is really frustrating me. I used the doc provided by Navigon itself. Unfortunately it doesn't work as expected. Navigon launches, but stops at the main menu. All I do is this: NSString *myTestStr = [NSString stringWithFormat:@"navigon://App|Another place|FRA|75008|PARIS|rue de Turin|17|2.324621|48.881273"]; NSString *...

iPhone: Low memory crash...

Once again I'm hunting memory leaks and other crazy mistakes in my code. :) I have a cache with frequently used files (images, data records etc. with a TTL of about one week and a size limited cache (100MB)). There are sometimes more then 15000 files in a directory. On application exit the cache writes an control file with the current...

Objective-C: properties not being saved or passed

Hi, i'm a newbie to iphone development. I'm doing a navigation-based app, and I'm having trouble passing values to a new view. @interface RootViewController : UITableViewController { NSString *imgurl; NSMutableArray *galleryArray; } @property (nonatomic, retain) NSString *imgurl; @property (nonatomic, retain) NSMutableArray *ga...