u/maartenein r/swift • Recommends
On “Should I make 2D platform games in Swift? Or should I use something else like Unity?”
I'd say, give it a go! Especially if you already know Swift. SpriteKit can be a lot of fun. The book suggested by /u/UnseenWorldYoutube sounds like a great starting point. And Paul Hudson has a few great tutorials using SpriteKit: [video and [video
Regarding the "Apple Framework vs Game Engine" choice:
You state you want to create "endless runner" type games. So, you'll have procedural generation which fits the programmatic approach the Apple frameworks take quite well.
Personally, when I want to create something like a platformer - where level design is key - I find the Xcode scene editor to be lacking. In particular compared to something like Unity.