NEW BOOK! Swift Gems: 100+ tips to take your Swift code to the next level. Learn more ...NEW BOOK! Swift Gems:100+ advanced Swift tips. Learn more...
Quick Tip Icon
Quick Tip

See all parameter permutations in code completion in Xcode 15

Xcode 15 beta comes with some great improvements to code completion. One of my favorite is the ability to view all possible permutations of function parameters.

Screenshot of Xcode showing all the possible permutations for the SwiftUI frame modifier in code completion window

If a function contains more than one default parameter, we can see all the possible cases by pressing the right arrow keyboard key. This lets us choose the right permutation without any extra typing.


Swift Gems by Natalia Panferova book coverSwift Gems by Natalia Panferova book cover

Check out our new book!

Swift Gems

100+ tips to take your Swift code to the next level

Swift Gems

100+ tips to take your Swift code to the next level

  • Advanced Swift techniques for experienced developers bypassing basic tutorials
  • Curated, actionable tips ready for immediate integration into any Swift project
  • Strategies to improve code quality, structure, and performance across all platforms
  • Practical Swift insights from years of development, applicable from iOS to server-side Swift