Re:Show HN: NSString + Ruby
by hamxiaoz on Thursday October 10, 2013 @05:38PM
(#6530202)
Is 'category' like a extension method in c#?
[ Parent
| on HN ]
Yeah, except you can add properties, though you have to do it with objc_(s|g)etAssociatedObject
https://developer.apple.com/library/ios/documentation/Cocoa/...