Skip to content

Instantly share code, notes, and snippets.

View carlj's full-sized avatar

Carl Jahn carlj

  • Deutsche Telekom
  • Wiesbaden
View GitHub Profile
#import <Foundation/Foundation.h>
typedef id(^BankAccount)(char *cmd);
typedef id(^CurrentBalanceMethod)(void);
typedef id(^DepositMethod)(double);
typedef id(^WithdrawMethod)(double);
BankAccount CreateBankAccount(double initialBalance)
{
// Initialization