style(addressbook(obj-c)): add comments

This commit is contained in:
Francis Lachapelle
2021-08-18 13:32:33 -04:00
parent fef5003d92
commit 00846c463c
3 changed files with 13 additions and 2 deletions
@@ -136,8 +136,14 @@
NSArray *type;
resourceType = [NSMutableArray arrayWithArray: [super davResourceType]];
// CARDDAV:addressbook
// https://datatracker.ietf.org/doc/html/rfc6352#section-5.2
type = [NSArray arrayWithObjects: @"addressbook", XMLNS_CARDDAV, nil];
[resourceType addObject: type];
// CARDDAV:directory
// https://datatracker.ietf.org/doc/html/draft-daboo-carddav-directory-gateway-02#section-4.1
type = [NSArray arrayWithObjects: @"directory", XMLNS_CARDDAV, nil];
[resourceType addObject: type];