Skip to content

🚀 Platform-independent Objective-C classes, like NSString, NSArray, NSNotificationCenter

License

Notifications You must be signed in to change notification settings

MulleFoundation/MulleObjCStandardFoundation

Repository files navigation

MulleObjCStandardFoundation

🚀 Objective-C classes based on the C standard library

This library builds on MulleObjCValueFoundation and MulleObjCContainerFoundation and introduces a lot of additional classes.

But it does not I/O (not even stdio). I/O is provided by MulleObjCOSFoundation.

Release Version Release Notes
Mulle kybernetiK tag Build Status RELEASENOTES

API

Classes

Class Description
NSAssertionHandler Used by NSAssert()
NSCalendarDate A composition of NSDate and NSTimeZone
NSCharacterSet Character classification like <ctype.h>
NSDateFormatter NSDate to NSString representation
NSError A wrapper for <errno.h>
NSException Exceptions for @throw
NSFormatter Object to NSString representation
NSLocale Localization support
NSNotification Message encapsulation for NSNotificationCenter
NSNotificationCenter Publish/subscribe message sending
NSNumberFormatter NSNumber to NSString representation
NSScanner Parse from NSString into NSNumber
NSSortDescriptor
NSTimeZone
NSUndoManager

Requirements

Requirement Release Version Description
MulleObjCTimeFoundation Mulle kybernetiK tag Build Status πŸ’° MulleObjCTimeFoundation provides time classes
MulleObjCValueFoundation Mulle kybernetiK tag Build Status πŸ’Ά Value classes NSNumber, NSString, NSDate, NSData
MulleObjCContainerFoundation Mulle kybernetiK tag Build Status πŸ› Container classes like NSArray, NSSet, NSDictionary
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 MulleObjCStandardFoundation to your project:

mulle-sde add github:MulleFoundation/MulleObjCStandardFoundation

To only add the sources of MulleObjCStandardFoundation with dependency sources use clib:

clib install --out src/MulleFoundation MulleFoundation/MulleObjCStandardFoundation

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 MulleObjCStandardFoundation and all dependencies:

mulle-sde install --prefix /usr/local \
   https://github.com/MulleFoundation/MulleObjCStandardFoundation/archive/latest.tar.gz

Legacy Installation

Install the requirements:

Requirements Description
MulleObjCTimeFoundation πŸ’° MulleObjCTimeFoundation provides time classes
MulleObjCValueFoundation πŸ’Ά Value classes NSNumber, NSString, NSDate, NSData
MulleObjCContainerFoundation πŸ› Container classes like NSArray, NSSet, NSDictionary
mulle-objc-list πŸ“’ Lists mulle-objc runtime information contained in executables.

Download the latest tar or zip archive and unpack it.

Install MulleObjCStandardFoundation 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