Calling Method in xCode
When calling a method, i use [self methodname]; The problem im having is, in xCode i get loads of yellow ! saying xxxappdelegate.app may not respond to methodname Is there a better way to call methods? Thanks ...
When calling a method, i use [self methodname]; The problem im having is, in xCode i get loads of yellow ! saying xxxappdelegate.app may not respond to methodname Is there a better way to call methods? Thanks ...
What's the difference between formal and informal protocols in Objective-C? ...
I am using a basic template NSPersistentDocument for a Core Data-based application. Because my program is CPU-intensive, I have been forced to multithread it. From what I know, the best way to multithread Core-Data is to create a new NSManagedObjectContext for each thread and pass the object ID between threads. My question operates un...
I am trying to play video inside a view so I can move it around, perform layout together with other views, but I can't seem to get it work to using MPMoviePlayerController. I came across this link on how to play video in portrait mode but this is not possible because the video source is coming from the web and should be playable in diff...
Possible Duplicate: What does the NS prefix mean? Wondering the prefix of those classes within Cocoa objective-c on iphone. What does NS stand for? ...
Hello Everybody, I have dropped multiple pins in my mapview when each pin is clicked it should display its corresponding name. when the pin is tabbed no need to go to another page just need a pop up. - (MKAnnotationView *) mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>) annotation { MKPinAnnotationView...
Hey. I have a reload-button in my UINavigationController that is supposed to send a reload-selector to the current loaded view, or the view on top, I don't know what to call it :p I have no idea where to start, so if someone could give me a pointer (no, not that kind :p), that would be great :) Thanks! ...
Hi... I've 3 UILabel's inside a custom UITableViewCell. The width of these UIlabels must change when the device changes it's orietation because the tableView's width changes. My problem was how could I resize the label when the device rotation happens. ...
Hi Guys, I need to stop the connection of the libxml parser at certain point.Can anyone suggest me how to do this. This is the method I used to establish the connection. - (BOOL)parseWithLibXML2Parser { BOOL success = NO; ZohoAppDelegate *appDelegate = (ZohoAppDelegate*) [ [UIApplication sharedApplication] delegate]; NSString* curl;...
I have written code as below for removing all contacts from addressbook. But it works very slow for more then 1000 contacts. is there any other way for removing all contacts from addressbook. I needs that for restoring backup in my application. -(void)removeAllData { ABAddressBook *book = [ABAddressBook sharedAddressBook]; int count ...
Hey. I have an UINavigationController with a UIBarButton to realod something. However, when I push another view on the Navigation Controller, the BarButtonItem disappears. How can I avoid this? Do I need to add some code in the NavigationController, or set a property for the BarButtonItem? Thank you. ...
Hi, Did anyone try scripting/Automating an Appstore app submission? It will be amazing if we can save all the necessary info in a plist or a server, Click on one button to generate and Upload the App to iTunes connect. This will be very useful if we have to develop template based Apps. Any expert opinions/comments/samples? ...
hi everyone. i parsing a XML file. when i adding values into array, the array still null, i don't know the reason. may be reason is that i using this array in two classes. there is .h files xmlparser.h #import <UIKit/UIKit.h> @class SightsTableViewController, Sight; @interface XMLParser : NSObject { NSMutableString *currentEle...
Do you really need to? I had no idea what C/C# was when I first started learning Objective-C, and I still don't feel comfortable with C/C#, but I am almost finished on my second iPhone App allready, without knowing C. I know that Objective-C is based on C/C# (deep down), but still. Do you think you really need to learn C/C# before lear...
Hi Apples documentation recommends to use pngs when loading images. But if you have a large number, isn't it possible to conserve memory by using jpegs instead? Or are they internally converted back to png after load so it makes no difference? ...
i have a dynamically made prototype: typedef double ICEDouble; -(BOOL) getPosition:(SyDRpcInterfacePositionType)type longitude:(ICEDouble *)longitude latitude:(ICEDouble *)latitude; and i would call it so, because i have no plan, how to do it in the right way: NSNumber* longitudeReturn; NSNumber** latitudeReturn; [prx getPositi...
i am trying to use wsdl2objc with this soap webservice.But when am using it in my iphone project , am getting this error. Undefined symbols: ".objc_class_name_ndfdXML", referenced from: literal-pointer@_OBJC@_cls_refs@ndfdXML in HomeViewController.o ld: symbol(s) not found collect2: ld returned 1 exit status Here i used ndfdXM...
Hi Guys, I am getting the problem in the keyboard notifications When I played in 4.0.that the keyboard notifications are not working but its working fine in 3.0. can anyone suggest why this is happening like this? Thank you, Monish. ...
Using objective-c on the iPhone, what is wrong with this code? Is it leaking memory? Why? How would I do this correctly? NSMutableString *result = [NSMutableString stringWithFormat:@"the value is %d", i]; ... then later in my code... I might need to change this to: result = [NSMutableString stringWithFormat:@"the value is now %d", i...
Hi friends,, How to assign a color to the particular text. i don't want to use the textview. Thanks ...