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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-14-2010, 06:49 AM   #1 (permalink)
Registered Member
 
Join Date: Sep 2010
Posts: 47
paul_1991 is on a distinguished road
Default displaying images in rss as tableview cell image

I want to display all preview of the images in the tableview cell.
there is my code... what is the solution?
thank you

Download Project Source Code
paul_1991 is offline   Reply With Quote
Old 09-14-2010, 09:01 AM   #2 (permalink)
Registered Member
 
Join Date: Feb 2009
Posts: 178
dustbyter is on a distinguished road
Default

Sorry but i'm not sure how many will help in the way you have directed your question.

Please show us the slot of the code where you are having issues with instead of providing the full project and asking someone to fix and re-upload.

don't mean to be harsh but just providing you some tips on how to get some help.
dustbyter is offline   Reply With Quote
Old 09-14-2010, 12:52 PM   #3 (permalink)
Registered Member
 
Join Date: Sep 2010
Posts: 47
paul_1991 is on a distinguished road
Default

ok this is the part of code:
- (UITableViewCell *)tableViewUITableView *)tableView cellForRowAtIndexPathNSIndexPath *)indexPath{
UITableViewCell * cell = [tableView dequeueReusableCellWithIdentifier:@"rssItemCell"];
if(nil == cell){
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:@"rssItemCell"]autorelease];
}
NSString *mediaUrl = [[[self appDelegate]currentlySelectedBlogItem]mediaUrl];
cell.textLabel.text = [[[[self rssParser]rssItems]objectAtIndex:indexPath.row]title];
cell.detailTextLabel.text = [[[[self rssParser]rssItems]objectAtIndex:indexPath.row]description];
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
[UIApplication sharedApplication].networkActivityIndicatorVisible = YES;
NSURL *url=[NSURL URLWithString:mediaUrl];
NSData *data =[NSData dataWithContentsOfURL:url];
UIImage *image = [UIImage imageWithData:data];
[[cell imageView] setImage:image];
[UIApplication sharedApplication].networkActivityIndicatorVisible = NO;




return cell;
}
paul_1991 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 337
17 members and 320 guests
appservice, bignoggins, cayladv57, dermotos, Domele, EXOPTENDAELAX, guusleijsten, Hamad, heshiming, linkmx, Objective Zero, Paul Slocum, Rudy, Sloshmonster, teebee74, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,654
Threads: 94,115
Posts: 402,888
Top Poster: BrianSlick (7,990)
Welcome to our newest member, cayladv57
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:49 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0