Re: o Swift generics, y no can I haz u dispatch correctly?

2015-09-27 Thread Quincey Morris
On Sep 27, 2015, at 15:02 , has wrote: > > The problem is, it all falls apart again when `AppData.unpack()` is called > from another generic method: > >class Commands { >func get(v:Any) -> T { >return d.unpack(v, returnType: T.self) as T >} >} I think you’re

o Swift generics, y no can I haz u dispatch correctly?

2015-09-27 Thread has
Hi all, So, as part of my ongoing quest to discover all the exciting ways in which Swift can perplex and frustrate me†, I'm trying to solve the last major blocker on my SwiftAE project (https://bitbucket.org/hhas/swiftae), which is how to use Swift's static typing to determine how NSAppleEven