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 07-11-2008, 03:12 AM   #1 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 4
dans is an unknown quantity at this point
Default Icon list view?

Hi,

in my app I want to start off with a list of icons that represent various tasks / actions you can do in my application (similar in look as the iPhone's application screen). However I can't find how to do this with the iPhone SDK / Interface Builder, as none of the existing objects seem to resemble this look. Is this possible to do without having to create a custom control?

TIA

Dan
dans is offline   Reply With Quote
Old 07-11-2008, 08:09 AM   #2 (permalink)
New Member
 
Join Date: Apr 2008
Posts: 420
jeff_lamarche is an unknown quantity at this point
Send a message via AIM to jeff_lamarche Send a message via Yahoo to jeff_lamarche
Default Re: Icon list view?

A UITableView is capable of doing this.
__________________
Check out my iPhone Dev Blog
You can send me e-mail at my forum username at mac dot com.
jeff_lamarche is offline   Reply With Quote
Old 07-11-2008, 09:08 AM   #3 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 4
dans is an unknown quantity at this point
Default Re: Icon list view?

Yes, that's one thing I tried, though naturally I would have expected it to be part of some list view. But I can't seem to find how to actually do it. In the Interface Builder, there's nothing to set to get this into icon mode, and setStyle only has ...Plain and ...Grouped for UITableView, neither of which show icons. Or do I have to set the columns myself and just pass in images as the content of a cell?
dans is offline   Reply With Quote
Old 07-11-2008, 09:18 AM   #4 (permalink)
New Member
 
Join Date: Apr 2008
Posts: 420
jeff_lamarche is an unknown quantity at this point
Send a message via AIM to jeff_lamarche Send a message via Yahoo to jeff_lamarche
Default Re: Icon list view?

In your data source method, when you pass back a UITextViewCell, just set the cell's image property to the image you want to display. If you need more control over the placement, then you can subclass UITextViewCell. The documentation covers it pretty well here:
http://developer.apple.com/iphone/li...one/index.html
__________________
Check out my iPhone Dev Blog
You can send me e-mail at my forum username at mac dot com.
jeff_lamarche is offline   Reply With Quote
Old 07-11-2008, 12:01 PM   #5 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 4
dans is an unknown quantity at this point
Default Re: Icon list view?

Alright, thanks, guess I'll just have to plunge in and give it a try :-)
dans 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Icon for the app..? jashsayani iPhone SDK Development 2 06-13-2008 08:10 AM
Simple Icon tkilmer iPhone SDK Development 3 06-11-2008 10:49 PM
!!Why do I see a little red fox icon running in instruments? jonc iPhone SDK Development 1 06-06-2008 09:23 PM
[Code] Check List Senly iPhone SDK Development 0 05-31-2008 04:55 AM
how to add application png icon ? turinreza iPhone SDK Development 1 04-30-2008 08:40 PM


» Advertisements
» Online Users: 322
7 members and 315 guests
blueorb, guusleijsten, jbro, Kryckter, mer10, n00b, SLIC
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,649
Threads: 94,113
Posts: 402,880
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Anwerbl
Powered by vBadvanced CMPS v3.1.0

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