Skip to content
    Back to all Bounties

    Earn 6,300 ($63.00)

    Time Remainingdue 2 years ago
    Completed

    SwiftUi - financial app journal

    tylersoca
    tylersoca
    Posted 2 years ago
    This Bounty has been completed!
    @tylersoca's review of @ArtemisKS
    5.0
    Average Rating
    Communication 5/5, Quality 5/5, Timeliness 5/5
    I had a great experience with Artemis. Very professional and fast.

    Bounty Description

    Hide two buttons - SWIFT UI

    The main view in question is List_View. You can add a play which will either be Sell Put, Sell Call, or Buy to Close. When you have added a play to the list it will have three buttons in the HStack. The three buttons are Assign, BTC, and Delete.

    Goal #1: When the BTC button is tapped a Buy to Close play is added to the list. When that takes place I want the original play that the BTC was tapped and the new Buy to Close play to have their Assign and BTC buttons hidden.

    Goal #2: If the Buy to Close play is deleted, it will revert the Assign and BTC buttons to be visible on the original play.

    Goal #3: If the original play is deleted, the Buy to Close play will also be deleted along with it.

    Consideration: If there is multiple plays added to the list the original play and the Buy to Close play should not affect the visibility of the buttons of the other list plays.

    Example 1: In this example I had an AAPL play and a NVDA play in the list. I tapped the BTC button on the AAPL play and it added the Buy to Close play. It should hide the buttons for Assign and BTC from the original play and the Buy to Close play as shown with the black X’s. Yet the NVDA play is unaffected.

    Example 2: In this example I have two AAPL plays in the list. I tapped the BTC button on the second AAPL play, the one with x2 and Strike of $150.00, and it added the Buy to Close play. It should hide the buttons for Assign and BTC from the original play and the Buy to Close play as shown with the black X’s. Yet the first AAPL play is unaffected.

    If this is confusing please ask any questions you may have and I can explain in further detail. If you need to know anything about the code that I currently have feel free to shoot me an email any time.

    https://imgur.com/a/PxIBGD2

    message me and ill give you access to the repo