TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Feb 2015 |
SPMSupports SPM | ✗ |
Maintained by Dominik.
TwentyFourHours is a library for apps that are supposed to run all day long e.g. as a public display. It lets you specify when the app is allowed to go idle and when not.
As of Version 0.0.1 you can specify
On Sunday the app is always allowed to go idle
pod 'TwentyFourSeven'
Add the setting pane to your existing Settings.bundle's Root.plist
<dict>
<key>Type</key>
<string>PSChildPaneSpecifier</string>
<key>Title</key>
<string>Shop Hours</string>
<key>File</key>
<string>ShopHours</string>
</dict>
in your AppDelegate.m file
#import "AppDelegate.h"
@implementation AppDelegate
- (void)applicationDidFinishLaunching:(UIApplication *)application {
[TwentyFourSeven sharedInstance];
}
@end
in your AppDelegate.h file
#import "TwentyFourSeven-Swift.h"