FROM : Ricky Sharp
DATE : Thu Nov 08 22:34:51 2007
On Nov 8, 2007, at 3:10 PM, mmalc crawford wrote:
> <http://homepage.mac.com/mmalc/CocoaExamples/controllers.html#unbinding
> >
> You can use viewWillMoveToSuperview:.
> Note that this only works if your view is not going to become full-
> screen, otherwise you will have to write a finalize method.
Could the following be a workaround to this?
Create a 'container view' and add the view with bindings as a subview
to it. The container view's drawRect can just be a NOP. Then, call
enterFullScreenMode:withOptions: on the container view.
I have not played with those new full-screen APIs, so not sure if this
would work or not. However, since the view with bindings would then
have a non-nil superview, bindings would not go away when going full-
screen.
___________________________________________________________
Ricky A. Sharp mailto:<email_removed>
Instant Interactive(tm) http://www.instantinteractive.com
DATE : Thu Nov 08 22:34:51 2007
On Nov 8, 2007, at 3:10 PM, mmalc crawford wrote:
> <http://homepage.mac.com/mmalc/CocoaExamples/controllers.html#unbinding
> >
> You can use viewWillMoveToSuperview:.
> Note that this only works if your view is not going to become full-
> screen, otherwise you will have to write a finalize method.
Could the following be a workaround to this?
Create a 'container view' and add the view with bindings as a subview
to it. The container view's drawRect can just be a NOP. Then, call
enterFullScreenMode:withOptions: on the container view.
I have not played with those new full-screen APIs, so not sure if this
would work or not. However, since the view with bindings would then
have a non-nil superview, bindings would not go away when going full-
screen.
___________________________________________________________
Ricky A. Sharp mailto:<email_removed>
Instant Interactive(tm) http://www.instantinteractive.com
| Related mails | Author | Date |
|---|---|---|
| Joshua Emmons | Nov 8, 21:52 | |
| mmalc crawford | Nov 8, 22:10 | |
| Ken Ferry | Nov 8, 22:24 | |
| Ricky Sharp | Nov 8, 22:34 | |
| Chris Hanson | Nov 8, 23:35 |






Cocoa mail archive

