Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well, sort of. GNUstep provides a free implementation of (enough of) Cocoa.



GNUstep-base is pretty solid if you're looking for an open source Foundation (constructors, destructors, container classes, networking, etc.) that's compatible with Apple's implementation.

If all you're looking for is constructors and destructors, consider ObjFW. https://github.com/Midar/objfw/

ObjFW is much more lightweight, although it does have its own set of conventions. Fortunately, +alloc, -init, +new and -dealloc are all present and accounted for.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: