Author: cwolf

Version 1.1

For this version, I focused on improving the user experience: * in the result overview you will now see up to two lines of the title and three lines of the abstract * furthermore in the result list an icon indicates whether a PDF is readily available (green) or a click to core.ac.uk is needed […]

Swift 4: Adding new UI Elements to the Main.strings file, which Xcode auto-generates for you

When you are ready to localize your App, Xcode will auto-generate a Main.strings file for your Main Storboard. In that file every element of the User Interface (labels & more) are listed in the following format:

That’s a pretty awesome format, as it makes localization quick and simple. However, if you add Elements after […]

Swift 4: Help align UITextView to other labels, by avoiding the annoying inset

When aligning a UITextView with other labels on the screen, the inset becomes an issue. It is easy enough to work around, however if you wanted to just “switch” them off, you can add the following to your ViewDidLoad Function:

 

Version 1.2

Support for Internationalization: German translation Added basic Voice Over support (Aria Live Region) Added Keyboard Shortcut (ctrl + alt + o) Added highlight & search – will search base-search.netto use: highlight text and use right-click to select OA Search for… menu option Improved handling of “inactive” state

Version 1.1

Improved DOI Detection for: PubMed.gov ieeexplore.ieee.org nber.org base-search.net WebScraper OA Detection for: IngentaConnect base-search.net ieeexplore.ieee.org journals.sagepub.com academic.oup.com Introduced DOI validation Using 5 Regular Expressions from CrossRef Refactored function to compare current URL to target URL Fixed several bugs, where JSON parsing failed, due to unexpected data conditions Introduced a proper About Page Updated Help Menu […]

Swift 4: An extension to define UIColors with “normal” RGB values and set some named colors

UIColors require you to enter red, green and blue as values between 0 and 1. In pracitcal terms that means you need to divide your values by 255 to obtain the CGFloat required. Easy enough? Surely! Still it is a tad annoying, especially as the rest of the world will give you RGB values between […]

Swift 4: Pull To Refresh / UIRefreshControl

TableViews can have a useful feature to refresh the data inside of them, simply pull to refresh. Apple didn’t invent this, that was Loren Brichter of Tweetie, which was sold to Twitter and Twitter was eventually granted a Patent for the feature. Today this feature is absolutely ambiguous and very easy to implement. For example, […]

Scroll to top