www.delorie.com/gnu/docs/libobjects/libobjects_12.html   search  
 
Buy GNU books!


User's Guide to the GNU Objective-C Class Library

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.1 Basic Creating

Method: Collection @keyword{-init}

Method: Collection @keyword{-initEncoding:} (const char *)contentEncoding

Create with alloc and init. Specify the type of contents using initEncoding:. For example:

 
id arrayHoldingInts = [[Array alloc] initEncoding:@encode(int)];

<<This section unfinished.>>


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2003   by The Free Software Foundation     Updated Jun 2003