which is faster ? NSXMLParser or KissXML
HI, i need a XML parser. i want to know that which one is faster? NSXMLParser or KissXML ? looking forward for replies... ...
HI, i need a XML parser. i want to know that which one is faster? NSXMLParser or KissXML ? looking forward for replies... ...
If i implement it in application delegate class then it works fine. But in Viewcontroller class crash every time. i implemented try-catch then it will not crash. but not working. Thanks Manoj ...
I've seen several examples in books and around the web where they sometimes use decimal places when declaring float values even if they are whole numbers, and sometimes using an "f" suffix. Is this necessary? For example: [UIColor colorWithRed:0.8 green:0.914 blue:0.9 alpha:1.00]; How is this different from: [UIColor colorWithRed:0....
Hi, this code works fine until I start scrolling: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"cell"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell = [[[UITableViewCell all...
I'm trying to capture the camera input, analyse this image and then adding something on top of it. This is a continuous process. Problem is when I do my image capture it includes the item I am overlaying on top of the camera input. The code I'm using is: CGImageRef screen = UIGetScreenImage(); Does anyone have an idea how to capture j...
Hi, I am working on a simple iPhone application and when I run my app on my machine it installs on the device, but when I try it on a Windows machine using an ad-hoc distribution profile, it shows an error: "Application couldn't be installed because a resource has been modified." I have 2 iPhones and have tested the same app; on iPhone...
I would like to copy an array of pixel data (colors) into a texture. Please could someone point me in the right direction? I have looked on google but all of the tutorials are for OpenGL, rather than OpenGL ES. Thanks :) ...
I'm getting a warning: "Return makes pointer from integer without a cast" for this method... +(BOOL *)getBoolFromString:(NSString *)boolStr { if(boolStr == @"true" || boolStr == @"1"){ return YES; } return NO; } ...
I've got a UIView (and thus a CALayer) which I'm trying to warp or bend slightly in 3D space. That is, imagine my UIView is a flat label which I want to partially wrap around a beer bottle (not 360 degrees around, just on one "side"). I figured this would be possible by applying a transform to the view's layer, but as far as I can tell,...
Ok, Here is the code in my AppDelegate that loads the Schedule nib. Schedule *newestVideoController = [[Schedule alloc] initWithNibName:@"Schedule" bundle:nil]; newestVideoController.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"Schedule" image:[UIImage imageNamed:@"app-icon_2_newest.png"] tag:2]; NSArray *controllers = [NS...
Hi Everybody, Can a user install my application from iTunesStore if he is having iPhone OS 3.0 or having lower version of iPhone OS and I have developed my application using iPhone SDK 3.1.3... Can anyone help me with this... Thanx in advance... ...
Hi. I'm trying to use a UIPicker View with a behavior somehow different of what's usually seen in iPhone code examples. What I want to do is to allow users to scroll through the picker contents, but not to select a picker's row automatically (using the "didSelectRow" method from picker's delegate). Instead, I want to allow the user to ...
Hi, What would be the best way to see if an NSDate is actually set to a date or is empty? Returning its description or changing it to string returns "(null)"...? Thanks. ...
Is there a way to access raw data of iphone camera preview? I mean not the data of the picture that was shot already, but the preview, that shows before taking a shot? TIA ...
I am trying to open an "artist link" on an iPhone application but it is not working. The link is to be inside a local HTML file. I have tried to use "http://phobos...." or "itms://...." but it seems to be not working. Yes, I am aware of this apple doc, but what is written on this doc does not seams to work for artist links. Before ans...
Hello, I need to have a preview of the camera but not in fullscreen. Actually I need to resize the camera view to manage place for my overlay view. I need a resize camera view and not a truncated one. Do you have any ideas/pointers to achieve this? Thanks for your help :) Regards, ...
I have an iPhone app with a secondary thread to handle XML parsing. Inside some of those methods, I need to reference dictionaries (for look up, not modification) created and populated in the main thread. Apple's documentation indicated to me that global variables might be the best way to accomplish this. I'm just now sure what the impl...
Hello, I'm trying to make a small application or demo thats a tab bar application. Each bar item loads in a new view. I've created a quartzView class that is called on by the controller: - (void)viewDidLoad { quartzView *drawingView = [[quartzView alloc] initWithFrame:CGRectMake(0,0,320,480)]; [self.view addSubview:drawingView...
previously i had custom tableviewcell and was loading from Nib.in that i have specified mode "Aspect to fit" for my imageview. but loading this Nib file was too slow. so i have started drawing content of uitablewviewcell. here is a code for what i am doing to draw image. [image drawInRect:CGRectMake(10,10,80,100)]; but this does not g...
First of all, is this possible? If so: What challenges would I encounter in making an XCode imitation for iPhone/iPod development for Windows or Linux? I was thinking about using gcc as the actual compiler for the objective-c and (VB).NET for the IDE. Will that work? It doesn't need to compile to iPhone OS until it is to be tested o...