Re: [swift-corelibs-dev] NSObject's performSelector(inBackground:with:) doesn't feel right in Swift 3

2016-08-16 Thread Shawn Erickson via swift-corelibs-dev
nil) > myObject.perform(onMainThread: #selector(doMainThreadStuff), with: nil) > myObject.perform(#selector(doDelayedThings), with: nil, afterDelay: 0.7) > let result = myObject.perform(#selector(doThingsNow), with: > nil).takeUnretainedValue() > > On Aug 16, 2016, at 8:46 AM, Shawn Erick

Re: [swift-corelibs-dev] NSObject's performSelector(inBackground:with:) doesn't feel right in Swift 3

2016-08-16 Thread Shawn Erickson via swift-corelibs-dev
It is following the naming methodology of a sentence like structure "performed selector in background with ". It does read a little strange but likely comes from a simple remapping of the existing objective-c name for familiarly reasons. It could be performInBackground(selector:,with:) ...

Re: [swift-corelibs-dev] in-app purchase

2016-08-09 Thread Shawn Erickson via swift-corelibs-dev
This isn't likely a good list for this discussion maybe Swift users but more likely the Apple developer forums would be better. You say your code is fully of errors? Do you mean compile errors? If so if you post some small code samples and errors we could possibly help. -Shawn On Mon, Aug 8, 2016