Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define the toolbar view in IB #41

Open
kgn opened this issue Mar 9, 2012 · 4 comments
Open

Define the toolbar view in IB #41

kgn opened this issue Mar 9, 2012 · 4 comments
Labels

Comments

@kgn
Copy link
Contributor

kgn commented Mar 9, 2012

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.

@indragiek
Copy link
Owner

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

@kgn
Copy link
Contributor Author

kgn commented Sep 2, 2012

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.

@indragiek
Copy link
Owner

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?

@SevenBits
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants