this seems to be the modernized version of it: https://github.com/brynbellomy/ObjC-DesignByContract

On 22 Jan 2014, at 12:37, Jens Alfke wrote:

On Jan 22, 2014, at 8:03 AM, jonat...@mugginsoft.com wrote:

I know there are some macros available, http://www.roard.com/contracts/, but I haven’t experimented further as yet

Interesting. I like the idea of dynamically creating a subclass that wraps the methods to be checked, but I don't like doing it with a bunch of macros. I wonder if there's a cleaner way to do it nowadays using newer Obj-C runtime features. (I'm assuming that code is old since the examples don't use any modern language features like properties.)

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/hermanccw%40gmail.com

This email sent to herman...@gmail.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to