iphone - Create iOS framework using swift -


i trying create ios framework using swift. follow blog , few others output not way want.

below original source file

public class testclass: nsobject {      // publicvar description     public var publicvar: int = 0      // dosomething description     public func dosomething() {         print("dosomething method")     } } 

after adding framework project it's create testframwork-swift.h

enter image description here enter image description here

you can see it's not contain description. want framework header files apple.

enter image description here

can me figure out this. not able understand doing wrong. not able add more swift files framework.

just use triple slash instead of double slash comments want show in framework headers.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -