From 5b77c3e6943a77754a2e8dd2078fb5f3e947dd19 Mon Sep 17 00:00:00 2001 From: theraven Date: Wed, 4 May 2011 17:27:17 +0000 Subject: [PATCH] Add +class and -self to Protocol. PyObjC breaks if these don't exist. --- Protocol2.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Protocol2.m b/Protocol2.m index 707e9b3..8ee8bff 100644 --- a/Protocol2.m +++ b/Protocol2.m @@ -20,6 +20,8 @@ return self; } - (void)release {} ++ (Class)class { return self; } +- (id)self { return self; } @end @implementation Protocol2 + (void)load