INAppStoreWindow icon indicating copy to clipboard operation
INAppStoreWindow copied to clipboard

Define the toolbar view in IB

Open kgn opened this issue 12 years ago • 4 comments

It would be cool if you could create a view in IB that would be used as the toolbar view where the height of the view controlled the height of the toolbar, but could be over-written.

kgn avatar Mar 09 '12 18:03 kgn

Do you think it'd be a good idea to just make titleBarView an IB Outlet?

indragiek avatar Sep 01 '12 23:09 indragiek

I had done that and it seemed to work but I wasn't sure if there were any problems with doing that, like memory leaks or something of the view being created in code and IB and having a view left dangling so I never pushed the changes back.

kgn avatar Sep 02 '12 00:09 kgn

When a new view is set, it removes the old one from the superview and deallocates it right? So it technically shouldn't be a problem if it's set twice. Or are you talking about a different issue?

indragiek avatar Sep 02 '12 05:09 indragiek

Yes, this would be very helpful. If we can't create a toolbar by dragging from IB, then at least include an outlet for a view that contains one and have it configure it when the window is loaded.

SevenBits avatar Mar 15 '13 23:03 SevenBits