Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,26 @@
*.ipa
.DS_Store

## Build generated
build/
DerivedData/

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/

## Other
*.moved-aside
*.xcuserstate

## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM
2 changes: 1 addition & 1 deletion GoodNight Widget/GoodNight Widget.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<dict>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.agatiello.GoodNight</string>
<string>group.com.saagarjha.GoodNight</string>
</array>
</dict>
</plist>
Binary file modified GoodNight-Mac/MacAssets.xcassets/AppIcon.appiconset/1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified GoodNight-Mac/MacAssets.xcassets/AppIcon.appiconset/128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified GoodNight-Mac/MacAssets.xcassets/AppIcon.appiconset/16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified GoodNight-Mac/MacAssets.xcassets/AppIcon.appiconset/256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified GoodNight-Mac/MacAssets.xcassets/AppIcon.appiconset/32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified GoodNight-Mac/MacAssets.xcassets/AppIcon.appiconset/512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified GoodNight-Mac/MacAssets.xcassets/AppIcon.appiconset/64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "32-1.png",
"filename" : "32.png",
"scale" : "2x"
},
{
Expand All @@ -33,7 +33,7 @@
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "256-1.png",
"filename" : "256.png",
"scale" : "2x"
},
{
Expand All @@ -45,7 +45,7 @@
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "512-1.png",
"filename" : "512.png",
"scale" : "2x"
},
{
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified GoodNight-Mac/MacAssets.xcassets/menu.imageset/16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified GoodNight-Mac/MacAssets.xcassets/menu.imageset/32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 28 additions & 24 deletions GoodNight.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -730,12 +730,12 @@
922B281C1DDE81CF0075C274 = {
CreatedOnToolsVersion = 8.1;
DevelopmentTeam = 9QKLXG4845;
ProvisioningStyle = Manual;
ProvisioningStyle = Automatic;
};
925B811D1BE2BCE1003A6C4B = {
CreatedOnToolsVersion = 7.2;
DevelopmentTeam = 9QKLXG4845;
ProvisioningStyle = Manual;
DevelopmentTeam = 3493UDPWAK;
ProvisioningStyle = Automatic;
SystemCapabilities = {
com.apple.ApplicationGroups.iOS = {
enabled = 1;
Expand All @@ -747,8 +747,8 @@
};
B9E536451B38D90D0097BF90 = {
CreatedOnToolsVersion = 7.0;
DevelopmentTeam = 9QKLXG4845;
ProvisioningStyle = Manual;
DevelopmentTeam = 3493UDPWAK;
ProvisioningStyle = Automatic;
SystemCapabilities = {
com.apple.ApplicationGroups.iOS = {
enabled = 1;
Expand Down Expand Up @@ -993,7 +993,7 @@
CLANG_WARN_SUSPICIOUS_MOVES = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_IDENTITY = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
Expand Down Expand Up @@ -1073,10 +1073,11 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets";
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_ENTITLEMENTS = GoodNight/GoodNight.entitlements;
CODE_SIGN_IDENTITY = "iPhone Distribution: ADA Tech, LLC";
DEVELOPMENT_TEAM = 9QKLXG4845;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = 3493UDPWAK;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
Expand All @@ -1086,10 +1087,10 @@
GCC_THUMB_SUPPORT = NO;
INFOPLIST_FILE = "$(SRCROOT)/GoodNight/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.agatiello.GoodNight;
PRODUCT_BUNDLE_IDENTIFIER = com.saagarjha.GoodNight;
PRODUCT_NAME = GoodNight;
PROVISIONING_PROFILE = "d859dcdf-12a2-465a-8ed2-3cb6ab6bf02b";
PROVISIONING_PROFILE_SPECIFIER = GoodNight;
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Enterprise;
Expand All @@ -1100,15 +1101,16 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_ENTITLEMENTS = "GoodNight Widget/GoodNight Widget.entitlements";
DEVELOPMENT_TEAM = 9QKLXG4845;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = 3493UDPWAK;
ENABLE_BITCODE = NO;
GCC_PREFIX_HEADER = GoodNight/PrefixHeader.pch;
INFOPLIST_FILE = "GoodNight Widget/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.agatiello.GoodNight.GoodNight-Widget";
PRODUCT_BUNDLE_IDENTIFIER = "com.saagarjha.GoodNight.GoodNight-Widget";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "0294b426-e9c0-493a-bf93-262f3f9d5307";
PROVISIONING_PROFILE_SPECIFIER = "GoodNight Widget (Development)";
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
};
name = Debug;
Expand All @@ -1133,9 +1135,10 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_ENTITLEMENTS = "GoodNight Widget/GoodNight Widget.entitlements";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 9QKLXG4845;
DEVELOPMENT_TEAM = 3493UDPWAK;
ENABLE_BITCODE = NO;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
Expand All @@ -1151,10 +1154,10 @@
INFOPLIST_FILE = "GoodNight Widget/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "com.agatiello.GoodNight.GoodNight-Widget";
PRODUCT_BUNDLE_IDENTIFIER = "com.saagarjha.GoodNight.GoodNight-Widget";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "877dad75-3f5b-4e87-83cc-3f39379469bf";
PROVISIONING_PROFILE_SPECIFIER = "GoodNight Widget";
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
VALIDATE_PRODUCT = YES;
Expand Down Expand Up @@ -1213,10 +1216,11 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets";
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_ENTITLEMENTS = GoodNight/GoodNight.entitlements;
CODE_SIGN_IDENTITY = "iPhone Developer: Anthony Agatiello (J9M2GPP36A)";
DEVELOPMENT_TEAM = 9QKLXG4845;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = 3493UDPWAK;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
Expand All @@ -1226,10 +1230,10 @@
GCC_THUMB_SUPPORT = NO;
INFOPLIST_FILE = "$(SRCROOT)/GoodNight/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.agatiello.GoodNight;
PRODUCT_BUNDLE_IDENTIFIER = com.saagarjha.GoodNight;
PRODUCT_NAME = GoodNight;
PROVISIONING_PROFILE = "588851c4-c84d-4ac4-a98d-e468ce1eca1e";
PROVISIONING_PROFILE_SPECIFIER = "GoodNight (Development)";
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified GoodNight/Assets.xcassets/AppIcon.appiconset/120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified GoodNight/Assets.xcassets/AppIcon.appiconset/152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified GoodNight/Assets.xcassets/AppIcon.appiconset/167.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified GoodNight/Assets.xcassets/AppIcon.appiconset/180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified GoodNight/Assets.xcassets/AppIcon.appiconset/29.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified GoodNight/Assets.xcassets/AppIcon.appiconset/40.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Binary file modified GoodNight/Assets.xcassets/AppIcon.appiconset/58.png
Binary file modified GoodNight/Assets.xcassets/AppIcon.appiconset/76.png
Diff not rendered.
Binary file modified GoodNight/Assets.xcassets/AppIcon.appiconset/80.png
Binary file modified GoodNight/Assets.xcassets/AppIcon.appiconset/87.png
67 changes: 64 additions & 3 deletions GoodNight/Assets.xcassets/AppIcon.appiconset/Contents.json
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
{
"images" : [
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "iphone",
Expand All @@ -24,10 +39,22 @@
"filename" : "120.png",
"scale" : "3x"
},
{
"size" : "57x57",
"idiom" : "iphone",
"filename" : "57.png",
"scale" : "1x"
},
{
"size" : "57x57",
"idiom" : "iphone",
"filename" : "114.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "120-1.png",
"filename" : "120.png",
"scale" : "2x"
},
{
Expand All @@ -36,6 +63,16 @@
"filename" : "180.png",
"scale" : "3x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "ipad",
Expand All @@ -45,7 +82,7 @@
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "58-1.png",
"filename" : "58.png",
"scale" : "2x"
},
{
Expand All @@ -57,7 +94,31 @@
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "80-1.png",
"filename" : "80.png",
"scale" : "2x"
},
{
"size" : "50x50",
"idiom" : "ipad",
"filename" : "50.png",
"scale" : "1x"
},
{
"size" : "50x50",
"idiom" : "ipad",
"filename" : "100.png",
"scale" : "2x"
},
{
"size" : "72x72",
"idiom" : "ipad",
"filename" : "72.png",
"scale" : "1x"
},
{
"size" : "72x72",
"idiom" : "ipad",
"filename" : "144.png",
"scale" : "2x"
},
{
Expand Down
Binary file not shown.
13 changes: 1 addition & 12 deletions GoodNight/Assets.xcassets/launch.imageset/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,7 @@
"images" : [
{
"idiom" : "universal",
"filename" : "launch.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "launch@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "launch@3x.png",
"scale" : "3x"
"filename" : "AppIcon.pdf"
}
],
"info" : {
Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
22 changes: 14 additions & 8 deletions GoodNight/Base.lproj/LaunchScreen.storyboard
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="16D12b" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9529"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
Expand All @@ -14,17 +19,18 @@
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="launch" translatesAutoresizingMaskIntoConstraints="NO" id="zx3-wb-oHE">
<rect key="frame" x="150" y="150" width="300" height="300"/>
<rect key="frame" x="112" y="258" width="150" height="150"/>
<constraints>
<constraint firstAttribute="width" constant="300" id="ZYm-gx-yK1"/>
<constraint firstAttribute="width" secondItem="zx3-wb-oHE" secondAttribute="height" multiplier="1:1" id="7e0-tZ-n2b"/>
<constraint firstAttribute="width" constant="150" id="ZYm-gx-yK1"/>
</constraints>
</imageView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="zx3-wb-oHE" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="Hdg-2i-zD9"/>
<constraint firstItem="zx3-wb-oHE" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="TOr-S7-MpH"/>
Expand All @@ -37,6 +43,6 @@
</scene>
</scenes>
<resources>
<image name="launch" width="300" height="300"/>
<image name="launch" width="150" height="150"/>
</resources>
</document>
2 changes: 1 addition & 1 deletion GoodNight/GoodNight.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<dict>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.agatiello.GoodNight</string>
<string>group.com.saagarjha.GoodNight</string>
</array>
</dict>
</plist>
2 changes: 1 addition & 1 deletion GoodNight/PrefixHeader.pch
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifndef PrefixHeader_pch
#define PrefixHeader_pch

#define appGroupID @"group.com.agatiello.GoodNight"
#define appGroupID @"group.com.saagarjha.GoodNight"
#define userDefaults [NSUserDefaults standardUserDefaults]
#define groupDefaults [[NSUserDefaults alloc] initWithSuiteName:appGroupID]
#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)
Expand Down