NSDictionaryOfVariableBindings

在代码中使用Autolayout时,大家都会使用NSDictionaryOfVariableBindings这个宏,这个宏可以生成一个变量名到变量值映射的Dictionary比如NSDictionaryOfVariableBindings(button1, button2)将会生成一个{ @”button1″ = button1, @”button2 = button2 }的Dictionary

 

 

conformsToProtocol

posted @ 2015-03-12 10:27  越努力,越幸福!  阅读(517)  评论(0编辑  收藏  举报