Skip to content

A framework that combines both Objective-C and Swift

Notifications You must be signed in to change notification settings

bakkenbaeck/MixedFramework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MixedFramework

A framework that combines both Objective-C and Swift.

import UIKit
import MixedFramework

@UIApplicationMain
class AppDelegate: UIResponder {
    var window: UIWindow?
}

extension AppDelegate: UIApplicationDelegate {

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        SwiftSource.helloFromSwift()
        ObjectiveCSource.helloFromObjectiveC()

        return true
    }
}