No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Classes
Collections.subproj
Comm.subproj
Documentation
MPWFoundation.xcodeproj
MPWFoundation
MPWFoundationTests
MPWFoundationWatch
Stores.subproj
Streams.subproj
TestMPWFoundation
TestMPWFoundationUITests
Threading.subproj
windows
.gitignore
COPYING.LIB
Concepts.rtf
GNUmakefile
Info-MPWFoundation__Framework___Upgraded_ copy 2.plist
Info-MPWFoundation__Framework___Upgraded_ copy.plist
Info-MPWFoundation__Framework___Upgraded_.plist
Info-MPWFoundation__Framework___Upgraded__2.plist
Info.plist
LICENSE
LICENSE.bsd
Log.rtf
MPWFoundation.def
MPWFoundation.map
MPWFoundation.podspec
MPWFoundation_prefix_header.h
Notes.rtf
OCTests-Info.plist
Readme.md
ResourceTest
base.make
bytecoding.c
create-exports
h.template
linux-compile-diffs
m.template
makeheaderdir

Readme.md

MPWFoundation

Marcel Weiher, metaobject GmbH. http://www.metaobject.com

MPWFoundation provides a number of technologies to Cocoa, Cocoa Touch and Objective-C development in general.

  • Higher Order Messaging (HOM)
  • Point and Rectangle objects
  • Efficient numbers and number arrays
  • Resource-loading conveniences for NSBundle

Stores

Implementation of in-process REST.

Stores Documentation

Object Filters

Unix pipes and filters meets dynamic messaging.

Filter Documentation

Higher Order Messaging

Messages that can take messages as an argument.

An example, a common delegate pattern that checks if the delegate responds to the message we want to send:

if ( [self.delegate respondsToSelector:@selector(windowWillClose:)] ) {
    [self.delegate windowWillClose:self];
}

can instead be expressed as

[[self.delegate ifResponds] windowDidClose:self];

Note that the first example, apart from being verbose, also has a bug that gets hidden by the verbosity.

HOM Documentation

Object Cache

Reuse temporary objects, quickly.

Serialization

Serialization Documentation

  • Fast and memory-efficient implementation of binary proprerty lists
  • Fast CSV parser
  • Macro-based conveniences for NSArchiver and NSKeyedArchiver

Some more stuff

Collections

  • fast real and integer arrays
  • fast (small) dictionary with C-String keys

License

MPWFoundation is Copyright 1998-2018 by Marcel Weiher.
Dual licensed under BSD 3 part and LGPL.