• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: Björn Carlström <email@hidden>
  • Date: Fri, 19 Dec 2003 12:03:41 +0100

Vidarebefordrat brev:

> Fren: Bjvrn Carlstrvm <email@hidden>
> Datum: den 19 december 2003 12.02.32 MET
> Till: Chris Hanson <email@hidden>
> Dmne: Re: Can't instantiate
>
>>> I want to create a couple of different views and add them to my
>>> window as needed. I would like to create a splitView and a
>>> scrollview for example and add them with their subviews.
>>>
>>> Is there another more proper way to deal with this problem?
>>
>> Just put them in an empty "container" NSView.
>
> I could do that. It just seems wasteful to have an unused NSView lying
> around.
> This is what I did instead. I placed the splitview in my window and
> then removed it on wake up. Then I can put it back whenever needed.
>
> I'm still curious if there is a REASON why we are not allowed to
> instantiate any class that we want.
>
> /B
>


Vidarebefordrat brev:

> Fren: Bjvrn Carlstrvm <email@hidden>
> Datum: den 19 december 2003 11.57.49 MET
> Till: Fritz Anderson <email@hidden>
> Dmne: Re: Can't instantiate
>
> Yes I am. And I'm a bit curious of the logic behind that inconsistency.
> I realize my first post is a bit fuzzy. I want to add views created in
> IB to other views created in IB and i want to do it with code.
>
> /B
>
>
> 2003-12-18 kl. 18.05 skrev Fritz Anderson:
>
>> On 17 Dec 2003, at 4:53 PM, Bjvrn Carlstrvm wrote (about Interface
>> Builder):
>>> I want to create a couple of different views and add them to my
>>> window as needed. I would like to create a splitView and a
>>> scrollview for example and add them with their subviews.
>>>
>>> Is there another more proper way to deal with this problem?
>>
>> Just to clarify, are you aware that IB is set up so that you lay out
>> the subviews first, select them, and select "Layout -> Make subviews
>> of -> Scroll View -or- Split View" to put the framing view around the
>> subviews?
>>
>> -- F
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: [ANN] OOPSLA paper about F-Script/Cocoa
  • Next by Date: Enable NSTableView ordering.
  • Previous by thread: (no subject)
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread