Re: Thumbs Lists
Re: Thumbs Lists
- Subject: Re: Thumbs Lists
- From: Fernando Aureliano <email@hidden>
- Date: Fri, 7 Jan 2011 18:21:15 -0300
Thanks for the tips guys!
so...
I have a JSON file. I read it and put in array.
I want to get some images and do a thumb list, like the covers in iBook.
I see the documentation and I dont found nothing for help me there
I think for to do this, I should use an UIScrollView, and inside an
UIImageViews, but i dont know which class I should use to construct this
covers on UIScrollView.
This is not a cover flow, is just a lista of thumbs for iPad
Something like that http://dl.dropbox.com/u/7099330/covers.png
--
Thanks for the help!
On Fri, Jan 7, 2011 at 2:45 AM, BareFeetWare <
email@hidden> wrote:
> On 07/01/2011, at 1:58 PM, Fernando Aureliano wrote:
>
> > I'm doing my first app. Is a magazine, and I would like to show a list of
> covers.
> >
> > Someone can give-me a tip of how I can do this with a UIImageView or
> something like that?
>
> It's hard to answer without know what you've got, but you should be doing
> something like:
>
> 1. In Xcode, create a new project using the "Navigation based" template for
> iPhone, or the "Split View based" template for iPad.
>
> 2. Select the RootViewController.m implementation file.
>
> 3. Change the tableView:numberOfRowsInSection: method to return the number
> of rows you want (the number of magazines).
>
> 4. At the end of the tableView:cellForRowAtIndexPath: method, just before
> the "return" line, insert something like:
>
> // Configure the cell.
> cell.imageView.image = [UIImage imageWithContentsOfFile:@
> "path/to/image.png"];
> cell.textLabel.text = @"Magazine name";
> return cell;
> }
>
> 5. Run it.
>
> That will give you a list containing thumbnail images.
>
> Tom
> BareFeetWare
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
>
> This email sent to email@hidden
>
--
*Fernando*
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden