Singsys blog

Right Approach to interact Objective-C Classes in CocoaScript

Right Approach to interact Objective-C Classes in CocoaScript-Singsys

In this post we will learn the basics of how to use CocoaSpirit for interacting with Objective-C. Let us consider the following example.

 

Example of Objective-C class

@interface Object1 : NSObject
@property id value1;
@property NSArray *array1;
– (void)selector1;
– (void)selector2:(id)arg1 withArg2:(id)arg2;
@end

  (more…)