iphone

Loading images for multiple UITableView using lazy loading

Hi, I am developing an iPhone application with multiple table view. On each UITableview I have to load RSS feed data. Each feed has its own image. For a single feed, I try to parse the xml and load the image inside the delegate itself. Can any one advise me how to implement the lazy loading for all Rss feed view? ...

Set UITextField as phone number

/*h file:*/ IBOutlet UITextField *Number; /*m File:*/ [(Number) setText: [[NSUserDefaults standardUserDefaults] stringForKey:@"SBFormattedPhoneNumber"]]; Any idea why this is not working ? Thanks ...

GPS coordinates on mobile phones

Can GPS on a phone, such as iPhone or Android determine your Z coordinates ? I know it certainly has to be able to determine X and Y, well longitude, latitude that is, but what about the Z coordinates ? Can it determine your height, and can I obtain height relative to ground ? ...

Effect like Interface Builder connection lines on iPhone

Hi I'd like little bit of help on something. In my app, I have a UITableView which is populated with custom cells that represent images. (i.e. selecting a row displays a picture in an image view). What I would like to do, is have an icon in the custom cell that I could drag to one of a series of image views. Similar to the way you can d...

How to show a custom TTPhotoView when clicking on a thumb from TTThumbsViewController

I'm creating an image viewer app similar to the facebook app using Three20. When the user clicks on a thumbnail, I would like to show a completely different full image view. Instead of just the image and a caption, I would like to show the image in only a portion of the screen along with some other information from my model. How do I do ...

objective-c memory management question

If I have a UIPopoverController (in .h file) and alloc init it multiple times in the same .m file. do I need to release it once to multiple times? ...

UITableView Two tableviews in two separate views can't get them to load cell data from two different plists

Hi, I have an app with two UITableViews on two separate views. Each table view cell data is loaded from a different plist files. The table views load fine but one works correctly but the other seems to combine the two plists which is weird. Here is How I bring in the plist data Table 1 - (void)viewDidLoad { [super viewDidLoad]; NSS...

floor double by decimal place

Hi, i want to floor a double by its decimal place with variable decimal length (in iphone sdk). here some examples to show you what i mean NSLog(@"%f",[self floorMyNumber:34.52462 toPlace:2); // should return 34.52 NSLog(@"%f",[self floorMyNumber:34.52662 toPlace:2); // should return 34.52 NSLog(@"%f",[self floorMyNumber:34.52432 toP...

iPad running iPhone apps and font scaling

I'm testing one of my iPhone apps on my iPad in "2x" mode, so it stretches everything to double-size. I've noticed that some text appears to be smoother than others. From my (limited) testing, text in a UITextView or UITextField that is being edited (has keyboard focus) is smoother than a plain UILabel hanging out in a view. I'm not s...

How to add NSDate+BSJSONAdditions to the BSJSON project

Hello, I need to know how to get BSJSON to handle the NSDate that is in coredata in the json it returns null for the date, what needs to go into the category to make this work? ...

Strange Problem with disappearing Cells containing UITextFields in UITableView

I have a screen which functions similarly to the address book contact screen. The screen displays some data in a UITableView and provides an "Edit" button. When the user presses "Edit" the UITableView is animated to display the data in "Edit Mode". There is not a 1:1 relationship between the fields in "View Mode" and the fields in "...

Save Username & Pass Objective C iPhone

i have a textfield, Number and Password i have no clue how to save these settings and then read them as the app starts to check if they have been set or not. Thanks Mason ...

Is it possible to update views while doing a task without multithreading in iPhone OS?

I'm trying to set up a view that gives feed back via progress bar while it carries out a task, by incrementally sending updates to the view. I don't know much about multithreading, so I'm trying to do this without using it. Is there a way to force a view to update? It seems like there should be something to do this, cause I'm not really...

Is there a way to develop an iPhone game on a PC?

Basically, that's my doubt. I want to develop an iPhone game on my free time, but I dont want to buy a Mac, so, is there a way to use my pc to develop the game?. Thx in advance. ...

-setStatusBarHidden:animated: is deprecated

At the start of my app, the status bar is hidden, due to the Info.plist setting called 'Status bar is initially hidden'. Later on I want to show the status bar using [[UIApplication sharedApplication] setStatusBarHidden:NO animated:YES]; but I get a warning saying that the function is deprecated. Does anybody know what the new functio...

How do I add a touch event to a subview of UIView?

I'm trying to build by very first app so excuse my ignorance. I love the sample code that Apple put together here called ViewTransitions: http://developer.apple.com/iphone/library/samplecode/ViewTransitions/Introduction/Intro.html I want the transition to occur after a user taps the screen once instead of the button like the code does....

In-App purchase server for iPhone App

Hi All, My company is looking to implement a large-scale In-App purchase model for an iPhone app. Our biggest issue is that we don't want to go with a service like Urban Airship because it doesn't integrate well with our business model and the nature of the application itself. So now we're looking to set up our own server to handle the...

How to know when a subview becomes its coordinates in its parent view?

Hello, I would like to find a way for the following problem: If I add views (annotation views) to a parent view (map view) I can't have their positions immediately but at some point in the furute (when the view becomes visible, makes it layout, whatever ...). I would like to be triggered if the position of my subviews becomes available (...

tab bar controllers won't open in Interface Builder

Hi all, I'm developing a new app but I've a little issue with Interface Builder... I've installed Xcode 3.2.3 and iPhone SDK 4.0 GM. When I create a new Tab Bar Application project in Xcode, opening the MainWindow.xib file in IB, the Tab Bar Controller won't open... I tried reclicking it but nothing! I also uninstalled and reinstalled al...

Simple Game Server

I'm looking for a simple game server for an iPhone game I'm creating. The game is turn based, so I just need a way for players to find other players, and then have the server gather and send out turns. It's a simple two player card game. If you have ever seem the with friends app.. ( Chess with friends, Words with friends ) that is th...