From 8f944c7ec6ba0efaa6dd649934bc2badaef5ab22 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 30 Mar 2014 13:21:10 -0400 Subject: When we created our delegate and view classes on Mac OS X, it turned out we were accidentally subclassing the metaclass (of NSObject and NSView, respectively), not the actual superclass itself. Fixed tha. This also fixed that mysterious objc_new()/[object init] not working on the delegate class problem. --- bleh_darwin.m | 1 - 1 file changed, 1 deletion(-) (limited to 'bleh_darwin.m') diff --git a/bleh_darwin.m b/bleh_darwin.m index fb57bb3..ac6182a 100644 --- a/bleh_darwin.m +++ b/bleh_darwin.m @@ -93,7 +93,6 @@ struct xrect objc_msgSend_stret_rect_noargs(id obj, SEL sel) id _objc_msgSend_rect(id obj, SEL sel, int64_t x, int64_t y, int64_t w, int64_t h) { -printf("%s\n", class_getName(objc_getMetaClass("goArea"))); return objc_msgSend(obj, sel, OurRect()); } -- cgit v1.2.3