Skip to content

Releases: NicholasTD07/Swift-ZHI

Fix Cells in DailyTableView NOT Being Able to be Slid Out

03 Apr 06:57
Compare
Choose a tag to compare

Major Fix: As title of the release

Minor Changes

  • Added Travis
  • Updated README
    • CI badges
    • Swift versions
    • CocoaPods

The fixed bug was a major f*ck up, may be the only one, during the whole development process of the project, by myself which was caused by there being no UI testing and I forgot to do manual UI testing. 😭😭😭😭😭😭

Sorry for everyone who had the buggy code.

Swift 2 & CocoaPods!

15 Jan 06:47
Compare
Choose a tag to compare
  • Update project to Swift
  • Switch from Carthage to CocoaPods

Show Last Read News in WebView on Bigger Devices when App Launches

14 Jul 13:07
Compare
Choose a tag to compare
  • Add UserPreferences with lastReadNewsId, #43 dd7e250
  • Extract setUpSplitViewController method in AppDelegate, #43 866e6d6
  • Register and use saved newsId in UserPreferences, #43 490689c
  • Extract didLoadNewsInWebViewWithNewsId in RealmNewsViewController, #43 2b8353d

Prevent WebView from Reloading Itself Because of Updates in Realm

14 Jul 13:05
Compare
Choose a tag to compare
  • Prevent webView from reloading because of updates in Realm, #42 943d617

Don't Hide Master View Automatically, Please

14 Jul 13:03
Compare
Choose a tag to compare

Tried automatic hiding for a while, there were some issues introduced by it. User experience is better without it.

  • Revert "Hide master view when scrolling news view, #40" b9d3228

Show Split Views Side by Side

14 Jul 13:01
Compare
Choose a tag to compare

Change

iPad Support - Universal App

14 Jul 13:00
Compare
Choose a tag to compare

Swift ZHI is universal App now.

It feels great to see Swift ZHI showing DailyView with NewsView side by side on iPad(simulators), and also in landscape mode on iPhone 6 Plus.

Add

  • Set up SplitViewController in Storyboard, #3 59e335c

Change

  • SWIFT ZHI IS UNIVERSAL! OH YEAH!!!!1! #3 5ac4958
  • NewsView has its own store and navigationController, #3 bd9d159
  • NewsView.newsId is optional with default value [WIP], #3 dfa878e
  • Set navigation bar item to displayModeButtonItem(), #3 3e1d6ac
  • Remove the back button in storyboard, #3 4e86366
  • Set status bar style to light, #3 09c497b

DailyListView Powered by Realm

27 Jun 04:27
Compare
Choose a tag to compare

Highlights

  • Use Realm for local storage
  • Add DailyDates for date related operations
  • Update existing Object with add(_:update:)
    • Me so stupid, sad.... Bug fixed. :) d49b9b8

Refactoring

  • Extract common parts into DailyTableViewController 5cf8171
  • Move abstract methods into an extension 00be155
  • Move code of HideNavBar into DailyTableViewController d34a2e7
  • Make DailyInMemoryTableViewController subclass DailyTableViewController fbe3ce8
  • Extract loadDailyAtIndexPath 47fcd50

Added

  • Add HeaderView and RefreshControl in RealmDailyView ce50662
  • Show LoadingCell when there's no daily for a section in RealmDailyView 14162ba
  • Add DailyDates [WIP] e9a498d
  • Add dateAtIndex and days in DailyDates cad7eee

Realm

  • Realm objects and store! YEAH!!!1! 114d458
  • Index "dateHash" on DailyObject 7527be0
  • Index "date" on DailyObject and set dateHash when init 4a440ac
  • Add primaryKey for RLMNewsMeta and RLMDaily f21dd34
  • Update RealmDailyView to use DailyRealmStore 588901d
  • Load RLMNewsMeta in RealmDailyView 60189fd

Changed

  • Rename DailyTableViewController -> DailyInMemoryTableViewController e3017b8
  • Update README.md be13d06

Fixed

  • Shouldn't copy info file into bundle 6272003

UI Tweaks

23 Jun 09:54
Compare
Choose a tag to compare

Highlights

  • Scrolling in DailyView and NewsView will hide the NavBar. Thanks to AMScrollingNavbar
  • Show a check mark for saved news on the side of a cell 950d7dc
  • Add DailySectionHeaderView 8e10aca
  • Hide that 1px line in navBar 2fa0702
    • Harder than you imagine

Added

  • Hide NavBar when swiping in DailyView and NewsView 3e2ab18
  • Add AMScrollingNavbar + carthage update 271f8c5

Changed

  • Use custom table section header view in DailyView ca56beb
  • Make loading already saved news faster by loading in viewWillAppear deb6eb4
  • In NewsView, don't show activityIndicator when news is already saved 7aa5856
  • Tweak ScrollingNavBar f3d9c2d
  • Fix constraints 5184b83
  • Switch back to a UIViewController for DailyView 52c9806
  • No need to keep a reference to the newsBody in NewsView c1a52cb

Removed

  • Remove the UITableViewController in storyboard 5a225ad
  • Remove goBackToDailyView in NewsViewController 99c6dcc

No More UI Blocking

21 Jun 03:54
Compare
Choose a tag to compare

Added

Changed

  • Only reload the section for that specific Daily 9cf5e4e
  • Embed the whole UI in Navigation Controller 8229673
  • Cache the dateFormatter for higher efficiency 9b46d6a
  • panGestureRecognizer is replaced by Navigation Controller c4afe20