How to add multiple methods into Framework?

class SwiftFrameworks
{
  init ()
  {
     println("Class has been initialised")
  }

  fun doSomething()
  {
     println("Yeah, it works")
  }

  fun printMe()
  {
     println("It is PrintMe Method!!!!!")
  }
}

 

import bunnyKit
public init ()
{
  let bunnykit= bunnyKit()
  bunnykit.doSomething() 
  bunnykit.printMe()
}

Powered by WPeMatico

About

You may also like...

Comments are closed.