• 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: Creating subviews programmatically ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating subviews programmatically ?


  • Subject: Re: Creating subviews programmatically ?
  • From: Vince Ackerman <email@hidden>
  • Date: Fri, 30 Nov 2007 09:54:19 -0800


On Nov 30, 2007, at 09:49, Vince Ackerman wrote:

For some reason each time the resizeSubview method is called, NSEnumerator alternately returns with either the first subview in the array, or the last. The first time the method is called, the first subview is number 0, continuing through 41. The next time it goes through the array, the enumerator starts with subview 41, skips subview 0, and iterates to subview 1, then 2, 3 etc.



I should have added that when it starts with subview 41, then iterates to subview 1, 2, 3 etc., it ends with subview 0.





Vince

_______________________________________________

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


References: 
 >Re: Creating subviews programmatically ? (From: Erik Buck <email@hidden>)
 >Re: Creating subviews programmatically ? (From: "I. Savant" <email@hidden>)
 >Re: Creating subviews programmatically ? (From: Scott Anguish <email@hidden>)
 >Re: Creating subviews programmatically ? (From: Vince Ackerman <email@hidden>)

  • Prev by Date: Re: Creating subviews programmatically ?
  • Next by Date: Re: Type select in NSTableView, NSBrowser
  • Previous by thread: Re: Creating subviews programmatically ?
  • Next by thread: Re: Creating subviews programmatically ?
  • Index(es):
    • Date
    • Thread