Affinity Designer is an excellent tool for illustration and graphic design, and it can work as a UI design tool as well (better at least than Illustrator or Photoshop), but nothing else (outside of browser-based tools) has quite leaned into the UI design niche like Sketch has.
Sketch turned an important corner when it introduced two things: Symbol overrides and scaling constraints. These two things made UI design in Sketch a massively more streamlined process than any other product, and while other packages have started to adopt them, Sketch has stayed ahead by further developing these features along with shared library support and a robust plugin API enabling further workflow-enhancing tools like Sketch Runner.
Sketch is, however, fairly terrible as a general-purpose vector editor. Its clumsy shape tools are bad enough that I usually start any icon design in Affinity Designer and then import to Sketch.
I'm glad you mentioned this. There are many reasons why I'm no longer using Sketch, but their weird pricing model is the reason I finally decided enough was enough.
And Affinity Designer is incredible on the iPad/iPad Pro as well. Amazing vector and raster tools and its pretty much a straight port of the desktop version.
Affinity Designer, Affinity Photo, Pixelmator, Pixelmator Pro, Graphic, Sketch. I purchased them all, trying to find which I prefer. All excellent actually.
Affinity Designer isn‘t really comparable, it‘s more a general vector tool for artist and creating from scratch, not a design/prototyping environment for designers with a rich ecosystem and integrations.
Sketch turned an important corner when it introduced two things: Symbol overrides and scaling constraints. These two things made UI design in Sketch a massively more streamlined process than any other product, and while other packages have started to adopt them, Sketch has stayed ahead by further developing these features along with shared library support and a robust plugin API enabling further workflow-enhancing tools like Sketch Runner.
Sketch is, however, fairly terrible as a general-purpose vector editor. Its clumsy shape tools are bad enough that I usually start any icon design in Affinity Designer and then import to Sketch.