Why doesn't Apple's SDK documentation cover UI*?
UIWebView, UIColor or UITextField for example have no entries in http://developer.apple.com/search.php or the documentation that comes with Xcode. Are these documented somewhere? ...
UIWebView, UIColor or UITextField for example have no entries in http://developer.apple.com/search.php or the documentation that comes with Xcode. Are these documented somewhere? ...
I would like to use the system font but with a custom leading, but the leading property of a UIFont is readonly. Is there a way to create a system font with a custom leading value? I am trying to display multiple lines with a UILabel, but the default leading is too narrow. (\n\n is too wide) If there is no way, then I need to create mu...
I have an iPhone app that's getting memory warnings and so I'm trying to find leaks, make more efficient use of memory, etc., with the help of Instruments. Amongst other things, I'm trying to take out any autoreleased objects and replace with manual alloc/init/release objects. However, some API calls don't appear to have an 'init' versio...
How can I set focus to different tabbar view on button click from first tabbar item? Thanks ...
I have a table view controller that makes an http request, which returns xml. I parse the xml and display it in a UITableView. The first time the http request is called everything works as expected. The second time I call the http request: I receive the xml as expected, but the table does not update. I am calling the reloadData metho...
I want to be able to an UI object like a UIImageView and tile an image inside of it. I have been able to use CGContextDrawTiledImage to update the background in the main window, but not an image view. I can do this if I modify the drawRect function inside the MainView class. I feel I'm close, but still missing something. Can someone po...
Within Interface Builder, I have the following UIViewController -- View ---- TableView In my UIViewController I have set - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return YES; } I also have other view controllers that are in IB. What am I missing here? The only way I can get it...
In my application i can draw a line in a UIImageView by the code below,and i want redraw the line even longer when i call the function,however,the output come out is not as expected,it will just draw a new line and remove the old one,the length is remain the same jus the y position different,i dont know which line of my code is wrong or ...
I want to open a panel when the user clicks on a text field. I think I should use a delegate method that responds to the click event. I found that the - (void)textDidBeginEditing:(NSNotification *)aNotification method does not work, and that the - (void)controlTextDidBeginEditing:(NSNotification *)aNotification method works, but on...
Hi all, I'm banging my head here trying to figure out why there is a three to four second overheard for when an NSURLConnection object is created with a POST based NSMutableURLRequest. The overhead which I speak of, is after an NSURLConnection gets fired off, watching Apache access logs, I see the request come in substantially longer af...
I'm having some trouble getting a view to flip. I have the following code in my View Controller: - (void)loadFlipsideViewController { ProblemViewFlipController *viewController = [[ProblemViewFlipController alloc] initWithNibName:@"ProblemViewFlip" bundle:nil]; self.problemViewFlipController = viewController; [viewController ...
I have a UITextField that I put into a UITableViewCell that I put into a grouped UITableView. I noticed today that if I hold my finger down to bring up the iPhone magnifying glass, if my UITextField's keyboardType is UIKeyboardTypeEmailAddress, the magnifying glass is displayed, but it just hangs - I can't move it left or right, I can't ...
I am trying to use glScissor to isolate only the parts of the screen that need updating. I have a game area where I need to update every frame, but the UI area needs to be updated much less frequently. The game area is fine but the UI area is constantly flickering with what seems like old buffer data. What am I missing? Here is my rend...
I'm looking into building an application which works just as well offline as it does online. Since the application cannot communicate with the server while in offline, there is some level of synchronization which needs to take place. What are some good tools to read about and start thinking about when planning offline operations with sy...
Does anyone know how to (or if) you can convert a string to an enumerated type in the objective-c/cocoa/iphone environment? For example: If I have an XML document with the element: <dog breed="GermanShepard"> I would like to be able to read the "breed" attribute into an NSString and then convert it into a type "Dogs" as defined here:...
I have a view derived from a UIScrollView controller that I use to page through images in a library. That works fine. I overlayed a UIView on the right side to handle touches for scrolling quickly through the list of images. My problem is that if I pass the touches through to either 'super' or 'nextResponder' they never make it to the ...
I'm writing a Cocoa API for a project and the API takes a delegate. The protocol that I came up with declares all the methods as optional, but why would I do that instead of just documenting the delegate methods in a header file and taking a plain id as a parameter? ...
This might be trivial for some of you, but I have two screenshots from the Lose It! app in which I'm curious how two different screens were put together. The first: http://dl-client.getdropbox.com/u/57676/screenshots/loseit1.jpg That middle graph which shows the statistics chart. Is that a custom image being drawn on top of with Core G...
Is there a way to get access to the up/down arrows used in the Mail app and implement them the same way? ...
Hi all, I'm trying to get to grips with Cocos2d by trying to accomplish simple things. At this point, I have a scene, that scene has a background sprite, and a Layer. I'm trying to draw onto the Layer uding drawLine. Here's by current attempt. @implementation MyLayer -(id)init{ self = [super init]; if(self != nil){ glColor...