Improve naming in produced framework
* Group top-level declarations by file name instead of package name
* Remove main prefix from Swift class names
* Use 'Kotlin' prefix
* Instead of 'Stdlib'
* In Swift names for KotlinMutableSet/Dictionary, KotlinNumber and subclasses
This commit is contained in:
committed by
SvyatoslavScherbina
parent
2f61cf9fa3
commit
da2736337e
@@ -29,7 +29,7 @@ class ViewController: UIViewController, UITextViewDelegate, UICollectionViewData
|
||||
@IBOutlet var input: UITextView!
|
||||
@IBOutlet var numpad: UICollectionView!
|
||||
|
||||
private let parser = KAPPartialParser(composer: KAPCalculator(), partialComposer: PartialRenderer())
|
||||
private let parser = PartialParser(composer: Calculator(), partialComposer: PartialRenderer())
|
||||
|
||||
@IBAction func numpadButtonPressed(_ sender: UIButton) {
|
||||
let title = sender.currentTitle!
|
||||
@@ -112,7 +112,7 @@ private extension String {
|
||||
}
|
||||
}
|
||||
|
||||
private class PartialRenderer: NSObject, KAPPartialExpressionComposer {
|
||||
private class PartialRenderer: NSObject, PartialExpressionComposer {
|
||||
func missing() -> Any {
|
||||
return "... ".toAttributed()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user