Support for Swift and Objective-C dependencies

This commit is contained in:
Alan Hamlett 2018-03-11 15:35:35 -07:00
parent 4704cc427c
commit ca4bb4a271
4 changed files with 141 additions and 0 deletions

View file

@ -0,0 +1,18 @@
//
// Objective-C.m
//
#import "SomeViewController.h"
#import <UIKit.h>
#import <PromiseKit/Something.h>
@interface ViewController : UIViewController
@property (nonnull, strong) URL *url;
@end
@implementation ViewController {
- (void)viewDidLoad {
[super viewDidLoad];
// noop
}
@end

View file

@ -0,0 +1,16 @@
//
// Swift.swift
//
import Foundation
import UIKit
import PromiseKit
class ViewController: UIViewController {
private var attribute: URL?
override func viewDidLoad() {
// noop
}
}