#import @interface BinarySearch : NSObject @property (nonatomic, strong) NSArray *list; - (instancetype)initWithArray:(NSArray *)array; - (NSInteger)searchFor:(int)number; - (NSInteger)middle; @end