Tag: Swift 5
-
Font Awesome, Swift 5 Support With Swift Package Manager (SPM)
I wanted to give a try to Swift Package Manager which is build in functionality in Xcode 11. I have to say fantastic! I think in very short future all Git repository will be updated with this package independence manager. Finally we will be able tosay “good bye” to CocoaPod, Cartilage and some many other.…
-
Render and Test UIKit UIView Realtime On Xcode 11 With SwiftUI Integration
How to integrate UIKit UIView in few line of code. // // SampleV.swift // UIExp // // Created by dejaWorks on 14/01/2020. // Copyright © 2020 dejaWorks. All rights reserved. // #if canImport(SwiftUI) && DEBUG import SwiftUI #endif import UIKit // MARK: – An ordinary UIView class SampleV: UIView{ override init(frame: CGRect) { super.init(frame:…
-
Render and Test UIKit UIViewController Realtime On Xcode 11 With SwiftUI Integration
How to integrate UIKit UIViewController in few line of code. // // RedVC.swift // SwiftUIOne // // Created by dejaWorks on 14/01/2020. // Copyright © 2020 dejaWorks. All rights reserved. // #if canImport(SwiftUI) && DEBUG import SwiftUI #endif import UIKit // MARK: – An ordinary VC /// VC (UIKit UIViewController) class RedVC: UIViewController {…