Releases: angelolloqui/SwiftKotlin
Releases · angelolloqui/SwiftKotlin
UIKit transforms and Swift5.2 fixes
Added:
- New transforms plugin with very simple mappings between UIKit and Android widgets
- #116: Swift 5.2 implicit return fixes
Enum improvements
Added several minor improvements on enums:
- #112: Removed redundant
.
in switch expressions
- #113: Fixed wrong addition of
in
in switch expressions
- #114: Added
is
to enums when using sealed classes with tuples
- Removed Equatable conformance from sealed classes enums
Equatable and other fixes
Maintenance release including the following fixes:
#101: Fixed type inheritance in structs
#110: Removed Equatable type inheritance in structs
#108: Fixed equatable enums
Fixed wrong listOf conversion
Swift5 and other improvements
Updated to Swift5 and Xcode 12, together with the following:
#48: Unicode support on strings
#104: Transformed private setter properties
#82: Fixed bug on guard condition inversion
Enum improvements, dark mode and other bug fixes
Improvements and resolved issues:
- #85: Dark theme for App
- #91: Force cast conversion
- #94: Improved enums with
rawValue
init
- #90: Override methods remove default parameters
- #68: List and map conversion improvements
Swift update to 4.2 and other improvements
Improvements and resolved issues:
- Changed project structure to allow easier dependency update
- Updated code to use Swift 4.2 and Xcode 10
- #76: Keep code comments
- Other minor updates and fixes
Better properties, lambdas and bug fixes
Improvements and resolved issues:
- #47 Added support for lazy properties
- #22 Added support for didSet/willSet properties
- #29 Added support for varargs
- #69 Improved return statements in lambda expressions
- #70 Fixed issue with computed properties in structs
Code optimizations, bug fixes and small improvements
Resolved issues and improvements:
- #26 Removed optional chaining in lambdas
- #20 Optimized body returns to single line
- #53 Added inheritance support to enums
- #60 Fixed position of generics in function definitions
- #41 Added invoke to optional lambdas
Bug fixes and minor improvements
Resolved issues:
- #14 Add support for fatalError()
- #25 Optional chaining in Kotlin requires optional checks in all expressions
- #56 Switch cases with multiple lines not properly indented by {}
- #55 Remove underscore assignments
Sealed classes, guard statements and other improvements
Resolved issues:
- #49: Add feedback error messages when Swift is incorrect into SwiftKotlin App
- #46: Typing double quotes into SwiftKotlin App becomes curly quotes
- #45: Allow Semicolons in Swift Code
- #32: Translate complex enums to Sealed classes
- #21: Optimize guard unwrapping expressions
- #28 and #37: Removed unnecessary annotations in Kotlin