SwiftObjcCocoapodsExample:Swift 和 Objective-C 混合搭配示例

时间:2021-07-03 09:12:59
【文件属性】:
文件名称:SwiftObjcCocoapodsExample:Swift 和 Objective-C 混合搭配示例
文件大小:16KB
文件格式:ZIP
更新时间:2021-07-03 09:12:59
Swift SwiftObjcCocoapods 示例 Swift 、Objective-C 和 Cocoapods 混合搭配示例 它证明了: Swift 调用 Swift 函数 Swift 调用 Objective-C 函数 Objective-C 调用 Swift 函数 Swift 从 Swift 函数调用 Objective-C 函数 并将 Cocoapods 与 Objective-C 创建的强大库集成在一起 #ViewController.swift // call Swift SwiftIPManager. getIP () // call ObjC ObjcIPManager. getIP () // from Objc call Swift ObjcIPManager. getIPFromSwift ()
【文件预览】:
SwiftObjcCocoapodsExample-master
----SwiftObjcCocoapodsExample.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(21KB)
----SwiftObjcCocoapodsExampleTests()
--------Info.plist(752B)
--------SwiftObjcCocoapodsExampleTests.swift(956B)
----Podfile(217B)
----README.md(524B)
----SwiftObjcCocoapodsExample()
--------SwiftIPManager.swift(758B)
--------ViewController.swift(2KB)
--------Info.plist(1KB)
--------AppDelegate.swift(2KB)
--------ObjcIPManager.h(271B)
--------SwiftObjcCocoapodsExample-Bridging-Header.h(154B)
--------ObjcIPManager.m(888B)
--------Base.lproj()
--------Images.xcassets()
----SwiftObjcCocoapodsExample.xcworkspace()
--------contents.xcworkspacedata(243B)

网友评论