-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e4d3a23
commit fce8015
Showing
60 changed files
with
3,965 additions
and
561 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
Pod::Spec.new do |s| | ||
s.name = 'CommandBarIOS' | ||
s.version = '1.0.10' | ||
s.version = '1.1.0' | ||
s.summary = 'HelpHub and Copilot Command Bar for iOS. ' | ||
|
||
# This description is used to generate tags and improve search results. | ||
|
@@ -22,17 +22,9 @@ Pod::Spec.new do |s| | |
s.author = { 'CommandBar Engineering' => '[email protected]' } | ||
s.source = { :git => 'https://github.com/tryfoobar/CommandBarIOS.git', :tag => s.version.to_s } | ||
|
||
s.ios.deployment_target = '12.4' | ||
s.ios.deployment_target = '13.0' | ||
|
||
s.source_files = 'Sources/CommandBarIOS/**/*.swift' | ||
|
||
s.resources = "Sources/CommandBarIOS/**/*.{png,jpeg,jpg,storyboard,xib,xcassets}" | ||
s.swift_versions = '5.0' | ||
|
||
# s.resource_bundles = { | ||
# 'CommandBarIOS' => ['CommandBarIOS/Assets/*.png'] | ||
# } | ||
|
||
# s.public_header_files = 'Pod/Classes/**/*.h' | ||
# s.frameworks = 'UIKit', 'MapKit' | ||
# s.dependency 'AFNetworking', '~> 2.3' | ||
end |
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,29 @@ | ||
import Foundation | ||
|
||
import CommandBarIOS | ||
import SwiftUI | ||
|
||
@available(iOS 14.0, *) | ||
struct CommandBarIOSExampleApp: App { | ||
@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate | ||
|
||
var body: some Scene { | ||
WindowGroup { | ||
HomeView() | ||
} | ||
|
||
} | ||
|
||
} | ||
|
||
@main | ||
struct CommandBarIOSExampleAppWrapper { | ||
static func main() { | ||
if #available(iOS 14.0, *) { | ||
CommandBarIOSExampleApp.main() | ||
} else { | ||
let argv = UnsafeMutableRawPointer(CommandLine.unsafeArgv).bindMemory(to: UnsafeMutablePointer<Int8>.self, capacity: Int(CommandLine.argc)) | ||
UIApplicationMain(CommandLine.argc, argv, nil, NSStringFromClass(SceneDelegate.self)) | ||
} | ||
} | ||
} |
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
Oops, something went wrong.