Kotlin Language Documentation 1.9.2031 Interoperability with Swift/Objective-C Usage Mappings Casting between mapped types Subclassing C features Export of KDoc comments to generated Objective-C headers Unsupported Kotlin/Native library Generated framework headers Garbage collection and reference counting Use the code from Objective-C Use the code from Swift Xcode and framework dependencies Next steps CocoaPods overview and object file? How do I run Kotlin/Native behind a corporate proxy? How do I specify a custom Objective-C prefix/name for my Kotlin framework? How do I rename the iOS framework? How do I enable bitcode0 码力 | 1299 页 | 32.44 MB | 1 年前3
Kotlin 1.9.10 官方文档 中文版
语言的结构与联合类型——教程 映射来自 C 语言的函数指针——教程 映射来自 C 语言的字符串——教程 创建使用 C 语言互操作与 libcurl 的应用——教程 与 Objective-C 互操作性 与 Swift/Objective-C 互操作性 Kotlin/Native 开发 Apple framework——教程 CocoaPods 集成 CocoaPods 概述 添加对 Pod 库的依赖 项目的静态库或动态库以及 C 语言头文件 用于Swift 与 Objective-C 项目的 Apple 框架 支持直接在 Kotlin/Native 中使用以下现有库的互操作: 静态或动态 C 语言库 C 语言、 Swift 以及 Objective-C 框架 将编译后的 Kotlin 代码包含进用 C、 C++、 Swift、 Objective-C 以及其他语言 编写的现有项目中会很容易。 直接在 直接在 Kotlin/Native 中使用现有原生代码、 静 态或动态 C 语言库、 Swift/Objective-C 框架、 图形引擎以及任何其他原生内 容也很容易。 Kotlin/Native 库有助于在多个项目之间共享 Kotlin 代码。 POSIX、 gzip、 OpenGL、 Metal、 Foundation 以及许多其他流行库与 Apple 框架都已预先导入 并作为 Kotlin/Native0 码力 | 3753 页 | 29.69 MB | 1 年前3
Kotlin 官方文档中文版 v1.91.10.3.3 映射来自 C 语言的函数指针——教程 映射来自 C 语言的字符串——教程 创建使用 C 语言互操作与 libcurl 的应用——教程 与 Objective-C 互操作性 与 Swift/Objective-C 互操作性 Kotlin/Native 开发 Apple framework——教程 CocoaPods 集成 CocoaPods 概述 添加对 Pod 库的依赖 语言头文件 用于Swift 与 Objective-C 项目的 Apple 框架 支持直接在 Kotlin/Native 中使用以下现有库的互操作: 静态或动态 C 语言库 Kotlin 原生 37 C 语言、 Swift 以及 Objective-C 框架 将编译后的 Kotlin 代码包含进用 C、 C++、 Swift、 Objective-C 以及其他语言编写的现有项目 中会很容易。 中会很容易。 直接在 Kotlin/Native 中使用现有原生代码、 静态或动态 C 语言库、 Swift/Objective-C 框架、 图形引擎以及任何其他原生内容也很容易。 Kotlin/Native 库有助于在多个项目之间共享 Kotlin 代码。 POSIX、 gzip、 OpenGL、 Metal、 Foundation 以及许多其他流行库与 Apple 框架都已预先导入并作为 Kotlin/Native0 码力 | 2049 页 | 45.06 MB | 1 年前3
Reference guide for Free Pascal, version 3.2.2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 11.10Enumeration in Objective-C classes . . . . . . . . . . . . . . . . . . . . . . . . . . 167 12 Expressions 169 12.1 Expression Objective-C-related constructs. There are two kinds of Objective-C language features, discerned by a version number: Objective-C 1.0 and Objective-C 2.0. The Objective-C 1.0 language features can be enabled by adding the compiler. The Objective-C 2.0 language features can be enabled using a similar modewitch: {$modeswitch objectivec2} or the command-line option -Mobjectivec2. The Objective-C 2.0 language features0 码力 | 268 页 | 700.37 KB | 1 年前3
User’s Guide for Free Pascal, Version 3.2.2cannot be used in interfaces, Objective-C protocols and categories because all methods of an interface/protocol/- category must be public. Error: An interface, helper or Objective-C protocol or category cannot cannot contain fields Declarations of fields are not allowed in interfaces, helpers and Objective-C protocols and categories. An interface/helper/protocol/category can contain only methods and properties Error: REINTRODUCE cannot be used in objects reintroduce is not supported for objects, Objective-C classes and Objective-C protocols. Error: Each argument must have its own location If locations for arguments0 码力 | 217 页 | 756.57 KB | 1 年前3
Kotlin Language Documentation 1.3Platform libraries Kotlin/Native interoperability Kotlin/Native interoperability with Swift/Objective-C CocoaPods integration Kotlin/Native Gradle plugin Coroutines Table of contents Additional and Objective-C projects On the other hand, Kotlin/Native supports interoperability to use existing libraries directly from Kotlin/Native: static or dynamic C Libraries C, Swift, and Objective-C frameworks projects written in C, C++, Swift, Objective-C, and other languages. It is also easy to use existing native code, static or dynamic C libraries, Swift/Objective-C frameworks, graphical engines, and anything0 码力 | 597 页 | 3.61 MB | 1 年前3
Kotlin 1.2 Language DocumentationPlatform libraries Kotlin/Native interoperability Kotlin/Native interoperability with Swift/Objective-C Kotlin/Native Gradle plugin Coroutines Table of contents Coroutine basics Table of contents and Objective-C projects On the other hand, Kotlin/Native supports interoperability to use existing libraries directly from Kotlin/Native: static or dynamic C Libraries C, Swift, and Objective-C frameworks existing projects written in C, C++, Swift, Objective-C, and other languages. It is also easy to use existing native code, static or dynamic C libraries, Swift/Objective-C frameworks, graphical engines, and0 码力 | 333 页 | 2.22 MB | 1 年前3
The Swift Programming LanguageSwift Swift is a new programming language for iOS and OS X apps that builds on the best of C and Objective-C, without the constraints of C compatibility. Swift adopts safe programming patterns and adds modern built on the solid base of Foundation and Cocoa, has been modernized and standardized throughout. Objective-C itself has evolved to support blocks, collection literals, and modules, enabling framework adoption software development. Swift feels familiar to Objective-C developers. It adopts the readability of Objective-C’s named parameters and the power of Objective-C’s dynamic object model. It provides seamless0 码力 | 525 页 | 4.68 MB | 1 年前3
2019-2021 美团技术年货 前端篇设计稿(UI 视图)自动生成代码方案的探索 56 美团外卖终端容器无关化研发框架 74 一款可以让大型 iOS 工程编译速度提升 50% 的工具 96 从预编译的角度理解 Swift 与 Objective-C 及混编机制 108 美团民宿跨端复用框架设计与实践 165 美团跨端一体化富文本管理技术实践 186 前端 | 2020 202 移动端 UI 一致性解决方案 202 美团外卖 API 多个平台各自实现的特殊 Dart Pack- age。Plugin Package 可以为 Android(使用 Kotlin 或 Java)、iOS(使用 Swift 或 Objective-C)、Web、macOS、Windows 或 Linux 或其任意组合 编写插件包。 下面分别对这两种类型 Package 中如何分平台编程进行介绍。 (1) Dart Package 于其在不同场景下的使用。 总结 至此,关于 cocoapods-hmap-prebuilt 的介绍就要结束了。 回看整个故事的开始,Header Map 是我在研究 Swift 和 Objective-C 混编过程中 发现的一个很小的知识点,而且 Xcode 自身就实现了一套基于 Header Map 的功 能,在实际的使用过程中,它的表现并不理想。 但幸运的是,在后续的探索的过程中,我们发现了为什么0 码力 | 738 页 | 50.29 MB | 1 年前3
The Swift Programming Language (Swift 5.7) - Apps Dissectedline: 1 print("Hello, world!") 2 // Prints "Hello, world!" If you have written code in C or Objective-C, this syntax looks familiar to you—in Swift, this line of code is a complete program. You don’t of developing in C and Objective-C. Swift provides its own versions of all fundamental C and Objective-C types, including Int for integers, Double and Float for floating-point values, Bool for Boolean don’t need to change. In addition to familiar types, Swift introduces advanced types not found in Objective-C, such as tuples. Tuples enable you to create and pass around groupings of values. You can use a0 码力 | 1040 页 | 10.90 MB | 1 年前3
共 116 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12













