INAppStoreWindow
INAppStoreWindow copied to clipboard
Define the toolbar view in IB
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.
Do you think it'd be a good idea to just make titleBarView an IB Outlet?
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.
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?
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.