Which is faster, libxml2 or Xpath?
So, when it comes to xml, is using libxml or xpath faster? ...
So, when it comes to xml, is using libxml or xpath faster? ...
I am trying to make an app where the user clicks a button and an alert pops up with the text from a textfield in it. But whenever i try, i just get a blank alert. This is my code: @synthesize label; @synthesize textBox1; @synthesize text; - (IBAction)buttonClick { UIAlertView *someText = [[UIAlertView alloc] initWithTitle: @"Text fr...
I have a UISearchDisplayController that is properly hooked up in IB. delegate = Files Owner searchBar = Search Bar searchContentsController = Files Owner searchResultsDataSource = Files Owner searchResultsDelegate = Files Owner When my UITableView calls numberofRowsInSection the correct number is returned. However, my cells in cellFo...
How can I stop a UISearchDisplayController from updating as I type? numberOfRowsInSection gets called many times as the user types. ...
Alright, I have some weird behavior and this question goes to the people out there that got that issue already. I have 4 different subclasses of UITableViewCells. They are all very similar (I can't see the differences that would bring the problem up). Now my UITableView's delegate have the following code: - (UITableViewCellEditingStyl...
I have an NSView to draw a rectangle to crop image, and one NSImageView to be webcam (camera preview window). I want to put the NSView on the NSImageView. When I take a picture, it can produce a cropped image automatically. The problem is that when I don't start the camera preview window, the crop rectangle can drag and resize normall...
Hello. In objective c, how can i check if a string/NSNumber is an integer or int ...
Hi, Is it possible for me to take use an image as a green screen type thing like in photo booth where it takes the background out? ...
I have found something I don't understand with the UIPicker and UIDatePicker views - when I make a view with either of these, centered at the top of the view, I set it horizontally to have all the auto resize options selected (Looks like: H<-->H in interface builder, third tab of the inspector in the red box). This works as expected whe...
What would be equivalent objective c for this: template<class T> class Singleton { public: static T * instance() { static T t; return &t; } private: Singleton(); ~Singleton(); }; While calling: friend class Singletone<MyManagerClass>; ...
Hi, i am planning to create an application to compare pill images if they were the same. Is there any source that i could use that detects colors, shape, size of the pill in the picture and compre if that picture is the same with the other picture of the same pill? Regards, ZaldzBgz ...
Hi, please read the following code:: AddressCard *card1 = [[AddressCard alloc] init]; AddressCard *card2 = [[AddressCard alloc] init]; [card1 setName:[NSMutableString stringWithString:@"Deepak"] andEmail:[NSMutableString stringWithString:@"deepak@paymate"]]; NSMutableString * temp = [NSMutableString stringWithString:@"Deepak"]; r1 =...
Hi, Lets say I have a controller class A which implements UIImagePickerControllerDelegate. within A , I implement the delegate like this : -(void) imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)image editingInfo:(NSDictionary *)editingInfo { [self dismissModalViewControllerAnimated:YES]; ...
Is it possible on iOS4 to start the built-in VPN service? If it is configured and all. To start it and get a message when it is done? ...
Hi, I am trying to draw scatter chat using core-plot for iphone. it works fine expect, it start with x position 0, how should move from one or two postion after. Please help i was stucked long time. Sri ...
Hi guys, I am getting memory leak at text fiels please suggest me how to resolve it. I written the code in init() as: eventTextField = nil; eventTextField = [[UITextField alloc]initWithFrame:CGRectMake(10, 15, 300, 50)]; eventTextField.placeholder = @"Event Name"; [eventTextField setFont:[UIFont boldSystemFontO...
When you have an UIViewController and UITableViewController classes and you wanted to let these two do some common stuff in their - (void)viewDidLoad how could you achieve this in Objective-C without actually duplicating your code? I tried to create MyUIViewController inheriting UIViewController and implement viewDidLoad in there. This ...
I've read a number of posts here about NSManagedObjectContext and multi-threaded applications. I've also gone over the CoreDataBooks example to understand how separate threads require their own NSManagedObjectContext, and how a save operation gets merged with the main NSManagedObjectContext. I found the example to be good, but also too...
Hi everyone Im using box2d in my game and i have a problem I need to determinate collision between two objects but only if they are touched with one exact side. For instance bottom of one object collided with top of another object. Could you give a pice of advice how can i do it? ...
I've been using the iPhone SDK and think it's great. How does the Android SDK compare? I've never used the Android SDK so I'm wondering what the similarities are. Does it have something like Interface Builder? Does it follow the MVC paradigm? What language does it use? The iPhone SDK has about 20 years of history behind it so it is quit...