Skip to content

Commit c722c14

Browse files
committed
Merge pull request #39 from someoneAnyone/dev
Dev
2 parents bf5e21c + dca3bc2 commit c722c14

File tree

110 files changed

+6961
-3773
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+6961
-3773
lines changed
92.4 KB
Binary file not shown.
200 KB
Binary file not shown.

Nightscouter.xcodeproj/project (mla483's conflicted copy 2015-06-28 (1)).pbxproj

-686
This file was deleted.

Nightscouter.xcodeproj/project (mla483's conflicted copy 2015-06-28).pbxproj

-595
This file was deleted.

Nightscouter.xcodeproj/project.pbxproj

+862-141
Large diffs are not rendered by default.

Nightscouter.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Nightscouter/AppDelegate.swift

+166-149
Large diffs are not rendered by default.

Nightscouter/Assets.xcassets/AppIcon.appiconset/Contents.json

+6
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@
7272
"filename" : "[email protected]",
7373
"scale" : "2x"
7474
},
75+
{
76+
"size" : "83.5x83.5",
77+
"idiom" : "ipad",
78+
"filename" : "appIconiPadPro.png",
79+
"scale" : "2x"
80+
},
7581
{
7682
"size" : "16x16",
7783
"idiom" : "mac",
Loading

Nightscouter/Base.lproj/Labs.storyboard

-728
This file was deleted.

Nightscouter/Base.lproj/LaunchScreen.xib

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7706" systemVersion="14E46" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
33
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/>
4+
<deployment identifier="iOS"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>
56
</dependencies>
67
<customFonts key="customFonts">
78
<mutableArray key="HelveticaNeueLights.ttc">

Nightscouter/Base.lproj/Main.storyboard

+30-67
Large diffs are not rendered by default.

Nightscouter/Info.plist

+20-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0.3</string>
18+
<string>1.1.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleURLTypes</key>
@@ -32,7 +32,7 @@
3232
</dict>
3333
</array>
3434
<key>CFBundleVersion</key>
35-
<string>152</string>
35+
<string>UKNOWN</string>
3636
<key>LSRequiresIPhoneOS</key>
3737
<true/>
3838
<key>NSAppTransportSecurity</key>
@@ -46,6 +46,24 @@
4646
<string>com.nothingonline.$(PRODUCT_NAME:rfc1034identifier).site</string>
4747
<string>com.nothingonline.$(PRODUCT_NAME:rfc1034identifier).new</string>
4848
</array>
49+
<key>UIApplicationShortcutItems</key>
50+
<array>
51+
<dict>
52+
<key>UIApplicationShortcutItemIconType</key>
53+
<string>UIApplicationShortcutIconTypeAdd</string>
54+
<key>UIApplicationShortcutItemSubtitle</key>
55+
<string></string>
56+
<key>UIApplicationShortcutItemTitle</key>
57+
<string>Add New Site</string>
58+
<key>UIApplicationShortcutItemType</key>
59+
<string>$(PRODUCT_BUNDLE_IDENTIFIER).AddNew</string>
60+
<key>UIApplicationShortcutItemUserInfo</key>
61+
<dict>
62+
<key>firstShorcutKey1</key>
63+
<string>AddNew</string>
64+
</dict>
65+
</dict>
66+
</array>
4967
<key>UIBackgroundModes</key>
5068
<array>
5169
<string>fetch</string>

Nightscouter/ModelController.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class ModelController: NSObject, UIPageViewControllerDataSource {
2424
var sites: [Site]
2525
var currentIndex: Int {
2626
didSet{
27-
AppDataManager.sharedInstance.currentSiteIndex = currentIndex
27+
AppDataManageriOS.sharedInstance.currentSiteIndex = currentIndex
2828
}
2929
}
3030

@@ -63,7 +63,7 @@ class ModelController: NSObject, UIPageViewControllerDataSource {
6363
return nil
6464
}
6565

66-
index--
66+
index -= 1
6767
return self.viewControllerAtIndex(index, storyboard: viewController.storyboard!)
6868
}
6969

@@ -73,7 +73,7 @@ class ModelController: NSObject, UIPageViewControllerDataSource {
7373
return nil
7474
}
7575

76-
index++
76+
index += 1
7777
if index == self.sites.count {
7878
return nil
7979
}

Nightscouter/Nightscouter.entitlements

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>com.apple.developer.icloud-container-identifiers</key>
6+
<array/>
7+
<key>com.apple.developer.ubiquity-kvstore-identifier</key>
8+
<string>$(TeamIdentifierPrefix).com.nothingonline.nightscouter</string>
59
<key>com.apple.security.application-groups</key>
610
<array>
711
<string>group.com.nothingonline.nightscouter</string>

Nightscouter/Settings.bundle/Root.plist

+2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@
66
<array/>
77
<key>StringsTable</key>
88
<string>Root</string>
9+
<key>ApplicationGroupContainerIdentifier</key>
10+
<string>group.com.nothingonline.nightscouter</string>
911
</dict>
1012
</plist>

0 commit comments

Comments
 (0)