Skip to content

Commit

Permalink
Merge pull request #10 from SmartDeviceLink-Examples/feature/library-6.7
Browse files Browse the repository at this point in the history
Update v5.3.0 - for SDL iOS v6.7.0
  • Loading branch information
joeljfischer authored Jul 22, 2020
2 parents 3ef1430 + 43adcf1 commit e544983
Show file tree
Hide file tree
Showing 1,004 changed files with 285 additions and 73,415 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ xcuserdata/
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/
Pods/

# Carthage
#
Expand Down
Empty file removed 5.2
Empty file.
18 changes: 13 additions & 5 deletions MobileWeather.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
1E555E3918466B6500B143B4 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1E555E3818466B6500B143B4 /* UIKit.framework */; };
1E555E4518466B6500B143B4 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E555E4418466B6500B143B4 /* AppDelegate.m */; };
1E555E4B18466B6500B143B4 /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E555E4A18466B6500B143B4 /* MainViewController.m */; };
4A55CAFA24C76D35008065DA /* Launch.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4A55CAF924C76D35008065DA /* Launch.storyboard */; };
5DB7EDC91D89CC2C00B62BB7 /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 5DB7EDC81D89CC2C00B62BB7 /* Settings.bundle */; };
5DB7EDCB1D89CC3800B62BB7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5DB7EDCA1D89CC3800B62BB7 /* Images.xcassets */; };
6E04EAC31CF4E52A00115C2F /* Localization.m in Sources */ = {isa = PBXBuildFile; fileRef = E4BD7AEE1B023A2C006BE23B /* Localization.m */; };
Expand Down Expand Up @@ -68,6 +69,7 @@
1E555E4418466B6500B143B4 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
1E555E4918466B6500B143B4 /* MainViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MainViewController.h; sourceTree = "<group>"; };
1E555E4A18466B6500B143B4 /* MainViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MainViewController.m; sourceTree = "<group>"; };
4A55CAF924C76D35008065DA /* Launch.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Launch.storyboard; sourceTree = "<group>"; };
56FBAA80C3ED8E16429896CD /* Pods-MobileWeather.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MobileWeather.release.xcconfig"; path = "Pods/Target Support Files/Pods-MobileWeather/Pods-MobileWeather.release.xcconfig"; sourceTree = "<group>"; };
5DB7EDC81D89CC2C00B62BB7 /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = Settings.bundle; path = MobileWeather/Settings.bundle; sourceTree = SOURCE_ROOT; };
5DB7EDCA1D89CC3800B62BB7 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = MobileWeather/Images.xcassets; sourceTree = SOURCE_ROOT; };
Expand Down Expand Up @@ -227,6 +229,7 @@
5DB7EDC81D89CC2C00B62BB7 /* Settings.bundle */,
E427582D1A0B75C000AA42B1 /* main.m */,
E427582E1A0B75C000AA42B1 /* Info.plist */,
4A55CAF924C76D35008065DA /* Launch.storyboard */,
);
name = "Supporting Files";
sourceTree = "<group>";
Expand Down Expand Up @@ -389,7 +392,7 @@
1E555E2918466B6500B143B4 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0920;
LastUpgradeCheck = 1160;
ORGANIZATIONNAME = Ford;
TargetAttributes = {
1E555E3018466B6500B143B4 = {
Expand All @@ -411,6 +414,7 @@
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
de,
es,
Expand All @@ -436,6 +440,7 @@
E44272FB1B00A5FC0018EA4F /* Localizable.strings in Resources */,
5DB7EDCB1D89CC3800B62BB7 /* Images.xcassets in Resources */,
E436919A19F556D800678C1D /* Main.storyboard in Resources */,
4A55CAFA24C76D35008065DA /* Launch.storyboard in Resources */,
E43D8D5D1B32E50D00FB8717 /* Localizable.stringsdict in Resources */,
5DB7EDC91D89CC2C00B62BB7 /* Settings.bundle in Resources */,
);
Expand Down Expand Up @@ -468,7 +473,7 @@
files = (
);
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-MobileWeather/Pods-MobileWeather-frameworks.sh",
"${PODS_ROOT}/Target Support Files/Pods-MobileWeather/Pods-MobileWeather-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/BiSON/BiSON.framework",
"${BUILT_PRODUCTS_DIR}/SmartDeviceLink/SmartDeviceLink.framework",
);
Expand All @@ -479,7 +484,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MobileWeather/Pods-MobileWeather-frameworks.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-MobileWeather/Pods-MobileWeather-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
Expand Down Expand Up @@ -657,17 +662,19 @@
isa = XCBuildConfiguration;
baseConfigurationReference = C407ED364EBBDDB306D541A8 /* Pods-MobileWeather.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_RESOURCE_RULES_PATH = "$(SDKROOT)/ResourceRules.plist";
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = NCVC2MHU7M;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
INFOPLIST_FILE = MobileWeather/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 5.3.0;
PRODUCT_BUNDLE_IDENTIFIER = com.yourcompany.mobileweather;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
Expand All @@ -681,15 +688,16 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_RESOURCE_RULES_PATH = "$(SDKROOT)/ResourceRules.plist";
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = NCVC2MHU7M;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
INFOPLIST_FILE = MobileWeather/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 5.3.0;
PRODUCT_BUNDLE_IDENTIFIER = com.yourcompany.mobileweather;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
Expand Down
Binary file modified MobileWeather/.DS_Store
Binary file not shown.
6 changes: 4 additions & 2 deletions MobileWeather/DarkSkyProcessor.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// Copyright (c) 2013-2015 Ford Motor Company. All rights reserved.
//

@import SmartDeviceLink;

#import "DarkSkyProcessor.h"

#import "Forecast.h"
Expand Down Expand Up @@ -67,12 +69,12 @@ + (WeatherConditions *)weatherConditions:(NSDictionary *)json {
}

+ (NSArray *)dailyForecast:(NSDictionary *)json {
NSLog(@"starting daily forecast");
SDLLogD(@"Processing daily forecast");
return [self processForecast:json forType:KEY_DAILY];
}

+ (NSArray *)hourlyForecast:(NSDictionary *)json {
NSLog(@"starting hourly forecast");
SDLLogD(@"Processing hourly forecast");
return [self processForecast:json forType:KEY_HOURLY];
}

Expand Down
6 changes: 4 additions & 2 deletions MobileWeather/DarkSkyService.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// Copyright (c) 2013-2015 Ford Motor Company. All rights reserved.
//

@import SmartDeviceLink;

#import "DarkSkyService.h"

#import "Notifications.h"
Expand Down Expand Up @@ -62,13 +64,13 @@ - (void)updateWeatherDataFromUrl:(NSURL *)url forLanguage:(WeatherLanguage *)lan

self.currentTask = [[NSURLSession sharedSession] dataTaskWithURL:url completionHandler:^(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error) {
if (error != nil) {
NSLog(@"Error retrieving weather data");
SDLLogE(@"Error retrieving weather data");
return;
}

NSDictionary *jsonData = [NSJSONSerialization JSONObjectWithData:data options:0 error:nil];
if (jsonData == nil) {
NSLog(@"Error parsing weather data");
SDLLogE(@"Error parsing weather data");
return;
}

Expand Down
Binary file added MobileWeather/Images.xcassets/.DS_Store
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 37 additions & 33 deletions MobileWeather/Images.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -1,74 +1,78 @@
{
"images" : [
{
"filename" : "iPhone Notification [email protected]",
"idiom" : "iphone",
"size" : "20x20",
"scale" : "2x"
"scale" : "2x",
"size" : "20x20"
},
{
"filename" : "iPhone Notification [email protected]",
"idiom" : "iphone",
"size" : "20x20",
"scale" : "3x"
"scale" : "3x",
"size" : "20x20"
},
{
"size" : "29x29",
"filename" : "iPhone Settings [email protected]",
"idiom" : "iphone",
"filename" : "icon29.png",
"scale" : "1x"
"scale" : "1x",
"size" : "29x29"
},
{
"size" : "29x29",
"filename" : "iPhone Settings [email protected]",
"idiom" : "iphone",
"filename" : "icon58.png",
"scale" : "2x"
"scale" : "2x",
"size" : "29x29"
},
{
"filename" : "iPhone Settings [email protected]",
"idiom" : "iphone",
"size" : "29x29",
"scale" : "3x"
"scale" : "3x",
"size" : "29x29"
},
{
"size" : "40x40",
"filename" : "iPhone Spotlight [email protected]",
"idiom" : "iphone",
"filename" : "icon80.png",
"scale" : "2x"
"scale" : "2x",
"size" : "40x40"
},
{
"filename" : "iPhone Spotlight [email protected]",
"idiom" : "iphone",
"size" : "40x40",
"scale" : "3x"
"scale" : "3x",
"size" : "40x40"
},
{
"size" : "57x57",
"idiom" : "iphone",
"filename" : "icon57.png",
"scale" : "1x"
"scale" : "1x",
"size" : "57x57"
},
{
"size" : "57x57",
"idiom" : "iphone",
"filename" : "icon114.png",
"scale" : "2x"
"scale" : "2x",
"size" : "57x57"
},
{
"size" : "60x60",
"filename" : "iPhone App [email protected]",
"idiom" : "iphone",
"filename" : "icon120.png",
"scale" : "2x"
"scale" : "2x",
"size" : "60x60"
},
{
"filename" : "iPhone App [email protected]",
"idiom" : "iphone",
"size" : "60x60",
"scale" : "3x"
"scale" : "3x",
"size" : "60x60"
},
{
"filename" : "App Store - alpha [email protected]",
"idiom" : "ios-marketing",
"size" : "1024x1024",
"scale" : "1x"
"scale" : "1x",
"size" : "1024x1024"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
"author" : "xcode",
"version" : 1
}
}
}
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.
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.
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.
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.
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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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.
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 MobileWeather/Images.xcassets/Images/cloudy.imageset/cloudy.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 MobileWeather/Images.xcassets/Images/fog.imageset/fog.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 MobileWeather/Images.xcassets/Images/hazy.imageset/hazy.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.
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 MobileWeather/Images.xcassets/Images/rain.imageset/rain.png
Diff not rendered.
Binary file modified MobileWeather/Images.xcassets/Images/sleet.imageset/sleet.png
Binary file modified MobileWeather/Images.xcassets/Images/snow.imageset/snow.png
Binary file modified MobileWeather/Images.xcassets/Images/tstorms.imageset/tstorms.png
Binary file modified MobileWeather/Images.xcassets/Images/wind.imageset/wind.png

This file was deleted.

Binary file added MobileWeather/Images.xcassets/SDL/.DS_Store
Binary file not shown.
6 changes: 6 additions & 0 deletions MobileWeather/Images.xcassets/SDL/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
{
"images" : [
{
"filename" : "menu-alert.png",
"idiom" : "universal",
"filename" : "sdl_logo_black.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
"author" : "xcode",
"version" : 1
}
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"images" : [
{
"filename" : "menu-day.png",
"idiom" : "universal",
"filename" : "AppIcon.png",
"scale" : "1x"
},
{
Expand All @@ -15,7 +15,7 @@
}
],
"info" : {
"version" : 1,
"author" : "xcode"
"author" : "xcode",
"version" : 1
}
}
}
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
{
"images" : [
{
"filename" : "menu-time.png",
"idiom" : "universal",
"filename" : "lock_arrow_up_black.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
"author" : "xcode",
"version" : 1
}
}
}
Loading

0 comments on commit e544983

Please sign in to comment.