Skip to content

🚪 NSCoding classes like NSArchiver/NSUnarchiver

License

Notifications You must be signed in to change notification settings

MulleFoundation/MulleObjCArchiverFoundation

Repository files navigation

MulleObjCArchiverFoundation

🚪 NSCoding classes like NSArchiver/NSUnarchiver

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
Mulle kybernetiK tag Build Status RELEASENOTES

API

Class Description
NSCoder
NSArchiver
NSKeyedArchiver
NSUnarchiver
NSKeyedUnarchiver

Requirements

Requirement Release Version Description
MulleObjCStandardFoundation Mulle kybernetiK tag Build Status 🚤 Objective-C classes based on the C standard library
mulle-objc-list Mulle kybernetiK tag Build Status 📒 Lists mulle-objc runtime information contained in executables.

You are here

Overview

Add

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.

Add as an individual component

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.

Install

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

Legacy Installation

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

Author

Nat! for Mulle kybernetiK