Native JavaScript code in Objective-J -
I just started developing with the Cappuccino framework and I wonder whether the use of the original Javascript code in Objective-J Is it possible to do? I just tried to apply a just warning (); Objective-J code but it does not work on the browser ...
var label = [[CPTextFold alloc] initWithFrame: CGRectMakeZero ()]; [Label setstring value: @ "hello world!"]; [Label set font: [cffold bold system font size off: 24.0]]; Warning ("simple test");Objective-J is a superset of Javascript, then the original Javascript object-part of the J language is.
Are you sure your code is being executed?
Comments
Post a Comment