Sorry for the long explanation. Thanks in advance to all who are taking their time.
I am an Ubuntu user who has set up Titanium Developer on a MacMini in order to build an app for the iPhone (and ultimately some other platforms).
Rather than having any local code built in, the app simply points to my website. To do that, all I needed t...
Hi,
I have a UITableView thats loaded from an API call - the performance of this is fine.
However each cell that loads also requires an individual API call to fill it out with more information. I'm finding that this causes the UITableView to "stutter" when scrolling?
What is the best way to implement the additional API calls to preven...
Currently I'm working on an iPhone app that asks the user for login information, verifies this information and presents the user with a table view of their information.
On launch the application delegate launches an empty table view along with the modal view to ask for login credentials. The login credentials consist of a standard us...
-(IBAction)gameplayButtonClicked{
GamePlayViewController *screen3 = [[GamePlayViewController alloc] initWithNibName:nil bundle:nil];
screen3.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:screen3 animated:YES];
[screen3 release];
}
...
Hi,
I've added a custom View to a callout bubble.
The view is too large for the callout itself.
Is it possible to change the height for a callout bubble?
Thanks.
...
This is more of a high level "how do you solve this type of problem" type of question, as opposed to a "why doesn't my code compile" question.
I've got a search bar within an iPhone application that searches my data just fine. However, i have the search triggered (handleSearchForTerm is called) after each keypress. This creates some l...
The following code is producing a memory leak on the in retVal line:
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
Any ideas on how to fix?
...
I like the idea of abstracting CellControllers in a heterogeneous UITableView as suggested by Matt Gallagher. However in the case of typical push-detail-view behavior, I find myself creating nearly-identical variants of LinkRowCellController that differ only by the detail view controllers' init methods -- init:, initWithBook:, initWithMa...
Hi, it is very strange, because this error doesn't happen all the time...
I have the following code:
- (IBAction)getPhoto:(id)sender {
UIImagePickerController * picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
#if TARGET_IPHONE_SIMULATOR
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;...
When you enter editing mode on a grouped-style UITableView, the cells indent to show the editing control (if you aren't sure what I mean, see this picture (editing mode) http://i.imgur.com/GJXvL.png and this (non-editing mode) http://i.imgur.com/ahKYS.png).
I am trying to manually indent a cell when the tableView is not in editing mode....
I am trying to generate a UITextField in a view like this. I don't mind using IB or doing it programmatically.
...
Hi guys,
I have a custom UIViewController subclass, which gets pushed on a UINavigationController stack. I want to add some data of my own at the time of initialization/pushing. Should I
a) write a custom init method with my data as argument, like this?
MyCustomViewControllerSubclass.m:
-(id) initWithNibName: bundle: myCustomData: {...
I'm trying to access an NSMutableArray which is a data member of my AppDelegate class. It is synthesized in the implementation, and is an array of a custom class which has a "name" NSString data member.
I currently use it to fill a Table View (a SubView) like this:
cell.textLabel.text = [[[delegate contentArray] objectAtIndex:indexPat...
I have an issue that looks like a race condition with a webview callback and a location manager callback that interact with the same variables and an alert dialog - the dialog is created in the location callback and should be dismissed in the webview callback. I thought that the delegate callbacks for standard objects like the webview a...
First, in my root view controllers viewDidLoad, I initialize an NSDictionary with arrays of NSManagedObjects, like so:
- (void)viewDidLoad {
[super viewDidLoad];
self.title = @"Decks";
UIBarButtonItem *browseButton = [[UIBarButtonItem alloc] initWithTitle:@"Browse" style:UIBarButtonItemStylePlain target:self action:@selecto...
I have a UIViewController that I wish to push onto the stack, however, when I call [viewController release] on it after I push it, any time I pop it off of the stack however, I get various errors pertaining to deallocated instances of the view controller. Here is an example of an implementation:
RootViewController *rootViewcontr...
I am preparing a update for one of my apps.
I want to change the "product name" of this application in Xcode.
Will this give me any problems? I mean, will users that already have bought the application be able to download the update?
What exactly identifies the application for iTunes and the iPhone? The bundle identifier and version o...
I'm working on an iPhone app and about to release version 2. We'll be changing the core data model and I'd like to simulate the upgrade process in the simulator before releasing it to users and potentially causing data loss for them. There doesn't seem to be any real good doucumentation on how to do this in a sandbox before releasing i...
I'm attempting to output audio to the bluetooth headset (not A2DP) using AVAudioPlayer, AVAudioSession and AudioSessionSetProperty.
There seems to be functions to select the bluetooth headset as input (kAudioSessionProperty_OverrideCategoryEnableBluetoothInput), but no equivalent for setting the output. This is done in the Voicemail ap...
So I am just beginning recently developing some simple apps for the iphone. I will say that I am fairly sure I don't have a strong understanding of programming for multiple views yet, but I am trying to learn as I go.
I have a program that started as a plain window based application so i could hand write everything in hopes of learning ...