mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 13:35:58 +00:00
![]() Funnel all HTML loading through -loadHTMLString:. Cache base URL (which is always the same) in a static variable instead of computing it different ways and putting in an instance variable temporarily. Use more intention-revealing variable names. Only set hasStory when we’re actually loading the story itself. Only set the font size and line spacing once, in webViewDidStartLoad, because the DOM is always set up by then in my experience. Only bother to set font size and line spacing if we’re loading a (full) story. Show the Web view when a full story *starts* to load, as sometimes it may not complete but you still want to see a partially loaded story. (Fixes an intermittent issue with AnandTech; see https://getsatisfaction.com/newsblur/topics/anandtech-straight-up-doesnt-load-on-the-ios-app) |
||
---|---|---|
.. | ||
ASI | ||
Classes | ||
cocoa-oauth | ||
NewsBlur/Images.xcassets | ||
NewsBlur.xcodeproj | ||
Other Sources | ||
Resources | ||
Resources-iPad | ||
Resources-iPhone | ||
static | ||
Underscore | ||
App Store Description.txt | ||
NewsBlur-iPad-Info.plist | ||
NewsBlur-iPhone-Info.plist | ||
NewsBlur.ipa | ||
NewsBlur.plist | ||
NewsBlur_Prefix.pch |