POV-Ray : Newsgroups : povray.off-topic : One of the greatest mysteries of computing Server Time
28 Jul 2024 16:27:40 EDT (-0400)
  One of the greatest mysteries of computing (Message 1 to 1 of 1)  
From: Warp
Subject: One of the greatest mysteries of computing
Date: 19 Dec 2013 15:38:20
Message: <52b3593c@news.povray.org>
Objective-C classes support a special syntax to define getter/setters
for classes, named "properties". They are defined using the @property
keyword.

Said keyword can be followed by a list of attribute keywords in
parentheses. These both define the characteristics of the property,
and tell what the compiler-generated functions should do (if they
are not overridden by the class implementation.) Example:

  @property (nonatomic, retain) UIView* mainView;

Now, what are all the attribute keywords that can be used with properties?
I don't know.

How is that possible? Shouldn't this be something that can be googled up
in like 2 seconds?

And that's the great mystery. For some reason I cannot comprehend, there
exists no comprehensive list of property attribute keywords in the
entirety of the internet, as far as I know. Not even the language's
documentation by Apple (which is basically the company that almost
solely develops the language) seems to contain a list. Sure, there's
tons and tons of *examples*, but not a comprehensive table or list
enumerating them all.

The list can probably be found in the official language standard.
Somewhere. Somehow. Maybe browsing the ANSI publications or something.

Why isn't there like a thousand web pages giving the list, or even just
one, I have no idea. A great mystery for our modern times.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.