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
// | |
// ExampleTheme.swift | |
// Example | |
// | |
// Created by Edward Wellbrook on 27/01/2017. | |
// Copyright © 2017 Edward Wellbrook. All rights reserved. | |
// | |
import UIKit | |
import Themeable |
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
// | |
// TableViewCell.swift | |
// | |
// Created by Edward Wellbrook on 31/12/2016. | |
// Copyright © 2016-2017 Brushed Type. All rights reserved. | |
// | |
import UIKit | |
import Themeable |
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
extension UILocalizedIndexedCollation { | |
static func collation(for locale: Locale) -> UILocalizedIndexedCollation? { | |
let collationPlistURL = Bundle(for: UILocalizedIndexedCollation.self).url( | |
forResource: "UITableViewLocalizedSectionIndex", | |
withExtension: "plist", | |
subdirectory: nil, | |
localization: locale.identifier | |
) |