An XCFramework was introduced from Xcode11. This makes it possible to bundle a binary framework for multiple platforms, including iOS devices, iOS simulators, etc.
In current Kotlin/Native project, frameworks built for X86_64 and Arm64 are often used. This new bundle type would be helpful.
In fact, can create a universal…
CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. The dependencies of your projects are specified in simple
Podfile . The following is an example for iOS Xcode project.
// in Podfile
pod 'RxSwift', '5.0.1'
Frameworks build by Kotlin Native are no exception. …
In software engineering. dependency injection is a technique whereby one object supplies the dependencies of another object. A dependency is an object that can be used.
What is dependency?
UIViewController is a key part of iOS application. If you implement a ViewController with storyboard/xib, you use
Which access level do you give those variables?
private . I often use
private . It makes codes concealed and independent from outside. This is good, but…
Smoothing is a technique for reducing noise on the basis of spatial filter.
Same as edge detection, determining kernel K is our interest.
Gaussian filter is one of smoothing filter. Each kernel matrix element is determined by gauss function.
This distribution has the following characteristics
Edge detection is one of spatial filtering.
Edge is the outside limit of an object. At edges, the image’s luminance changes drastically.
Edge detection is to calculate a position luminance changes drastically in the image.
How to calculate the position? Use differential. In continuous domain, the image’s derivatives is
This is a basic section. Others here.
Image Processing is a method to perform some operations on an image.
Metal render advanced 3D graphics and perform data-parallel computations using…
What is coroutines? This official guide is very helpful for understanding what is coroutines and how to use coroutines.
This chapter’s topic is to use coroutines in K/N and its current status.
To use Coroutines in K/N, update dependencies in
We configured K/N project previously.
In this chapter, let’s create simple framework with K/N features.
iosMain/kotlin/actual.kt directories and file in the same way as we did here.
First, start with configuring K/N project on Android Studio, ver 3.3 .
Start a new Android Studio project, select
Empty Acticity .