---
title: "Discussion on \"Ternary Operator in SwiftUI\" | Hashnode"
description: "Discussion on \"Ternary Operator in SwiftUI\". A summary of use cases of the ternary operators in SwiftUI"
url: "https://hashnode.com/posts/ternary-operator-in-swiftui/641e57439de080e24ce1d71c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Ternary Operator in SwiftUI](https://xavier7t.com/ternary-operator-in-swiftui?utm_source=hashnode&utm_medium=feed)

A summary of use cases of the ternary operators in SwiftUI

Mar 25, 2023 · 4 min read · xavier7t.com  
Read the article

-   [#ios](https://hashnode.com/tag/ios)
-   [#iosdevx](https://hashnode.com/tag/iosdevx)
-   [#ternary-operator](https://hashnode.com/tag/ternary-operator)
-   [#swift](https://hashnode.com/tag/swift)
-   [#swiftui](https://hashnode.com/tag/swiftui)

## Written by

[Xavier](https://hashnode.com/@xavier7t)

@xavier7t · Toronto, ON, CAN

  
[View profile](https://hashnode.com/@xavier7t)

iOS Developer

iOS developer from Toronto, ON, CAN

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
