iphone

Help with generating ical ics files

I would like to generate ics files. Are there any libraries or APIs that would be of help please? Thank you ...

Resolve Proper URL

How can I turn domain.com into https://www.domain.com (the actual address)? Is there an easy API for this? The purpose is to allow a user to enter a domain in preferences and allow my app to convert that into a fully qualified web URL like a web browser does when I type google.com it returns http://www.google.com (ish). ...

Getting xib file errors and waring about lack compatibility with OS versions < 3.0

I have a project that has existed for quite a while, and I recently upgraded it to 4.0. Though it now throws out a bunch of warnings and an error similar to this: {some xib setting} is not supported on iPhone OS versions prior to 3.0. I have the Base SDK set to 4.0, and the deployment target set to 3.1, so why does XCode think it ...

Havng problems responding to cmmitEditinStyle in tableView

I am basically getting no response after i had gone into edit mode using : [self.tableView setEditing:NO animated:YES]; I set commitEdittingstyle: - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath; To see that I would get a response, bu...

Shared View Controller access to model class

Hi, I am trying to keep close to the MVC approach to programming in an objective C application. I have a model class and two View Controllers. @interface Disc : NSObject { NSString *discType; NSNumber *capacity; } @property (nonatomic,retain) NSString *discType; @property (nonatomic,retain) NSNumber*capacity; @implementation Dis...

changing UIButton.textLabel width at runtime

I want to change some UIButton.textLabel.text at runtime to reflect program states. Specifically, the button is used to make a selection from a list, and the result should be pasted onto the button. It is easy enough to change the text itself, but if the text is longer than the original title text I put in there in Interface Builder, the...

Possible to show a new UITabBar on a specific view?

I have a Tab Bar-based application with a navigation controller for each tab. One of the tabs is titled "People" (for sake of example) which loads PeopleViewController, which lists people. When a person is pressed, it pushes PersonViewController to view that person. Since there are many tasks associated with each person, I'd like PersonV...

What is the required visibility of an action method in iphone responder chain?

In a UIViewController subclass I create a bar button item that fires an event up the responder chain: UIBarButtonItem* editListsButton = [[UIBarButtonItem alloc] initWithTitle:@"Edit" style:UIBarButtonItemStyleBordered target:nil action:@selector(edit)]; self.navigationItem.leftBarButtonItem = editListsButton; [editListsButton release];...

iOS: Audio Unit RemoteIO AudioBuffer manipulation (i.e. sound effects from microphone)

I've been playing around with Apple's aurioTouch demo which is sample code for their Audio Unit tutorial. This application allows simultaneous input/output from the mic. to speaker. It also renders a stereograph of the inputted sound from the mic. At a really high-level of this low-level process, the sample code defines an AudioCompone...

can a webpage on a mobile browser ask/get users location from the phone?

Is there any way that a webpage can make a request for the users location from the android / iphone device ? Since all I need is the users location, I am trying to figure out if there is anyway I can bypass developing a native app and use some nifty html5 call to just get the users location so all a user would need to do is visit my web...

converting a UITableViewController to UITableView.

The original version of my app contains a UITableViewController that is pushed onto the screen when it is called. In my updated version, I have replaced that view with a regular UIViewcontroller that contains a tableView so that I can have a few graphics above the tableView, and it looks a lot better. However, I'm having a lot of troubl...

Calculating interest in objective c?

What is a simple piece of code to read a stored number, calculate interest on the stored value, say $100, at a rate of %10. Then I store the new value in place of the old one. I was working towards this: NSNumber *bankTemp = [[NSNumber alloc] initWithInt:[[NSUserDefaults standardUserDefaults] integerForKey:@"bank"]]; bankTemp = bankTe...

iPhone table view, using NSDictionary & plist

Hi, I'm populating a UITableView with NSDictionary and dictionaryWithContentsOfFile plist. In the plist I have 3 rows, each row has an array. I don't know what the id/index of the row will be. Under: // Customize the appearance of table view cells. - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSInde...

[iPhone] Understanding UIApplicationDelegate

When design iPhone applications, I have several questions: Q1 : what considerations if suddenly calling when app is running ? similar with SMS, low power notification etc. (what else ? ) Q2 : what should do for low memory ? Q3 : how to save data when quitting ? ...... All those questions are related with UIApplicationDelegate. The...

Have iPhone App communicate with an OSX app

Is there an easy way to make an iPhone application communicate with a Mac app? By communicate, I mean able to control certain things within the mac application, like control a character on the monitor ...

Is it possible to share an Apple Developer Program license between programmers?

A couple of friends and I are working on a project for our final thesis that will run in the Iphone, and we're looking at the prospect of purchasing an Apple Developer Program License. I'd like to know if we could purchase a license between the three of us, and still be able to deploy to the iphone individually. That is, each of us wo...

Optimizing OpenGL ES on the iPhone and interpreting Instruments

I'm trying to push my FPS up on iPhone 3Gs from 30 as high as possible... and I'm running into a couple of issues and thought it would be better to ask for advice. 1) What exactly do the Renderer Utilization and Tiler Utilization columns on the OpenGL ES Instrument signify? My Tiler Utiliation percentage is extremely low, and my Rendere...

How to fire event by using Xcode?

Hi all, I want to develop an iphone app which communicate with the hardware by using tcp/ip. Now, the app send to the hardware is ok. For the convenience to develop, i want to use fire event to develop the receiver. Does anyone has any ideas? Joe ...

Erratic UIPageControls

Hi I'm using two UIPageControls in a view to reflect chapters and pages. So I have defined one UIPageControl named chapterCount and one named pageCount just to show where the user is. I handle the flipping of the pages with swipes rather than using the UIPageControls (so no methods defined for them). I change their values as the user c...

Make the App Delegate perform an action?

My AppDelegate_Phone class has the method -(void)doSomething. How can I call that from within a View Controller viewController? I've tried: [[[UIApplication sharedApplication] delegate] doSomething]; No luck. doSomething not found in protocol Edit. The action is being performed, but the Warning persists in XCode. What does the warni...