This is XNORGate.m in view mode; [Download] [Up]
// // XNORGate // // An Objective-C class for digital logic simulation which // simulates the behavior of an n-input, m-bit XNOR gate. // #import "XNORGate.h" @implementation XNORGate - (bit)op:(bit)a :(bit)b { return (a == b); // XNOR (equivalence) bits. } @end // // End of file. //
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.