42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
@"</style>"
@"</head>"
@"<body>"
@"<div id='title'>"
@" scrypt-pwgen {version}"
@"</div>"
@"<div id='copyright'>"
@" Copyright © 2016, Jonathan Schleifer"
@"</div>"
@"<p name='free_software'>"
@" scrypt-pwgen is free software and the source code is available at "
@" <a href='https://heap.zone/scrypt-pwgen/'>here</a>."
@"</p>"
@"<p name='objfw'>"
@" It makes use of the <a href='https://heap.zone/objfw/'>ObjFW</a> "
@"framework and also uses its scrypt implementation."
@"</p>"
@"</body>"
@"</html>";
@implementation AboutController
- (void)viewDidLoad
{
self.automaticallyAdjustsScrollViewInsets = NO;
NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
NSString *version = infoDictionary[@"CFBundleShortVersionString"];
NSString *aboutHTML = [aboutHTMLTemplate
stringByReplacingOccurrencesOfString: @"{version}"
withString: version];
|
|
>
>
|
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
@"</style>"
@"</head>"
@"<body>"
@"<div id='title'>"
@" scrypt-pwgen {version}"
@"</div>"
@"<div id='copyright'>"
@" Copyright © 2016 - 2017, Jonathan Schleifer"
@"</div>"
@"<p name='free_software'>"
@" scrypt-pwgen is free software and the source code is available at "
@" <a href='https://heap.zone/scrypt-pwgen/'>here</a>."
@"</p>"
@"<p name='objfw'>"
@" It makes use of the <a href='https://heap.zone/objfw/'>ObjFW</a> "
@"framework and also uses its scrypt implementation."
@"</p>"
@"</body>"
@"</html>";
@implementation AboutController
- (void)viewDidLoad
{
[super viewDidLoad];
self.automaticallyAdjustsScrollViewInsets = NO;
NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
NSString *version = infoDictionary[@"CFBundleShortVersionString"];
NSString *aboutHTML = [aboutHTMLTemplate
stringByReplacingOccurrencesOfString: @"{version}"
withString: version];
|