Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-11-2009, 11:08 AM   #5 (permalink)
JoeBlaze
Registered Member
 
Join Date: Jan 2009
Posts: 97
Default

Inside of that function I said to put a break point if the break point is being hit you need to make sure you return an UITableViewCell to represent the searched XML.

Ex.
Code:
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];
if(!cell) cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:@"cell"] autorelease];
//the myXML valuesForSearch is not a real method. It represents something you will
//have to do get an array of values from the XML for the passed string. I assume you 
//will return an array and get the appropiate object using indexPath.row
cell.text = [[myXML valuesForSearch:passedString] objectAtIndex:indexPath.row];	
return cell;
I hope that helps
JoeBlaze is offline   Reply With Quote
 

» Advertisements
» Online Users: 767
18 members and 749 guests
apatsufas, asad, ciparis, Domele, JamesCahall, kaileymo123, karunaskj, Lanka001, lopqafezqww05, pavanindira, philipmores95, PixelInteractive, Punkjumper, rrlemoine, sarook, soonw29, twerner, vidyasagar
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,808
Threads: 89,206
Posts: 380,627
Top Poster: BrianSlick (7,129)
Welcome to our newest member, kaileymo123
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:29 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.