C/C++
objectc.txt
Associated article: Dynamic Design Patterns in Objective-C
Tags: C/C++
Published source code accompanying the article by William Grosso in which he examines patterns often used with Objective-C, but not commonly used (or are used differently) with C++.
_Dynamic Design Patterns in Objective-C_
by William Grosso
Listing One
// From the header file -- define a pointer to member function for a method
bool appBecameActiveCanBeCalled;
id (* appBecameActive) (id, SEL, id);
// From the .m (code) file (and heavily annotated)
- (...


