> On Sep 9, 2016, at 15:46 , Joe Groff <jgr...@apple.com> wrote: > > >> On Sep 9, 2016, at 2:02 PM, Kevin Nattinger via swift-users >> <swift-users@swift.org> wrote: >> >> You’ll need to explicitly add the “as NSNumber” now. >> >> https://github.com/apple/swift-evolution/blob/master/proposals/0072-eliminate-implicit-bridging-conversions.md > > Or even better, you should now be able to use `Any` in Swift 3 in most places > Swift 2 required `AnyObject`. Swift now handles the object conversion as part > of the runtime Objective-C bridge, so these weird special-case implicit > conversions should not be necessary in most cases anymore.
Thank you both for the answers. In the end, I changed the method to take "Any" instead of "AnyObject", since it just passed it on to a system call that accepted "Any". -- Rick Mann rm...@latencyzero.com _______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users