summaryrefslogtreecommitdiffstats
path: root/src/compound.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'src/compound.xsd')
-rw-r--r--src/compound.xsd13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/compound.xsd b/src/compound.xsd
index a200f8b..94b0f86 100644
--- a/src/compound.xsd
+++ b/src/compound.xsd
@@ -163,6 +163,11 @@
<xsd:attribute name="add" type="DoxBool" use="optional"/>
<xsd:attribute name="remove" type="DoxBool" use="optional"/>
<xsd:attribute name="raise" type="DoxBool" use="optional"/>
+ <!-- Objective-C 2.0 protocol method -->
+ <xsd:attribute name="optional" type="DoxBool" use="optional"/>
+ <xsd:attribute name="required" type="DoxBool" use="optional"/>
+ <!-- Objective-C 2.0 property accessor -->
+ <xsd:attribute name="accessor" type="DoxAccessor" use="optional"/>
</xsd:complexType>
<xsd:complexType name="descriptionType" mixed="true">
@@ -793,5 +798,13 @@
</xsd:restriction>
</xsd:simpleType>
+ <xsd:simpleType name="DoxAccessor">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="retain"/>
+ <xsd:enumeration value="copy"/>
+ <xsd:enumeration value="assign"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
</xsd:schema>