I'm working on modernizing Rosetta Code's infrastructure. Starting with communications. Please accept this time-limited open invite to RC's Slack.. --Michael Mol (talk) 20:59, 30 May 2020 (UTC)

Talk:Delegates

From Rosetta Code

Objective-C code[edit]

The Objective-C code gets no compiled. First, imports lacking. I added:

#import <Foundation/Foundation.h>

I am using GNUstep and gcc 4.2.2. The raised errors are:

delegator.m:25: error: cannot find interface declaration for ‘NXConstantString’

referring to the @"default implementation" part, and

delegator.m:55: error: ‘isEqualToString’ undeclared (first use in this function)

referring to assert([isEqualToString:@"delegate implementation"]);. What is lacking in order to be able to compile this code?! --ShinTakezou 14:59, 8 December 2008 (UTC)