📜 ⬆️ ⬇️

HabraReader 2.0 - large client update for iOS

After the release of the first version of HabraReader for iOS, 3 months have already passed - during this time we have done a lot of work to improve the program and today we want to present its results to all readers of habrahabr. We worked on speed, fixed a number of annoying errors and added a large number of new features, including:

Anyone who is interested, welcome under the cat (a lot of screenshots).

New opportunities


Sections

First of all, the model was redesigned to support various sections of the site. As a result, a list with all sections was placed in the left pane, and the list of hubs was hidden by a separate button:


In addition, the option was added to the settings to select the default partition, which will be loaded when the application starts. This is useful because some users read their feed, some only subject sections, while others only have time to read the best for the week.

Also in this list were added a couple of virtual sections with a list of all cached and read posts. Now, when there is no Internet, you can always find all the posts that you can read now, as well as find an interesting post that you read recently, but did not add to your favorites.
')
detailed information

Now with tapa with a delay on the post with one finger shows detailed information on this post. The same information can be obtained by reading the post itself.


Here you can vote for the post (only for authorized users), add / delete to favorites / cache / read, customize the appearance (see below), as well as find out detailed information on the author of the post. Thus, it is now possible to cache each post individually.


As can be seen in the screenshot, you can not only learn about the author in detail, but also vote for him (again, if there is authorization).

Settings

For each person, the convenience of the headset and the font size are individual, so we decided to add these settings to the program. You can call them from the detailed information on the article and change it to your liking. You can also customize the font independently in the list of posts and when reading each specific post:



Authorization

One of the biggest changes in the new version was the support for authorization and all the new features that follow from this:


First of all, an authorized user can now read his tape in the list of sections and edit it! This is done by simply using the switch in the hubs tab:


In addition, you can now synchronize all your favorites on your device with your favorites on the site. And 3 modes are supported:



You can also add comments when reading the article and vote for them:


And, of course, you can always monitor your rating and karma.

Fixes


The first version suffered from some childhood diseases that we tried to fix.

Smooth scrolling

The smoothness of the scroll was not impressive. It was with the correction of this ailment that we began developing version 2.0. First, we threw the wrapper into the PrettyKit classes of each post, then turned on the loading of all the pictures to habracut immediately upon loading the posts. For the iPhone, we changed the grouping style of the table to a simple one, which also had a positive effect on the smoothness of scrolling. In addition, we significantly reduced the intensity of recalculating the size and layout for each post, as well as optimized internal caches.

Advertising

Another annoying moment was the advertisement in the list of posts, which made it difficult to press the download button for the next posts. With it, we did just by moving it to the reading screen of a particular post.

Conclusion


We tried very hard to make the new version like and leave only positive emotions. I hope all owners of iOS devices will read this post (and all subsequent ones) already through HabraReader and will not remain disappointed.

Program support is available here .
The price of the version without ads reduced by 66%.
The application itself can be downloaded at this address.

Source: https://habr.com/ru/post/179431/


All Articles