Arctic

355 readers
6 users here now

Arctic is a Lemmy client for iOS built on pure Swift. It currently supports iOS 15+ and Lemmy v0.17+

Get the latest version on TestFlight, or check it out on the AppStore.

If you would like to support Arctic’s development, feel free to Buy Me A Coffee

founded 1 year ago
MODERATORS
1
 
 

Well, this is no small update like I had planned after the previous update. This is by far the largest update to Arctic so far. I've packed well over a hundred fixes, improvements, and new features into this release. I'm happy I finally had the time to work on some larger features and bug fixes that I have been putting off for a long time.

Arctic Theme Support (beta)

Arctic Theme Previews

I've talked about this for a long time and finally had the chance to implement support for themes in Arctic. This took a lot of work, but it has definitely paid off. I've included 12 default themes to choose from, as well as an editor to design your own custom themes. Rather than attempting to make every color themeable individually, I tried my best to minimize the colors used while still allowing for robust customization. With that said, I am looking for feedback on the theme editor. Themes can be configured for either light or dark mode, so you can mix and match them to your liking, e.g., Sepia during the day and Dracula during the night.

Themes can be imported and exported using a simple JSON file (ATDF “Arctic Theme Definition File"). You can duplicate any theme and edit to your liking, and switch between them with a single tap. I am planning a service for sharing and browsing community themes in the future, but first I would like to get some feedback on theming to finalize the format.

Markdown Improvements

Markdown Improvments

I came across this post about Markdown support in Lemmy apps recently. It highlights many issues with Markdown rendering in a lot of the Lemmy clients that are available. Arctic seems to have scored fairly well with a 9.3/10.

Some of the issues that were highlighted about Arctic were:

  • Images not properly rendering in-line.
  • Headers not working inside spoilers
  • Tables not aligning columns correctly

Well, this motivated me to work on improving markdown support in Arctic. I took some time and fleshed out support for embedded content in Markdown. Images, Videos, Tables, Spoilers are all embedded now which has allowed for many improvements to the rendering system, and more advanced control over the appearance. I've also fixed several issues where markdown rendering did not obey the Common Mark specification.

Media Uploads

Arctic no longer requires permission for selecting media from the photo library. I've also enabled support for uploading videos, and improved error handling to better convey issues with uploading media. Arctic also has support for uploading directly to Catbox.moe, this can be useful if you have a video that is too large for Lemmy or just prefer not to host media on Lemmy. Optionally, you can log in to Catbox so files are uploaded directly to your account and can be deleted later (anonymous uploads can only be deleted by Catbox.moe's admin). As a side note, I developed Catbox-Swift for easily managing Catbox.moe uploads. Please feel free to use this in your projects.

Media APIs

Arctic finally supports playing videos hosted by Lemmy (Picts). This has been a long-time frustration for me, as videos hosted on Lemmy servers seem to have issues playing on all Apple platforms. Well, I finally had the time to track down the issue preventing playback and attributed it to server configuration and Apple oddly not handling this issue well. In addition to Lemmy video, Arctic can now stream videos on PeerTube and Streamable. I've improved support for streaming YouTube videos, and fixed several issues with Reddit, and Imgur media.

Performance and Energy

I've rewritten large portions of Arctic's backend with performance, reliability, and consistency in mind. On average, Arctic now uses about 75% less memory, and significantly less CPU. In rewriting these systems, I was able to make a lot of improvements to caching behavior to reduce network usage, and increase consistency in rendering content. When Arctic is idle, or backgrounded, systems will shut down, and memory will be freed to prevent any energy consumption while the app is not in active use.

v0.4.2.3 Changelog


Arctic Theme Support (Beta)

Theme support is in beta. Please submit any feedback related to improvements or issues

  • Added support for custom themes
  • Separate themes for light and dark mode
  • Automatic theme switching
  • Full theme editor, with live previews
  • Instant switching of themes (some issues with this)
  • Import and export themes
  • Copy themes to customize to your liking
  • 12 default themes to choose from:
    • Arctic Light
    • Arctic Dark
    • Arctic Black
    • GitHub Light
    • GitHub Dark
    • Dracula
    • Alucard
    • Crème
    • Solarized
    • Nebula
    • Verdandi Light
    • Verdandi Dark
Markdown

  • Added support for embedded videos
  • Added support for embedded images in Markdown tables
  • Added support for markdown image links
  • Added rounded corners to embedded media
  • Added optimizations for caching embedded content layout
  • Added support for additional Lemmy link formats /c/<community>@<instance> and /u/<user>@<instance>
  • Added invisible break shortcut to the markdown toolbar for inserting invisible thematic breaks using HTML comment <!-- -->
  • Updated block quote appearance to render full length margin lines for nested quotes
  • Updated markdown parsing with improvements to parsing speed
  • Updated spoiler parsing to improve reliability
  • Updated link detection and handling
  • Updated defaults to enable embedded content by default
  • Fixed HTML rendering using incorrect font and text colors
  • Fixed an issue where spoilers would be parsed inside code blocks
  • Fixed an issue where a Markdown table occurring immediately after a spoiler could break rendering of the spoiler
  • Fixed an issue where inline code may be incorrectly parsed
  • Fixed soft breaks in code blocks having incorrect indentation
  • Fixed block quotes incorrectly allowing soft breaks
  • Fixed an issue where links were not tappable when contained in an embedded Markdown table
  • Fixed some issues with inline images being positioned incorrectly
Link Previews

  • Added support for audio in link previews: e.g. for playing audio previews on Spotify links
  • Added a new network manager for improved control over network requests
  • Added support for fetching the apple-touch-icon from links instead of relying on Google for favicons
  • Rewrote open graph parser to improve reliability and performance
  • Fixed an issue where direct download links could result in Arctic loading large files into memory while attempting to provide a link preview
  • Fixed an issue where link previews could be unnecessarily be reloaded when they are already cached
Media Uploads

  • Uploads no longer require permission for selecting media from the photo library
  • Added support for selecting and uploading videos
  • Added support for uploading media directly to Catbox.moe
  • Added option to select the default upload destination (Lemmy, Catbox, ask each time)
  • Added option to log into Catbox.moe, so uploads will be added to your account
  • Improved logging of errors when uploading media
Media APIs

  • Added support for playing videos hosted on Lemmy. (Videos hosted by Picts have issues playing on Apple platforms due to server configuration, arctic will now detect this and preload the video for playback)
  • Added support for PeerTube videos
  • Added support for Streamable videos
  • Improved support for YouTube videos
  • Improved caching behavior to reduce network usage
Improvements

  • Major overhaul to memory and energy management in Arctic. On average, Arctic now uses 75% less memory, and significantly less CPU and energy. There are some cases where memory and CPU usage may spike, such as views with a high number of animated images. However, Arctic will attempt to listen to system warnings and unload resource intensive tasks when requested.
New Features

  • Added support for additional image formats such as AVIF, and SVG (shields.io)
  • Added an experimental feature to dim media when dark mode is enabled
  • Added support for fetching media from Reddit post and comment links
  • Added a new paging image gallery view, you can choose between paged, or grid appearance in settings
  • Added a new option related to the Post Image Size option to allow scaling images down to fit the full image in the view
  • Added a warning alert when attempting to submit a comment with no content
  • Added support for Haptic Touch on images and videos to allow saving/sharing media
  • Added an overlay for media that failed to load to allow attempting to reload the media
  • Added support for domain filters, You can now filter individual websites from post feeds
  • Added caching of media playback positions, media will now resume at its previous position
  • Added a close button to the changelog popup when launching Arctic
Changes

  • Updated font sizes throughout the app for better consistency.
  • Updated the new comments indicator to subtly add a green (+) icon in the center of the comments icon
  • Updated the indicator used for featured posts
  • Updated avatar image labels to improve performance
  • Updated rendering of inline code that wraps lines
  • Updated the Community Selector appearance
  • Updated link handling to attempt loading all links over HTTPS, Arctic does not allow unsecured network requests
  • Updated crosspost detection to be more lenient. Some clients have slightly different formatting for crossposts, and Arctic will now detect more of these formats
  • Updated open post views to more closely resemble post feed appearance
  • Updated image processing to improve performance and reliability in detecting image formats
  • Updated the video player with modern swift observers removing some legacy code
  • Updated the profile header appearance
  • Updated the progress bar on inline videos
  • Updated the playback controls in the media viewer with an iOS 18 esque appearance
  • Updated the preloading behavior in post feeds, this addresses several issues with inconsistent layout, content disappearing, content failing to load, high memory usage, etc. This has drastically improved performance and reliability within post feeds
  • Updated video thumbnail loading to improve reliability and performance
  • Updated image gallery layout and improved performance
  • Updated the project removing some unused legacy code
  • Updated changelog popup not to show on the first time launching Arctic
Fixes

  • Fixed issue where Arctic would request permission to send notifications on its first launch. Permissions will only be requested when enabling notifications in settings, or adding a Community Notification for the first time.
  • Fixed issue where widget insets would be too large on iOS 17+
  • Fixed issue where Reddit gallery links would not properly load content
  • Fixed issue where some links could incorrectly be treated as YouTube links
  • Fixed issue with some cells appearing clipped when using a notched device in landscape
  • Fixed an issue where changes to the unique notification token for devices would not be synchronized with the notification server
  • Fixed issue where media would not pause when dismissing an open post view
  • Fixed Bar Shadows setting not applying when blurred or default bar styles are enabled
  • Fixed several layout issues that could cause performance drops, and incorrect rendering in some cases
  • Fixed an issue where importing user settings would show a success alert even if the import was canceled
  • Fixed an issue where Arctic may crash when refreshing a profile view
  • Fixed an issue where media in comment cells could continue to play even when it is out of view
  • Fixed an issue where the mod reason composer would show full-screen rather than as a popover
  • Fixed an issue where image gallery's' could cause a crash due to invalid links
  • Fixed an issue where some pages would allow pull to refresh even though it was unused
  • Fixed an issue where widgets would display very low quality images
  • Fixed an issue in private messages where the bottom inset would be incorrect after sending a message
  • Fixed an issue where clearing the search query in the Community Selector could continue to show results for the first letter of the cleared query
  • Fixed an issue where the navigation bar might not reappear when swiping back from search results
  • Fixed an issue where the cancel button would appear on the right-hand side when inserting a link or image using the markdown toolbar
  • Fixed an issue where refreshing a profile, or scrolling would repeat some API requests when they already cached
  • Fixed an issue where multiple API requests to the same endpoint could occur at the same time, duplicate requests will now be batched into one to prevent unnecessary network traffic, and reduce server load
  • Fixed an issue where embedded crossposts could incorrectly show an empty image gallery view
  • Fixed an issue where avatar images would be fetched even if they are disabled in settings
  • Fixed an issue allowing images to be re-downloaded even if they were already cached
  • Fixed an issue where Imgur gifv links would not load, these links are now redirected to the direct media link
  • Fixed an issue where the random community button in the search tab could cause a crash, or load the home feed
  • Fixed an issue where opening a community you are not subscribed to while the listing type is set to Subscribed, would result in an empty feed
  • Fixed an issue where Arctic could crash when scrolling in post feeds, or after reopening Arctic from the background
  • Fixed an issue where video seeking could be inaccurate
  • Fixed a typo in appearance settings
  • Fixed an issue where saving HLS videos would silently fail. Saving HLS streams is unsupported, and an alert will be shown when attempting to save HLS content
iOS 18

  • Fixed a visual glitch when hiding the tab bar on iOS 18 due to an iOS bug
  • Restored tab bar appearance on iOS 18 to use the classic style
MacOS

  • Added support dismissing media previews using the trackpad
  • Added support for building as Optimized For Mac (So much left to fix with this)
  • Added better support for App Nap on Mac by pausing non-essential background activity
  • Added keyboard shortcut (Command + Return) for submitting comments, posts, messages, etc.
  • Fixed an issue where the login controller would be shown off screen when presented from the account quick switcher

Links


2
1
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 
 

Download Arctic on the AppStore!


I am thrilled to announce that Arctic is now available on the AppStore! Looking back, it's amazing to see how much progress Arctic has made in the last six months. Initially, I began working on Arctic as a personal project to fill the void after leaving Reddit during the API fiasco. I had no intention of releasing it publicly. Now, I have a fully-featured Lemmy client, a fantastic group of beta testers on TestFlight, and an official release on the AppStore.

However, the journey isn't over yet. I have many exciting plans for Arctic, and this is just a significant milestone. Going forward, I plan to release more targeted updates on TestFlight and create a public roadmap for AppStore releases.

I would like to thank everyone who was involved with Arctic's TestFlight for all the valuable feedback and suggestions that have helped shape Arctic!


Links

3
 
 

Is there a way to turn off haptics when a server error happens?

Various Lemmy servers that Arctic connects to are sometimes down. Even my host, lemm.ee, one of the more reliable ones, was down for a few minutes this morning. During this time I was trying to read an article but got an error message with haptics every few seconds. I would like to turn off the haptics when this happens.

4
 
 
5
 
 

Could you add the possibility to view the modlog in the app?

6
 
 

Just saw this while scrolling through. Seems to be dynamic as well. Longer names but not too long will start to add a circular frame around it.

7
 
 

Didn’t realize I was on a profile and voted on a post. The post above it showed the vote and vote count in response. Happens on up and down votes. Does not happen in my feed.

https://imgur.com/a/SEqLZBH

8
 
 

Is there some way to browse the communities on an instance in Arctic? I can't find it if it's there

9
 
 

Thanks for making this app.

The bar at the bottom seems to scroll up before being hidden when scrolling. I’ll attach a video in a moment to illustrate this.

Video

Also I only noticed this after upgrading to ios18 last night.

10
 
 

The pinned post seems to be no longer visible:

Also I have trouble visiting Arctic community in the TestFlight version: it just keep loading for me

11
 
 

It's been several months since I released any updates for Arctic except for a single hot-fix released to address an issue with API changes. I've had a busy summer and have not had much time or energy to put towards development. In the last few weeks, I've finally gotten back into working on updates, and I couldn't be more excited. I'm currently recovering from back surgery, so I have some time off work for the next month at least. I plan to use this time to push out some updates for Arctic, and get back on a consistent release schedule.

The goal for this update was to have it ready before the last TestFlight build expired. Unfortunately, even though I managed to submit the update before the deadline, the review process took longer than usual, and the previous build expired before the update was released.

I've been working on this update for a couple of weeks now in my free time, and I had originally planned for it to just focus on some minor bug fixes. Well, I got a bit carried away and added a bunch of new features while I was at it. The feature I am most excited about in this update is support for embedding views in Markdown. Arctic can now load embedded images rather than appending them to the end of comments or posts. I've also added embedded Markdown tables, so I can add proper rendering for tables which were extremely basic in previous versions. Both of these features are still in an experimental phase and disabled by default in this release. If you'd like to try them out you can enable them in the Experimental section in settings.

Something else I'm super excited about is that Arctic is coming to MacOS soon. I've spent a lot of time during this update cycle working on refining the user experience on Mac. I've gotten nearly all the Mac specific bugs worked out, and now I'm working on refining the UI to better suit the desktop experience. With this, I am also working on the iPad layout and improving the UI on larger displays. I'm hoping that over the next month I can release a Mac build on TestFlight.

v0.4.2.0 Changelog

New Features


  • Added support for embedded markdown views:
    • Embedded images (experimental)
    • Embedded tables (experimental)
    • Embedded spoilers (stable)
  • Added support for disabling markdown features (post feeds will now display using limited features)
  • Added support for paragraphs in Markdown lists (note: this will not yet be rendered correctly in the markdown editor)
  • Added Alternate Sources for links, Haptic touch on any link to open the link using an alternate source
  • Added option for showing profile images in comment sections
  • Added support for clearing push notifications when marking them as read in Arctic
  • Added option to hide labels on the tab bar
  • Added option to adjust the thumbnail size in compact layouts
  • Added new filters to the profile tab, view liked or disliked posts and comments, as well as hidden posts
  • Added a new trending communities section to the search tab (trends are based on Lemmy suggestions, and currently they are mostly just new communities)
  • Added support for selecting multiple communities at once in the Multi-Community editor
  • Added descriptions to the Multi-Community editor to explain its usage
  • Added community icons to the Multi-Community editor
  • Added support for filtering by NSFW in Lemmy Explorer
  • Added support for tapping the search tab while it is open to focus the search bar
  • Added a settings section for migrating Subreddit subscriptions from Reddit. (Thanks to Voyager for this idea)
  • Added option to choose the default listing type in profile views
  • Added pinned section to the left side of the markdown editor toolbar for undo and redo actions
  • Added support for selection images for upload using Finder on Mac
  • Added support for swipe actions using a trackpad
  • Added option to disable swipe actions
  • Added option to use full screen navigation gestures (not compatible with swipe actions)
  • Added change log popup after updating Arctic 

