Sign in

Horizon Dev

@dev.horizon.holme.tech
10 followers 1 following 21 posts

Dev Diary for Horizon, a SwiftUI based iOS Bluesky client by @josh.holme.social #BuildInPublic

PostsRepliesMedia
Horizon Dev @dev.horizon.holme.tech · 19/10/2024
This migration took a while, but @cjrriley.com was able to give me pointers on how the project worked and I was able to work with him on different bugs and rough edges I came across while integrating. Ultimately I was able to cut out a TON of code and felt a lot better about the project
100
Horizon Dev @dev.horizon.holme.tech · 19/10/2024
The dates were actually coming back in the wrong time zone, and they weren’t formatted how I wanted. So I cleaned that up, and now dates were displaying in relative format instead of absolute
100
Horizon Dev @dev.horizon.holme.tech · 19/10/2024
This is when I started to get to posts to dynamically pull in from atproto. I started to try to implement fettered() thinking it was the profile feed, but it was really your following feed. Whoops. I was able to get the name handle avatar date and text loading. Media was being a little difficult
100
Horizon Dev @dev.horizon.holme.tech · 19/10/2024
Merge conflicts are hard sometimes, and sometimes they can lead to funny bugs
Screenshot of the profile page of horizon. Instead of just having the banner at the top of the page, the profile photo is showing full width and taking up half the screen
100
Horizon Dev @dev.horizon.holme.tech · 19/10/2024
Speaking of logged in users, we needed a better way of swapping accounts while dev testing without having to change hard coded credentials and recompile each time, so I built out a rudimentary login page. Very basic, but it had a explainer for what an app password was (this was before oauth)
100
Horizon Dev @dev.horizon.holme.tech · 19/10/2024
At this time I was trying to implement the atproto APIs from scratch, and was able to pull in live data for a logged in user and display it in app. The timeline is still hard coded, but the banner, avatar, display name, handle, bio, and account statistics are all live data
Screenshot of in progress profile view for the Bluesky client Horizon. The avatar, banner, username, display name, bio, follower count, following count, and post count are all pulling live data from atproto. The timeline of posts is still hardcoded. The profile information is now left aligned like it should be
100
Horizon Dev @dev.horizon.holme.tech · 19/10/2024
This was the first pass at the profile page. Everything here was hardcoded from my profile at the time, the main focus of this was trying to just get the layout working and make some reusable components for the post view and the action buttons below it #SwiftUI #iOS #BuildInPublic
Screenshot of early build of Horizon. The profile bio and avatar are centered when they should be left aligned, with a banner picture up top and a rudimentary timeline below
120