Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #251 from macadmins/development
v1.1.1 release
- Loading branch information
Showing
22 changed files
with
1,559 additions
and
876 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
104 changes: 104 additions & 0 deletions
104
Nudge.xcodeproj/xcshareddata/xcschemes/Nudge - Debug (-demo-mode).xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1300" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "63D7D0DE25C9E9A400236281" | ||
BuildableName = "Nudge.app" | ||
BlueprintName = "Nudge" | ||
ReferencedContainer = "container:Nudge.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES"> | ||
<Testables> | ||
<TestableReference | ||
skipped = "NO"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "63D7D0F025C9E9A500236281" | ||
BuildableName = "NudgeTests.xctest" | ||
BlueprintName = "NudgeTests" | ||
ReferencedContainer = "container:Nudge.xcodeproj"> | ||
</BuildableReference> | ||
</TestableReference> | ||
<TestableReference | ||
skipped = "NO"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "63D7D0FB25C9E9A500236281" | ||
BuildableName = "NudgeUITests.xctest" | ||
BlueprintName = "NudgeUITests" | ||
ReferencedContainer = "container:Nudge.xcodeproj"> | ||
</BuildableReference> | ||
</TestableReference> | ||
</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 = "63D7D0DE25C9E9A400236281" | ||
BuildableName = "Nudge.app" | ||
BlueprintName = "Nudge" | ||
ReferencedContainer = "container:Nudge.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
<CommandLineArguments> | ||
<CommandLineArgument | ||
argument = "-demo-mode" | ||
isEnabled = "YES"> | ||
</CommandLineArgument> | ||
</CommandLineArguments> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
<BuildableProductRunnable | ||
runnableDebuggingMode = "0"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "63D7D0DE25C9E9A400236281" | ||
BuildableName = "Nudge.app" | ||
BlueprintName = "Nudge" | ||
ReferencedContainer = "container:Nudge.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
// | ||
// AdditionalInfoButton.swift | ||
// AdditionalInfoButton | ||
// | ||
// Created by Bart Reardon on 31/8/21. | ||
// | ||
|
||
import SwiftUI | ||
|
||
struct AdditionalInfoButton: View { | ||
|
||
// Modal view for screenshot and device info | ||
@State var showDeviceInfo = false | ||
|
||
var body: some View { | ||
HStack { | ||
Button(action: { | ||
Utils().userInitiatedDeviceInfo() | ||
self.showDeviceInfo.toggle() | ||
}) { | ||
Image(systemName: "questionmark.circle") | ||
} | ||
.padding(.top, 1.0) | ||
.buttonStyle(.plain) | ||
.help("Click for additional device information".localized(desiredLanguage: getDesiredLanguage())) | ||
.onHover { inside in | ||
if inside { | ||
NSCursor.pointingHand.push() | ||
} else { | ||
NSCursor.pop() | ||
} | ||
} | ||
.sheet(isPresented: $showDeviceInfo) { | ||
DeviceInfo() | ||
} | ||
Spacer() | ||
} | ||
} | ||
} | ||
|
||
#if DEBUG | ||
// Xcode preview for both light and dark mode | ||
struct AdditionalInfoButton_Previews: PreviewProvider { | ||
static var previews: some View { | ||
Group { | ||
ForEach(["en", "es"], id: \.self) { id in | ||
AdditionalInfoButton() | ||
.preferredColorScheme(.light) | ||
.environment(\.locale, .init(identifier: id)) | ||
} | ||
ZStack { | ||
AdditionalInfoButton() | ||
.preferredColorScheme(.dark) | ||
} | ||
} | ||
} | ||
} | ||
#endif |
Oops, something went wrong.