call OC’s function in swift,在swift中调用OC函数

Hi, here is a demo writed by HunkSmile on github. It shows how to call Objective-C’s function in .swift file. The url is below:

嗨,大家好,github上有个叫 HunkSmile的家伙,已经写了个例子,展示如何在swift中调用之前用OC写的函数。厉害吧,请参加上面的网址。嘿嘿,他还写下:

Write The Code, Change The World


Leave a Reply

Your email address will not be published. Required fields are marked *