So I’m crafting a custom class and I want certain properties to be read-only when the class is accessed by other code. Is there a certain way to declare this?
In the year or so I’ve used Real Basic/Xojo I’ve always done the following (generalized for example):
function ReadOnlyPublicProperty()
return PrivateProperty
end function
Is there an easier mechinism for the Xojo language?