Public Member Functions

<OFAnnouncementDelegate> Protocol Reference

#import <OFAnnouncement.h>

List of all members.

Public Member Functions

(void) - didDownloadAnnouncementsAppAnnouncements:devAnnouncements:
(void) - didFailDownloadAnnouncements
(void) - didGetPosts:OFAnnouncement:
(void) - didFailGetPostsOFAnnouncement:

Detailed Description

Adopt the OFAnnouncementDelegate Protocol to receive information regarding OFAnnouncement. You must call OFAnnouncement's +(void)setDelegate: method to receive information.


Member Function Documentation

- (void) didDownloadAnnouncementsAppAnnouncements: (NSArray *)  appAnnouncements
devAnnouncements: (NSArray *)  devAnnouncements 
[optional]

Invoked when downloadAnnouncements successfully completes. This is called immediately if we have the announcements already cached.

Parameters:
appAnnouncementsapp announcements defined on the dev dashboard
devAnnouncementsdev announcements defined on the dev dashboard
- (void) didFailDownloadAnnouncements [optional]

Invoked when the downloadAnnouncements fails

- (void) didFailGetPostsOFAnnouncement: (OFAnnouncement *)  announcement [optional]

Invoked when getPosts fails

Parameters:
announcmentThe announcement for which the posts were requested.
- (void) didGetPosts: (NSArray *)  posts
OFAnnouncement: (OFAnnouncement *)  announcement 
[optional]

Invoked when getPosts successfully completes

Parameters:
postsAn array of the OFForumPosts for a particular announcment. Each element of the array is of type (OFForumPost*).
announecmentThe announcement which the posts are attached to.

The documentation for this protocol was generated from the following file:
 All Classes Files Functions Variables Enumerations Enumerator Properties