Can you write simple example how we can use it ?
How looks syntax in Oxy ?
type
abc = class(RemObjects.Elements.System.Attribute)
public
constructor (x: String);
property Test: String;
property T2: Integer;
end;
type
[abc('hello')]
def = public class
public
[abc('hello')]
Name: String;
[abc('def')]
class var x: Integer;
[abc('test', T2 := 12345678)]
procedure MEH([abc('ddd')]s: String); empty;
end;
var lWork := GetAttributesForMethod(typeof(def), selector(MEH:), typeOf(abc));
var lWork := GetAttributesForType(typeof(def),typeOf(abc));
etc. lWork will be an NSArray of attributes.
All custom attribute functions can be found here:
1 Like
It is simple and easy to use 
Great work !!
And we’ll have a high-level cross-platformAPI for querying attributes as part of Sugar, later on. that will abstract these APIs, as well as the respective .NET and JVM APIs in a consistent and OOP manner.
What can I say ?? hmmm
You are the best in the WORLD 
1 Like
@Mateusz_Galazka could you please provide an example of how to use the Attributes?
Thanks.
There’s one in my post?
1 Like
Marc,
When you will include the cross-platform API for querying attributes in Sugar?
Thanks,
Best regards,
Jose A.
It’s on the list of todos.
Ok. Thanks Marc.