iphone

ABNewPersonViewController can i localized it?

When I use this, it will show adding new contacts and all are in english can I localized all these fields? ...

UITextField does not show the assigned string

Hi all, In my project (my first one) I try to assign a text to a textfield created in the Interface Builder. [date setText:@"2010"]; I also tried using date.text = @"2010" I have created the Outlet and don't get any error... the text just doesn't show up. Just in case it matters... I prevent the keyboard from showing up and displ...

UITableView dequeueReusableCellWithIdentifier crash

HI, I've a strange problem concerning dequeueReusableCellWithIdentifier dequeueing a custom cell. It said that I am sending a message to a deallocated instance to an object inside that function, but I have not deallocated or released the custom cell since its creation. What could be the problem? Does deleting a cell in the tableview rel...

I can't get my axes to display using isFloatingAxis in core-plot

I'm using core-plot to display data that doesn't pass through zero on x or y axes, and I'd like the axes to be displayed too. The data is displayed correctly but the axes aren't shown at all. I see that the API has changed recently and it appears that the property to use is isFloatingAxis but I still can't get it to display. My code is b...

BSD Licensed Big Integer C lib with fast modpow

I'm searching a fast (specially the p^n mod g operation, should be implemented with montgomery) big integer library. I know there is GMP but GMP is LGPL which doesn't fit my requirements. I tried http://www.acme.com/software/bigint/ and tried to optimize the modpow in there. But do to the fact that the data is stored with base 2^32 it i...

pdf object creating memory leak

I have following code NSString *filePath=[[NSString alloc] initWithString:[[NSBundle mainBundle] pathForResource:pdfname ofType:@"pdf" inDirectory:@"appMasterPdf"]]; NSURL *url = [NSURL fileURLWithPath:filePath]; [filePath release]; CGPDFDocumentRef pdf = CGPDFDocumentCreateWithURL((CFURLRef)url); CGFloat scaleRatio; UIGraphicsBegin...

Is it possible to create, package and successfully submit HTML5 apps to the app store?

Hello everyone and thanks for reading... I'm a Mono / Web developer and was recently talking to an Apple guy regarding development on the iPhone and iPad. Now I know that Objective C / XCode is the heavy hitter for development on these platforms; however, I'm pretty sure he mentioned (and showed me) a HTML5 application he had created th...

MPMoviePlayerViewController crashes on OS 3.0

Hello, During the testing of my app i discovered that it crashed on an iphone with OS 3.0.1 and 3.1.1(iPod Touch). I have the following code for playing the video which is placed on a remote server. It works flawlessly on the iOS 4.0 and iPad with OS 3.2 Xcode is setup to use SDK 4.0 but target OS is 3.0. NSURL *url = [NSURL URLWith...

Get fullscreen camera preview iPhone?

By default it gives a 320x426 (instead of 480) camera image. Any suggestions? Anybody solved (rescaling is not a really good option)? ...

Reading plist file at specific index

I have to save some 100 sentences in my app. Each sentence is around 50-90 characters. I can create a .plist file for this. But i dont want to read the whole .plist file, just want to read a specific index. Is it possible? ...

Create a notification UI like Facebook iPhone App

What is the best way to implement this sort of notification system? (Let's say I am currently viewing a UITableViewController and I want 30 pixels from the bottom to be replaced with a nice looking notification... Thanks ...

Getting iPhone addressbook contents without GUI.

I would like to list all phone numbers (or any other field) of people in the addressbook. I've written the following code: - (void)addressBookFill{ ABAddressBookRef addressBook = ABAddressBookCreate(); people = (NSArray*)ABAddressBookCopyArrayOfAllPeople(addressBook); [addressBook release]; } - (void)printAddressBook{ ...

How can I use multiple colors in a Label (Xcode/iPad)

For an application I'm building, I dynamically add text to a label. The first part of the label's text has to be black so I choose that color in Interface Builder. However the second part (the first part is a title second part a description) has to be darkgray. Oh and note: 2 labels is not an option because of positioning. ...

iphone 4 - hires image loading with twice the size

I have 3 versions of an image: "myImage~ipad.png", "myImage~iphone.png" and "myImage@2x~iphone.png". Obviously, the last one has twice the size of the second. I am loading them using UIImage *imageU = [UIImage imageNamed:@"myImage.png"]; UIImageView *myView = [[UIImageView alloc] initWithImage:imageU]; [self.view addSubview:myView];...

strange iphone os4.0 error while quitting application

Hello all, I have updated to xcode 3.2.3 iphone os sdk 4.0. now when application enters in background state and when i double tap home screen to quit the bg running app. I receive Kill in gdb. Does some one knows about it ? ...

Portrait mode orientation problem with tabbarcontroller ?

Hi all Using tabbarcontroller, shouldAutorotateToInterfaceOrientation: method not calling for portrait mode while for other three orientation its calling perfectly. Did any have any idea about this ? thanks ...

iPhone CAF audio file format

Hello, Can i store iPhone's recorded audio sound into CAF format? ...

fql - fbconnect getting first post ever

I want to get the first stream record ever. I tried: SELECT post_id,created_time FROM stream WHERE source_id = 610611346 ORDER BY created_time ASC LIMIT 1 But it gives me the LATEST instead of the FIRST post :(. I increased the limit to 5 just to have a look at what it was bringing back and it is simply the last 5 posts in ascending o...

Releasing IBOutlets in UIViewController’s viewDidUnload?

I’m a bit confused as to what happens exactly in Nib-based UIViewControllers. When generating a UIViewController subclass, the template contains a very specific comment in the viewDidUnload method: // Release any retained subviews of the main view. // e.g. self.myOutlet = nil; To which subviews does this apply? The ones I initialize...

how to call a function within class in objective c

Hi all i am new to objective c programming I want to call a function within anothor method please give me idea. -(void) grabRSSFeed:(NSString *)blogAddress { // Initialize the blogEntries MutableArray that we declared in the header myBlogEntries = [[NSMutableArray alloc] init]; // Convert the supplied URL string i...