iphone

iPhone Library not loading (not linking)

Hi, I'm working on an iPhone application and I'd like to use the XFSM libraries (see http://fsmbook.com for info) for interacting with finite-state machines. Anyway, I included the two libraries into my program using "add existing frameworks" but when I compile I get the error: dyld: Library not loaded: libbreadline.dylib Refere...

Is Locking really needed in my iPhone application?

I'm working on a relatively simple iPhone application that has a multi-round Timer with a number of settings such as the number of rounds and round length. We allow certain settings to be upated while the timer is running which means the timer may be reading from the same memory that the settings are writing. There are no critical sect...

What engine to choose for bowling-like game?

Hi! I wanna write some sort of bowling game on iPhone. I've read about SIO2 and Unity but I want to know developers opinion about what engine fits to my task with minimum efforts. What do you recommend? thx. ...

Is there a way to get a position (or center) state from a unfinished UIView animation?

I have a UIView doing a simple animation. It adjusts its y position from 100 to 130 and then reverses. I want it to keep repeating so I have the repeat counter set to 999. Upon user input, I want to take the same UIView and adjust the x position. This is done by means of another UIView animation. The problem is that when the 2nd ani...

uItableviewcell to retrieve value dynamically

hi expert, i did an application which has imageview to capture image from camera and a button where button is clicked pickerView will appear by actionsheet and will choose type of image(jpg, png, bmp..), once select from picker, button title will change according to the pickerView result, then i try to convert this to UITableView, whic...

[iPhone]A zone which user can't interact, why?

Plese refer to below image to get detail of my problem: This maybe relate to Status bar??? *Note: this is a full-screen application. My way to do this: 1. add "Status bar is initially hidden" information property to xxx-Info.plist. 2. In all screen of app: set "Status Bar" to none. ...

Objective C Comparing the name of an UIImageView

Hi all, i have a question, totally newbie but i would like to know how can i get to compare and image in an if else statement? i have an image lets say it is "img.png" and i have it displayed in an imageview already in the application, however in the codes i would like to compare if the image show is "img.png" I understand that for st...

Core Data multi thread application

Hi all, I'm trying to use core data in a multi thread way. I simply want to show the application with the previously downloaded data while downloading new data in background. This should let the user access the application during update process. I have a NSURLConnection which download the file asyncronously using delegate (and showing...

how to edit property of UITableViewCell on other method.

i know it will be setup cell on this method - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath for example if i want to edit property of cell in tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath how can i access to the cell that i selected? ...

Are there good and easy to understand tutorials on NSXMLParser?

I try to wrap my head around NSXMLParser and all its delegate methods. Would be great if someone knew a good tutorial on that. I need an overview that describes the concept and how things are done. I know the seismicXML example from apple but it's really hard to grasp. I also know there are plenty of other frameworks like TouchXML, but ...

Movie Player shows Default.png image in background while loading (OS 3.1.2)

Hi, I'm using MPMoviePlayerController to stream audio/video files from a servrer. It works great on all other OS versions. However, on 3.1.2, it shows the Default.png image (used to display at app splash screen) in the background while the movie loads. It only happens for the first time and the player works fine (no image in background)...

iphone addressbook - getting null item in ABAddressBookGetPersonWithRecordID

hi guys. I'm really struggling with ABAddressBookGetPersonWithRecordID at the moment. I am saving an ID, and then trying to call it back up again. Currently im doing something simple to test the linking, but its not working. First, I can read objects from my iphone simulator address book using: -(BOOL)peoplePickerNavigationController:...

Adding file to Documents Directory (or elsewhere)?

Hello, I want to initialize my app with a small sqlite3 DB. I tried to put it in the Documents directory, but sometimes it copies it with zero size and sometimes it doesnot copy it at at all. How sholud I initialize my app with a DB full of info? Thankyou ...

Debugging iPhone App from Command Line

I can do it from XCode, but I want to be able to launch an iPhone App (on the device) from the command line. Is it possible? Why? Because I want to capture some of the output for semi-automated testing. I'm guessing I need to use a debug build for NSLog output, but I'd also be interested to know about other methods for getting NSLog / s...

iPhone In App Purchase - response.products are still empty?! Please help

I've wasted so much time on this and so I'm now begging for some help. Basically, I've tried to set up in app purchases on a test app before I implement them into a proper app that my company are working on. I've read the Store kit pdf and other snippets about a 1000 times, but the products are still being returned as empty. Here's exact...

UISearchBar clear background color or set background image [iphone sdk]

hi how can set image or clear background of search bar ? like note application ? ...

Is possible call animatesDrop in a MKAnnotationView rather than MKPinAnnotationView?? (IPHONE)

I, do you know that MKPinAnnotationView has a method "animatesDrop" to animate a pin annotation from the top to point on the map with a shadow?!..OK...is possible do this with a custom image?? thanks..:) ...

Child array always empty

Using the following code I am always getting category.subCategories count to be 0 using the Xcode debugger Category *category = [[Category alloc] init]; category.title = @"Pubs & Bars"; category.icon = @"cat_pubs&bars"; category.subCategories == [[NSMutableArray alloc] init]; Category *subCategory = [[Category alloc] init]; subCategory...

How to specify the view controller classes to be used by UITabBarController?

In interface builder I select the Tab Bar Controller item. The inspector shows me a list of associated view controllers. For any strange reason, I can not define anywhere the exact name for an view controller. I have an DetailsViewController and an SetupViewController. However, I can only select generic names such as "Navigation View con...

is it possible to get back to my application after clicking google maps?

the title says it all. We have made an application for a city in the netherlands that wants tourists to visit their lovely museums. when they reach the page fo a museum we have a little icon that they press and they get transported to google maps which shows them where they are and how to get to the museum. What we would need is a bac...