Posts

Post not yet marked as solved
5 Replies
1.5k Views
I'm completely new to the MacOS development ecosystem and have been recently learning Swift. I'm wanting to create an application that uses a view of some sort to draw 2D lines from a list of geo coordinates (latitude and longitude). My first instinct was to use OpenGL, but being it's now deprecated, I looked into using Metal. Beings that I'm a novice, I don't want to attempt to learn Metal on top of learning Swift, so I opted for an easier approach by using Core Graphics to render these 2D lines. I want to be able to zoom in and out of the view (i.e. change the scale of the objects) as well as pan around the view area because it will be possible that the 2D objects will not all fit within the "visible viewing area" and I want to be able to pan around to be able to show the "hidden objects" that are not within the current view — if that makes sense? I'd like to hear whether this is feasible and what the best approach is to accomplish this...or if there's a better alternative.
Posted
by jshannon.
Last updated
.