what is the simplest way to have text show if a tableview section is empty?
Preferably without looking like a cell. I would like to display "tap edit in the upper right to add syllables" ...
Preferably without looking like a cell. I would like to display "tap edit in the upper right to add syllables" ...
I would like some of the options in my upickerview to have, say, blue, instead of white as a background color. ...
- (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view { CGRect imageFrame = CGRectMake(0.0, 0.0, 15, 15); UIImageView *label = [[UIImageView alloc] initWithFrame:imageFrame]; if (row == 0) { label.backgroundColor = [UIColor redCol...
I'm trying to sort out how the events work. In video 4 of the Stanford course on iTunes U, Alan Cannistraro says there are "3 different flavors of action method selector types - (void)actionMethod; - (void)actionMethod:(id)sender; - (void)actionMethod:(id)sender withEvent:(UIEvent *)event;" I thought I'd try them out with a simple addi...
My XCode project has grown somewhat, and I know that there are class files in there which are no longer being used. Is there an easy way to find all of these and remove them? ...
Good day folks. Being a .net guy I;m really strugling with this leaking memory issue, please help! On navigation controller I'm parsing some JSON with touch-Json (tried SBJSON to same result) data from Json is displayed to a tableview. So far it's all fine and dandy. On table row click I'm pushing other xib on navigation controllers sta...
I had a navigation application that was working normally. In the table view, the last item is called "add item", and if the user pressed it, it would create a new object and pass it to another view where the user could enter the details for that object. When the user returned to the previous screen, the new object would show in the array...
Hi together, i have a problem with my app when i send it to background via the home-button. I'll try to describe it shortly but completely: I have an UIImage-pointer declared in @interface with following property: @property (nonatomic, retain) UIImage *pauseImg; This pointer is set to an image declared in viewDidLoad like this: pa...
There has been many Questions recently about drawing PDF's. Yes, you can render PDF's very easily with a UIWebView but this cant give the performance and functionality that you would expect from a good PDF viewer. You can draw a PDF page to a CALayer or to a UIImage. Apple even have sample code to show how draw a large PDF in a Zooma...
I set a text setting key in by Settings.bundle. The Settings app show the key's default value well. But I can't read the value via NSUserDefaults with this code. NSString *aaa = [[[NSUserDefaults standardUserDefaults] stringForKey:@"aaa"] copy]; Value is always nil. I believe I omitted something required steps. What's required? ...
Hi Basically my app lends itself perfectly to a tabbarcontroller, but I do not want to use the default tab bar. Instead I have created nice graphical drawings of tabs which I want to use as the controls for my app... Does anyone know of the best way to do this? Am I goin to have to write all the functionality for my control from scratch...
I made a custom object that inherits from NSObject. Let's say I have an array of these objects. Then I want to make another object, that is a copy of one of the objects in the array. I do not want to simply point to an existing object in the array I want a copy. Is there an easy way to do this? ...
I want to display a rotating 3D image. Are there any tutorials on how to do this? What tools can be used to create the 3D image? ...
How does the speed of a program when run in the simulator compare to a real iPhone or Ipod touch? Is it faster or slower? ...
e.g. 01.10.2010 is friday => 27.09.2010 is monday. I have no idea how to manage this one. btw: how can I calculate with dates? ...
Hey, Is it correct to initialize an NSData with a zip file? I want to convert a zip file into NSData and construct another file with the data (in simple language 'copy it'). I have the code as: NSURL *theFileUrl = [NSURL URLWithString: @"file://localhost/Users/xxx/Desktop/testZippedFile.zip"]; NSData *data = [NSData dataWithContentsOfU...
I made a new OpenGL ES application, and without modifying anything, I ran the program. It runs, but I see these error messages: Detected an attempt to call a symbol in system libraries that is not present on the iPhone: open$UNIX2003 called from function _ZN4llvm12MemoryBuffer7getFileEPKcPSsx in image libLLVMContainer.dylib. Detected an...
How do I check if the iPod supports audio recording using Cocoa API? ...
In my iPad application, I have a 768x30 px view i place just below the status bar with coordinates (0,0). The status bar is also fully visible. When the app launches the status bar overlaps the view, so the view appears under the status bar. I am creating the view in Interface builder and it also appears correctly on there. The view app...
UPDATE: I'm still struggeling with this problem, although I may have some leads. Maybe it has something to do in what way the images are projected on the MKMapView, Google Maps uses the Mercator projection to project it's images onto a map. If you compare the above image to that of the previous uploaded images, then it looks like t...