Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 28 lines (20 sloc) 0.659 kb
7245fa9 Changed post creation to use a new ANDraft model
Brent Royal-Gordon authored
1 //
2 // ANDraft.h
07ea744 Fix up header comments
Brent Royal-Gordon authored
3 // AppNetKit
7245fa9 Changed post creation to use a new ANDraft model
Brent Royal-Gordon authored
4 //
5 // Created by Brent Royal-Gordon on 8/23/12.
16871fc Declare AppNetKit to be MIT-licensed
Brent Royal-Gordon authored
6 // Copyright (c) 2012 Architechies. See README.md for licensing information.
7245fa9 Changed post creation to use a new ANDraft model
Brent Royal-Gordon authored
7 //
8
9 #import <Foundation/Foundation.h>
10 #import "AppNetKit.h"
11
ac67318 Support for draft entities
Brent Royal-Gordon authored
12 @class ANUser;
13 @class ANDraftEntitySet;
14
7245fa9 Changed post creation to use a new ANDraft model
Brent Royal-Gordon authored
15 @interface ANDraft : NSObject
16
17 @property (strong) NSString * text;
18 @property (assign) ANResourceID replyTo;
1bc62ee Support for machine-only posts
Brent Royal-Gordon authored
19 @property (assign) BOOL machineOnly;
02a526f Basic annotation support
Brent Royal-Gordon authored
20 @property (readonly) NSMutableArray * annotations;
ac67318 Support for draft entities
Brent Royal-Gordon authored
21 @property (readonly) ANDraftEntitySet * entities;
7245fa9 Changed post creation to use a new ANDraft model
Brent Royal-Gordon authored
22
2ca690a Make {ANDraft,ANDraftAnnotation}.representation writable
Brent Royal-Gordon authored
23 @property (copy) NSDictionary * representation;
7245fa9 Changed post creation to use a new ANDraft model
Brent Royal-Gordon authored
24
fe944aa Add draft-posting convenience method
Brent Royal-Gordon authored
25 - (void)createPostViaSession:(ANSession*)session completion:(ANPostRequestCompletion)completion;
26
7245fa9 Changed post creation to use a new ANDraft model
Brent Royal-Gordon authored
27 @end
Something went wrong with that request. Please try again.