C/C++
dynacpp.asc
Associated article: Dynamic Message Passing in C++
Tags: C/C++
Example 1: (a) Sending messages in Objective C; (b) specifying the selector at run-time. (a) [myButton setName: "Ok"]; [myButton setSizeDx: 100 dy: 20]; [[myDialog getButton: "Ok"] disable]; (b) SEL action = @selector (setName:); [myButton perform: action with: "Ok"]; // ......


