This file contains hidden or 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
| class alignas(MaximumAlignment) AsyncContext { | |
| public: | |
| /// The parent context. | |
| AsyncContext * __ptrauth_swift_async_context_parent Parent; | |
| TaskContinuationFunction * __ptrauth_swift_async_context_resume | |
| ResumeParent; | |
| } |
This file contains hidden or 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
| func caller() async { | |
| let version = await getSwiftVersion() | |
| await printSwiftVersion(number: version) | |
| } | |
| func getSwiftVersion() async -> Int { | |
| print("Getting swift version") | |
| return 7 | |
| } |
This file contains hidden or 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
| 1. Config secret env keys: | |
| + MATCH_PASSWORD: Match repo password | |
| + MATCH_GIT_BASIC_AUTHORIZATION: Match repo basic auth | |
| 2. Write fastlane pipeline | |
| + Create keychains | |
| + Update bundle version,... | |
| + Call match to install cer & profiles | |
| + Run unit test | |
| + Call gym to build app | |
| + Distribution iap to appstore/firebase |
This file contains hidden or 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
| swift_library( | |
| name = "App_Classes", | |
| srcs = glob([ | |
| "*.swift", | |
| ]), | |
| data = [ | |
| "Base.lproj/LaunchScreen.storyboard", | |
| "Base.lproj/Main.storyboard", | |
| "//Assets", | |
| ], |
This file contains hidden or 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
| load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library") | |
| swift_library( | |
| name = "Alamofire", | |
| srcs = glob([ | |
| "Sources/Source/*.swift", | |
| ]), | |
| module_name = "Alamofire", | |
| visibility = ["//visibility:public"], | |
| ) |
This file contains hidden or 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
| Pod::Spec.new do |s| | |
| s.name = 'Alamofire' | |
| s.version = '5.6.0' | |
| s.license = 'MIT' | |
| s.summary = 'Elegant HTTP Networking in Swift' | |
| s.homepage = 'https://github.com/Alamofire/Alamofire' | |
| s.authors = { 'Alamofire Software Foundation' => 'info@alamofire.org' } | |
| s.source = { :git => 'https://github.com/Alamofire/Alamofire.git', :tag => s.version } | |
| s.documentation_url = 'https://alamofire.github.io/Alamofire/' |
This file contains hidden or 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
| import UIKit | |
| import FirebaseCore | |
| @main | |
| class AppDelegate: UIResponder, UIApplicationDelegate { | |
| var window: UIWindow? | |
| func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | |
| self.window = UIWindow(frame: UIScreen.main.bounds) |
This file contains hidden or 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
| swift_library( | |
| name = "App_Classes", | |
| srcs = glob([ | |
| "*.swift", | |
| ]), | |
| data = [ | |
| "Base.lproj/LaunchScreen.storyboard", | |
| "Base.lproj/Main.storyboard", | |
| "//Assets", | |
| ], |
This file contains hidden or 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
| load("@build_bazel_rules_apple//apple:apple.bzl", "apple_static_framework_import") | |
| apple_static_framework_import( | |
| name = "FirebaseAnalytics", | |
| framework_imports = select({ | |
| "@//config:is_arm": glob(["Firebase/FirebaseAnalytics/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/**"]), | |
| "@//conditions:default": glob(["Firebase/FirebaseAnalytics/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/**"]), | |
| }), | |
| visibility = ["//visibility:public"], | |
| ) |
This file contains hidden or 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
| struct User { | |
| var age: Int | |
| var isActive: Bool | |
| var isAdmin: Bool | |
| } |
NewerOlder