This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#define kPreviousSearchEntityKey @"PreviousSearchEntity" | |
#define kPreviousSearchKey @"PreviousSearch" | |
#define kIDKey @"ID" | |
#define kTextKey @"Text" | |
#define kCategoryKey @"Category" | |
#define kCategoryIdentifierKey @"CategoryIdentifierKey" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Modified from: http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application | |
// NOTE: needs -load_all linker flag; might not be quite right - red/blue data line styles are not working | |
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
graph = [[CPTXYGraph alloc] initWithFrame: self.view.bounds]; | |
CPTGraphHostingView *hostingView = (CPTGraphHostingView *)self.view; |