Samond Classes Library 1.2.2-RELEASE build 188
List of all members
<SCCollectioning> Protocol Reference

Collections communications protocol. More...

#import <SCCollectioning.h>

+ Inheritance diagram for <SCCollectioning>:

Instance Properties

NSString * className
 

Collection Support

(id) - copyObject
 
(SCComparisonResult- compareWithObject:
 

Detailed Description

Collections communications protocol.

Since
version 1.1.3

Declares methods for communicate between class instances and collections of any supported type. Defined by the protocol methods support such internal collection operations as a copying and comparing objects within the collections.

Method Documentation

- (SCComparisonResult) compareWithObject: (id< SCCollectioning >)  object

Returns the result of comparison the receiving instance with the specified instance.

Parameters
object- second instance for comparison
Returns
Comparison result:
  • SCComparisonEqual - instances are equal
  • SCComparisonLess - the receiving instance is less than the specified instance
  • SCComparisonGreater - the receiving instance is freater than the specified instance
  • SCComparisonNotAllowed - instances cannot be compared

Reimplemented in NSObject(SCObject).

- (id) copyObject

Returns the copy of the receiving instance.

Returns
Receiving instance copy

Reimplemented in NSObject(SCObject).

Property Documentation

- (NSString*) className
readnonatomiccopy

A name of the receiving instance class


The documentation for this protocol was generated from the following file: