Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SwiftUI App #2

Open
wants to merge 35 commits into
base: main
Choose a base branch
from
Open

SwiftUI App #2

wants to merge 35 commits into from

Conversation

landonr
Copy link

@landonr landonr commented Nov 4, 2023

OpenTweet.mov

In SwiftUI

If you want to see my UIKit code, you can see this take home test Fightcamp Takehome

Features

  • Timeline view
  • Everything is selectable
  • Tweet detail view
    • Shows tweet in reply to
    • Shows tweet replies
    • Shows tweet threads (up to 2 levels deep)
  • User Profile view
  • Tapping links opens in safari
  • Tapping mentions navigates to users
  • Unit and UI Tests

To Improve

  • Use NavigationPath for more complex navigation management
    • Mentions always at the top of the root stack
    • If you open a tweet that's already in the navigation path, we should pop back to it instead of pushing it again
    • Only basic navigation works on iPad (1 level deep) because the navigation stack in split view detail can't capture links
  • Support iOS 16
    • I wanted to try new navigation destination features but it's an easy change
  • Support MacOS
  • Tap profile picture to show full screen
  • Add likes and retweets
  • Add share button

UI

uibreakdown uibreakdown2

iPad

iPhone

* try ci action again

* just build because testing doesn't launch
* put data from url methods in background thread

* add baseline launch speeds for ipad and iphone

* use background thread

* wait for an active image to download if instead of downloading it twice

* use nscache for in memory cache
far2an pushed a commit to far2an/OpenTweet that referenced this pull request Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant