| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- //
- // 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 = NSLocalizedStringFromTable(@"CFBundleDisplayName", @"InfoPlist", nil);
- }
- return _appName;
- }
- - (NSString *)appVer {
- if (!_appVer) {
- NSDictionary *infoDic = [[NSBundle mainBundle] infoDictionary];
- NSString *ver = [infoDic objectForKey:@"CFBundleShortVersionString"];
- NSString *build = [infoDic objectForKey:@"CFBundleVersion"];
- _appVer = [NSString localizedStringWithFormat:NSLocalizedString(@"about_ver", nil),ver,build];
- }
- return _appVer;
- }
- - (NSString *)appCopyright {
- if (!_appCopyright) {
- _appCopyright = @"Copyright © 2014 United Software Applications, Inc.";
- }
- return _appCopyright;
- }
- - (NSString *)appSupport {
- if (!_appSupport) {
- _appSupport = NSLocalizedString(@"about_surpport", nil);
- }
- 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
|