Hello all,
I am getting some odd behavior from stock table cells, or maybe not odd, maybe I am making some assumptions.
I create the cells as follows:
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
Then I assign an image to the default imageView prop...
I want to install the iPhone 4.0 SDK, but I don't want to lose my stable 3.2 version because I am planning on packaging an app for distribution soon. Any tips on installing more than one version?
Snow leopard 10.6.3
X Code 3.2.2
...
Can anyone tell me what I am doing wrong with the bottom section of code. I was sure it was fine but "Leaks" says it is leaking, which quickly changing it to the top version stops, just not sure as to why?
// Leaks says this is OK
if([elementName isEqualToString:@"rotData-requested"]) {
int myInt = [[self elementValue] intValue];
...
Hi,
I'm new to iPhone Development and I did some examples and seen code and code and more code but I still can't get the
when the user taps here show this view using this animation, and go back after (user taps a back button)
I did some Tab Bar examples, Utility examples, etc but when I start a project from scratch the code never...
Hi,
I have a string that ends with a " (quotation mark) that I want to get rid of. However, because XCode usually requires you to enter the text you wish to remove using stringByReplacingOccurrencesOfString in @"texttoremove" format, you can't use the quotation marks in the space as it thinks you are closing the text.
Update: Now I can...
I see a bunch of apps for iPad with really cool title bars. These seem to be a combination of a navigation bar and a toolbar. They usually have a back button and a title as well as men other buttons. And a navbar only supports a left item, a right item and and title view. And the toolbar does not really support back buttons or titles.
...
I'm using JQTOUCH to build a iPhone web app that includes a contact list just like in the iPhone under Phone > Contacts...
This contact list has a vertical alphabet that allows the user to click & jump to the right anchor location in the list.
Is there a smart way to do this or plugin already available that would work with JQTOUCH?
Th...
I have the Value Changed event of two UISliders (both of which have referencing outlets) wired up to the following method:
-(IBAction) sliderMoved:(id) sender {}
How can I determine which slider was moved so that I can get its value and update the corresponding label? Or would it be simpler to have two separate events, one for each sl...
I have subclassed UIImageView and tried to override drawRect so I could draw on top of the image using Quartz 2D. I know this is a dumb newbie question, but I'm not seeing what I did wrong. Here's the interface:
#import <UIKit/UIKit.h>
@interface UIImageViewCustom : UIImageView {
}
- (void)drawRect:(CGRect)rect;
@end
And the imple...
I am confused about the iPhone responder chain. Specifically, in the iPhone event handling guide http://developer.apple.com/iPhone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/EventHandling/EventHandling.html, we have the following:
The first responder is the responder object in an application (usually a UIView obje...
I have an editor that I am making, and I need a way of editing the document's title. I was considering touching the title of the navigation item and have a custom view appear.
I did this in an initial version of the application with a button bar item (and target/action), but I cannot seem to find a way to do it with the managed navigati...
Hi Everyone.
I'm making an app where I need to save the text in multiple views in the app when the app quits. I also need to be able to remove all of the data from just one of those views and when the app quits, it's possible not all of those views will have been created yet.
After reading this post I thought perhaps it would be good ...
Hi there,
I'm working on an iPad app and here's my scenario:
I have a view which contains a table view inside of it. When the user selects an item on the table view, I would like the parent's view to change in a navigational manner. For those of you that have an iPad, this would be akin to the "Settings" app. But I guess in the "Sett...
I am trying to load an NSMutableArray with UIImageViews. Everything is going fine with that.
Unfortunately, I have no idea how to use the objects when they are in the mutable array.
Here is some code:
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
NSMutableArray *array = [NSMutableArray new];
[array loadWithObjec...
Hey all, i am checking for an internet connection by checking for a file on my server. The file only has the word LIVE displayed on the page. No HTML or anything else is there, just the word LIVE.
When i run this code, i do get the NSLog as saying "LIVE" but once i go to check it with the IF statement, it fails and i just do not know wh...
I'm attempting to make use of the UIDocumentInteractionController mechanism in iPhone OS 3.2, but I'm struggling to figure out exactly how to construct a UTI that it likes.
I've gotten as far as attempting to set public.plain-text, but it's hard to test whether this is the correct UTI for a plain text document, since I can't tell whethe...
The Project
I'm working on a relatively simple iPhone OS project that's navigation controller based, with a root table view and a detail table view. Tap an item in the main list to see its details in a pushed table view.
The Setup
I broke out the data source for both views into their own objects so as not to muddy the purpose of a vi...
Hello ! every one.
I am having number of images with in my application. ( images more than 50 - approximately & it can extend according to client's need )
Each image are very large round about - 1024 x 768 & 150 dpi
Now, I have to add all this images in a scroll view & display it.
Ok, My question is as follows.
According to me there...
Hey Guys
I'm thinking about making a suggestion box for my next iPhone app.
What's the best way to go about this? I was thinking an ModalViewController, a text box that emails out? Are there any other(better ways) to do it? Any expertise would be appreciated.
Update: I read that sending an email from an app is a private api? Will t...
This concerns iPhoneOS-sdk-3.2
I am having difficulty changing the border color of a grouped UITableView. I can change the cell background color, separator color, text color, quite easily now, and the rounded corners clip correctly, even when highlighted with whatever colors I have chosen. However the surrounding border remains infuria...