Open in app
Home
Notifications
Lists
Stories

Write
Cecilia Humlelu
Cecilia Humlelu

Home

Nov 29, 2019

Building a Swift Static Library

While it is super easy to build a swift framework and set up the dependency. It is also quite easy to build a swift static library. This is what you will achieve after this tutorial: You have created a ColorToken library with one simple function. You know how to add…

Swift

1 min read


Nov 28, 2019

Creating a Hybrid Framework

with Objective-C and Swift Code… Creating a Swift framework is easy, creating a hybrid framework with both Objective-C and Swift is just fun. So let’s get started and this is what you will build. The Most Awesome Framework is called Components. In the Components, there is a TrackRowCell which is…

Swift

3 min read

Creating a Hybrid Framework
Creating a Hybrid Framework

Mar 28, 2019

Using C, C++ and Objective-C frameworks in Swift apps

Using C, C++ and Objective-C frameworks in Swift apps I did a talk in try!Swift Tokyo this year about using C, C++ and Objective-C frameworks in Swift apps. The presentation was quite concise, so I decided to write down the content in details to provide more information. The structure of…

Swift

4 min read

Using C, C++ and Objective-C frameworks in Swift apps
Using C, C++ and Objective-C frameworks in Swift apps

Mar 25, 2019

How different is Japanese language from Chinese?

I was watching a comedy the other day and realized that this is still a thing: Some people do not know that in general Chinese and Japanese people do not understand each other if they speak their own native languages. A lot of people may already know that the Japanese…

Language

3 min read

How different is Japanese language from Chinese?
How different is Japanese language from Chinese?

Feb 27, 2019

Set up C++ library dependencies in Swift projects

is not tricky if we know the tricks. TL;DR Swift can not read C++ code directly, but if we wrap the C++ library into an Objective-C module using Objective C++, it will do the trick. Step One: Create an Objective-C project Xcode ->New->Project->Cocoa touch framework -> Language:Objective-C -> Next. I named my project CppDependencyTutorial. Step Two: Set up project dependency I have…

I OS

3 min read

Set up C++ library dependencies in Swift projects
Set up C++ library dependencies in Swift projects

Feb 26, 2019

Set up C library dependencies in Swift projects (Part 2/2)

Option 2: using module maps TL;DR Part 1 describes how to use public header to setup C library dependencies in Swift projects. A even neater way to set up C library dependencies is to use module maps. Step One: Create a swift project Xcode ->New->Project->Cocoa touch framework -> Language:Swift -> Next. I named my project CDependencyTutorial2. Step Two: Set up project dependency …

Swift

2 min read

Set up C library dependencies in Swift projects (Part 2/2)
Set up C library dependencies in Swift projects (Part 2/2)

Feb 26, 2019

Set up C library dependencies in Swift projects (Part 1/2)

can be pretty simple. TL;DR one simple way to set up C library dependencies is to use public header when setting up a swift project in Xcode. Step One: Create a swift project Xcode ->New->Project->Cocoa touch framework -> Language:Swift -> Next. I named my project CDependencyTutorial. Step Two: Set up project dependency I have a static C framework called ExampleCLibrary. Drag the…

Swift

2 min read

Set up C library dependencies in Swift projects
Set up C library dependencies in Swift projects

Dec 29, 2018

Find places to stay in Japan

is difficult… That is why sharing is caring 😀 TL;DR If you are looking for various places to stay in Japan between 2 weeks and 1 year, this might be interesting for you. As some of you may heard from different sources, finding a place to stay for a medium…

Japan

2 min read

Find places to stay in Japan
Find places to stay in Japan
Cecilia Humlelu

Cecilia Humlelu

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable