Support for Swift and Objective-C dependencies
This commit is contained in:
parent
4704cc427c
commit
ca4bb4a271
4 changed files with 141 additions and 0 deletions
18
tests/samples/codefiles/objective-c.m
Normal file
18
tests/samples/codefiles/objective-c.m
Normal 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
|
16
tests/samples/codefiles/swift.swift
Normal file
16
tests/samples/codefiles/swift.swift
Normal file
|
@ -0,0 +1,16 @@
|
|||
//
|
||||
// Swift.swift
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import UIKit
|
||||
import PromiseKit
|
||||
|
||||
class ViewController: UIViewController {
|
||||
|
||||
private var attribute: URL?
|
||||
|
||||
override func viewDidLoad() {
|
||||
// noop
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue