objective-c

How do I calculate a logarithm in iOS?

I want to calculate a logarithm in iOS. Can Objective-C do this? ...

utitlity applications in Iphone

What are utility applications & how to use them in Iphone. Plz give me some link for starting with utility application(tutorial & implementation). Thanks. ...

how to get user's facebook profile pic via fbconnect in my app iphone ?

how to get user's facebook profile pic via fbconnect in my app iphone ? ...

label not updating on iPhone

I am running a synchronise process on the main thread because I don't want the user to try and do anything else during the process. However I want to update the interface. For the most part it does update, but sometimes the label I have has not quite caught up to the text I have set it. Is there a way of forcing the UI to refresh. ...

How to customize the preview button of UIImagePickerController in Iphone sdk?

Hi Guys , I need a help from your side, Actyally I done showCameraControls = NO; and I had a customized button for preview to th captured video.How to get the previedw mode when showCameraControls = NO;. Guy's Please help me to get rid of this. Hope I will get quick response from your side. Thanks in advance, Madan Mohan. ...

Internationalization: Only key name is displayed instead of localized string in Simulator

Localization is working for other languages except of English pretty well. Every time I compile my app I see the key name instead of the localized string. Example: NSLocalizedString(@"WelcomeKey", @"") In Localizable.strings I have the corresponding entry: "WelcomeKey" = "Welcome"; In the simulator I always get the key name Welcome...

to stop a running method

i want to stop currently running method for a short duration.. can i do it without using any thread ? ...

apple's developer license

Hi Guys, We are company with 10 iOS developers. Do we need to purchase developer license for each machine? Or is there any concept of purchasing bulk licenses? Like what is the alternative of single user license? Regards ...

UIDatePicker - Upon Date Changed

Hi I have just started using UIDatePicker in my iPad app, but is there a way of checking when the date has been changed? I want to do something when the date is changed. Hope you can help, thanks. ...

NSString range of string at occurrence

Hi, i'm trying to build a function that will tell me the range of a string at an occurrence. For example if I had the string "hello, hello, hello", I want to know the range of hello at it's, lets say, third occurrence. I've tried building this simple function, but it doesn't work. Note - the top functions were constructed at an earlie...

NSDictionary split into two arrays (objects and keys) and then sorted both by the objects array (or a similar solution)

Hi there I have an NSDictionary. It has keys and objects. For the purposes of simplicity the keys are Question numbers and the objects are calculated Answer scores. Now how I did it before was that I set the answer score as the keys and the question numbers as the objects. This way I could get an array of allKeys from the dictionary, ...

Different dictionaries and tableviews

Hi all, I have a dictionary that hold address details, sometimes it can hold, 'name, email, telephone' other times, just 'name, mobile' name = "Someone"; email = "[email protected]"; telephone = "01000 000000"; or name = "Someone Else"; mobile = "07700 000000"; I want to display these in a detail table view, in my head this ma...

Change this to UIDatePicker Date?

Hi I have this code: - (NSString*) tableView:(UITableView *)tableView titleForHeaderInSection:(int)section{ curDate = [NSDate date]; // Get current date calendar = [NSCalendar currentCalendar];// Init calendar comps = [calendar components:NSYearCalendarUnit|NSMonthCalendarUnit|NSWeekCalendarUnit|NSWeekdayCalendarUnit fromD...

what is the size of the iPhone plist?

Hi, everyone, I want to ask a question about the iPhone plist. What is the size of the plist in each iPhone application? Thank you. ...

gcc-4.3 error find in iphone

Whenever I run my code it gives me an error. I couldn't find the solution. The error is: command/developer/platforms/iphonesimulator.platform/developer/usr/bin/gcc-4.3 failed with exit code 1 ...

How do I import a particular custom font weight for the iPad?

Hi, I'm having trouble importing a specific font weight into my iPad project. I've managed to get custom fonts embedded using the info.plist file and referring to them using CTFontCreateWithName, but I'm having trouble now it comes to using a specific font weight. The file is called "UniveConBol.ttf" but in the installed font is just na...

How many record can I add in the iPhone?

Hi, everyone, I want to ask a question about the iPhone. I am writing a program which can add the record to the iPhone build-in Contacts. However, I don't know that how many users can store in the iPhone Contacts. Is there some limitation (e.g. iPhone build-in Contacts only support 2000 record). of the size of the contacts? Besides, Ca...

Constructing a simple HTTP Post request to send a single image from iPhone

I'm trying to send a single image from my iPhone app to my Google App Engine Java server. On the server, I'm getting a FileUploadBase$InvalidContentTypeException, which is thrown when the request is not a multipart request. ServletFileUpload.isMultipartContent(req) is printing false. I'm trying to send an image, encoded as a jpeg, and...

Is it possible to retrieve the create time of the iPhone contacts record?

Hi, everyone, I want to ask a question about iPhone. Is it possible to retrieve the creation time from the iPhone contacts of each record? Thank you. ...

Handling alert buttons when your view has more than 1 alert

-(void)alertOKCancelAction { // open a alert with an OK and cancel button UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Return Home" message:@"Are you sure you want to return to the menu?" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil]; [alert show]; [alert release]; } -(void)alertConnect...