// // RASettingAboutModel.m // Apex And Drivers // // Created by Jack on 2018/9/13. // Copyright © 2018年 USAI. All rights reserved. // #import "RASettingAboutModel.h" @interface RASettingAboutModel () @end @implementation RASettingAboutModel - (CGFloat)height { return 130.0f; } - (NSString *)appName { if (!_appName) { NSDictionary *infoDic = [[NSBundle mainBundle] infoDictionary]; _appName = [infoDic objectForKey:@"CFBundleDisplayName"]; } return _appName; } - (NSString *)appVer { if (!_appVer) { NSDictionary *infoDic = [[NSBundle mainBundle] infoDictionary]; NSString *ver = [infoDic objectForKey:@"CFBundleShortVersionString"]; NSString *build = [infoDic objectForKey:@"CFBundleVersion"]; _appVer = [NSString stringWithFormat:@"Ver:%@ build %@",ver,build]; } return _appVer; } - (NSString *)appCopyright { if (!_appCopyright) { _appCopyright = @"Copyright © 2014 United Software Applications, Inc."; } return _appCopyright; } - (NSString *)appSupport { if (!_appSupport) { _appSupport = @"redantsupport@united-us.net"; } return _appSupport; } - (UIImage *)appIcon { if (!_appIcon) { _appIcon = [UIImage imageNamed:@"icon_50"]; } return _appIcon; } - (UIImage *)redantLogo { if (!_redantLogo) { _redantLogo = [UIImage imageNamed:@"redant_40"]; } return _redantLogo; } @end