Bug Fixes


  • Fixed a missing close button in the community notification editor
  • Fixed issue preventing a custom guest instance from being set
  • Fixed issue causing Top sorting modes to show twice in sorting menus
  • Fixed account and community settings editors not resizing text views while typing
  • Fixed issue where media previews would be loaded from post bodies even if the post is not a media post
  • Fixed issue allowing comment tags ("ME", "OP", "BOT", etc) to render incorrectly
  • Fixed an issue where the activation threshold for swipe actions was too high resulting in false swipes while scrolling
  • Fixed issue where images would fail to upload when using limited access mode for photos. (you will now be presented with an option to grant access to photos before selecting them for upload when using limited access mode. Note: For the best experience, it is recommended that you enable full access)
  • Fixed issue where links would not open in private messages and profile bios
  • Fixed authorization error when trying to delete images
  • Fixed issue where cells in the Reports section would render markdown incorrectly
  • Fixed issue that could cause crash alerts to show more than once
  • Fixed an issue making it difficult to grab cells for reordering accounts
  • Fixed highlighted cells in the subscriptions view on iPad and Mac
  • Fixed issue causing the tab bar to permanently disappear in some cases while Hide Bars On Scroll was enabled
  • Fixed positioning of labels in media previews on Mac
  • Fixed media gallery views not resizing properly on wide displays
  • Fixed issue where categories for the search tab may not show on some devices
  • Fixed layout issue with the profile header view

Arctic Push Notifications


  • Rewrote networking to improve performance and error handling
  • Improved logic to help prevent overlooking notifications, or sending duplicates
  • Updated with the latest API support
  • During these updates, you may have missed, or received duplicate notifications

Links

12
 
 

Had to use an outside image service to post the screen shot of the error. And the image wasn’t too large, it was around 500kb. 🤔 Hopefully this helps fix the issue. Otherwise, great update so far! I can also see the Messages notifications aren’t wanting to play along on my server at the moment lol. 🥴

13
 
 

Thanks for. All the hard work which you’re putting into the app. It is my favorite!

I was greeted with a beta expired message today.

Should I just start using the AppStore version? Will I lose any settings if I install it over the beta?

Thanks in advance

14
 
 

It is going to be expired in 10 days

15
 
 

Recently if there is a new notification and if I don’t read it, it just won’t stop popping up for me

16
 
 

Arctic is a (much) better Lemmy client than any other out there for iOS at least but there are some nifty features for the most recommended app Voyager like the ability to disable side swipes altogether because Apollo’s (reddit) double-tap to upvote for example is much intuitive where side swipes are used to enter and exit communities, posts, comments, menus, settings… or whole app together on Android or Jailbroken devices.

This is my multireddit link after removing u/user which were included as r/_u/redditor from an existing bug to test this for Arctic which would fully enable me along with a lot of us to leave Voyager behind.

17
 
 

Other Lemmy clients such as Voyager and Mlem do this too. It’s a small thing but huge improvement for people who are using search a lot.

18
 
 

I just discovered that it was in Arctic and I love it. This app is my go to one for Lemmy browsing!

19
 
 

Hoping they can add a hide post gesture like they have the collapse comment gesture. Tried to submit it on GitHub and it kept trying to make it a bug report argh.

20
 
 

I would love to see certain statistics about my profile, Lemmy usage and participation.
This could start with really basic stuff like how much I scrolled per day, in the last year or since using the app. But also things like:

  • overall likes
  • engagement generated by me
  • graphs (?)
  • how many comments have been written under my posts in total

I guess there could be even more things, that would be cool and interesting to see.

21
 
 

Hello. I am using the version 0.4.1.11 , my account is on lemmy.dbzer0.com.

I was surprised when I browsed my account directly from the web : around one quarter of the posts was not visible in the Arctic app. I tried with another app (Mlem) and the posts are there. It's always the same posts that are invisible, browsing on the "Subscribe/Home", or directly from the communities.

It looks like every posts I publish enters in this category : not showing in the Arctic app.

22
 
 

It would be great if we could select the language in which the posts has been written in.

This is already an option in the web UI I guess it would be good to see it in arctic as well.

23
 
 

If you revisit a post, there exists already an indicator that +n new comments have been added.
But it isn’t easy to distinguish which of the comments are actually new ones.
It would be cool to have an (optional) visual indicator at new comments to easier follow the conversation.

24
 
 

I see this error almost every time I open the comments on a post.

My server is lemm.ee. Does it not support the “mark as read” feature?

25
 
 

When you tap on a post that has a video link, it initially seems to show a Piped link, but it quickly changes to YouTube. I’m not sure if this is how it’s supposed to be but thought you might want to know.

view more: next ›