Post

Replies

Boosts

Views

Activity

Reply to Any related Library for General Poly Clipper Algorithm
GPCJ is a Java port of Alan Murta's GPC, which is in C. The C GPC code is still available though not from the original site. Calling that C code from Swift should not be difficult. https://github.com/rickbrew/GeneralPolygonClipper But: I only wish to draw the convex hull of the typhoon path in maps Well you don't want a polygon clipper, you want a convex hull algorithm! I would consider using the version in Boost.Geometry (C++), with a suitable wrapper. Beware, it is easy to write a bad convex hull implementation due to the numerical stability issues.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’22
Reply to In App purchase
I am guessing apple doesn't have an issue regarding this Haha nope. Do you imagine that anyone would use IAP and pay even 15% let alone 30% if they could bypass it by doing that? Read your developer agreement.
Topic: App & System Services SubTopic: StoreKit Tags:
Oct ’22
Reply to Security threat due to insecure function "memcpy()" in GCDAsyncSocket.m
Hi Quinn, you really need to talk to your management about what will make them happy as far as these warnings are concerned. I am seeing a lot of these warnings due to sprintf(), and the problem I have is that the large number of them clog up the "issue navigator" (or whatever it's called). It's easy to overlook other warnings. So what will make "my management" happy would be disabling the warnings, without also losing other deprecation warnings. Can you suggest how to disable these specific warnings? I note that, for example, there is/was a preprocessor macro that could be used to hide OpenGL deprecation warnings. Anything like that for these? Edit: I've just noticed this thread is old. Not sure why it has just popped up. Maybe someone added a post and then deleted it? Hmm.
Topic: Privacy & Security SubTopic: General Tags:
Oct ’22
Reply to Anybody Use SwiftClipper Here? Can't Instantiate A Class Without Init.
it says im posting something that is not permitted You need to spell out some URLs to defeat the filter, i.e. put spaces between the characters to break it up, or replace . with DOT, etc. My goal is to create a convex hull to show the path of a typhoon. Could you post maybe a screenshot from your Android app to show what result you want? I'm a bit confused because I see the path as likely concave, not convex. https://github.com/raywenderlich/swift-algorithm-club/tree/master/Convex%20Hull That's not numerically robust. Are you doing the calculations on the geographic coordinates, or on the screen coordinates?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’22