Skip to content

Releases: tomkowz/Swifternalization

Swift 4.0 Support

15 Sep 08:46
Compare
Choose a tag to compare

Swift 3 Support

21 Oct 20:25
Compare
Choose a tag to compare

Swift 3 is supported (#25) on swift3 branch only. No cocoapods available yet since I have issues with pushing podspec using trunk and Xcode8. Will try to solve a problem soon.

Thank you @PeymanKh.

Minor improvements

13 Feb 10:05
Compare
Choose a tag to compare
  • Avoid calling configure(bundle:) before using localized strings. Swifternalization will configure itself with NSBundle.mainBundle() internally if you do not call this method after localizedString... method is called #12
  • Suppressed several Xcode 7.3/Swift 3 warnings.

Swift 2 and Xcode 7.1 Support

15 Nov 09:35
Compare
Choose a tag to compare

Swifternalization works with Xcode 7.1 and newest Swfit

New features and improvements

02 Aug 11:39
Compare
Choose a tag to compare
  • Dropped Localizable.strings support and uses JSON files instead. See README file for details.
  • Added support for strings length variations that are supported in iOS 9 by the system. The framework has its own implementation and supports such feature in iOS 8.0 and newer.
  • Updated Public API and Framework documentations.
  • Code cleanup.

Improvements and fix

15 Jul 19:33
Compare
Choose a tag to compare
  • Improved regular expressions. Now they work 4x faster.
  • Added support for floating point numbers! Now it is possible to use expressions like x<9.99, -3.5<x<99.4, etc.
  • Changed %d in expressions to just simple x since %d might be confusing when added support for floating point numbers.
  • Inequality extended expressions matches can work only with < and <= inequality signs. It has been simplified and other confusing cases with >, >= and = are unsupported now.
  • Fixed bug that might cause that inequality extended expression might not be validated correctly because of complications with using unsupported now inequality signs.
  • Removed ValueType enum. It is no longer needed after adding floating point numbers.
  • Updated docs
  • Framework on swift2 branch works with Xcode 7 beta 3.

Docs available

30 Jun 14:49
Compare
Choose a tag to compare
  • This is a minor update which includes documentation of the framework. It contains "Public API" and "Full" documentation. Go to README for details.
  • Pod version has been updated to v1.0.2.1 to add info about public docs.

CocoaPods integration

29 Jun 17:12
Compare
Choose a tag to compare
  • Swifternalization is available via CocoaPods.

Improvements and fixes

29 Jun 12:26
Compare
Choose a tag to compare
  • Swifternalization will not crash anymore when pattern cannot be parsed because it has incorrect format. Instead message is printed in the consol.
  • Swifternalization will not crash anymore when shared expression for some not defined key cannot be found. Will print message to the console instead.
  • Inequality and Inequality Extended expressions supports negative numbers
  • Add comment paramterer to match NSLocalizedString() macro and make it able to work with genstrings.
  • Fix many shared expression in SharedPolishExpression.
  • Fix typo in class name. TranslablePair to TranslatablePair.
  • More comments in the code.
  • Cleanup in the code.

First public release

02 Aug 11:41
Compare
Choose a tag to compare