libc++abi.dylib: terminating with uncaught exception of type NSException
Interesting. This indicates that
UIRefreshControl
has thrown a language exception. Playgrounds doesn’t make it easy to see what that exception was, but some spelunking in the Console app reveals this:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UIRefreshControl was unable to find its associated scroll view'
Hopefully that hint will allow you to make progress. If not, my recommendation is that you ask about this exception over in Apple Frameworks > Cocoa Touch, because this is clearly something very specific to
UIRefreshControl
.
ps I also recommend that you file a bug against Xcode’s playground support requesting that it provide more info when you hit a language exception like this. Please post your bug number, just for the record.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"