Skip to content

Instantly share code, notes, and snippets.

@jitinsharma
Created March 18, 2018 08:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jitinsharma/868725057d8c8ee4765c5d78231ed6f1 to your computer and use it in GitHub Desktop.
Save jitinsharma/868725057d8c8ee4765c5d78231ed6f1 to your computer and use it in GitHub Desktop.
import Foundation
open class KotlinBase : NSObject {
open class func initialize()
}
extension KotlinBase : NSCopying {
}
open class BaseHelper : KotlinBase {
public init()
open func getSum(first: Int32, second: Int32) -> Int32
open func sliceFilterAndSort(list: [String]) -> [String]
}
open class BaseHelperCompanion : KotlinBase {
public convenience init()
open func getHelperType() -> String
open var helperId: Int32 { get }
}
open class BaseModel : KotlinBase {
public init(id: Int32, type: String)
open func component1() -> Int32
open func component2() -> String
open func doCopy(id: Int32, type: String) -> BaseModel
open var id: Int32
open var type: String
}
open class Base : KotlinBase {
open class func API_KEY() -> String
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment