Portable framework for the Objective-C language. https://objfw.nil.im
Find a file
2017-08-20 21:30:42 +02:00
build-aux Update buildsys 2017-01-08 00:08:49 +01:00
generators OFFile: Simplify mode 2017-07-23 01:04:35 +02:00
misc Remove textual headers from ObjFW_Bridge 2016-10-09 03:34:19 +02:00
ObjFW.xcodeproj Split OFDataArray into OFData and OFMutableData 2017-07-22 22:50:27 +02:00
src Fix a linker warning on OpenBSD/SPARC64 2017-08-19 17:54:54 +02:00
tests tests: Drain between OFKernelObserver tests 2017-07-30 23:41:56 +02:00
utils OFFile: Simplify mode 2017-07-23 01:04:35 +02:00
.gitignore gitignore: Add *.library and ppcinline.h 2017-07-18 01:05:41 +02:00
autogen.sh Readd autogen.sh 2017-05-21 22:19:36 +02:00
buildsys.mk.in Update buildsys 2017-07-16 20:28:36 +02:00
ChangeLog ChangeLog: Add 0.90.1 2017-08-20 21:30:42 +02:00
configure.ac Set version to 0.90.1 2017-08-20 21:22:19 +02:00
Doxyfile Doxyfile: Add missing defines 2017-06-05 20:56:57 +02:00
extra.mk.in Increase library minor number 2017-08-05 12:05:28 +02:00
LICENSE.GPLv2 Change license. 2011-01-01 21:19:54 +01:00
LICENSE.GPLv3 Change license. 2011-01-01 21:19:54 +01:00
LICENSE.QPL Change license. 2011-01-01 21:19:54 +01:00
Makefile Makefile: Revert back to packaging as .tar.gz 2016-04-24 13:39:00 +02:00
PLATFORMS.md PLATFORMS.md: Update MorphOS 2017-06-03 23:45:26 +02:00
README-WINDOWS.md Update README-WINDOWS.md as my Clang patch is in 2017-01-20 00:14:30 +01:00
README.md Update README.md 2017-02-26 16:34:41 +01:00

ObjFW is a portable, lightweight framework for the Objective C language. It enables you to write an application in Objective C that will run on any platform supported by ObjFW without having to worry about differences between operating systems or various frameworks that you would otherwise need if you want to be portable.

See https://heap.zone/objfw for more information.

Installation

To install ObjFW, just run the following commands:

$ ./configure
$ make
$ make install

In case you checked out ObjFW from the Git repository, you need to run the following command first:

$ autoreconf

Building as a macOS or iOS framework

It is also possible to build ObjFW as a macOS framework. To do so, just execute xcodebuild -target 'ObjFW (Mac)' in the root directory of ObjFW to build it as a macOS framework or xcodebuild -target 'ObjFW (iOS)' to build it as an iOS framework; alternatively, you can open the .xcodeproj in Xcode and choose Build -> Build from the menu. Copy the resulting ObjFW.framework to /Library/Frameworks and you are done.

Using the macOS or iOS framework in Xcode

To use the macOS framework in Xcode, you need to add the .framework to your project and add the following flags to Other C Flags:

-fconstant-string-class=OFConstantString -fno-constant-cfstrings

Optionally, if you want to use blocks, you also need to add:

-fblocks

Bugs and feature requests

If you find any bugs or have feature requests, feel free to send a mail to js@heap.zone!