Dynamic Func Parameters ?

My appologies for posting so much recently.

 

Just having a mess around and probably far off from a decent result but if you get the idea of what I’m looking for then would appreciate a reply …

 

public enum anEnum {
    typealias thisway = (from: URL, to: URL)
    typealias thatway = Bool
}

static func test(_ aliashere: anEnum) {
    let this = aliashere...
}

let this: anEnum.thisway = (from: URL(fileURLWithPath: ""), to: URL(fileURLWithPath: ""))
self.test(this)

Powered by WPeMatico

About

You may also like...

Comments are closed.