-
Notifications
You must be signed in to change notification settings - Fork 282
Closed
Labels
Milestone
Description
I was using this in my app, and I was having difficulties with using the subscripting to get/set block route handlers. This is because the subscript method returns id, which in Swift was coming up as AnyObject. It wasn't let me cast the return value to DPLRouteHandlerBlock, because closures aren't objects.
There is probably some elegant solution that I didn't think of, but I just ended up writing a wrapper around it