Skip to content

Instantly share code, notes, and snippets.

@beelsebob
Created August 18, 2011 19:39
Show Gist options
  • Select an option

  • Save beelsebob/1154965 to your computer and use it in GitHub Desktop.

Select an option

Save beelsebob/1154965 to your computer and use it in GitHub Desktop.
class Foo : public Bar
{
public:
void printFoo(void);
};
void Foo::printFoo(void)
{
cout << "Foo";
}
// Versus
@interface Foo : Bar
- (void)printFoo;
@end
@implementation Foo
- (void)printFoo
{
NSLog(@"Foo");
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment