Bow {🏹️} Swift

 |  22 minute read

🌈 Briefing of my tour in Bow: a functional programming library for swift. The project provides comprehensive implementation of functional programming concepts like kind, monad, applicative as well as common function programming techniques such as partial application, curry, memoizations.

📖 For people who want to learn systematic knowledge on functional programming, I do feel this project can be used as a swift version language guide book.

❓ To study the framework: Firstly the bow’s core compnent are throughly analysed, where common syntaxes, typical higher-kinded-types and patterns for functional programming are implemented using Swift. Then an example in nef is explored to see how the above framework is applied in real project. 👼

Read more...

Support Apple Silicon Architecture

 |  2 minute read

🦄️ Finally, in Xcode 14.3 it is no longer supporting rosetta mode. For all the preivous temprary configuration which can work under rosetta mode no it no longer works in the coming version of Xcode.

Read more...

iOS AOP Techniques

 |  12 minute read

Aspect Ortiented Programming is one of the popular topic in past years, as the promoters claims this technique effectively mitigates the challenges co-exists with modern Objective Oriented Programming -> entanglement & dispersion.

  • Entanglement: happens when a business module implements cross-cutting concerns which involves multiple use cases. For example a module involves providing both network as well as logging capabilities. Making the module less focusable on its original design intentions.
  • Dispersion: happens when the calls to the above modules spread through out the entire application.

Now via adopting the AOP concept, the execution code no longer requires the developer to attentionally inserting the interface call of the modules into the code body. Instead, by declaring the suitable insertion point, the relevant aspecs interface invocation is "weaved" into the code execution. Some of the core concepts are listed below:

Read more...