• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Thumbs Lists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Thumbs Lists
      • From: David LeBer <email@hidden>
References: 
 >Thumbs Lists (From: Fernando Aureliano <email@hidden>)
 >Re: Thumbs Lists (From: BareFeetWare <email@hidden>)

  • Prev by Date: Re: NSDocument updateChangeCount when using Bindings
  • Next by Date: Re: Thumbs Lists
  • Previous by thread: Re: Thumbs Lists
  • Next by thread: Re: Thumbs Lists
  • Index(es):
    • Date
    • Thread