13 #import <Foundation/Foundation.h> 14 #import <CoreData/CoreData.h> 15 #import <UIKit/UIKit.h> 16 #import <HealthKit/HealthKit.h> 40 - (
EmailMessage *) findOrCreateEmailMessageWithFileIdentification: (NSString *)googlefileid;
41 - (Boolean) deleteEmailMessageWithFileIdentification:(NSString *)googlefileid;
54 + (UIColor *) colorForAuthority: (NSNumber *) authorityValue;
55 + (NSString *) captionForAuthority: (NSNumber *) authorityValue;
56 - (
MenuItem *) findOrCreateMenuItemWithRandomkey: (NSString *)randomkey;
57 - (
MenuItem *) findOrCreateMenuItemWithFileIdentification: (NSString *)googlefileid;
58 - (
MenuItem *) findNextMenuItemForGallery: (NSNumber *) galleryNo afterPosition: (NSNumber *) positionInGallery;
59 - (NSArray<
Meal *> *) findMealsWithDate: (NSDate *)findDate;
60 - (NSArray<
Meal *> *) findMealsThisMonthDate: (NSDate *)findDate;
61 - (NSArray<
Meal *> *) findOrCreateMealWithDate: (NSDate *)findDate;
62 - (void) eraseMealsThisMonthDate: (NSDate *)findDate;
66 - (void) todaysMealRequested: (NSDate *)date;
67 - (void) todaysMealConsumed: (NSDate *)date forDelegate: (
id<Z5HealthConnectionProtocol>)jingo;
68 - (NSArray<
Meal *> *) retrieveAllMeals: (NSNumber *)galleryNumber;
69 - (void) todaysMealRated: (
float)rating;
71 - (NSDate *) toLocalTime: (NSDate *)grenwich;
72 - (NSDictionary *) jsonForUsdaNumbersInMenuItem:(
MenuItem *)menuItem;
73 - (NSMutableDictionary *) mergeJsonForUsdaNumbers:(NSDictionary *)usdaDictionary inMenuItem:(
MenuItem *)menuItem inContext:(UIView *) screen;
76 - (void) setUseHealthKit:(Boolean)useHealthKit;
78 - (void) getAddedAuthorizationToShare: (NSSet *)writeNutrTypes forDelegate: (
id<Z5HealthConnectionProtocol>) requestFrom;
81 - (NSNumber *) checkTypeAuthorization: (HKQuantityType *) quantityType;
82 + (HKQuantity *) hkQuantityForString: (NSString *) quantityDescript;
83 - (NSNumber *) askAgain: (HKQuantityType *) quantityType;
85 - (Boolean) goHealthData:(NSArray<NSDictionary *> *) parametersForHK forDelegate: (
id<Z5HealthConnectionProtocol>)jingo;
86 - (void) saveQuantityToHealthStore:(HKQuantityType *)quantityType amount:(HKQuantity *)quantityAmount;
87 - (NSMutableArray *) annotateAuthority:(NSArray *)componentArray;
94 - (NSArray<NSDictionary *> *) mealComponents: (
Meal *)meal;
100 - (void) putMenuItemOnToday: (
MenuItem *)focusMenuItem;
104 - (NSArray<
MenuItem *> *) retrieveAllMenuItems: (NSNumber *)galleryNo;
107 - (void) initGalleryPositionsRange: (NSRange) fetchAllRange;
108 - (void) logGallery: (NSNumber *)galleryChoice caption: (NSString *) caption;
109 - (void) logTodaysMenu: (NSString *) caption;
NSString * componentHKComponentKey()
UIColor * menuHeaderBackground()
NSManagedObjectModel * managedObjectModel
void initializeTodaysMeal()
NSArray< HKQuantityType * > * allHkTypes()
NSString * componentNameKey()
NSString * componentAuthorityDateKey()
NSArray< NSDictionary * > * todaysMenuComponents()
NSInteger getPrevGalleryPositionIdx()
NSNumber * usingHealthKit
NSInteger getNextGalleryPositionIdx()
UIColor * panelBackgroundColor()
NSPersistentStoreCoordinator * persistentStoreCoordinator
NSMutableArray * availableNutritionParamArray
void getHealthKitAuthorityFromUserDefaults()
void initNutritionTypes()
NSString * componentSampleKey()
NSSet * dataTypesToWrite()
NSArray< HKQuantityTypeIdentifier > * hkQuantityTypes
NSMutableArray * createTodaysMenuFromUserDefaults()
UIColor * menuContentsBackground()
NSMutableArray * establishNutritionParameters()
NSString * componentValueKey()
NSManagedObjectContext * managedObjectContext
NSString * componentAuthorityKey()
void putTodaysMenuInUserDefaults()
NSArray< HKQuantityType * > * typesForWriting()
UIColor * wheatBackground()
HKHealthStore * healthStore
void putCredentialsInUserDefaults()
NSArray * retrieveAllEmailMessages()
void fetchCredentialsFromUserDefaults()
NSMutableArray< MenuItem * > * todaysMenuItems
void clearTodaysMenuItems()