How to change UIPickerView height
Is it possible to change the height of UIPickerView? Some applications seem to have shorter PickerViews but setting a smaller frame doesn't seem to work and the frame is locked in Interface Builder. ...
Is it possible to change the height of UIPickerView? Some applications seem to have shorter PickerViews but setting a smaller frame doesn't seem to work and the frame is locked in Interface Builder. ...
If one navigates to the iPhone's Phone app, then goes to Contacts -> Info (on any contact).. you will see at the bottom of the contact there are two adjacent UITableViewCells, on the same row. In this particular case, they are "Text Message" and "Add to Favorites" How is this layout achieved? If there's any examples out there, that woul...
I see a lot of code, particularly in Apple example code, that resembles the following: EditingViewController *controller = [[EditingViewController alloc] initWithNibName:@"EditingView" bundle:nil]; self.editingViewController = controller; [controller release]; Is there any reason in particular that the approach above proves...
I have a hypothetical UIViewController class named "foo". foo inherits from class bar and class bar #import's "Class A", a class which foo uses extensively. The problem is, when I'm using an instance of class A in foo, I don't get any compiler errors, but I do get a warning for instance, that an instance of Class A does not respond to a ...
If you have Class A with an instance var "foo" which has a @property/@synthesize directive, and Class B inherits from Class A, does it also need to @property/@synthesize "foo"? The reason I ask is because when I try to use Class B's "foo", the calling class says that "foo" is not something of a structured union or a member, which makes m...
I made an application that should run constant until I stop it. What it basically does is getting some data from connected another device and send that data to the server periodically using NSURLConnection, and read data from the server periodically and visualize that data as a graph using NSXMLParser. I ran the instrument to check all...
Ok so I've got a really annoying bug in my app. It's driving me crazy and I'm sure it's beyond my skill level as I am learning as I go. Here is the initial rundown of the bug: http://stackoverflow.com/questions/573837/a-shot-in-the-dark-application-bug However I have found a way to consistently reproduce the bug (only on the device not...
I'm building a navigation controller based iPhone application and am curious how to go about building the detail view for my application. The part that's complicating my endeavor is: What UI elements/hierarchy should I employ to create a variable-height yet scrollable detail view? A great example of my goal is an arrangement like the m...
I'm trying to implement a UI structured like in the Tweetie app, which behaves as so: the top-level view controller seems to be a navigation controller, whose root view is an "Accounts" table view. If you click on any account, it goes to the second level, which has a tab bar across the bottom. Each tab item shows a different list and l...
I'd like to use clang on my Xcode iPhone project. However this is the getting started guide: http://clang.llvm.org/get_started.html I've been working with Xcode for a year but this is far far far from being understandable to me! Can anyone explain in plain english how to install and use Clang with my existing iPhone project? I am not f...
Is it acceptable to have a NSMutableArray within an NSDictionary? Or does the NSDictionary also have to be mutable? The NSMutableArray will have values added to it at runtime, the NSDictionary will always have the same 2 NSMutableArrays. Thanks, Dan ...
Is there a way to present a modal view controller view before an action sheet has completely been dismissed? I'm trying to do it here but it seems that the callback has to complete before the modal view appears: - (void)actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex { if (0 == buttonInde...
I have three sections in my hypothetical UITableView. I'd like one section that is in editing mode. The rest of the sections to not be in editing mode. Is this possible at all? ...
I'm basically trying to add a UITextField to a UITableViewCell upon tableView:commitEditingStyle:forRowAtIndexPath:. On insert, I want to add a UITextField over the existing cell. I setup the textField with something like this: -(void) setUpIndexField { inputField = [[UITextField alloc] init]; inputField.textAlignment = UITextA...
I would like to have a main UIView take care of adding one of multiple UIViews as a subview. Since only one subview is active at any time, and the subview completely covers the main view, I might as well replace the main view. But this takes some effort, and I'm not sure if it would be worth the small gain in performance. Am I going to s...
I'm trying to create an application for the iPhone with a table of categories. If I select a category it will display a UIImage. However, I've been looking into it and I'm not sure exactly what to do. Can anyone lend a hand? ...
We're working on a couple simple games and we have some performance problems that we keep running into, and I was curious if it was a code issue or a "we're using the wrong objects" issue. Our games are basically simple ones that work as follows: We have a custom view that we load, and a custom object that is our game engine. The view ...
Is it possible to create multiple view or window in a (Window based) iPhone app ? If possible Plz tell me. ...
My iPhone app needs to do some URL escape sequence encoding for a form parameter. The NSString stringByAddingPercentEscapesUsingEncoding as stringByAddingPercentEscapesUsingEncoding doesn't escape a lot. This is what I have -(NSString*)currentMessageUrlEncoded{ CFStringRef originalURLString = (CFStringRef) self.currentMessage; CFSt...
Can someone give me a bit more information on this error please? Console only logs Program exited with status value:101. If you imagine I have a nsmutablearray: It holds TimeEntry objects: #import <Foundation/Foundation.h> #import "Constants.h" /* #define KTimeEntryInformationKey @"TEInformation" #define KTimeEntryFromKey @"TE...