can any one help me?
Possible Duplicate: How-to articles for iPhone development, Objective-C Can any one help me find an Objective-C basic tutorial? I have to learn a lot. Kindly help me for that. Thanks in advance. ...
Possible Duplicate: How-to articles for iPhone development, Objective-C Can any one help me find an Objective-C basic tutorial? I have to learn a lot. Kindly help me for that. Thanks in advance. ...
Hi guys Can anyone recommend me a good logger for cocoa, something that should be in par with log4j. I've been developing this app in cocoa & as the source code is growing I find my self craving for a logger. I've googled a bit, have found a few options but I am looking to hear from you guys & your experiences with these loggers. I l...
Is there any lint tool for Objective-c? ...
Does Objective-C support blocks "a la Smalltalk"? In Smalltalk, blocks are similar to "closures" or "lambda-expressions" or "nameless functions" found in other languages. ...
I have a navigation controller in my app and on its root view controller i have an Edit button as the rightBarButtonItem. I have a second table view which is pushed when a cell is tapped on the root view controller. The leftBarButtonItem becomes the Back button. I would like an Edit button as well, where can i put it that would make t...
Possible Duplicate: objective c difference between id and void * For example, an UIView animation delegate callback method has this argument: context:(void*)context Why not simply id? I always pass nil if I don't care about an context. But when I want one, I pass the object. What's the difference? Why did they prefer void* ...
I have the following array. NSArray *arrayDisplay = [[NSArray alloc] initWithObjects:@"Daily", @"Weekly", @"Monthly", nil]; I need to use it in two views, I'm concerned that I may make changes and forget to change the other in the future. So I'd like to declare it once and reuse it. How should I do this? ...
Hi all, as the tilte is possible autoimport or there is an option in xcode that allow to import all callbacks of a delegate(as MKMapviewdelegate or other)? I use this option in Eclipse (Java) to import getters/setters methods to access class variables. Thanks in advance. ...
I have a UIToolbar with an edit bar button on it. This is defined as self.toolbarItems = [NSArray arrayWithObjects:self.editButtonItem,nil]; The edit bar item shows up, and but when i tap it, nothing happens, it does not change to Done and none of the editing controls show up. I have implemented the following methods as i would like...
I'm working on a tool that helps to automate Browser based products. On of the use case I encountered is to handle popups either from application or from Safari. I would like to provide an API where a user can click OK when a popup prompts. Can I do it through JS or is it possible through any Apple API? And one more thing, how do I know ...
I've been trying all day and just can't make the the TTPickerTextField work. It displays, I set its dataSource to the example code's MockDataSource and type in a name from the mock and it doesn't work. There doesn't seem to be any documentation or any examples anywhere on the internet, something that I find surprising. So: does anyone h...
Hi, I've got a custom image browser view with IKImageBrowserCell subclass where I've added a little sign graphic that I would like to animate on some occasions. It's kind of like the "i" sign on Panic's Coda Sites view (which I'm guessing is an ImageBrowserView customized.. right?). On Coda's sites view, if you hover on a project the l...
Hi all, I created an MKAnnotation name PushPin which has a title and subtitle. I want to be able to dynamically change the title at a later time. I'm close so I'd rather not have to make a whole new AnnotationView, but if I have to I guess that's ok too. My problem is that, once I change the text for the title, the window does not re...
How does one go about adding image filters in an iPhone application? (similar to what Instagram and picplz have) ...
I have this in my table view controller, and i want to pass the cell's text value to my UITextField on the modal view. - (void)buttonTapped:(id)sender { AddName *addName = [[AddName alloc] init]; UITableViewCell *cell = (UITableViewCell*)[sender superview]; NSLog(@"text in buttontapped: %@", cell.textLabel.text); addName...
An iPad project I have been working on has become bloated with a huge number of files. The application is a prototype and we are considering ways to prevent this when we rewrite it. One of the members of our team suggests dividing all of the components into separate Xcode projects which will be included in a master Xcode project. Is t...
If I set an NSUserDefault in one file(playerdata.m) could I access that value from another file(calculator.m)? ...
I have been very confused on how to handle the releasing of an NSMutableArray when I need to return it from a method. I am not even sure if I am suppose to release it or not. I have the code: -(NSArray *)methodToCall { NSMutableArray *mutArray = [[NSMutableArray alloc] initWithCapacity:10]; //Fill the array with stuff...
Is there a better way in Objective-C to do: if ([elementName isEqual:@"one"]){ // do some stuff } else if ([elementName isEqual:@"two"]]{ // do more stuff } else if ([elementName isEqual:@"three"]]{ // do more stuff } ideally, I would like something like: //BAD CODE, NOT REAL!!! switchString(elementName){ @"one": ...
Hi, I would like to know how to retrieve the file size of a video using AssetLibrary? Can anyone point me in the right direction? or possible some code snippet? ...