![Victor Pavlychko Profile](https://pbs.twimg.com/profile_images/645894326321553408/nAAg0f5v_x96.jpg)
Victor Pavlychko
@victorpavlychko
Followers
26
Following
197
Statuses
56
@steipete Focus stealing restrictions is probably the only Windows feature Iâve been missing for years on Mac. Wonder why Apple canât implement something like remarks section here: May not help with FaceTime but at least autoupdaters wont pop up into your face.
0
0
1
@twannl Not a blog post, but rather structured API diff compiled from the developer documentation: Still working on the UX of that thing, Iâm not very good at html đ
0
0
0
While we are waiting for #WWDC20, let me introduce â a structured list of API changes collected from the developer documentation. Looking forward to updating this once the new docs are out.
0
0
1
@steipete Oh, I see what's going on there. You need two similar closure types with convention specified. And the compiler wont allow any generics in there đ Requiring client code to specify those ahead may be less error-prone. Please check my sample PR illustrating the idea.
1
0
0
@steipete Launching settings or doing in-app purchases in a keybaord is a little bit tricky đ
1
0
0
@steipete My experiments predate callAsFunction, I stored a properly cast objc_msgSend in a var. This trick may also work for IMP if the Task class can be made generic. Looking at this, I wonder if property wrappers can help here when wrappedValue is of a function type đ¤
2
0
1
@ketzusaka Yup, but we tend to forget about C++ tricks and destructors in the world of ARC, GC, defer, try/finally and other "modern" things.
0
0
0