iOS Guide 4. Notification

4-2. Push List 가져오기

  1. 읽지 않은 메시지 리스트 가져오기
  2. NSMutableArray *notReadMsg = [[BZPush db] selectNotReadMsg];

  3. 읽은 메시지 리스트 가져오기
  4. NSMutableArray *readMsg =[[BZPush db]selectReadMsg];

  5. 전체 메시지 리스트 가져오기
  6. NSMutableArray *allMsg = [[BZPush db] selectAllMsg];
    NSMutableArray 에 담긴 객체의 타입은 BZNotiMessage타입으로, Bizpush에서 따로 정의한 타입