home *** CD-ROM | disk | FTP | other *** search
Wrap
{\rtf0\ansi\paperw16228 \paperh18648 \margl-907 \margr0 \margt0 \margb0 {\fonttbl\f0\fswiss Helvetica;\f1\froman Times;\f2\fmodern Courier;\f3\ftech Symbol;\f4\froman Palatino;} {\stylesheet{\s0 \li100 \fi0 \ri1007 \ql 1Head;} {\s1 \li1360 \fi0 \ri1007 \ql AdoptedProtocols;} {\s2 \li2116 \fi0 \ri1007 \ql \tx2494 \tx2872 \tx3250 Body;} {\s3 \li2494 \fi0 \ri1007 \ql \tx2872 \tx3250 \tx3642 BodyIndented;} {\s4 \li2494 \fi-378 \ri1007 \ql \tx2494 \tx2872 \tx3250 BulletLong;} {\s5 \li2494 \fi-378 \ri1007 \ql BulletShort;} {\s6 \li1360 \fi0 \ri1007 \ql ClassDescription;} {\s7 \li1360 \fi0 \ri1007 \ql ClassMethods;} {\s8 \li100 \fi0 \ri1007 \ql ClassName;} {\s9 \li2494 \fi0 \ri1007 \ql \tx3124 \tx3628 \tx4132 \tx4636 \tx5140 \tx5644 \tx6148 \tx6652 \tx7156 \tx7660 \tx8164 \tx8668 \tx9172 \tx9676 \tx10180 \tx10684 CodeExamp;} {\s10 \li2872 \fi0 \ri1007 \ql \tx3376 \tx3880 \tx4384 \tx4888 \tx5392 \tx5896 \tx6400 \tx6904 \tx7408 \tx7912 \tx8416 \tx8920 \tx9424 \tx9928 \tx10432 CodeExamp2;} {\s11 \li2872 \fi-2771 \ri1007 \ql \tx2872 ConformsTo;} {\s12 \li2872 \fi-2771 \ri1007 \ql DeclaredIn;} {\s13 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 Description;} {\s14 \li7030 \fi-5796 \ri1007 \ql DescriptionPart;} {\s15 \li6148 \fi-4031 \ri1007 \ql \tx6148 \tx9676 \tx10180 FirstVar/TypeLine1;} {\s16 \li0 \fi0 \ri0 \ql \tx-25 \tx8290 \tx9172 Footer;} {\s17 \li1360 \fi0 \ri1007 \ql Heading;} {\s18 \li2872 \fi-2771 \ri1007 \ql \tx2872 InheritsFrom;} {\s19 \li1360 \fi0 \ri1007 \ql InstanceMethods;} {\s20 \li2116 \fi0 \ri1007 \ql \tx2872 InstanceVar;} {\s21 \li1360 \fi0 \ri1007 \ql InstanceVarHead;} {\s22 \li3250 \fi-756 \ri1007 \ql MethodDesc;} {\s23 \li2494 \fi-378 \ri1007 \ql \tx7156 MethodHead;} {\s24 \li2494 \fi-378 \ri1007 \ql MethodHeadFirst;} {\s25 \li1360 \fi0 \ri1007 \ql MethodsImp...;} {\s26 \li1360 \fi0 \ri1007 \ql MethodTypes;} {\s27 \li2116 \fi0 \ri1007 \ql Note;} {\s28 \li2116 \fi0 \ri1007 \ql \tx2494 \tx2872 \tx3250 SeeAlso;} {\s29 \li2116 \fi0 \ri1007 \ql SubHeading;} {\s30 \li100 \fi0 \ri1007 \ql Summary;} {\s31 \li2494 \fi0 \ri1007 \ql \tx6148 \tx10180 TableBody1;} {\s32 \li6148 \fi-3654 \ri1007 \ql \tx6148 \tx10432 TableBody2;} {\s33 \li2494 \fi0 \ri1007 \ql \tx6148 \tx10180 TableHead;} {\s34 \li6652 \fi-503 \ri1007 \ql \tx9676 \tx10180 Var/Type;} {\s35 \li6148 \fi-4031 \ri1007 \ql \tx6148 \tx9676 \tx10180 Var/TypeLine1;} {\s36 \li2116 \fi-2015 \ri1007 \ql \tx806 \tx2116 Warning;} } \li0 \fi0 \ri0 \ql \sb0 \f1 \fs24 (Preliminary Documentation) Copyright \f3 \'e3\f1 1994 by NeXT Computer, Inc. All Rights Reserved.\ \ \pard \s0 \li100 \fi0 \ri1007 \ql \f0 \b \fs36 \fs16 \ \ \ \ \ \ \ \fs36 NSValue \ \pard \s18 \li2872 \fi-2771 \ri1007 \ql \tx2872 \f1 \b0 \fs28 \fs16 \ \ \ \fs28 \f0 \b \fs28 Inherits From: \b0 \fs28 \f1 NSObject \ \fs16 \ \fs28 \s11 \fs16 \fs28 \f0 \b \fs28 Conforms To: \b0 \fs28 \f1 NSCoding\ \fi0 NSCopying\ \fi0 NSObject \ \fs16 \ \fs28 \s12 \fi-2771 \fs16 \fs28 \f0 \b \fs28 Declared In: \b0 \fs28 \f1 foundation/NSValue.h\ \fi0 foundation/NSGeometry.h \ \fs16 \ \fs28 \pard \s30 \li100 \fi0 \ri1007 \ql \f0 \b \fs28 \fs16 \ \ \fs28 Allocating and Initializing \ \fs16 \ \fs28 \pard \s13 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 + (NSValue *)\b value:\b0 (const void *)\i value\i0 Creates and returns a value object containing the value \ \fi-6552 \s14 \li7030 \fi-6553 \fi-5796 \b withObjCType:\b0 (const char *)\i type\i0 \i value\i0 of the Objective C type \i type\i0 .\ \s13 \li7029 \fi-5794 \fi-6552 \fi-6552 + (NSValue *)\b valueWithNonretainedObject:\b0 (id)\i anObject\ \fi-6552 \s14 \li7030 \fi-6553 \fi-5796 \i0 Creates and returns a value object containing the object \i anObject,\i0 without retaining \i anObject\i0 .\ \s13 \li7029 \fi-5794 \fi-6552 \fi-6552 + (NSValue *)\b valueWithPoint:\b0 (NSPoint)\i point \i0 Creates and returns a value object that contains the specified\i \i0 NSPoint structure (which represents a geometrical point in two dimensions).\ \fi-6552 \fi-6552 \fi-6552 + (NSValue *)\b valueWithPointer:\b0 (const void *)\i pointer\ \fi-6552 \fi-6552 \i0 \fi-6552 Creates and returns a value object that contains the specified pointer.\ \fi-6552 \fi-6552 \fi-6552 + (NSValue *)\b valueWithRect:\b0 (NSRect)\i rect \i0 Creates and returns a value object that contains the specified\i \i0 NSRect structure, representing a rectangle.\ \fi-6552 \fi-6552 \fi-6552 + (NSValue *)\b valueWithSize:\b0 (NSSize)\i size\i0 Creates and returns a value object that contains the specified\i \i0 NSSize structure (which stores a width and a height).\ \fi-6552 \pard \s30 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \ \ \ \fs28 Accessing Data \ \fs16 \ \fs28 \pard \s13 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (void)\b getValue:\b0 (void *)\i value\i0 Copies the receiver\'27s data into \i value\i0 .\ \fi-6552 \fi-6552 \fi-6552 {\f3 -} (id)\b nonretainedObjectValue\b0 Returns the non-retained object that\'27s contained in the receiver.\ \fi-6552 \fi-6552 \fi-6552 {\f3 -} (const char *)\b objCType\b0 Returns the Objective C type of the data contained in the receiver.\ \fi-6552 \fi-6552 \fi-6552 {\f3 -} (void *)\b pointerValue\b0 Returns the pointer that\'27s contained in the receiver.\ \fi-6552 \fi-6552 \fi-6552 {\f3 -} (NSRect)\b rectValue\b0 Returns the rectangle structure that\'27s contained in the receiver.\ \fi-6552 \fi-6552 \fi-6552 {\f3 -} (NSSize)\b sizeValue \b0 Returns the size structure that\'27s contained in the receiver\b .\ \fi-6552 \fi-6552 \b0 \fi-6552 {\f3 -} (NSPoint)\b pointValue\b0 Returns the point structure that\'27s contained in the receiver.\ \fi-6552 \fi-6552 \fi-6552 \ \fi-6552 \pard \s2 \li2116 \fi0 \ri1007 \ql \fs28 \li100 \fi2015 \fi0 \tx478 \tx856 \tx1234 \fs16 \ \ \fs28 \ \fs16 \ \ \fs28 \li2116 \fi-2015 \fi0 \li100 \fi2015 \fi0 \tx478 \tx856 \tx1234 \fs16 \fs28 \ \fs16 \ \ \fs28 \li2116 \fi-2015 \fi0 \li100 \fi2015 \fi0 \tx478 \tx856 \tx1234 \fs16 \fs28 \ \fs16 \ \ \fs28 }