This commit is contained in:
Peter
2019-08-30 23:32:32 +04:00
parent ee8deffc76
commit f1d1754aa5
326 changed files with 4981 additions and 2895 deletions

View File

@@ -18,6 +18,7 @@ static_library(
"//submodules/LegacyComponents:LegacyComponents",
"//submodules/TelegramStringFormatting:TelegramStringFormatting",
"//submodules/ImageBlur:ImageBlur",
"//submodules/AppBundle:AppBundle",
],
frameworks = [
"$SDKROOT/System/Library/Frameworks/Foundation.framework",

View File

@@ -355,17 +355,6 @@
<key>explicitFileType</key>
<string>text.script.python</string>
</dict>
<key>1DD70E291289FAA500000000</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>FrameworkBundle.swift</string>
<key>path</key>
<string>Sources/FrameworkBundle.swift</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>1DD70E2944FAB31100000000</key>
<dict>
<key>isa</key>
@@ -486,7 +475,6 @@
<string><![CDATA[<group>]]></string>
<key>children</key>
<array>
<string>1DD70E291289FAA500000000</string>
<string>1DD70E2944FAB31100000000</string>
<string>1DD70E298C702AD500000000</string>
<string>1DD70E297F6C137700000000</string>
@@ -555,13 +543,6 @@
<string>B401C979C806358400000000</string>
</array>
</dict>
<key>E7A30F041289FAA500000000</key>
<dict>
<key>isa</key>
<string>PBXBuildFile</string>
<key>fileRef</key>
<string>1DD70E291289FAA500000000</string>
</dict>
<key>E7A30F0444FAB31100000000</key>
<dict>
<key>isa</key>
@@ -638,7 +619,6 @@
<string>PBXSourcesBuildPhase</string>
<key>files</key>
<array>
<string>E7A30F041289FAA500000000</string>
<string>E7A30F0444FAB31100000000</string>
<string>E7A30F048C702AD500000000</string>
<string>E7A30F047F6C137700000000</string>

View File

@@ -32,7 +32,7 @@
D0C9CA32230229DE00FAB518 /* TelegramCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0C9CA31230229DE00FAB518 /* TelegramCore.framework */; };
D0C9CA34230229F100FAB518 /* LegacyComponents.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0C9CA33230229F100FAB518 /* LegacyComponents.framework */; };
D0C9CA3623022A7400FAB518 /* TelegramStringFormatting.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0C9CA3523022A7400FAB518 /* TelegramStringFormatting.framework */; };
D0C9CA3A23022AA300FAB518 /* FrameworkBundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = D0C9CA3923022AA300FAB518 /* FrameworkBundle.swift */; };
D0EFF274231982DF00CF5164 /* AppBundle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0EFF273231982DF00CF5164 /* AppBundle.framework */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@@ -63,7 +63,7 @@
D0C9CA31230229DE00FAB518 /* TelegramCore.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = TelegramCore.framework; sourceTree = BUILT_PRODUCTS_DIR; };
D0C9CA33230229F100FAB518 /* LegacyComponents.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = LegacyComponents.framework; sourceTree = BUILT_PRODUCTS_DIR; };
D0C9CA3523022A7400FAB518 /* TelegramStringFormatting.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = TelegramStringFormatting.framework; sourceTree = BUILT_PRODUCTS_DIR; };
D0C9CA3923022AA300FAB518 /* FrameworkBundle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FrameworkBundle.swift; sourceTree = "<group>"; };
D0EFF273231982DF00CF5164 /* AppBundle.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = AppBundle.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -71,6 +71,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
D0EFF274231982DF00CF5164 /* AppBundle.framework in Frameworks */,
D0C9CA3623022A7400FAB518 /* TelegramStringFormatting.framework in Frameworks */,
D0C9CA34230229F100FAB518 /* LegacyComponents.framework in Frameworks */,
D0C9CA32230229DE00FAB518 /* TelegramCore.framework in Frameworks */,
@@ -122,7 +123,6 @@
D0C9CA092302293300FAB518 /* PasscodeLockIconNode.swift */,
D0C9CA0D2302293400FAB518 /* PasscodeSetupController.swift */,
D0C9CA072302293300FAB518 /* PasscodeSetupControllerNode.swift */,
D0C9CA3923022AA300FAB518 /* FrameworkBundle.swift */,
D0C9C9F8230228D400FAB518 /* PasscodeUI.h */,
);
path = Sources;
@@ -131,6 +131,7 @@
D0C9CA1A2302298D00FAB518 /* Frameworks */ = {
isa = PBXGroup;
children = (
D0EFF273231982DF00CF5164 /* AppBundle.framework */,
D0C9CA3523022A7400FAB518 /* TelegramStringFormatting.framework */,
D0C9CA33230229F100FAB518 /* LegacyComponents.framework */,
D0C9CA31230229DE00FAB518 /* TelegramCore.framework */,
@@ -237,7 +238,6 @@
D0C9CA142302293400FAB518 /* PasscodeEntryInputFieldNode.swift in Sources */,
D0C9CA122302293400FAB518 /* PasscodeLayout.swift in Sources */,
D0C9CA132302293400FAB518 /* PasscodeLockIconNode.swift in Sources */,
D0C9CA3A23022AA300FAB518 /* FrameworkBundle.swift in Sources */,
D0C9CA102302293400FAB518 /* PasscodeEntryController.swift in Sources */,
D0C9CA112302293400FAB518 /* PasscodeSetupControllerNode.swift in Sources */,
);

View File

@@ -1,13 +0,0 @@
import Foundation
import UIKit
private class FrameworkBundleClass: NSObject {
}
let frameworkBundle: Bundle = Bundle(for: FrameworkBundleClass.self)
extension UIImage {
convenience init?(bundleImageName: String) {
self.init(named: bundleImageName, in: frameworkBundle, compatibleWith: nil)
}
}

View File

@@ -8,6 +8,7 @@ import TelegramCore
import TelegramPresentationData
import AccountContext
import LocalAuth
import AppBundle
private let titleFont = Font.regular(20.0)
private let subtitleFont = Font.regular(15.0)