Created
February 21, 2014 20:00
-
-
Save majimenezp/9142239 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[[NSNotificationCenter defaultCenter] rac_addObserverForName:NSWindowDidResizeNotification object:nil] | |
subscribeNext:^(id x) { | |
NSLog(@"cambio de tamaño de la ventana"); | |
}]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Snippet para cuando necesitas "escuchar" el evento del cambio de tamaño de la ventana para poder hacer resize de los objetos dentro de otros views controllers