libobjc2

Objective-C runtime library for Clang with modern language features.

brewmacoslinux
Try with needOr install directly
Source

About

Objective-C runtime library intended for use with Clang

Examples

compile objective-c code with clang$ clang -fobjc-runtime=libobjc2 -fblocks myprogram.m -o myprogram
link objective-c project against libobjc2$ clang -fobjc-runtime=libobjc2 main.o myclass.o -o app
check objective-c runtime version installed$ pkg-config --modversion libobjc2
build objective-c project with gcc and libobjc2$ gcc -fobjc-runtime=libobjc2 -fblocks program.m -o program
find libobjc2 header files location$ pkg-config --cflags libobjc2