• 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: NSView's in Separate NIB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView's in Separate NIB


  • Subject: Re: NSView's in Separate NIB
  • From: Dave <email@hidden>
  • Date: Fri, 04 Sep 2015 18:30:48 +0100

The reason I ask is that for a while now when you create an NSView subclass it no longer offers you the option to create a separate NIB file. I remember a while back reading something saying that it was frowned upon.

Cheers
Dave

> On 4 Sep 2015, at 18:25, Conrad Shultz <email@hidden> wrote:
>
>
>> On Sep 4, 2015, at 9:23 AM, Dave <email@hidden> wrote:
>>
>> Hi,
>>
>> Is it still allowable (taking into consideration Auto Layout) to have a separate NSView subclass with a NIB?
>>
>
> Yes.
>
> Auto Layout should be unrelated to this, though if you are composing your separate views together in code then you will likely need to add constraints in code (just as you might have to manually set frames in code under manual layout).
>
> -Conrad


_______________________________________________

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: NSView's in Separate NIB
      • From: Conrad Shultz <email@hidden>
References: 
 >NSView's in Separate NIB (From: Dave <email@hidden>)
 >Re: NSView's in Separate NIB (From: Conrad Shultz <email@hidden>)

  • Prev by Date: Re: NSView's in Separate NIB
  • Next by Date: Re: NSView's in Separate NIB
  • Previous by thread: Re: NSView's in Separate NIB
  • Next by thread: Re: NSView's in Separate NIB
  • Index(es):
    • Date
    • Thread