Manual Layout on Mac


Dave
 

Hi,

I’m using Manual Layout on the Mac and I’ve also “isFippied" = YES on all views.

In Interface Builder, I have the following Window View Layout:

Window.view is set to LTWTestWindowView.

LTWTestWindowView
LTWTestViewBase
LTWTestViewBoard
LTWTestViewCuster
LTWTestViewCell

These are Custom Views and all have isFlipped = YES and all define the layout method.

When I first run the App, layout gets called on all views, but if I subsequently resize the window then it only calls layout on LTWTestWindowView. Is this expected behaviour? Do I need to call “layout” (or another method like layoutView which I define myself) on all the sub-views inside LTWTestWindowView?

Also, should layout called “super layout” ?

Thanks a lot for any help.
All the Best
Dave

Join cocoa@apple-dev.groups.io to automatically receive all group messages.