iphone

Do you need to release parameters of methods at the end of them in Objective-C?

If I have a parameter passed to a method, do I need to release the parameter at the end of the method? ...

Iphone Switch from a tabbar view to a navigation view using a button

Hi, I have a 2 views wich are controlled by a tabbar. I would like to click on a button (on one of the view) and get another view without the tabbar and with a navigation bar. How can I do this? Tanks ...

The application is not installed on iphone because it is not signed.

Hello, When I try to install my app. to client's iphone I got this type of error:The application is not installed on iphone because it is not signed. ...

how to find whether a person is inside a building using gps co ordinates

hi, I am working on a iphone GPS stuff. I have the 4 GPS co ordinates of a building. Is there a way to find out whether a particular GPS coordinates is inside this 4 co ordinates. That is to find out whether a person is inside the building. ...

custom float from sqlite -> UIButton.frame CGRectMake

Hi everyone, is it possible to load a float value out of an internal sqlite database and use it as a variable in CGMakeRect from UIButton? I can't get this to work :-( Here is some of my code. Maybe someone knows how to deal with this prob!!! self.positionX = [NSNumber numberWithFloat:(float)sqlite3_column_double(init_statement, 3)];...

write object copy back to a object

Hi I am trying to copy an object using the NSCopying protocol. I load the new controller on iphone and create a copy of a object. All the changes from TextFields are done on the copy. If the user wants to save I guess I have to somehow replace the original one with the copy.. But it does not take over the values... This is the part whe...

Releasing instance if service not enabled?

I would just like to check if I have this right, I am creating an instance of CCLocationManager and then checking if location services are enabled. If it is not enabled I then report an error, release the instance and carry on, does that look/sound right? locationManager = [[CLLocationManager alloc] init]; BOOL supportsService = [locati...

inserting values from array to table view

hi all, i hv an array parsed from xml which looks like this de> <0>Merkel <1>AppleIphone <2>Sag ich nicht <3>youporn.com <4>ICQ Service <5>Sozialamt <6>Liebesengel <7>Hartz 4 i am able to set this list into table view's cell, but the problem is i am not able to break each entry for each cell..evrything is coming up in a ssingle row,...

How do I get the index of the current Object in an NSEnumerator iteration?

Question: How do I get the index of the current Object in an NSEnumerator iteration? (I don't want to keep track of things using an integer counter or use a for loop due to speed reasons. I did it before I just cannot remember how I did it...) ...

Error of iPhone certificate

Hi, I have a big problem. I have downloed a certificate from apple site. When I put it into xCode have a warning : "A valid signing identity matching this profile could not be found in your keychain" and can't build the app. Thanks and sorry for my English XP ...

shoutcast pls forbidden for iPhone programatically?

I have been trying to access the pls file data from shoutcast for some testing but the response seems to be forbidden and i am getting 403 as response. here is the code NSURL *myurl = [NSURL URLWithString:@"http://yp.shoutcast.com/sbin/tunein-station.pls?id=9944"] ; //Accept:*/* NSMutableURLRequest *myrequest = [[NSMutableURLRequest a...

performSelector:withObject:afterDelay: not working from scrollViewDidZoom

Hi all, I feel like I should know this but I've been stumped for hours now and I've run out of ideas. The theory is simple, the user manipulates the zoom and positioning in a scrollview using a pinch. If they hold that pinch for a short period of time then the scrollview records the zoom level and content offsets. So I thought I'd sta...

Low memory with 640Kb of live bytes?

Hello, i've a problem with my application that need to display a lot of images and video. After running ObjectAlloc tool, i see that the live bytes is 640Kb and the overall memory is 31,54Mb when the application crash. In the organizer i get a "low memory" report so i guess the app crashed because low memory but the ObjectAllocation d...

iPhone - how to make delete animation like Notes app.

Hi, I want to make an animation, like the deleting a note in iPhone Notes app. But here I want to do it for Tabbar. So deleting a view (something shows in a view) will swoop down in a delete tab bar icon. Say, I have favourite tab bar item, so adding something in the favourite will swoop down the view in the favourite tab bar item. Th...

How do you decrypt an encrypted SQLite database into memory and access it?

Hi all, We have an encrypted SQLite database provided with our app, and we want to decrypt the file into memory so that we can access the database. How do we go about decrypting and accessing this database? ...

How to use Norwegian language iphone?

How can i use Norwegian characters to show them in UILabel in my application. if i use it directly it shows garbage value. ...

[SOLVED] Iphone NSXMLParser NSCFString memory leak

I am building an app that parses an rss feed. In the app there are two different types of feeds with different names for the elements in the feed, so I have created an NSXMLParser NSObject that takes the name of the elements of each feed before parsing. Here is my code: NewsFeedParser.h #import @interface NewsFeedParser : NSObjec...

iphone screen - type of view to use

Hi There everyone... looking for some advice on what type of view can be used to build a screen with the following elements: 2 labels followed by 2 buttons. Then a small table view with 3 rows. Should a UIView be used or a UITableView? I've attempted using a UITableView - however I couldn't add the labels or buttons. So I've now built...

comparing indexPaths in a loop iphone

I am trying to compare an index path in my didSelectRowAtIndexPath delegate method with an array of index paths. for (n=0; n < [tempMutArrray count]; n= n+1){ NSComparisonResult *result = [indexPath compare:[tempMutArray objectAtIndex:n]; //What I want to do is is write an if statement that executes a certain block of code //if...

IPhone springboard screen Landscap issue

Hello, i have create springborad view like same as iPhone Home screen, like wiggling,icon arrangement. its working fine when application launch potriate view but when i rotate in Landscanview it display perfectly but frame not set perfectly; may be portrait and landscape frame are different. i have set Row = 6;Column = 5; in potrait mo...