devel/objfw - The NetBSD Packages Collection

Portable, lightweight framework for the Objective-C language

ObjFW is a highly portable, lightweight, general purpose, open source
Objective-C framework with full Objective-C 2.0, blocks and ARC support,
providing not only basic classes like strings, arrays and dictionaries,
but also providing abstractions for OS-dependant functionality like
asynchronous sockets.

While a lot of the core API is similar to Foundation, it breaks with
Foundation's API on purpose in many places to embrace new features which
Foundation can't use completely due to its backwards compatibility. One
such example are exceptions, which are a first class citizen in ObjFW
and not merely to inform the programmer of his wrongdoings like in

ObjFW runs on a huge list of platforms and offers the same API on all of
them so that software written using ObjFW runs on all platforms
supported by ObjFW without #ifdef hells or the like. It does not only
run on almost any POSIX system that supports GCC >= 4, but it also works
on Windows and niche platforms like the PlayStation Portable.

Build dependencies


Runtime dependencies


Binary packages


Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.