AddressBook.h (509B)
1 #import <Foundation/Foundation.h> 2 3 #import "MainTableViewController.h" 4 5 6 @interface AddressBook : NSObject { 7 @public volatile uint32_t ready; 8 } 9 10 @property (strong, retain) NSMutableArray *contacts; 11 @property unsigned long num_contacts; 12 13 // returns singleton instance 14 + (id) shared_address_book; 15 16 @property (strong, nonatomic) MainTableViewController *main_tvc; 17 18 @end 19 20 @interface Contact : NSObject 21 22 @property NSString *first_name; 23 @property NSString *last_name; 24 @property NSMutableArray *phone_numbers; 25 26 @end