func viewDidload()
{
let collectionView = UICollectionView()
self.view.addSubview(collectionView)
collectionView.topAnchor =*= self.view.safeAreaLayoutGuide.topAnchor
collectionView.leftAnchor =*= self.view.safeAreaLayoutGuide.leftAnchor
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
| // | |
| // OptionalExtension.swift | |
| // | |
| // Created by Darktt on 19/6/11. | |
| // Copyright © 2019 Darktt. All rights reserved. | |
| // | |
| import Foundation | |
| public extension Optional |
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
| open class A | |
| { | |
| public let b: B = .init() | |
| public init() {} | |
| } | |
| public extension A | |
| { | |
| class B |
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
| // | |
| // FluentInterface.swift | |
| // DTTest | |
| // | |
| // Created by Darktt on 21/9/3. | |
| // Copyright © 2021 Darktt. All rights reserved. | |
| // | |
| import UIKit |
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
| // | |
| // DTTimerHelper.swift | |
| // | |
| // Created by Darktt on 22/5/18. | |
| // Copyright © 2022 Darktt. All rights reserved. | |
| // | |
| import Foundation | |
| public final class DTTimerHelper |
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
| // | |
| // ObjectDecodable.swift | |
| // | |
| // Created by Darktt on 22/6/9. | |
| // Copyright © 2022 Darktt. All rights reserved. | |
| // | |
| import Foundation | |
| /** |
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
| // | |
| // DTFontRegister.swift | |
| // | |
| // Created by Darktt on 17/1/18. | |
| // Copyright © 2017 Darktt. All rights reserved. | |
| // | |
| import Foundation | |
| import CoreText |
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
| // | |
| // MutipleLineStringBuilder.swift | |
| // | |
| // Created by Darktt on 20/5/20. | |
| // Copyright © 2020 Darktt. All rights reserved. | |
| // | |
| import Foundation | |
| /** |
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
| [ | |
| { | |
| "backcolor": "#761523", | |
| "name": "Trio-75 Rin", | |
| "radii": "20px", | |
| "switchMount": "cherry", | |
| "pcb": false | |
| }, | |
| [ | |
| { |
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
| [ | |
| { | |
| "backcolor": "#761523", | |
| "name": "Trio-75 FC", | |
| "radii": "20px", | |
| "switchMount": "cherry", | |
| "pcb": false | |
| }, | |
| [ | |
| { |