• 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
NSView setFrameSize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSView setFrameSize


  • Subject: NSView setFrameSize
  • From: haym37 <email@hidden>
  • Date: Wed, 25 Jan 2006 10:28:13 -0500

Suppose that I had an NSView, with an image in it the same size of the NSView. Now, I start the NSView with a width of 0. I want to animate this image opening, so I have a for loop, pause in it for about 5 milliseconds, and set the frame size (setFrameSize) of the NSView to be i (i increments each time). Now, this slowly "opens up" to the right. For instance, if my image just had the numbers "1, 2, 3, 4, 5" from left to right, it would slowly show "1" then "2" then "3", etc. But, I want it to "open up" to the left, so that it first shows "5" then "4" then "3", etc. How would I do this? Any help would be greatly appreciated. Thanks!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: NSView setFrameSize
      • From: Camillo Lugaresi <email@hidden>
    • Re: NSView setFrameSize
      • From: Joshua Scott Emmons <email@hidden>
    • Re: NSView setFrameSize
      • From: "I. Savant" <email@hidden>
  • Prev by Date: How to Create A TableView with Two Table Headers
  • Next by Date: Re: NSView setFrameSize
  • Previous by thread: Re: How to Create A TableView with Two Table Headers
  • Next by thread: Re: NSView setFrameSize
  • Index(es):
    • Date
    • Thread