A Companion for SwiftUI

WWDC ’23 Updates!
The application is now updated to include all the additions introduced in the WWDC ’23.

Discover SwiftUI like never before with Companion for SwiftUI—an interactive documentation hub covering all SwiftUI elements, whether you’re developing for iOS, macOS, tvOS, or watchOS. The latest update features the complete set of additions from WWDC 2023, bringing its repository to over 2800 entries. Here are some of its key features:

  • Comprehensive Coverage: Get in-depth insights into SwiftUI views, shapes, protocols, scenes, styles, property wrappers, and environment values across all Apple platforms (iOS, macOS, tvOS, and watchOS).
  • Interactive Examples: Dive into interactive examples that run within the app. Adjust associated controls to witness immediate changes in views and code, facilitating a better understanding of SwiftUI’s power.
  • Seamless Integration: Copy and paste examples directly into Xcode for quick and easy execution. Examples are ready to run, making your development process smoother.
  • Filtering Options: Tailor your learning experience by creating filters to focus on relevant API areas, whether you’re working on a legacy project, exploring the latest WWDC ’23 additions, or researching SwiftUI’s implementation of a specific framework. Switch between multiple tabs, each with its own filter.
  • Visual Learning: Need to grasp the finer details of a quad curve? No worries! Explore the .addQuadCurve() entry, and drag curve points to instantly visualize how function parameters change. Accelerate your learning curve with instant, hands-on knowledge.
  • Menu Bar Icon: Quickly find topics using the system’s menu bar icon, allowing you to jump directly to the page you’re looking for.

This app is your indispensable companion, whether you’re a seasoned developer or just starting your SwiftUI journey. Elevate your SwiftUI skills today!

55 thoughts on “A Companion for SwiftUI”

  1. You are a godsend. This is amazing. There’s an argument to be made for the fact that Apple should have provided us this level of documentation, but this app goes beyond documentation and is really a toolkit for exploring real usages of the different SwiftUI APIs.

    Anyone developing with SwiftUI seriously should have this app.

    Reply
  2. Looks great, very helpful in trying to build anything in SwiftUI. A few requests:

    1. A way to request features or report bugs in the app. Otherwise this comment chain seems to be the only way. Or App Store reviews I guess.
    2. Navigation using the Mighty Mouse gestures. It would be great to navigate back and forth using the mouse like other apps.
    3. For API that you don’t have covered yet, it would be good to at least have a placeholder so that something shows up in search results. For example, while it isn’t clear what GestureMask does yet, it would be good to see the type in the results, rather than just other API that uses it.
    4. I know this is tough, but linking between all of the types used in the function definitions would be nice. For instance, for anything returning some View, being able to click on View to see its definition would be great. Unless this isn’t intended to be that sort of documentation.
    5. An iPad app? It would be great to have this content on the go, though I recognize the executable SwiftUI may be touchy there.

    Reply
  3. Gene: I second that.

    javier: The company I work for demands software to be bought outside the App Store with a company card. If there are two customers here in your comments asking for the same, I guess there are certainly a lot more out there wishing for a non App Store version.

    Reply
  4. Looks like an awesome resource! Just letting you know that the company I work at refused to get us 3 licenses because there’s no non-AppStore version of it. Let us know when you have a solution.

    Reply
  5. If the documentation in the app is as well-considered and useful as your blog articles, I imagine it’s essential reading.

    But on that subject: would you ever consider making it freely available on the web, but adding a Patreon link or something? I don’t use an iPhone as my daily driver (and a phone isn’t the best form factor to consume documentation on anyway). But I would definitely chip in a couple of $ a month if you had a Patreon. I wonder if others would feel the same?

    Reply
  6. Hello Javier,

    While reading your articles, I found this app. I reviewed it on the App Store. For me, it’s so amazing, and I would suggest it to anyone who wants to learn SwiftUI.

    Reply
  7. Great app! Are you considering doing an iPadOS app? I believe it could be a great resource while coding. And since Universal Clipboard and handoff works so well, it will be easy to copy and paste from iPadOS to macOS.

    Reply
    • Thanks! It is one of my goals, but since WWDC2020 is so imminent, I prefer to first update the macOS version with all the new stuff.

      Reply
  8. Hi Javier. Did nuy it some time ago, but still a live saver. I really hope that we can get soon an updated version, and the specially about the new texteditor and what we can do inside with views and shapes.
    Maybe an article about that?

    Reply
    • Hi Rene, working hard on an update and brand new articles. This next Monday (hopefully) I will be releasing the second part of the matchedGeometryEffect article. There’s still a lot to be said about it! One of my favorite additions!

      Reply
  9. Fifty euros is a lot for an unemployed developer recovering from the burnout. As I am preparing to reenter the work force I realized it’s essential to learn new technologies. And so, after drooling on this for a while I finally gave in and purchased it.
    Truly amazing! Kind of DASH specifically for SwiftUI. I cannot recommend this enough.
    The best expensive piece of software I have purchased in a while!

    Thank you. And yes, I’m impatiently awaiting updates that cover SwiftUI 2.0

    Reply
  10. Bringing on an intern shortly to start playing with SwiftUI. I will have them utilize your companion app to speed up the learning curve.

    Please email me once you’ve updated the batch with the 200 entries.

    Reply
  11. I just purchased A Companion for SwiftUI from the Apple App Store. I really like it so far. One thing that is very good is the reference back to online articles where applicable. I’m looking forward to the release of Big Sur so additional live examples can be made available.

    I have a request for another section: SwiftUI Attributes. One of the hardest things I have found is finding what Attributes are available. I only find out about them when discussed in conjunction with some other topic. It’d be nice to have one place to go to find them.

    Reply
    • Thank you Patryk for your comment. Not at the moment. It currently covers iOS and macOS. I’m planning on adding tvOS and watchOS in the future, but I’m focusing of other aspects of the app first.

      Reply
    • Hi VB, an update is imminent (i.e., in the next few days). I am checking all the SwiftUI bugs reported in the previous version, to check if they still exist in the latest Xcode/OS version. A few are gone and I updated the content to reflect that, but I still have a couple more to check. As soon as I’m finished, I’ll submit the update to Apple’s review.

      UPDATE: The app update is now available both here and on the App Store.

      Reply
  12. Hello! Greate app!

    Here is an idea what would be nice to have: have list and visual examples of various styles, for instance for `PickerStyle`. Currently it’s quite hard to findout all the possible styles, and you have to try them all to understand which of them suitable for your needs. Thanks!

    Reply
  13. A bit pricy app but worth it – learning by doing with the help of documentation is much more effective than watching tutorials and I don’t really feel comfortable programming without a quick-to-access reference.

    Reply
  14. Always open on my desk as I work. Combined with the blog articles, this is by far the best SwiftUI resource I have seen.

    Reply
  15. I am an old objectiveC guy trying to stay relevant. Just bought the app and browsing. Live examples are simply great! I feel like I am going to grasp swift and the new UI this time. Thank you!

    Reply

Leave a Comment

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close