два обзора saas-ов от конкурентов mailchimp
ещё saas
два обзора saas-ов от конкурентов mailchimp
ещё saas
This gist demonstrates how to build a Kotlin MPP library so that the iOS sourceSet depends on and uses an iOS Framework as a dependency.
Key ideas:
./gradlew publishToMavenLocalarm64 and x86_64 architectures, you can easily add arm32 if you need.cinterop klib artifact, allowing dependents to also know about the iOS Framework headers.You can find a gist explaining how to use such library in an iOS app [here][ios-app].
| // | |
| // TalkDockViewController.swift | |
| // Dockee | |
| // | |
| // Created by Danny Hertz on 11/30/18. | |
| // Copyright © 2018 Danny Hertz. All rights reserved. | |
| // | |
| import Foundation | |
| import RxCocoa |
The libdispatch is one of the most misused API due to the way it was presented to us when it was introduced and for many years after that, and due to the confusing documentation and API. This page is a compilation of important things to know if you're going to use this library. Many references are available at the end of this document pointing to comments from Apple's very own libdispatch maintainer (Pierre Habouzit).
My take-aways are:
You should create very few, long-lived, well-defined queues. These queues should be seen as execution contexts in your program (gui, background work, ...) that benefit from executing in parallel. An important thing to note is that if these queues are all active at once, you will get as many threads running. In most apps, you probably do not need to create more than 3 or 4 queues.
Go serial first, and as you find performance bottle necks, measure why, and if concurrency helps, apply with care, always validating under system pressure. Reuse
Author: Matthew Johnson
Author: Chris Lattner
This is a curated list of iOS (Swift & ObjC) frameworks which are inspired by React and Elm.
What are Lenses? Great explanation by @mbrandonw
Files:
input.swift - sample structs for which we want helpers to be generatedlens.stencil - sourcery template to generate lenses helpersoutput.swift - sample lenses helpers generatedzLens.swift - simple implementation of lenses, so you can play with itHints: