declaring properties

Write your ideas what you would like to have in Objective-Basic

declaring properties

Postby udo.killermann » Wed Jan 05, 2011 7:24 am

Bernd,

when I started to look at the Core Animation framework I recognized that the newer Cocoa classes work a lot with properties. Instead of getter and setter methods they just define a property which can be accessed via the dot operator (as we do in Obj B). To handle these properties from within ObjB I have to declare the setter and getter instead of just declaring the property.
I am thinking of:
Code: Select all
Declare Property "CABasicAnimation" (double)duration


You have already reserved the Property keyword and I think that this would be a good use of it ;)

Kind regards
Udo
--------------
MacBook (2GHz, 4 GByte) - Lion (10.7.3)
started Objective Basic coding in April 2010 - still enjoy it ;-)
udo.killermann
 
Posts: 247
Joined: Thu Apr 08, 2010 6:46 am
Location: Hannover, Germany

Return to Wish List (Xcode 3)

Who is online

Users browsing this forum: No registered users and 1 guest