Objective-C wrapper for the Redland RDF libraries https://github.com/p2/Redland-ObjC
|
10 years ago | |
---|---|---|
Classes | 10 years ago | |
English.lproj | 11 years ago | |
Redland-source | 10 years ago | |
Redland.xcodeproj | 10 years ago | |
Tests | 10 years ago | |
.gitignore | 11 years ago | |
AppledocSettings.plist | 10 years ago | |
ChangeLog.txt | 10 years ago | |
Info.plist | 11 years ago | |
LICENSE.txt | 11 years ago | |
Makefile | 11 years ago | |
NOTICE.txt | 11 years ago | |
README.md | 10 years ago | |
Redland-ObjC.h | 11 years ago | |
Redland_Prefix.pch | 11 years ago | |
Tests-Info.plist | 11 years ago | |
rdf-schema.rdf | 11 years ago | |
rdf-syntax.rdf | 11 years ago | |
version.plist | 11 years ago |
The project is heavily WIP!
STATUS:
[x] C libraries cross-compile successfully (armv6, armv7)
[x] Mac build succeeds
[x] Mac unit tests succeed
[x] iOS build succeeds
[~] iOS unit tests succeed (1 exception remaining)
[ ] Deprecated librdf calls have been replaced
[ ] Mac framework has been used in a sample application
[x] iOS framework has been used in a sample app
This projects is a resurrection of Rene Puls' Objective-C wrapper for the Redland C libraries for Mac, with the addition of a static library target suitable for iOS. The code now requires Automatic Reference Counting (ARC) to be enabled.
There is a Python-script that downloads and (cross-)compiles raptor2, rasqal and librdf, the components you need. The script needs you to have Xcode 4.4 or 4.5 and the iOS SDK 5.1 installed, and make sure you install the command line tools from within Xcode. Then just choose the Build C Library target and hit Run. Alternatively, open the Terminal and execute the script manually:
$ cd Redland-ObjC/Redland-source
$ ./redland.py
Compiling requires pkg-config
which you can most easily install via Homebrew:
$ brew install pkg-config
[more to come]
The code is documented using appledoc. If you want to compile the documentation it's best if you grab appledoc from GitHub, build and install it and then run it against the code:
$ git clone git://github.com/tomaz/appledoc.git
$ cd appledoc
$ ./install-appledoc.sh -b /usr/local/bin -t ~/Library/Application\ Support/appledoc
$ cd ..
$ appledoc .
NOTE: appledoc currently does not support the
///<
token, so some property documentations are shifted and thus off!
Note that this assumes that you have write permissions for /usr/local
, if not you may need to issue this command as root with sudo
. The documentation is now available from within Xcode.