Cocoa observer using block