36 lines
908 B
Objective-C
36 lines
908 B
Objective-C
//
|
|
// SharedDecleartions.h
|
|
// FMC Planner 2
|
|
//
|
|
// Created by Kilian Hofmann on 23.03.16.
|
|
// Copyright © 2016 Kilian Hofmann. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@interface SharedDeclerations : NSObject
|
|
|
|
#pragma mark - Route page management constants
|
|
|
|
extern NSString *const FMCNEXTRTEPAGE;
|
|
extern NSString *const FMCFIRSTRTEPAGE;
|
|
extern NSString *const DropboxErrorDomain;
|
|
extern NSString *const DropboxErrorUserInfo;
|
|
|
|
#pragma mark - Adaptive font size method
|
|
|
|
+ (UIFont *)findAdaptiveFontForUILabelSize:(CGSize)labelSize
|
|
withMinimumSize:(NSInteger)minSize
|
|
withMod:(float)mod;
|
|
|
|
#pragma mark - Savepath method
|
|
|
|
+ (NSString *)savePathForFile:(NSString *)file;
|
|
|
|
#pragma mark - Alert for handling displaying Eroor Messages.
|
|
|
|
+ (void)presentErrorAlert:(NSError *)error
|
|
presenter:(UIViewController *)presenter;
|
|
|
|
@end
|