On 29 Aug 2014, at 11:22 am, Peters, Brandon <bap...@my.fsu.edu> wrote:

> I created a custom NSView that I have embedded within a NSScrollView via 
> Interface Builder (Embed -> Scroll View). Everything seems to get called that 
> should on initialization (using NSLog’s to call out). But, nothing shows up 
> on screen. If I put the custom view on the window without the scroll view, I 
> get the contents to show. Is there an addition step I am missing with using 
> IB to do this? Should I do it programmatically?


Using autolayout or not?

I've found autolayout troublesome with views inside scrollviews, though I've 
put that down to my own lack of understanding about constraints, etc. If you 
turn off autolayout for the nib, does it work? If so, there's a strong clue.

--Graham



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to