• 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: NSSplitView iTunes Like
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSplitView iTunes Like


  • Subject: Re: NSSplitView iTunes Like
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 25 Oct 2006 11:27:19 -0400


You can find this information in many places by searching this list's archives, using Google, etc. It's a F.A.Q.


http://www.cocoadev.com/index.pl?SplitViewBasics

  Read the above so you understand things a bit better, then:

1 - Subclass NSSplitView.
2 - Override -dividerThickness to return 1 (one pixel).
3 - Override -drawDividerInRect: to fill the rect with your solid color (like grayColor or something similar).


That's all there is to it - the rest is standard behavior / use of a split view which you can also learn by reading the documentation.

--
I.S.


On Oct 25, 2006, at 10:51 AM, Yorh wrote:

Hi to all,

I would like to create a NSSplitView subclass iTunes like.
How can I do?
I need a tiny vertical line instead the big one I can find using IB and I would like to have as result a nice GUI like iTunes.
Anyone knows where can I find some examples?


Thank you all
Yorh

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ 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
References: 
 >NSSplitView iTunes Like (From: Yorh <email@hidden>)

  • Prev by Date: Re: NSTableView with NSArray and C-array question
  • Next by Date: Re: Keys down while dragging
  • Previous by thread: NSSplitView iTunes Like
  • Next by thread: Re: NSSplitView iTunes Like
  • Index(es):
    • Date
    • Thread