-
Notifications
You must be signed in to change notification settings - Fork 10
/
R.generated.swift
115 lines (89 loc) · 4.16 KB
/
R.generated.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
//
// This is a generated file, do not edit!
// Generated by R.swift, see https://github.com/mac-cain13/R.swift
//
import Foundation
import Rswift
import UIKit
/// This `R` struct is generated and contains references to static resources.
struct R: Rswift.Validatable {
fileprivate static let applicationLocale = hostingBundle.preferredLocalizations.first.flatMap(Locale.init) ?? Locale.current
fileprivate static let hostingBundle = Bundle(for: R.Class.self)
static func validate() throws {
try intern.validate()
}
/// This `R.file` struct is generated, and contains static references to 1 files.
struct file {
/// Resource file `GoogleService-Info.plist`.
static let googleServiceInfoPlist = Rswift.FileResource(bundle: R.hostingBundle, name: "GoogleService-Info", pathExtension: "plist")
/// `bundle.url(forResource: "GoogleService-Info", withExtension: "plist")`
static func googleServiceInfoPlist(_: Void = ()) -> Foundation.URL? {
let fileResource = R.file.googleServiceInfoPlist
return fileResource.bundle.url(forResource: fileResource)
}
fileprivate init() {}
}
/// This `R.image` struct is generated, and contains static references to 3 images.
struct image {
/// Image `icon_tabbar_discover_select`.
static let icon_tabbar_discover_select = Rswift.ImageResource(bundle: R.hostingBundle, name: "icon_tabbar_discover_select")
/// Image `icon_tabbar_discover`.
static let icon_tabbar_discover = Rswift.ImageResource(bundle: R.hostingBundle, name: "icon_tabbar_discover")
/// Image `launch_logo`.
static let launch_logo = Rswift.ImageResource(bundle: R.hostingBundle, name: "launch_logo")
/// `UIImage(named: "icon_tabbar_discover", bundle: ..., traitCollection: ...)`
static func icon_tabbar_discover(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.icon_tabbar_discover, compatibleWith: traitCollection)
}
/// `UIImage(named: "icon_tabbar_discover_select", bundle: ..., traitCollection: ...)`
static func icon_tabbar_discover_select(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.icon_tabbar_discover_select, compatibleWith: traitCollection)
}
/// `UIImage(named: "launch_logo", bundle: ..., traitCollection: ...)`
static func launch_logo(compatibleWith traitCollection: UIKit.UITraitCollection? = nil) -> UIKit.UIImage? {
return UIKit.UIImage(resource: R.image.launch_logo, compatibleWith: traitCollection)
}
fileprivate init() {}
}
/// This `R.storyboard` struct is generated, and contains static references to 1 storyboards.
struct storyboard {
/// Storyboard `LaunchScreen`.
static let launchScreen = _R.storyboard.launchScreen()
/// `UIStoryboard(name: "LaunchScreen", bundle: ...)`
static func launchScreen(_: Void = ()) -> UIKit.UIStoryboard {
return UIKit.UIStoryboard(resource: R.storyboard.launchScreen)
}
fileprivate init() {}
}
fileprivate struct intern: Rswift.Validatable {
fileprivate static func validate() throws {
try _R.validate()
}
fileprivate init() {}
}
fileprivate class Class {}
fileprivate init() {}
}
struct _R: Rswift.Validatable {
static func validate() throws {
try storyboard.validate()
}
struct storyboard: Rswift.Validatable {
static func validate() throws {
try launchScreen.validate()
}
struct launchScreen: Rswift.StoryboardResourceWithInitialControllerType, Rswift.Validatable {
typealias InitialController = UIKit.UIViewController
let bundle = R.hostingBundle
let name = "LaunchScreen"
static func validate() throws {
if UIKit.UIImage(named: "launch_logo", in: R.hostingBundle, compatibleWith: nil) == nil { throw Rswift.ValidationError(description: "[R.swift] Image named 'launch_logo' is used in storyboard 'LaunchScreen', but couldn't be loaded.") }
if #available(iOS 11.0, *) {
}
}
fileprivate init() {}
}
fileprivate init() {}
}
fileprivate init() {}
}