mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-25 12:56:13 -04:00
Add MBProgressHUD
This commit is contained in:
parent
7f5be0822a
commit
355e511e18
@ -49,7 +49,7 @@
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.7.1757</string>
|
||||
<string>1.7.1759</string>
|
||||
<key>ITSAppUsesNonExemptEncryption</key>
|
||||
<false/>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
|
@ -21,7 +21,7 @@
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.7.2292</string>
|
||||
<string>1.7.2294</string>
|
||||
<key>NSExtension</key>
|
||||
<dict>
|
||||
<key>NSExtensionMainStoryboard</key>
|
||||
|
@ -33,9 +33,9 @@ import Foundation
|
||||
extension NSLocale {
|
||||
class var preferredLangCodes: [String] {
|
||||
let preferredLangNames = self.preferredLanguages()
|
||||
var preferredLangCodes = NSMutableOrderedSet()
|
||||
for lang in preferredLangNames {
|
||||
guard let code = lang.componentsSeparatedByString("-").first else {continue}
|
||||
let preferredLangCodes = NSMutableOrderedSet()
|
||||
for name in preferredLangNames {
|
||||
guard let code = name.componentsSeparatedByString("-").first else {continue}
|
||||
preferredLangCodes.addObject(NSLocale.canonicalLanguageIdentifierFromString(code))
|
||||
}
|
||||
return preferredLangCodes.flatMap({ $0 as? String})
|
||||
|
1
Podfile
1
Podfile
@ -7,6 +7,7 @@ platform :ios, '9.0'
|
||||
|
||||
pod 'DZNEmptyDataSet'
|
||||
pod 'SwiftyUserDefaults'
|
||||
pod 'MBProgressHUD', '~> 1.0.0'
|
||||
pod 'Operations', :git => 'https://github.com/ProcedureKit/ProcedureKit.git', :branch => 'swift/2.3'
|
||||
|
||||
end
|
||||
|
@ -1,5 +1,6 @@
|
||||
PODS:
|
||||
- DZNEmptyDataSet (1.8.1)
|
||||
- MBProgressHUD (1.0.0)
|
||||
- Operations (3.2.0):
|
||||
- Operations/Standard (= 3.2.0)
|
||||
- Operations/Standard (3.2.0)
|
||||
@ -7,6 +8,7 @@ PODS:
|
||||
|
||||
DEPENDENCIES:
|
||||
- DZNEmptyDataSet
|
||||
- MBProgressHUD (~> 1.0.0)
|
||||
- Operations (from `https://github.com/ProcedureKit/ProcedureKit.git`, branch `swift/2.3`)
|
||||
- SwiftyUserDefaults
|
||||
|
||||
@ -22,9 +24,10 @@ CHECKOUT OPTIONS:
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
DZNEmptyDataSet: 9525833b9e68ac21c30253e1d3d7076cc828eaa7
|
||||
MBProgressHUD: 4890f671c94e8a0f3cf959aa731e9de2f036d71a
|
||||
Operations: 4c5f06d7328f1b097d5dac5c0d614917ecbc96e7
|
||||
SwiftyUserDefaults: 7abdba50a50ea0c18ee8903af3c88e4c1cb8448d
|
||||
|
||||
PODFILE CHECKSUM: 385ab6f80e54cf2d2a029ad39e3ce32eaa738fcc
|
||||
PODFILE CHECKSUM: 7fce2ab788d4fea2728405e44965e38a852f02db
|
||||
|
||||
COCOAPODS: 1.0.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user