Enable the runtime to discover protocol conformances for types wrapped from ObjC The strategy we are using is to obtain the class name from the ObjC runtime (as apparently nominal type descriptor for ObjC-wrapped types do not contain a useful name string) and then crafting the appropriate mangled name for the witness Also, make AppKit another source of conformances. We currently have custom conformances for Reflectable that we are in Foundation (NSURL) and AppKit (NSView) - if more modules need to have custom mirrors, we might end up having to expand the list
Enable the runtime to discover protocol conformances for types wrapped from ObjC
The strategy we are using is to obtain the class name from the ObjC runtime (as apparently nominal type descriptor for ObjC-wrapped types do not contain a useful name string) and then crafting the appropriate mangled name for the witness
Also, make AppKit another source of conformances. We currently have custom conformances for Reflectable that we are in Foundation (NSURL) and AppKit (NSView) - if more modules need to have custom mirrors, we might end up having to expand the list



Swift SVN r16280

JaSpa/swift,glessard/swift,roambotics/swift,therealbnut/swift,devincoughlin/swift,hughbe/swift,IngmarStein/swift,huonw/swift,natecook1000/swift,deyton/swift,nathawes/swift,Ivacker/swift,milseman/swift,austinzheng/swift,OscarSwanros/swift,kusl/swift,LeoShimonaka/swift,therealbnut/swift,tkremenek/swift,atrick/swift,OscarSwanros/swift,gribozavr/swift,JaSpa/swift,khizkhiz/swift,adrfer/swift,nathawes/swift,aschwaighofer/swift,harlanhaskins/swift,xwu/swift,bitjammer/swift,JaSpa/swift,CodaFi/swift,bitjammer/swift,calebd/swift,apple/swift,alblue/swift,russbishop/swift,manavgabhawala/swift,ben-ng/swift,gottesmm/swift,frootloops/swift,lorentey/swift,karwa/swift,milseman/swift,Ivacker/swift,arvedviehweger/swift,swiftix/swift,atrick/swift,shajrawi/swift,alblue/swift,milseman/swift,deyton/swift,sschiau/swift,dduan/swift,emilstahl/swift,Jnosh/swift,sdulal/swift,johnno1962d/swift,Ivacker/swift,MukeshKumarS/Swift,mightydeveloper/swift,huonw/swift,sdulal/swift,airspeedswift/swift,practicalswift/swift,alblue/swift,gribozavr/swift,CodaFi/swift,sdulal/swift,mightydeveloper/swift,russbishop/swift,IngmarStein/swift,ben-ng/swift,austinzheng/swift,danielmartin/swift,allevato/swift,modocache/swift,jmgc/swift,emilstahl/swift,atrick/swift,dduan/swift,harlanhaskins/swift,parkera/swift,CodaFi/swift,amraboelela/swift,dduan/swift,practicalswift/swift,JGiola/swift,gribozavr/swift,ahoppen/swift,tjw/swift,SwiftAndroid/swift,bitjammer/swift,slavapestov/swift,shahmishal/swift,gottesmm/swift,kstaring/swift,xwu/swift,KrishMunot/swift,aschwaighofer/swift,kperryua/swift,devincoughlin/swift,amraboelela/swift,tjw/swift,russbishop/swift,codestergit/swift,jmgc/swift,bitjammer/swift,sdulal/swift,mightydeveloper/swift,emilstahl/swift,return/swift,felix91gr/swift,stephentyrone/swift,cbrentharris/swift,djwbrown/swift,sschiau/swift,IngmarStein/swift,ken0nek/swift,glessard/swift,parkera/swift,jtbandes/swift,bitjammer/swift,manavgabhawala/swift,benlangmuir/swift,frootloops/swift,Jnosh/swift,JGiola/swift,danielmartin/swift,natecook1000/swift,swiftix/swift,xwu/swift,gmilos/swift,tkremenek/swift,Jnosh/swift,modocache/swift,parkera/swift,swiftix/swift.old,austinzheng/swift,benlangmuir/swift,sschiau/swift,milseman/swift,karwa/swift,nathawes/swift,kentya6/swift,sdulal/swift,allevato/swift,xwu/swift,gmilos/swift,amraboelela/swift,brentdax/swift,manavgabhawala/swift,ken0nek/swift,alblue/swift,hughbe/swift,cbrentharris/swift,benlangmuir/swift,therealbnut/swift,return/swift,khizkhiz/swift,aschwaighofer/swift,amraboelela/swift,harlanhaskins/swift,rudkx/swift,aschwaighofer/swift,adrfer/swift,practicalswift/swift,milseman/swift,OscarSwanros/swift,johnno1962d/swift,swiftix/swift,modocache/swift,felix91gr/swift,xedin/swift,kusl/swift,dreamsxin/swift,swiftix/swift.old,adrfer/swift,natecook1000/swift,hooman/swift,jopamer/swift,LeoShimonaka/swift,allevato/swift,CodaFi/swift,zisko/swift,ahoppen/swift,ben-ng/swift,danielmartin/swift,uasys/swift,OscarSwanros/swift,mightydeveloper/swift,gottesmm/swift,karwa/swift,felix91gr/swift,hooman/swift,arvedviehweger/swift,jmgc/swift,roambotics/swift,lorentey/swift,deyton/swift,swiftix/swift.old,tjw/swift,Ivacker/swift,jopamer/swift,xedin/swift,ken0nek/swift,return/swift,devincoughlin/swift,roambotics/swift,sschiau/swift,parkera/swift,hooman/swift,benlangmuir/swift,SwiftAndroid/swift,stephentyrone/swift,glessard/swift,jopamer/swift,shajrawi/swift,codestergit/swift,cbrentharris/swift,adrfer/swift,IngmarStein/swift,mightydeveloper/swift,dduan/swift,gmilos/swift,slavapestov/swift,karwa/swift,rudkx/swift,glessard/swift,uasys/swift,tardieu/swift,practicalswift/swift,russbishop/swift,deyton/swift,felix91gr/swift,zisko/swift,devincoughlin/swift,swiftix/swift.old,uasys/swift,emilstahl/swift,russbishop/swift,atrick/swift,Jnosh/swift,austinzheng/swift,manavgabhawala/swift,austinzheng/swift,gregomni/swift,roambotics/swift,codestergit/swift,jmgc/swift,LeoShimonaka/swift,tinysun212/swift-windows,hooman/swift,tjw/swift,tardieu/swift,calebd/swift,KrishMunot/swift,shahmishal/swift,ken0nek/swift,kentya6/swift,harlanhaskins/swift,huonw/swift,rudkx/swift,huonw/swift,gottesmm/swift,sschiau/swift,shahmishal/swift,JaSpa/swift,Jnosh/swift,slavapestov/swift,atrick/swift,Jnosh/swift,gribozavr/swift,SwiftAndroid/swift,MukeshKumarS/Swift,felix91gr/swift,manavgabhawala/swift,zisko/swift,amraboelela/swift,frootloops/swift,ben-ng/swift,zisko/swift,khizkhiz/swift,gregomni/swift,djwbrown/swift,atrick/swift,IngmarStein/swift,airspeedswift/swift,khizkhiz/swift,milseman/swift,parkera/swift,tkremenek/swift,tjw/swift,hughbe/swift,therealbnut/swift,shahmishal/swift,codestergit/swift,airspeedswift/swift,karwa/swift,stephentyrone/swift,CodaFi/swift,tjw/swift,tkremenek/swift,russbishop/swift,gribozavr/swift,felix91gr/swift,ken0nek/swift,arvedviehweger/swift,natecook1000/swift,danielmartin/swift,swiftix/swift,johnno1962d/swift,shajrawi/swift,practicalswift/swift,return/swift,sdulal/swift,jopamer/swift,ben-ng/swift,roambotics/swift,lorentey/swift,therealbnut/swift,kentya6/swift,gregomni/swift,KrishMunot/swift,zisko/swift,apple/swift,OscarSwanros/swift,kusl/swift,shajrawi/swift,JGiola/swift,kstaring/swift,allevato/swift,rudkx/swift,uasys/swift,kstaring/swift,jckarter/swift,practicalswift/swift,cbrentharris/swift,stephentyrone/swift,kusl/swift,tjw/swift,jtbandes/swift,glessard/swift,gottesmm/swift,gmilos/swift,CodaFi/swift,Ivacker/swift,ahoppen/swift,tardieu/swift,LeoShimonaka/swift,mightydeveloper/swift,natecook1000/swift,parkera/swift,JGiola/swift,JaSpa/swift,djwbrown/swift,ken0nek/swift,mightydeveloper/swift,Jnosh/swift,MukeshKumarS/Swift,lorentey/swift,brentdax/swift,xwu/swift,cbrentharris/swift,glessard/swift,tardieu/swift,gmilos/swift,airspeedswift/swift,jmgc/swift,codestergit/swift,ahoppen/swift,adrfer/swift,xedin/swift,OscarSwanros/swift,devincoughlin/swift,cbrentharris/swift,apple/swift,JGiola/swift,jtbandes/swift,djwbrown/swift,JGiola/swift,kperryua/swift,sschiau/swift,zisko/swift,kusl/swift,devincoughlin/swift,uasys/swift,tinysun212/swift-windows,dduan/swift,deyton/swift,kentya6/swift,alblue/swift,apple/swift,benlangmuir/swift,calebd/swift,JaSpa/swift,slavapestov/swift,arvedviehweger/swift,therealbnut/swift,lorentey/swift,frootloops/swift,kusl/swift,slavapestov/swift,calebd/swift,practicalswift/swift,danielmartin/swift,stephentyrone/swift,LeoShimonaka/swift,karwa/swift,jckarter/swift,aschwaighofer/swift,return/swift,tkremenek/swift,xwu/swift,arvedviehweger/swift,felix91gr/swift,airspeedswift/swift,shahmishal/swift,modocache/swift,jckarter/swift,codestergit/swift,kstaring/swift,devincoughlin/swift,hughbe/swift,milseman/swift,swiftix/swift.old,natecook1000/swift,johnno1962d/swift,brentdax/swift,SwiftAndroid/swift,karwa/swift,KrishMunot/swift,gregomni/swift,jckarter/swift,LeoShimonaka/swift,zisko/swift,modocache/swift,xedin/swift,stephentyrone/swift,xedin/swift,SwiftAndroid/swift,xedin/swift,emilstahl/swift,djwbrown/swift,kstaring/swift,MukeshKumarS/Swift,jopamer/swift,hughbe/swift,uasys/swift,jtbandes/swift,devincoughlin/swift,kstaring/swift,Ivacker/swift,cbrentharris/swift,kentya6/swift,emilstahl/swift,return/swift,jopamer/swift,benlangmuir/swift,xedin/swift,shajrawi/swift,MukeshKumarS/Swift,xwu/swift,harlanhaskins/swift,parkera/swift,jmgc/swift,modocache/swift,ben-ng/swift,shahmishal/swift,tardieu/swift,swiftix/swift,tinysun212/swift-windows,lorentey/swift,khizkhiz/swift,apple/swift,dreamsxin/swift,jckarter/swift,KrishMunot/swift,gmilos/swift,brentdax/swift,shajrawi/swift,xedin/swift,huonw/swift,tardieu/swift,tinysun212/swift-windows,adrfer/swift,gribozavr/swift,kentya6/swift,practicalswift/swift,huonw/swift,gribozavr/swift,karwa/swift,arvedviehweger/swift,brentdax/swift,brentdax/swift,ahoppen/swift,dduan/swift,sschiau/swift,swiftix/swift,frootloops/swift,alblue/swift,kentya6/swift,tardieu/swift,johnno1962d/swift,mightydeveloper/swift,alblue/swift,russbishop/swift,swiftix/swift.old,LeoShimonaka/swift,kperryua/swift,kperryua/swift,aschwaighofer/swift,tinysun212/swift-windows,jtbandes/swift,shahmishal/swift,gregomni/swift,KrishMunot/swift,swiftix/swift.old,jopamer/swift,lorentey/swift,JaSpa/swift,manavgabhawala/swift,gmilos/swift,jtbandes/swift,arvedviehweger/swift,modocache/swift,shahmishal/swift,frootloops/swift,amraboelela/swift,gribozavr/swift,khizkhiz/swift,ahoppen/swift,swiftix/swift.old,apple/swift,tkremenek/swift,OscarSwanros/swift,slavapestov/swift,airspeedswift/swift,Ivacker/swift,deyton/swift,austinzheng/swift,nathawes/swift,adrfer/swift,allevato/swift,kperryua/swift,jmgc/swift,emilstahl/swift,roambotics/swift,swiftix/swift,djwbrown/swift,hughbe/swift,calebd/swift,sschiau/swift,Ivacker/swift,austinzheng/swift,sdulal/swift,stephentyrone/swift,gregomni/swift,bitjammer/swift,rudkx/swift,aschwaighofer/swift,return/swift,shajrawi/swift,bitjammer/swift,CodaFi/swift,emilstahl/swift,manavgabhawala/swift,johnno1962d/swift,danielmartin/swift,nathawes/swift,gottesmm/swift,kusl/swift,calebd/swift,harlanhaskins/swift,IngmarStein/swift,djwbrown/swift,IngmarStein/swift,tinysun212/swift-windows,parkera/swift,frootloops/swift,kperryua/swift,LeoShimonaka/swift,harlanhaskins/swift,ken0nek/swift,airspeedswift/swift,uasys/swift,shajrawi/swift,therealbnut/swift,amraboelela/swift,ben-ng/swift,calebd/swift,cbrentharris/swift,khizkhiz/swift,sdulal/swift,allevato/swift,SwiftAndroid/swift,slavapestov/swift,nathawes/swift,kentya6/swift,hooman/swift,jckarter/swift,deyton/swift,huonw/swift,kusl/swift,MukeshKumarS/Swift,tinysun212/swift-windows,hughbe/swift,tkremenek/swift,lorentey/swift,rudkx/swift,kstaring/swift,gottesmm/swift,dduan/swift,danielmartin/swift,hooman/swift,allevato/swift,jtbandes/swift,MukeshKumarS/Swift,KrishMunot/swift,SwiftAndroid/swift,hooman/swift,nathawes/swift,brentdax/swift,codestergit/swift,jckarter/swift,natecook1000/swift,johnno1962d/swift,kperryua/swift