These classes help with serializing objects. Typically you serialize them into a file or into an NSData for transport over the internet.
Binary serialization has somewhat fallen out of favor recently, but can still be useful for caches and the like.
Release Version | Release Notes |
---|---|
RELEASENOTES |
Class | Description |
---|---|
NSCoder |
|
NSArchiver |
|
NSKeyedArchiver |
|
NSUnarchiver |
|
NSKeyedUnarchiver |
Requirement | Release Version | Description |
---|---|---|
MulleObjCStandardFoundation | 🚤 Objective-C classes based on the C standard library | |
mulle-objc-list | 📒 Lists mulle-objc runtime information contained in executables. |
This project is a component of the MulleFoundation library.
As such you usually will not add or install it individually, unless you
specifically do not want to link against MulleFoundation
.
Use mulle-sde to add MulleObjCArchiverFoundation to your project:
mulle-sde add github:MulleFoundation/MulleObjCArchiverFoundation
To only add the sources of MulleObjCArchiverFoundation with dependency sources use clib:
clib install --out src/MulleFoundation MulleFoundation/MulleObjCArchiverFoundation
Add -isystem src/MulleFoundation
to your CFLAGS
and compile all the sources that were downloaded with your project.
Use mulle-sde to build and install MulleObjCArchiverFoundation and all dependencies:
mulle-sde install --prefix /usr/local \
https://github.com/MulleFoundation/MulleObjCArchiverFoundation/archive/latest.tar.gz
Install the requirements:
Requirements | Description |
---|---|
MulleObjCStandardFoundation | 🚤 Objective-C classes based on the C standard library |
mulle-objc-list | 📒 Lists mulle-objc runtime information contained in executables. |
Download the latest tar or zip archive and unpack it.
Install MulleObjCArchiverFoundation into /usr/local
with cmake:
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DCMAKE_PREFIX_PATH=/usr/local \
-DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config Release
Nat! for Mulle kybernetiK