Post

Replies

Boosts

Views

Activity

Comment on Get data from view after it gets added on screen using ForEach
@OOPer everything works fine now. Thank you for this. For your comment `statusList.append(status) //<- Why this is needed? this is the status that I receive from the server. It is usually the same Yes, no , NA but sometimes it may be different and I need to show it on the picker. Once it is appended in the list, i then run a separate method which removes the similar items from the list(if there are any). Picker("Status", selection: currentStatus ) {           ForEach(GeneralMethods().uniqueElementsFrom(array: statusList), id: \.self){ status in             Text(status)           }         }
Topic: Programming Languages SubTopic: Swift Tags:
May ’21
Comment on swiftui notification tap: how to open a specific screen
@Claude31 I guess he is referring to opening a particular view when notification is clicked and not the navigationView or navLink. I have a similar issue. @DilipRam could you let me know if this was solved and what did you do.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on Back button removed in the navigation bar once the view loads
@OOPer, sure.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on Get data from view after it gets added on screen using ForEach
@OOPer everything works fine now. Thank you for this. For your comment `statusList.append(status) //<- Why this is needed? this is the status that I receive from the server. It is usually the same Yes, no , NA but sometimes it may be different and I need to show it on the picker. Once it is appended in the list, i then run a separate method which removes the similar items from the list(if there are any). Picker("Status", selection: currentStatus ) {           ForEach(GeneralMethods().uniqueElementsFrom(array: statusList), id: \.self){ status in             Text(status)           }         }
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’21
Comment on Get data from view after it gets added on screen using ForEach
@OOPer please check the comment.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’21