iphone

calling initWithNibName doesn't initialize items in the nib, it has 0x0.

When I call: self.viewController = [[DidItViewController alloc] initWithNibName:@"DidItViewController" bundle:nil]; and then I check self.viewController.navController right after this line is executed in the debugger, I find that it's empty (0x0). On DidItViewController I have my navController defined as: IBOutlet NavigationControll...

-didSelectRowAtIndexPath not working for me. iPhone SDK 3

Hey everyone. I am trying to incorporate a simple UINavigationController into my tab bar application. I have the TabBar set as the root controller and all seems to work fine. This method is called correctly and does not break yet it does not change to my detail view. I am completely lost on this one. I followed instructions from this v...

Limitations of Objective C on the iPhone

How does Objective C on the iPhone compare to Objective C on the Mac and what version of objective C is the various iPhone versions? ...

Strange problem with App Id on developer account

Hi, I have very strange problem with App Id on developer account. We have uploaded one project with App Id(com.yourcompany.app) and its ready for sale now. Now we have to release update for this application but we could not find that App Id(com.yourcompany.app) on developer account. But strange is that i could not see delete option for...

(Iphone) Retrieve Id from a Cell and use it in another query to display entry

Hi, I have a TableView who display the name of some Categories by executing this simple query "select * from category" so my object contain id_category and name. When I click on a row, a new tableView will display somes names inside thoses different categories. "Select * from fiche_Category where id_category = ?" My only probl...

XCode 3.2 version: now I can't compile.

I have this IPhone app underway that was working fine, then I installed OS 10.6 and the shiny new XCode. It's not compiling, instead coming up with the single error, "There is no SDK with the name or path 'iphoneos3.0'" I can't find such a file or folder on my hard drive. What's broke, and how do I fix it? Thanks for any assistance...

Make NSXMLParser skip an Element

Hi, I'm using NSXMLParser on an iPhone App to parse HTML Files for a RSS or Atom Feed Link. Everything works fine until the parser find a <script> element that includes Javascript code without the CDATA Declaration, this causes a Parse Error. Is possible to tell the parser to skip all the elements named <script>? ...

Why touches Ended not being detected in pinch movement?

I am doing the pinch swipe in UIScrollView. I have subclassed UIScrollView and for single tap and double tap everything is working fine. Even The touches began is working for swipe but not touchesEnded. When i do the pinch movement, whether inside/outside it appeas to move like a normal swipe. When I just tap on with double fingers also...

Trying to sort Core Data objects by date in table view

So I've got a Core Data setup where each object has an NSDate, and a method that returns the date as a string (ie, "12/15/2009"). The objects are displayed in a table view, and I'd like to sort them into sections based on the date string. Apple's example code in the CoreDataBooks app uses this line: NSFetchedResultsController *aFetchedR...

Live streaming in iPhone ?

I have read a lot of posts about live streaming in iPhone, but none of them really works. The project I want to work out is as follow: There is a MUTE movie streaming in a movie theater. I want to get the time code (the position it is playing) through wifi and makes iPhone/iPod Touch to play/stream an audio track at the same time code....

Remove transparent overlay UISearchBar

How do you remove the transparent black overlay that animates over the source table view when you activate a UISearchBar? Can you somehow get to the UIView responsible and set it's alpha to 0? Or is there a way to display an empty searchResultsTableView on top of the black overlay? ...

How to use OpenBase SQL in Objective-c for iphone?

Hi, I trying to use OpenBase SQL in my code to save large amount of data. But I have one difficulty regarding this, I am not able to find the frameworks required for using OpenBase SQL in my code. I have found some coding part from the net but that is not working since no framework for OpenBase is added. Can anyone help me with this......

Creating a new ABRecord

Hi all, I am working with ABAddressBook. I have checked out the API docs but could not find any API related to creating a new ABRecord. But in ABAddressBook, a method ABAddressBookAddRecord is available. But I didnt find any APIs available to create a new record. Is there any way to do this? Best Regards, Mohammed Sadiq. ...

Adding a decal using multitexturing on an iPhone

I'm trying to overlay one image on top of another onto a simple quad. I set my bottom image as texture unit 0, and then my top image (which has a variable alpha) as texture unit 1. Unit 2 has mode GL_DECAL, which means the bottom texture should show up when the alpha is 0, and the top texture should show when the alpha is 1. But, only th...

Reminder feature in iPhone Native Application

Hello All.. In my native iPhone Application, I have a requirement to add a reminder to the user's iPhone Device. Is it possible to implement this feature using current iPhone SDK ? Or else is there any other way to implement this feature ? Thanks in advance... ...

Showing a view over the TabBar controller iPhone SDK 3

Hey Everyone. I have another question. Maybe its late and I am not thinking clearly but I am stuck on this. I have a navigation controller that is called into view by a tab bar which is my root controller. In that navigation controller I have a toolbar item that, when pressed, needs to bring another view up. I have the view being pulled ...

Converting wildcard bundle identifier to single ID

I have an app in the app store that uses a wildcard bundle identifier. I want to implement in-app purchashing , which requires a non wildcard ID. How do I convert the wildcard ID of an existing app to a static ID for in-app purchase and push notification? ...

Glitch when moving camera in OpenGL

I am writing a tile-based game engine for the iPhone and it works in general apart from the following glitch. Basically, the camera will always keep the player in the centre of the screen, and it moves to follow the player correctly and draws everything correctly when stationary. However whilst the player is moving, the tiles of the surf...

How to manage sessions in web-driven Iphone Application

I am Making an Iphone application which is web-service enabled. Also I have skeleton of this application.I am using rest to feed the contents of view controllers. When application is launched it is presented with Login page asking username and password. Clicking Login button sends request to server and in response xml data is fetched. Th...

accelerometer use

Hi, I'm relatively new to iphone coding, i am trying to design a simple game whereby i can swing the iphone to trigger the firing of a cannon at the bottom of the screen and hit a moving object. I tried using accelerometer but does not really work out well or maybe have to do with the coding, can someone help me out here? thanks a lot! ...