Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Commit

Permalink
[General] Support iOS 13 interface styles
Browse files Browse the repository at this point in the history
Update README with new camera page link

Add CC-BY 4.0 License

Add UserActivity to support Handoff and Search
  • Loading branch information
leptos-null committed Jan 19, 2020
1 parent 7afd965 commit f50e6ed
Show file tree
Hide file tree
Showing 18 changed files with 808 additions and 170 deletions.
396 changes: 396 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## SantaClaraCams

SantaClaraCams is an iOS app that provides an easy way to view the traffic cameras provided by [Santa Clara City](http://santaclaraca.gov/residents/maps/traffic-cameras) (California). Select a camera from the table view, or interactive map, to view the current stream.
SantaClaraCams is an iOS app that provides an easy way to view the traffic cameras provided by [Santa Clara City](https://santaclaraca.gov/trafficcam) (California). Select a camera from the table view, or interactive map, to view the current stream.

### Screenshots

Expand Down
58 changes: 33 additions & 25 deletions SantaClaraCams.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
FA0D3E652246C2AE007724A0 /* SCCCameraLocation.h in Headers */ = {isa = PBXBuildFile; fileRef = FA0D3E632246C2AE007724A0 /* SCCCameraLocation.h */; settings = {ATTRIBUTES = (Public, ); }; };
FA0D3E662246C2AE007724A0 /* SCCCameraLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = FA0D3E642246C2AE007724A0 /* SCCCameraLocation.m */; };
FA0D3E6A2246D0DC007724A0 /* SCCLocationViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = FA0D3E692246D0DC007724A0 /* SCCLocationViewController.m */; };
FA38E4BE23D3AA6300F41B5A /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = FA38E4BD23D3AA6300F41B5A /* README.md */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -63,6 +64,8 @@
FA0D3E642246C2AE007724A0 /* SCCCameraLocation.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SCCCameraLocation.m; sourceTree = "<group>"; };
FA0D3E682246D0DC007724A0 /* SCCLocationViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SCCLocationViewController.h; sourceTree = "<group>"; };
FA0D3E692246D0DC007724A0 /* SCCLocationViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SCCLocationViewController.m; sourceTree = "<group>"; };
FA18BF9723D26346002D87AF /* SantaClaraCams.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SantaClaraCams.entitlements; sourceTree = "<group>"; };
FA38E4BD23D3AA6300F41B5A /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -87,6 +90,7 @@
FA0D3E2622469FE8007724A0 = {
isa = PBXGroup;
children = (
FA38E4BD23D3AA6300F41B5A /* README.md */,
FA0D3E3122469FE8007724A0 /* SantaClaraCams */,
FA0D3E522246A1CB007724A0 /* SantaClaraCityCams */,
FA0D3E3022469FE8007724A0 /* Products */,
Expand Down Expand Up @@ -118,6 +122,7 @@
children = (
FA0D3E3B22469FE9007724A0 /* Assets.xcassets */,
FA0D3E4122469FE9007724A0 /* main.m */,
FA18BF9723D26346002D87AF /* SantaClaraCams.entitlements */,
FA0D3E4022469FE9007724A0 /* Info.plist */,
);
name = Supporting;
Expand Down Expand Up @@ -230,7 +235,7 @@
isa = PBXProject;
attributes = {
CLASSPREFIX = SCC;
LastUpgradeCheck = 1010;
LastUpgradeCheck = 1130;
ORGANIZATIONNAME = Leptos;
TargetAttributes = {
FA0D3E2E22469FE8007724A0 = {
Expand Down Expand Up @@ -267,6 +272,7 @@
files = (
FA0D3E3F22469FE9007724A0 /* LaunchScreen.storyboard in Resources */,
FA0D3E3C22469FE9007724A0 /* Assets.xcassets in Resources */,
FA38E4BE23D3AA6300F41B5A /* README.md in Resources */,
FA0D3E3A22469FE8007724A0 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -333,20 +339,18 @@
FA0D3E4322469FE9007724A0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_ANALYZER_GCD_PERFORMANCE = YES;
CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES;
CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
Expand All @@ -355,10 +359,6 @@
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Expand All @@ -376,37 +376,39 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
GCC_WARN_SHADOW = YES;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNKNOWN_PRAGMAS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SCC_PROJECT_SHARED_BUILD = 1;
SCC_PROJECT_SHARED_VERSION = 1.0;
SDKROOT = iphoneos;
};
name = Debug;
};
FA0D3E4422469FE9007724A0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_ANALYZER_GCD_PERFORMANCE = YES;
CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES;
CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
Expand All @@ -415,10 +417,6 @@
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Expand All @@ -430,15 +428,19 @@
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
GCC_WARN_SHADOW = YES;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNKNOWN_PRAGMAS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SCC_PROJECT_SHARED_BUILD = 1;
SCC_PROJECT_SHARED_VERSION = 1.0;
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
};
Expand All @@ -448,7 +450,9 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = SantaClaraCams/SantaClaraCams.entitlements;
CODE_SIGN_STYLE = Automatic;
DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER = YES;
DEVELOPMENT_TEAM = 7P56K8K4MY;
INFOPLIST_FILE = SantaClaraCams/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand All @@ -457,6 +461,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = null.leptos.SantaClaraCams;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTS_MACCATALYST = YES;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand All @@ -465,7 +470,9 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = SantaClaraCams/SantaClaraCams.entitlements;
CODE_SIGN_STYLE = Automatic;
DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER = YES;
DEVELOPMENT_TEAM = 7P56K8K4MY;
INFOPLIST_FILE = SantaClaraCams/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand All @@ -474,6 +481,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = null.leptos.SantaClaraCams;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTS_MACCATALYST = YES;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand All @@ -490,7 +498,7 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "$(SRCROOT)/SantaClaraCityCams/Info.plist";
INFOPLIST_FILE = SantaClaraCityCams/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = (
Expand Down Expand Up @@ -519,7 +527,7 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "$(SRCROOT)/SantaClaraCityCams/Info.plist";
INFOPLIST_FILE = SantaClaraCityCams/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = (
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1130"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FA0D3E2E22469FE8007724A0"
BuildableName = "SantaClaraCams.app"
BlueprintName = "SantaClaraCams"
ReferencedContainer = "container:SantaClaraCams.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FA0D3E2E22469FE8007724A0"
BuildableName = "SantaClaraCams.app"
BlueprintName = "SantaClaraCams"
ReferencedContainer = "container:SantaClaraCams.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FA0D3E2E22469FE8007724A0"
BuildableName = "SantaClaraCams.app"
BlueprintName = "SantaClaraCams"
ReferencedContainer = "container:SantaClaraCams.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FA0D3E2E22469FE8007724A0"
BuildableName = "SantaClaraCams.app"
BlueprintName = "SantaClaraCams"
ReferencedContainer = "container:SantaClaraCams.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Loading

0 comments on commit f50e6ed

Please sign in to comment.