Cocoa API protocol
C57646
concept
A Cocoa API protocol is a formal Objective-C interface in Apple’s Cocoa frameworks that defines a set of methods and behaviors which adopting classes or objects agree to implement, enabling consistent communication and polymorphism across the framework.
All labels observed (3)
| Label | Occurrences |
|---|---|
| Objective-C protocol | 6 |
| Cocoa API | 1 |
| Cocoa API protocol canonical | 1 |
Description generation (CDg)
The one-sentence description above was generated by prompting gpt-5.1 with the class name and this instruction.
Instruction
generate a one-sentence description for a given conceptual class. # Response Format Return only the sentence: "Description: [one-sentence description of the conceptional class]"
Input
Class: Cocoa API protocol
Generated description
A Cocoa API protocol is a formal Objective-C interface in Apple’s Cocoa frameworks that defines a set of methods and behaviors which adopting classes or objects agree to implement, enabling consistent communication and polymorphism across the framework.
Instances (7)
| Instance | Via concept surface |
|---|---|
| NSCopying | Objective-C protocol |
| NSFastEnumeration | Objective-C protocol |
| NSMutableCopying | Objective-C protocol |
| NSSecureCoding | Objective-C protocol |
| NSCoding | Objective-C protocol |
|
NSSecureCoding (via subclasses)
surface form:
NSSecureCoding
|
Objective-C protocol |
| NSKeyedUnarchiver | Cocoa API |