typedef BOOL (^block)(); NSDictionary* dict=@{ @"A":^(){ //block do Some Thing }, @"B":^(){ //block do Some Thing }, @"C":^(){ //block do Some Thing }, @"D":^(){ //block do Some Thing }, @"E":^(){ //block do Some Thing }, @"F":^(){ //block do Some Thing }, @"G":^(){ //block do Some Thing }, @"H":^(){ //block do Some Thing }, @"I":^(){ //block do Some Thing } }; ((Block)name)();复制代码