id
int64
0
3.46k
description
stringlengths
5
3.38k
readme
stringlengths
6
512k
0
LLVM-based compiler for the Nim language
# Introduction [nlvm](https://github.com/arnetheduck/nlvm) (the nim-level virtual machine?) is an [LLVM-based](http://llvm.org) compiler for the [Nim](http://nim-lang.org) language. From Nim's point of view, it's a backend just like C or JavaScript - from LLVM's point of view, it's a language frontend that emits IR. When I started on this little project, I knew neither llvm nor Nim. Therefore, I'd specially like to thank the friendly folks at the #nim channel that never seemed to tire of my nooby questions. Also, thanks to all tutorial writers out there, on llvm, programming and other topics for providing such fine sources of copy-pa... er, inspiration! Questions, patches, improvement suggestions and reviews welcome. When you find bugs, feel free to fix them as well :) Fork and enjoy! Jacek Sieka (arnetheduck on gmail point com) # Status `nlvm` is generally at par with `nim` in terms of features, with the following notable differences: * Fast compile times - no intermediate `C` compiler step * DWARF ("zero-cost") exception handling * High-quality `gdb`/`lldb` debug information with source stepping, type information etc * Smart code generation - compiler intrinsics for overflow checking, smart constant initialization, etc * Native `wasm32` support with no extra tooling Most things from `nim` work just fine (see notes below however!): * the same standard library is used * similar command line options are supported (just change `nim` to `nlvm`!) * `importc` works without needing `C` header files - the declaration in the `.nim` file needs to be accurate Test coverage is not too bad either: * bootstrapping and compiling itself * ~95% of all upstream tests - most failures can be traced to the standard library and compiler relying on C implementation details - see [skipped-tests.txt](skipped-tests.txt) for an updated list of issues * compiling most applications * platforms: linux/x86_64, wasm32 (pre-alpha!) * majority of the nim standard library (the rest can be fixed easily - requires upstream changes however) How you could contribute: * work on making [skipped-tests.txt](skipped-tests.txt) smaller * improve platform support (`osx` and `windows` should be easy, `arm` would be nice) * help `nlvm` generate better IR - optimizations, builtins, exception handling.. * help upstream make std library smaller and more `nlvm`-compatible * send me success stories :) * leave the computer for a bit and do something real for your fellow earthlings `nlvm` does _not_: * understand `C` - as a consequence, `header`, `emit` and similar pragmas will not work - neither will the fancy `importcpp`/`C++` features * support all nim compiler flags and features - do file bugs for anything useful that's missing # Compile instructions To do what I do, you will need: * Linux * A C/C++ compiler (ironically, I happen to use `gcc` most of the time) Start with a clone: cd $SRC git clone https://github.com/arnetheduck/nlvm.git cd nlvm && git submodule update --init We will need a few development libraries installed, mainly due to how `nlvm` processes library dependencies (see dynlib section below): # Fedora sudo dnf install pcre-devel openssl-devel sqlite-devel ninja-build cmake # Debian, ubuntu etc sudo apt-get install libpcre3-dev libssl-dev libsqlite3-dev ninja-build cmake Compile `nlvm` (if needed, this will also build `nim` and `llvm`): make Compile with itself and compare: make compare Run test suite: make test make stats You can link statically to LLVM to create a stand-alone binary - this will use a more optimized version of LLVM as well, but takes longer to build: make STATIC_LLVM=1 If you want a faster `nlvm`, you can also try the release build - it will be called `nlvmr`: make STATIC_LLVM=1 nlvmr When you update `nlvm` from `git`, don't forget the submodule: git pull && git submodule update To build a docker image, use: make docker To run built `nlvm` docker image use: docker run -v $(pwd):/code/ nlvm c -r /code/test.nim # Compiling your code On the command line, `nlvm` is mostly compatible with `nim`. When compiling, `nlvm` will generate a single `.o` file with all code from your project and link it using `$CC` - this helps it pick the right flags for linking with the C library. cd $SRC/nlvm/Nim/examples ../../nlvm/nlvm c fizzbuzz If you want to see the generated LLVM IR, use the `-c` option: cd $SRC/nlvm/Nim/examples ../../nlvm/nlvm c -c fizzbuzz less fizzbuzz.ll You can then run the LLVM optimizer on it: opt -Os fizzbuzz.ll | llvm-dis ... or compile it to assembly (`.s`): llc fizzbuzz.ll less fizzbuzz.s Apart from the code of your `.nim` files, the compiler will also mix in the compatibility found library in `nlvm-lib/`. ## Pipeline Generally, the `nim` compiler pipeline looks something like this: nim --> c files --> IR --> object files --> executable In `nlvm`, we remove one step and bunch all the code together: nim --> IR --> single object file --> executable Going straight to the IR means it's possible to express nim constructs more clearly, allowing `llvm` to understand the code better and thus do a better job at optimization. It also helps keep compile times down, because the `c-to-IR` step can be avoided. The practical effect of generating a single object file is similar to `gcc -fwhole-program -flto` - it is expensive in terms of memory, but results in slightly smaller and faster binaries. Notably, the `IR-to-machine-code` step, including any optimizations, is repeated in full for each recompile. ## Common issues ### dynlib `nim` uses a runtime dynamic library loading scheme to gain access to shared libraries. When compiling, no linking is done - instead, when running your application, `nim` will try to open anything the user has installed. `nlvm` does not support the `{.dynlib.}` pragma - instead you can use `{.passL.}` using normal system linking. ```nim # works with `nim` proc f() {. importc, dynlib: "mylib" .} # works with both `nim` and `nlvm` {.passL: "-lmylib".} proc f() {. importc .} ``` ### header and emit When `nim` compiles code, it will generate `c` code which may include other `c` code, from headers or directly via `emit` statements. This means `nim` has direct access do symbols declared in the `c` file, which can be both a feature and a problem. In `nlvm`, `{.header.}` directives are ignored - `nlvm` looks strictly at the signature of the declaration, meaning the declaration must _exactly_ match the `c` header file or subtly ABI issues and crashes ensue! ```nim # When `nim` encounters this, it will emit `jmp_buf` in the `c` code without # knowing the true size of the type, letting the `c` compiler determine it # instead. type C_JmpBuf {.importc: "jmp_buf", header: "<setjmp.h>".} = object # nlvm instead ignores the `header` directive completely and will use the # declaration as written. Failure to correctly declare the type will result # in crashes and subtle bugs - memory will be overwritten or fields will be # read from the wrong offsets. # # The following works with both `nim` and `nlvm`, but requires you to be # careful to match the binary size and layout exactly (note how `bycopy` # sometimes help to further nail down the ABI): when defined(linux) and defined(amd64): type C_JmpBuf {.importc: "jmp_buf", bycopy.} = object abi: array[200 div sizeof(clong), clong] # In `nim`, `C` constant defines are often imported using the following trick, # which makes `nim` emit the right `C` code that the value from the header # can be read (no writing of course, even though it's a `var`!) # # assuming a c header with: `#define RTLD_NOW 2` # works for nim: var RTLD_NOW* {.importc: "RTLD_NOW", header: "<dlfcn.h>".}: cint # both nlvm and nim (note how these values often can be platform-specific): when defined(linux) and defined(amd64): const RTLD_NOW* = cint(2) ``` ### wasm32 support `wasm32` support is still very bare-bones, so you will need to do a bit of tinkering to get it to work. Presently, the `wasm32-unknown-unknown` target is mapped to `--os:standalone` and `--cpu:wasm32` - this choice represents a very raw `wasm` engine with 32-bit little-endian integers and pointers - in the future, the `nim` standard library and `system.nim` will need to be updated to support WASM system interfaces like emscripten or WASI. To compile wasm files, you will thus need a `panicoverride.nim` - a minimal example looks like this and discards any errors: ```nim # panicoverride.nim proc rawoutput(s: string) = discard proc panic(s: string) {.noreturn.} = discard ``` After placing the above code in your project folder, you can compile `.nim` code to `wasm32`: ```nim # myfile.nim proc adder*(v: int): int {.exportc.} = v + 4 ``` ```sh nlvm c --cpu:wasm32 --os:standalone --gc:none --passl:--no-entry myfile.nim wasm2wat -l myfile.wasm ``` # Random notes * Upstream is pinned using a submodule - nlvm relies heavily on internals that keep changing - it's unlikely that it works with any other versions, patches welcome to update it * The nim standard library likes to import C headers directly which works because the upstream nim compiler uses a C compiler underneath - ergo, large parts of the standard library don't work with nlvm. * Happy to take patches for anything, including better platform support! * For development, it's convenient to build LLVM with assertions turned on - the API is pretty unforgiving
1
Nimbus: an Ethereum Execution Client for Resource-Restricted Devices
# Nimbus: ultra-light Ethereum execution layer client [![License: Apache](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) ![GH action-nimbus-eth1](https://github.com/status-im/nimbus-eth1/workflows/CI/badge.svg) ![GH action-fluffy](https://github.com/status-im/nimbus-eth1/workflows/fluffy%20CI/badge.svg) [![Discord: Nimbus](https://img.shields.io/badge/discord-nimbus-orange.svg)](https://discord.gg/XRxWahP) [![Status: #nimbus-general](https://img.shields.io/badge/status-nimbus--general-orange.svg)](https://get.status.im/chat/public/nimbus-general) ## Introduction This repository contains development work on an execution-layer client to pair with [our consensus-layer client](https://github.com/status-im/nimbus-eth2). This client focuses on efficiency and security and strives to be as light-weight as possible in terms of resources used. This repository is also home to: - [Fluffy](./fluffy/README.md), a [Portal Network](https://github.com/ethereum/stateless-ethereum-specs/blob/master/portal-network.md) light client. - [Nimbus Verified Proxy](./nimbus_verified_proxy/README.md) All consensus-layer client development is happening in parallel in the [nimbus-eth2](https://github.com/status-im/nimbus-eth2) repository. ## Development Updates Monthly development updates are shared [here](https://hackmd.io/jRpxY4WBQJ-hnsKaPDYqTw). Some recent highlights include: - Renewed funding from the EF to accelerate development - Completed Berlin and London fork compatibility (EIP-1559). It now passes nearly all the EF Hive testsuite, and 100% of contract execution tests (47,951 tests) - New GraphQL and WebSocket APIs, complementing JSON-RPC - EVMC compatibility, supporting third-party optimised EVM plugins - Up to 100x memory saving during contract executions - Asynchronous EVM to execute many contracts in parallel, while they wait for data from the network - Proof-of-authority validation for the Goerli test network - Updated network protocols, to work with the latest eth/65-66 and snap/1 protocols - A prototype new mechanism for state sync which combines what have been called Fast sync, Snap sync and Beam sync in a self-tuning way, and allows the user to participate in the network (read accounts, run transactions etc.) while sync is still in progress - A significant redesign of the storage database to use less disk space and run faster. For more detailed write-ups on the development progress, follow the [Nimbus blog](https://our.status.im/tag/nimbus/). ## Building & Testing ### Prerequisites * [RocksDB](https://github.com/facebook/rocksdb/) * GNU Make, Bash and the usual POSIX utilities. Git 2.9.4 or newer. On Windows, a precompiled DLL collection download is available through the `fetch-dlls` Makefile target: ([Windows instructions](#windows)). ```bash # MacOS with Homebrew brew install rocksdb # Fedora dnf install rocksdb-devel # Debian and Ubuntu sudo apt-get install librocksdb-dev # Arch (AUR) pakku -S rocksdb ``` `rocksdb` can also be installed by following [their instructions](https://github.com/facebook/rocksdb/blob/master/INSTALL.md). #### Obtaining the prerequisites through the Nix package manager *Experimental* Users of the [Nix package manager](https://nixos.org/nix/download.html) can install all prerequisites simply by running: ``` bash nix-shell default.nix ``` ### Build & Develop #### POSIX-compatible OS ```bash # The first `make` invocation will update all Git submodules. # You'll run `make update` after each `git pull`, in the future, to keep those submodules up to date. # Assuming you have 4 CPU cores available, you can ask Make to run 4 parallel jobs, with "-j4". make -j4 nimbus # See available command line options build/nimbus --help # Start syncing with mainnet build/nimbus # Update to latest version git pull make -j4 update # Run tests make test ``` To run a command that might use binaries from the Status Nim fork: ```bash ./env.sh bash # start a new interactive shell with the right env vars set which nim nim --version # or without starting a new interactive shell: ./env.sh which nim ./env.sh nim --version ``` Our Wiki provides additional helpful information for [debugging individual test cases][1] and for [pairing Nimbus with a locally running copy of Geth][2]. #### Windows _(Experimental support!)_ Install Mingw-w64 for your architecture using the "[MinGW-W64 Online Installer](https://sourceforge.net/projects/mingw-w64/files/)" (first link under the directory listing). Run it and select your architecture in the setup menu ("i686" on 32-bit, "x86\_64" on 64-bit), set the threads to "win32" and the exceptions to "dwarf" on 32-bit and "seh" on 64-bit. Change the installation directory to "C:\mingw-w64" and add it to your system PATH in "My Computer"/"This PC" -> Properties -> Advanced system settings -> Environment Variables -> Path -> Edit -> New -> C:\mingw-w64\mingw64\bin (it's "C:\mingw-w64\mingw32\bin" on 32-bit) Install [Git for Windows](https://gitforwindows.org/) and use a "Git Bash" shell to clone and build Nimbus. Install [cmake](https://cmake.org/). If you don't want to compile RocksDB and SQLite separately, you can fetch pre-compiled DLLs with: ```bash mingw32-make fetch-dlls # this will place the right DLLs for your architecture in the "build/" directory ``` You can now follow those instructions in the previous section by replacing `make` with `mingw32-make` (regardless of your 32-bit or 64-bit architecture): ```bash mingw32-make nimbus # build the Nimbus binary mingw32-make test # run the test suite # etc. ``` #### Raspberry PI *Experimental* The code can be compiled on a Raspberry PI: * Raspberry PI 3b+ * 64gb SD Card (less might work too, but the default recommended 4-8GB will probably be too small) * [Rasbian Buster Lite](https://www.raspberrypi.org/downloads/raspbian/) - Lite version is enough to get going and will save some disk space! Assuming you're working with a freshly written image: ```bash # Start by increasing swap size to 2gb: sudo vi /etc/dphys-swapfile # Set CONF_SWAPSIZE=2048 # :wq sudo reboot # Install prerequisites sudo apt-get install git libgflags-dev libsnappy-dev mkdir status cd status # Install rocksdb git clone https://github.com/facebook/rocksdb.git cd rocksdb make shared_lib sudo make install cd.. # Raspberry pi doesn't include /usr/local/lib in library search path - need to add export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH git clone https://github.com/status-im/nimbus.git cd nimbus # Follow instructions above! ``` #### Android *Experimental* Code can be compiled and run on Android devices ##### Environment setup * Install the [Termux](https://termux.com) app from FDroid or the Google Play store * Install a [PRoot](https://wiki.termux.com/wiki/PRoot) of your choice following the instructions for your preferred distribution. Note, the Ubuntu PRoot is known to contain all Nimbus prerequisites compiled on Arm64 architecture (common architecture for Android devices). Depending on the distribution, it may require effort beyond the scope of this guide to get all prerequisites. *Assuming Ubuntu PRoot is used* ```bash # Install prerequisites apt install librocksdb-dev # Clone repo and build Nimbus just like above git clone https://github.com/status-im/nimbus.git cd nimbus make make nimbus build/nimbus ``` ### <a name="make-xvars"></a>Experimental make variables Apart from standard Make flags (see link in the next [chapter](#devel-tips)), the following Make variables can be set to control which version of a virtual engine is compiled. The variables are listed with decreasing priority (in case of doubt, the lower prioritised variable is ignored when the higher on is available.) * ENABLE_CHUNKED_RLPX=0<br> Disable legacy chunked RLPx messages which are enabled by default for synchronising against `Nethermind` nodes * ENABLE_EVMC=1<br> Enable mostly EVMC compliant wrapper around the native Nim VM * ENABLE_VM2LOWMEM=1<br> Enable new re-factored version of the native Nim VM. This version is not optimised and coded in a way so that low memory compilers can handle it (observed on 32 bit windows 7.) * ENABLE_VM2=1<br> Enable new re-factored version of the native Nim VM. For these variables, using &lt;variable&gt;=0 is ignored and &lt;variable&gt;=2 has the same effect as &lt;variable&gt;=1 (ditto for other numbers.) ### <a name="devel-tips"></a>Development tips Interesting Make variables and targets are documented in the [nimbus-build-system](https://github.com/status-im/nimbus-build-system) repo. - you can switch the DB backend with a Nim compiler define: `-d:nimbus_db_backend=...` where the (case-insensitive) value is one of "rocksdb" (the default), "sqlite", "lmdb" - the Premix debugging tools are [documented separately](premix/readme.md) - you can control the Makefile's verbosity with the V variable (defaults to 0): ```bash make V=1 # verbose make V=2 test # even more verbose ``` - same for the [Chronicles log level](https://github.com/status-im/nim-chronicles#chronicles_log_level): ```bash make LOG_LEVEL=DEBUG nimbus # this is the default make LOG_LEVEL=TRACE nimbus # log everything ``` - pass arbitrary parameters to the Nim compiler: ```bash make NIMFLAGS="-d:release" ``` - if you want to use SSH keys with GitHub (also handles submodules): ```bash make github-ssh ``` - force a Nim compiler rebuild: ```bash rm vendor/Nim/bin/nim make -j8 build-nim ``` - some programs in the _tests_ subdirectory do a replay of blockchain database dumps when compiled and run locally. The dumps are found in [this](https://github.com/status-im/nimbus-eth1-blobs) module which need to be cloned as _nimbus-eth1-blobs_ parellel to the _nimbus-eth1_ file system root. #### Git submodule workflow Working on a dependency: ```bash cd vendor/nim-chronicles git checkout -b mybranch # make some changes git status git commit -a git push origin mybranch # create a GitHub PR and wait for it to be approved and merged git checkout master git pull git branch -d mybranch # realise that the merge was done without "--no-ff" git branch -D mybranch # update the submodule's commit in the superproject cd ../.. git status git add vendor/nim-chronicles git commit ``` It's important that you only update the submodule commit after it's available upstream. You might want to do this on a new branch of the superproject, so you can make a GitHub PR for it and see the CI test results. Don't update all Git submodules at once, just because you found the relevant Git command or `make` target. You risk updating submodules to other people's latest commits when they are not ready to be used in the superproject. Adding the submodule "https://github.com/status-im/foo" to "vendor/foo": ```bash vendor/nimbus-build-system/scripts/add_submodule.sh status-im/foo # or ./env.sh add_submodule status-im/foo # want to place it in "vendor/bar" instead? ./env.sh add_submodule status-im/foo vendor/bar ``` Removing the submodule "vendor/bar": ```bash git submodule deinit -f -- vendor/bar git rm -f vendor/bar ``` Checking out older commits, either to bisect something or to reproduce an older build: ```bash git checkout <commit hash here> make clean make -j8 update ``` Running a dependency's test suite using `nim` instead of `nimble` (which cannot be convinced not to run a dependency check, thus clashing with our jury-rigged "vendor/.nimble/pkgs"): ```bash cd vendor/nim-rocksdb ../nimbus-build-system/scripts/nimble.sh test # or ../../env.sh nimble test ``` ### Metric visualisation Install Prometheus and Grafana. On Gentoo, it's `emerge prometheus grafana-bin`. ```bash # build Nimbus make nimbus # the Prometheus daemon will create its data dir in the current dir, so give it its own directory mkdir ../my_metrics # copy the basic config file over there cp -a examples/prometheus.yml ../my_metrics/ # start Prometheus in a separate terminal cd ../my_metrics prometheus --config.file=prometheus.yml # loads ./prometheus.yml, writes metric data to ./data # start a fresh Nimbus sync and export metrics rm -rf ~/.cache/nimbus/db; ./build/nimbus --prune:archive --metricsServer ``` Start the Grafana server. On Gentoo it's `/etc/init.d/grafana start`. Go to http://localhost:3000, log in with admin:admin and change the password. Add Prometheus as a data source. The default address of http://localhost:9090 is OK, but Grafana 6.3.5 will not apply that semitransparent default you see in the form field, unless you click on it. Create a new dashboard. Click on its default title in the upper left corner ("New Dashboard"). In the new page, click "Import dashboard" in the right column and upload "examples/Nimbus-Grafana-dashboard.json". In the main panel, there's a hidden button used to assign metrics to the left or right Y-axis - it's the coloured line on the left of the metric name, in the graph legend. To see a single metric, click on its name in the legend. Click it again to go back to the combined view. To edit a panel, click on its title and select "Edit". [Obligatory screenshot.](https://i.imgur.com/AdtavDA.png) ### Troubleshooting Report any errors you encounter, please, if not [already documented](https://github.com/status-im/nimbus/issues)! * Turn it off and on again: ```bash make clean make update ``` ## License Licensed and distributed under either of * MIT license: [LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT or * Apache License, Version 2.0, ([LICENSE-APACHEv2](LICENSE-APACHEv2) or https://www.apache.org/licenses/LICENSE-2.0) at your option. These files may not be copied, modified, or distributed except according to those terms. [1]: https://github.com/status-im/nimbus/wiki/Understanding-and-debugging-Nimbus-EVM-JSON-tests [2]: https://github.com/status-im/nimbus/wiki/Debugging-state-reconstruction
2
A curated list of awesome Nim frameworks, libraries, software and resources.
<h1> <a href="https://nim-lang.org"><img src="asset/awesome-nim-logo.svg" alt="Awesome-nim-logo" width="600"/></a><a href="https://awesome.re"><img align="right" src="https://awesome.re/badge.svg"></a> </h1> > A curated list of awesome Nim frameworks, libraries, software and resources. [Nim](https://nim-lang.org/) is a statically typed compiled systems programming language. Good for everything from shell scripting to web front & backend, to ML, HPC, and embedded. <h2> Contents </h2> - [Language Features](#language-features) - [Implementations](#implementations) - [Standard Libraries](#standard-libraries) - [Package Repositories](#package-repositories) - [Editors](#editors) - [Async IO](#async-io) - [Threading](#threading) - [Error Handling](#error-handling) - [Contracts](#contracts) - [Object-Oriented Programming](#object-oriented-programming) - [Functional Programming](#functional-programming) - [Pattern Matching](#pattern-matching) - [Iteration](#iteration) - [Macros](#macros) - [Operating System](#operating-system) - [System API](#system-api) - [IO](#io) - [Processes](#processes) - [Date and Time](#date-and-time) - [Randomization](#randomization) - [Scripting](#scripting) - [Hardware](#hardware) - [Embedded](#embedded) - [Science](#science) - [Data](#data) - [Database](#database) - [Driver](#driver) - [ORM](#orm) - [Data Structures](#data-structures) - [Data Processing](#data-processing) - [Parsing](#parsing) - [Serialization](#serialization) - [Text](#text) - [String Types](#string-types) - [Translation](#translation) - [Markdown](#markdown) - [Multimedia](#multimedia) - [Audio](#audio) - [Images](#images) - [Documents](#documents) - [Algorithms](#algorithms) - [Math](#math) - [Symbolic](#symbolic) - [FFT](#fft) - [Vector](#vector) - [Matrix](#matrix) - [Deep Learning](#deep-learning) - [Bigints](#bigints) - [Cryptography](#cryptography) - [Blockchain](#blockchain) - [Compression](#compression) - [User Interface](#user-interface) - [Terminal](#terminal) - [Design](#design) - [GUI](#gui) - [Crossplatform](#crossplatform) - [Windows](#windows) - [Linux](#linux) - [Web Technology](#web-technology) - [Lightweight](#lightweight) - [Plotting](#plotting) - [Web](#web) - [Protocols](#protocols) - [DNS](#dns) - [QUIC](#quic) - [Websockets](#websockets) - [Messaging](#messaging) - [HTML Parsers](#html-parsers) - [HTTP Servers](#http-servers) - [Frameworks](#frameworks) - [Template Engines](#template-engines) - [Authentication](#authentication) - [Game Development](#game-development) - [Game Libraries](#game-libraries) - [Game Frameworks](#game-frameworks) - [Game Engines](#game-engines) - [Rules Engines](#rules-engines) - [Development Tools](#development-tools) - [Editor Integration](#editor-integration) - [REPL](#repl) - [Binding Generators](#binding-generators) - [Build Systems / Package Management](#build-systems--package-management) - [Logging](#logging) - [Testing](#testing) - [Fuzzing](#fuzzing) - [Benchmarking](#benchmarking) - [Command-Line Interface Automation](#command-line-interface-automation) - [Resources](#resources) - [Books](#books) - [Blogs](#blogs) - [Community](#community) - [Tutorials](#tutorials) - [Videos](#videos) ## Language Features ### Implementations - [Nim](https://github.com/nim-lang/Nim) - Nim (formerly known as "Nimrod") is a compiled, garbage-collected systems programming language which has an excellent productivity/performance ratio. Nim's design focuses on efficiency, expressiveness, elegance (in the order of priority). - [nlvm](https://github.com/arnetheduck/nlvm) - LLVM backend for Nim. ### Standard Libraries Nim provides unique features for seamless and transparent interoperability with other technologies. Some users found it useful to make other standard libraries usable from Nim. - [cpython](https://github.com/juancarlospaco/cpython) - Python standard library for Nim. - [Node.js](https://github.com/juancarlospaco/nodejs) - Node.js standard library for Nim. ### Package Repositories - [Nim packages](https://github.com/nim-lang/packages) - List of packages for Nimble. - [Nim package directory](https://nimble.directory/) - Explore Nim packages known to Nimble. ### Editors - [moe](https://github.com/fox0430/moe) - A vim-like editor made with Nim, also supports C, Rust, Javascript, etc. - [Nim Playground](https://play.nim-lang.org/) - Code and run Nim online. - [DoongJohn's Nim playground](https://doongjohn.github.io/nim-playground/) - An alternative implementation of the Nim playground. ### Async IO - [std/async](https://nim-lang.org/docs/async.html) - Async/await implementation in Nim's stdlib (aka asyncdispatch). - [chronos](https://github.com/status-im/nim-chronos) - An efficient library for asynchronous programming. - [cps](https://github.com/disruptek/cps) - Continuation-Passing Style for Nim. ### Threading - [weave](https://github.com/mratsim/weave) - A state-of-the-art multithreading runtime: message-passing based, fast, scalable, ultra-low overhead. - [timerpool](https://github.com/mikra01/timerpool) - Threadsafe timerpool implementation for event purposes. - [taskpools](https://github.com/status-im/nim-taskpools) - Lightweight, energy-efficient, easily auditable threadpools. - [shared](https://github.com/genotrance/shared) - A Nim library for shared types. - [synthesis](https://github.com/mratsim/Synthesis) - A compiletime, procedure-based, low-overhead, no-allocation, state-machine generator optimized for communicating processes and threads. - [sync](https://github.com/planetis-m/sync) - Useful synchronization primitives. ### Error Handling - [result](https://github.com/arnetheduck/nim-result/) - Friendly, exception-free value-or-error returns, similar to Option[T]. - [questionable](https://github.com/status-im/questionable) - Elegant optional types for Nim. - [optionsutils](https://github.com/PMunch/nim-optionsutils) - Utility macros for easier handling of options in Nim. ### Contracts - [contracts](https://github.com/Udiknedormin/NimContracts) - Used to make contracts - elegant promises that pieces of code will fulfill certain conditions. - [contra](https://github.com/juancarlospaco/nim-contra) - Lightweight and fast self-documenting design by contract programming. ### Object-Oriented Programming - [oop_utils](https://github.com/bluenote10/oop_utils) - Nim macros for building OOP class hierarchies. - [interfaced](https://github.com/andreaferretti/interfaced) - Interfaces for Nim. - [traitor](https://github.com/beef331/traitor) - A macro heavy trait library made from boredom. - [classy](https://github.com/nigredo-tori/classy) - Haskell-style typeclasses for Nim. ### Functional Programming - [cascade](https://github.com/citycide/cascade) - Method & assignment cascades for Nim, inspired by Smalltalk & Dart. - [nimfp](https://github.com/vegansk/nimfp) - Nim functional programming library. - [nim-pipexp](https://github.com/ShalokShalom/nim-pipexp) - Expression-based pipe operators with placeholder argument for Nim. - [pipe](https://github.com/5paceToast/pipe) - Pipe operator for Nim, as seen in functional languages. - [zero-functional](https://github.com/zero-functional/zero-functional) - A library providing (almost) zero-cost chaining for functional abstractions in Nim. ### Pattern Matching - [regex](https://github.com/nitely/nim-regex) - Pure Nim regex engine with linear time match. - [npeg](https://github.com/zevv/npeg) - PEGs for Nim, another take. - [patty](https://github.com/andreaferretti/patty) - A pattern matching library for Nim. - [gara](https://github.com/alehander42/gara) - Macro-based pattern matching library. - [glob](https://github.com/citycide/glob) - Pure library for matching file paths against Unix style glob patterns. - [ast_pattern_match](https://github.com/krux02/ast-pattern-matching) - A library to do pattern matching on the AST. - [awk](https://github.com/greencardamom/awk) - A library of awk functions in Nim. ### Iteration - [iterrr](https://github.com/hamidb80/iterrr) - Macros-based functional-style, lazy-like, extensible iterator library. - [itertools](https://github.com/narimiran/itertools) - Nim rewrite of a very popular Python module of the same name. - [loopfusion](https://github.com/numforge/loopfusion) - Iterate efficiently over a variadic number of containers. - [looper](https://github.com/b3liever/looper) - For loop macros for Nim. - [mangle](https://github.com/baabelfish/mangle) - Attempt at a streaming library. ### Macros - [macroutils](https://github.com/PMunch/macroutils) - A package that makes creating macros easier. - [nimacros](https://github.com/FemtoEmacs/nimacros) - Documentation for Nim macros. - [unpack](https://github.com/technicallyagd/unpack) - Sequence/object unpacking/destructuring. - [with](https://github.com/zevv/with) - The `with` macro for Nim. - [memo](https://github.com/andreaferretti/memo) - Memoization for Nim. ## Operating System ### System API - [winim](https://github.com/khchen/winim) - Nim's Windows API and COM Library. - [serial](https://github.com/euantorano/serial.nim) - A Nim library for accessing serial ports. - [tempdir](https://github.com/euantorano/tempdir.nim) - A Nim library to create and manage temporary directories. - [nimbluez](https://github.com/Electric-Blue/NimBluez) - Nim modules for access to system Bluetooth resources. ### IO - [std/selectors](https://nim-lang.org/docs/selectors.html) - Epoll/Kqueue/Select implementation in Nim's stdlib. - [ioselectors](https://github.com/xflywind/ioselectors) - The ioselectors plus for Nim. - [wepoll](https://github.com/xflywind/wepoll) - Windows epoll wrapper for Nim. - [faststreams](https://github.com/status-im/nim-faststreams) - Nearly zero-overhead input/output streams for Nim. - [lockfreequeues](https://github.com/elijahr/lockfreequeues) - Lock-free queue implementations for Nim. ### Processes - [psutil](https://github.com/johnscillieri/psutil-nim) - A port of Python's psutil to Nim. - [shell](https://github.com/Vindaar/shell) - A mini Nim DSL to execute shell commands more conveniently. - [schedules](https://github.com/soasme/nim-schedules) - A Nim scheduler library that lets you kick off jobs at regular intervals. - [daemon](https://github.com/status-im/nim-daemon) - Cross-platform process daemonization library for the Nim language. ### Date and Time - [datetime2human](https://github.com/juancarlospaco/nim-datetime2human) - Calculate date & time with precision from seconds to millenniums. Human friendly date time as string. ISO-8601. - [timezones](https://github.com/GULPF/timezones) - Nim timezone library compatible with the standard library. - [chrono](https://github.com/treeform/chrono) - A timestamps, calendars, and timezones library. ### Randomization - [random](https://github.com/oprypin/nim-random) - Random number generation library for Nim, inspired by Python's "random" module. - [sysrandom.nim](https://github.com/euantorano/sysrandom.nim) - A Nim library to generate random numbers and random ranges of bytes using the system's PRNG. - [alea](https://github.com/andreaferretti/alea) - Define and compose random variables. - [drand48](https://github.com/JeffersonLab/drand48) - Nim implementation of the standard Unix drand48 random number generator. ### Scripting - [nimcr](https://github.com/PMunch/nimcr) - Running Nim code with Shebangs. - [nimr](https://github.com/Jeff-Ciesielski/nimr) - Run Nim programs like scripts. ## Hardware - [nimvisa](https://github.com/leeooox/nimvisa) - Wrapper for NI-VISA instrument control library. - [ftd2xx](https://github.com/leeooox/ftd2xx) - Wrapper for FTDI ftd2xx library (USB to JTAG/SPI/I2C/Bitbang etc.). ### Embedded - [ratel](https://github.com/PMunch/ratel) - Next-generation, zero-cost abstraction microconroller programming in Nim. - [ardunimo](https://github.com/gokr/ardunimo) - Nim wrapper for Arduino + LinkIt ONE SDK by Mediatek. - [ardunimesp](https://gitlab.com/NetaLabTek/Arduimesp) - Nim wrapper for Arduino ESP8266 framework + A tool for flashing, compiling and making a Nim project into an Arduino project. - [msp430f5510](https://gitlab.com/jalexander8717/msp430f5510-nim) - Run Nim on MSP430f5510 micro-controller (6KB of RAM). - [Nesper](https://github.com/elcritch/nesper) - Program the ESP32 using Nim. Library on top of esp-idf. - [stm32f3](https://github.com/mwbrown/nim_stm32f3) - Run Nim on STM32F3 micro-controller (16KB of RAM). - [boneIO](https://github.com/xyz32/boneIO) - GPIO implementation for the BeagleBone Black for Nim. ## Science - [units](https://github.com/Udiknedormin/NimUnits) - Statically-typed quantity units library for the Nim language. - [unchained](https://github.com/SciNim/Unchained) - A fully type safe, compile time only units library. - [metric](https://github.com/mjendrusch/metric) - A small library providing type-level dimensional analysis. - [orbits](https://github.com/treeform/orbits) - Orbital mechanics library for Nim. ## Data ### Database #### Driver - [nimongo](https://github.com/SSPkrolik/nimongo) - Pure Nim lang MongoDB driver. - [asyncpg](https://github.com/cheatfate/asyncpg) - Asynchronous PostgreSQL driver for Nim. - [anonimongo](https://github.com/mashingan/anonimongo) - Another Nim pure Mongo DB driver. - [redis](https://github.com/nim-lang/redis) - Official redis wrapper for Nim. - [amysql](https://github.com/bung87/amysql) - Async MySQL Connector write in pure Nim. - [mycouch](https://github.com/hamidb80/mycouch) - Multisync CouchDB driver for Nim. - [SQLiteral](https://github.com/olliNiinivaara/SQLiteral) - A high level SQLite API for Nim. - [asyncmysql](https://github.com/tulayang/asyncmysql) - Asynchronous MySQL connector written in pure Nim. - [sqlcipher](https://github.com/status-im/nim-sqlcipher) - SQLCipher wrapper. - [litestore](https://github.com/h3rald/litestore) - A lightweight, self-contained, RESTful, searchable, multi-format NoSQL document store. - [rocksdb](https://github.com/status-im/nim-rocksdb) - Nim wrapper for RocksDB, a persistent key-value store for flash and RAM Storage. #### ORM - [ormin](https://github.com/Araq/ormin) - Prepared SQL statement generator , A lightweight ORM. - [allographer](https://github.com/itsumura-h/nim-allographer) - A query_builder/ORM library inspired by Laravel/PHP and Orator/Python for Nim. - [gatabase](https://github.com/juancarlospaco/nim-gatabase) - Connection-Pooling Compile-Time ORM for Nim. - [norm](https://github.com/moigagoo/norm) - Norm is an object-oriented, framework-agnostic ORM for Nim that supports SQLite and PostgreSQL. ### Data Structures - [BitVector](https://github.com/MarcAzar/BitVector) - A high-performance Nim implementation of BitVectors. - [rbtree](https://github.com/Nycto/RBTreeNim) - A Red/Black tree implementation in Nim. - [quadtree](https://github.com/Nycto/QuadtreeNim) - A Quadtree library for Nim. - [kdtree](https://github.com/jblindsay/kdtree) - A pure Nim k-d tree implementation for efficient spatial querying of point data. - [RTree](https://github.com/StefanSalewski/RTree) - Generic R-tree implementation for Nim. - [sorta](https://github.com/narimiran/sorta) - SortedTables in Nim, based on B-trees. - [minmaxheap](https://github.com/StefanSalewski/minmaxheap) - A Nim implementation of a Minimum-Maximum heap. - [BipBuffer](https://github.com/MarcAzar/BipBuffer) - A Nim implementation of Simon Cooke's Bib Buffer - [bloom](https://github.com/boydgreenfield/nimrod-bloom) - Bloom filter implementation in Nim. - [binaryheap](https://github.com/bluenote10/nim-heap) - Simple binary heap implementation in Nim. - [faststack](https://github.com/Vladar4/FastStack) - Dynamically resizable data structure for fast iteration over large arrays of similar elements. - [StashTable](https://github.com/olliNiinivaara/StashTable) - Concurrent hash tables for Nim. ### Data Processing - [NimData](https://github.com/bluenote10/NimData) - DataFrame API written in Nim, enabling fast out-of-core data processing. - [Datamancer](https://github.com/SciNim/Datamancer) - A dataframe library with a dplyr like API. - [nimdataframe](https://github.com/qqtop/nimdataframe) - Dataframe for Nim. - [nimhdf5](https://github.com/Vindaar/nimhdf5) - Wrapper and some simple high-level bindings for the HDF5 library for Nim. - [mpfit](https://github.com/Vindaar/nim-mpfit) - A wrapper for the cMPFIT library for Nim. ### Parsing - [parsetoml](https://github.com/NimParsers/parsetoml) - A Nim library to parse TOML files. - [NimYAML](https://github.com/flyx/NimYAML) - YAML implementation for Nim. - [Binarylang](https://github.com/sealmove/binarylang) - Extensible Nim DSL for creating binary parsers/encoders in a symmetric fashion. ### Serialization - [serialization](https://github.com/status-im/nim-serialization) - A modern and extensible serialization framework for Nim. - [json-serialization](https://github.com/status-im/nim-json-serialization) - Flexible JSON serialization not relying on run-time type information. - [protobuf-serialization](https://github.com/status-im/nim-protobuf-serialization) - The nim-protobuf-serialization. - [ssz-serialization](https://github.com/status-im/nim-ssz-serialization) - Nim implementation of Simple Serialize (SSZ) serialization and merkleization. - [toml-serialization](https://github.com/status-im/nim-toml-serialization) - Flexible TOML serialization `not` relying on run-time type information. - [frosty](https://github.com/disruptek/frosty) - Marshal native Nim objects via streams, sockets. - [protobuf-nim](https://github.com/PMunch/protobuf-nim) - Protobuf implementation in pure Nim that leverages the power of the macro system to not depend on any external tools. - [flatty](https://github.com/treeform/flatty) - Tools and serializer for plain flat binary files. - [nesm](https://xomachine.gitlab.io/NESM/) - NESM is a tool that generates serialization and deserialization code for a given object. - [bingo](https://github.com/planetis-m/bingo) - Binary serialization framework for Nim. ## Text ### String Types - [ssostrings](https://github.com/planetis-m/ssostrings) - Small String Optimized (SSO) string implementation. - [cowstrings](https://github.com/planetis-m/cowstrings) - Copy-On-Write string implementation according to nim-lang/RFCs#221. ### Translation - [tinyslation](https://github.com/juancarlospaco/nim-tinyslation) - Text string translation from free online crowdsourced API. ### Markdown - [HastyScribe](https://github.com/h3rald/hastyscribe) - Self-contained markdown compiler generating self-contained HTML documents. - [markdown](https://github.com/soasme/nim-markdown) - A beautiful Markdown Parser in the Nim world. - [lester](https://github.com/madprops/lester) - Create quick documents out of Markdown, into HTML. ## Multimedia ### Audio - [paramidi](https://github.com/paranim/paramidi) - A Nim library for making MIDI music. - [omni](https://github.com/vitreo12/omni) - A DSL for low-level audio programming. - [wave](https://github.com/jiro4989/wave) - A tiny WAV sound module. - [parasound](https://github.com/paranim/parasound) - A library to provide Nim bindings for miniaudio and dr_wav. ### Images - [pixie](https://github.com/treeform/pixie) - A full-featured 2D graphics library for Nim. - [nimpng](https://github.com/jangko/nimPNG) - PNG (Portable Network Graphics) decoder and encoder written in Nim. - [nimbmp](https://github.com/jangko/nimBMP) - BMP decoder and encoder written in Nim. - [nimsvg](https://github.com/bluenote10/NimSvg) - A Nim-based DSL allowing generation of SVG files and GIF animations. - [pnm](https://github.com/jiro4989/pnm) - Library for PNM (Portable Anymap) in Nim. ### Documents - [nimpdf](https://github.com/jangko/nimpdf) - PDF document writer, written in Nim. ## Algorithms ### Math #### Symbolic - [symbolicnim](https://github.com/HugoGranstrom/symbolicnim) - A symbolic library written purely in Nim. #### FFT - [impulse](https://github.com/SciNim/impulse) - Impulse will be a collection of primitives for signal processing (FFT, Convolutions). #### Vector - [vectorize](https://github.com/SciNim/vectorize) - SIMD vectorization backend. - [vmath](https://github.com/treeform/vmath) - Math vector library for graphical things. #### Matrix - [neo](https://github.com/unicredit/neo) - A matrix library. - [manu](https://github.com/planetis-m/manu) - Nim MAtrix NUmeric package - a port of JAMA, adapted to Nim. - [nlopt](https://github.com/Vindaar/nimnlopt) - A wrapper for the nonlinear optimization library Nlopt. ### Deep Learning - [Arraymancer](https://github.com/mratsim/Arraymancer) - A fast, ergonomic and portable tensor library in Nim with a deep learning focus for CPU, GPU, OpenCL and embedded devices. - [NimTorch](https://github.com/sinkingsugar/nimtorch) - PyTorch - Python + Nim. A Nim front-end to PyTorch's native backend, combining Nim's speed, productivity and portability with PyTorch's latest implementations. - [laser](https://github.com/numforge/laser) - Carefully-tuned primitives for running tensor and image-processing code on CPU, GPUs and accelerators. <!-- - [flambeau](https://github.com/SciNim/flambeau) - Nim bindings to libtorch. --> ### Bigints - [bigints](https://github.com/nim-lang/bigints) - Bigints for Nim. - [stint](https://github.com/status-im/nim-stint) - Stack-based arbitrary-precision integers. Fast and portable with natural syntax for resource-restricted devices. - [theo](https://github.com/SciNim/theo) - An optimized bigint and number theory library for Nim. ### Cryptography - [nimcrypto](https://github.com/cheatfate/nimcrypto) - Nim cryptographic library. - [nimaes](https://github.com/jangko/nimAES) - Advanced Encryption Standard, Rinjdael Algorithm written in Nim. - [constantine](https://github.com/mratsim/constantine) - Constant time pairing-based of elliptic curve based cryptography and digital signatures. - [bslcurve](https://github.com/status-im/nim-blscurve) - Nim implementation of BLS signature scheme (Boneh-Lynn-Shacham) over Barreto-Lynn-Scott (BLS) curve BLS12-381. - [bncurve](https://github.com/status-im/nim-bncurve) - Nim implementation of Barreto-Naehrig pairing-friendly elliptic curve. - [xxtea](https://github.com/xxtea/xxtea-nim) - XXTEA encryption algorithm library. - [crc32](https://github.com/juancarlospaco/nim-crc32) - CRC32 for Nim. Just pass the thing you want to do CRC. - [rollinghash](https://github.com/MarcAzar/RollingHash) - High performance Nim implementation of a Cyclic Polynomial Hash, aka BuzHash, and the Rabin-Karp algorithm. - [murmurhash](https://github.com/cwpearson/nim-murmurhash) - Pure Nim implementation of MurmerHash - [des](https://github.com/LucaWolf/des.nim) - DES/3DES, DUKPT and MAC in Nim. - [shimsham](https://github.com/apense/shimsham) - A collection of hash functions, including JH, SHA-2, SHA-3, SipHash, Tiger, and Whirlpool. - [NiMPC](https://github.com/markspanbroek/nimpc) - A secure multi-party computation (MPC) library for the Nim programming language. ### Blockchain - [eth](https://github.com/status-im/nim-eth) - Common utilities for Ethereum. - [nimbus-eth1](https://github.com/status-im/nimbus-eth1) - An Ethereum 1.0 and 2.0 client for resource-restricted devices. - [nimbus-eth2](https://github.com/status-im/nimbus-eth2) - Efficient implementation of the Ethereum 2.0 blockchain. - [evmc](https://github.com/status-im/nim-evmc) - Ethereum VM binary compatible interface. - [ethash](https://github.com/status-im/nim-ethash) - A pure-Nim implementation of Ethash, the Ethereum proof of work. - [contract-abi](https://github.com/status-im/nim-contract-abi) - Implements encoding of parameters according to the Ethereum Contract ABI specification. <!-- - [web3](https://github.com/status-im/nim-web3) - The humble beginnings of a Nim library similar to web3.[js|py]. --> <!-- - [abc](https://github.com/status-im/nim-abc) - Experimental asynchronous blockchain. --> <!-- - [nitro](https://github.com/status-im/nim-nitro) - Highly experimental implementation of the Nitro statechannels protocol in Nim. --> ### Compression - [zippy](https://github.com/guzba/zippy) - Pure Nim implementation of deflate, zlib, gzip and zip. - [supersnappy](https://github.com/guzba/supersnappy) - Dependency-free and performant Nim Snappy implementation. - [snappy](https://github.com/status-im/nim-snappy) - Nim implementation of Snappy compression algorithm. - [zip](https://github.com/nim-lang/zip) - Wrapper for the zip library. ## User Interface ### Terminal - [illwill](https://github.com/johnnovak/illwill) - Simple cross-platform terminal library inspired by (n)curses. - [NimCx](https://github.com/qqtop/NimCx) - Color and utilities for the Linux terminal. - [pager](https://git.sr.ht/~reesmichael1/nim-pager) - A simple command line pager library, written in Nim. ### Design - [chroma](https://github.com/treeform/chroma) - Everything you want to do with colors, in Nim. - [typography](https://github.com/treeform/typography) - Fonts, typesetting and rasterization. - [trick](https://github.com/exelotl/trick) - Library for GBA/NDS image conversion, and more! ### GUI #### Crossplatform - [nimx](https://github.com/yglukhov/nimx) - Desktop, Mobile & Web GUI framework in Nim. - [NiGui](https://github.com/trustable-code/NiGui) - A cross-platform, desktop GUI toolkit. - [ui](https://github.com/nim-lang/ui) - Wrapper for libui. Beginnings of what might become Nim's official UI library. - [iup](https://github.com/nim-lang/iup) - Wrapper for IUP. Beginnings of what might become Nim's official UI library. - [SDL2](https://github.com/nim-lang/sdl2) - Official wrapper for SDL 2.x. - [SDL2](https://github.com/Vladar4/sdl2_nim) - A wrapper for SDL 2. #### Windows - [wNim](https://github.com/khchen/wNim) - Nim's Windows GUI Framework. #### Linux - [gintro](https://github.com/StefanSalewski/gintro) - High-level GObject-Introspection based GTK3/GTK4 bindings for Nim. - [nimqml](https://github.com/filcuc/nimqml) - Qt QML bindings for the Nim programming language. #### Web Technology - [Neel](https://github.com/Niminem/Neel) - A library for making Electron-like HTML/JS GUI apps. - [nimview](https://github.com/marcomq/nimview) - A Nim/Webview based helper to create desktop/server applications with Nim and HTML/CSS. - [webgui](https://github.com/juancarlospaco/webgui) - Web technologies based cross-platform GUI Framework with a dark theme. - [fidget](https://github.com/treeform/fidget) - Figma based UI library for Nim, with HTML and OpenGL backends. - [nsciter](https://github.com/Yardanico/nsciter) - High-level and low-level Nim wrapper for https://sciter.com. #### Lightweight - [imgui](https://github.com/nimgl/imgui) - ImGui bindings for Nim via cimgui. - [nimAntTweakBar](https://github.com/krux02/nimAntTweakBar) - Wrapper for AntTweakBar. ### Plotting - [ggplotnim](https://github.com/Vindaar/ggplotnim) - A port of ggplot2 for Nim. - [plotly](https://github.com/SciNim/nim-plotly) - A plotly wrapper for Nim. - [graph](https://github.com/stisa/graph) - A basic plotting library in Nim. - [nimetry](https://github.com/refaqtor/nimetry) - Simple plotting in pure Nim. - [nimgraphviz](https://github.com/Aveheuzed/nimgraphviz) - A Nim library for making graphs with GraphViz and DOT. ## Web ### Protocols - [http-utils](https://github.com/status-im/nim-http-utils) - HTTP helper procedures. - [puppy](https://github.com/treeform/puppy) - Puppy fetches HTML pages for Nim. - [netty](https://github.com/treeform/netty) - Reliable UDP connection library for games in Nim. - [json-rpc](https://github.com/status-im/nim-json-rpc) - Nim library for implementing JSON-RPC clients and servers. - [nmqtt](https://github.com/zevv/nmqtt) - Native Nim MQTT client library. - [libp2p](https://github.com/status-im/nim-libp2p) - A Nim implementation of the libp2p networking stack. - [libp2p-dht](https://github.com/status-im/nim-libp2p-dht) - DHT based on the libp2p kademlia spec. - [webdavclient](https://github.com/beshrkayali/webdavclient) - WebDAV client for Nim. - [stomp](https://github.com/subsetpark/nim-stomp) - A pure-Nim client library for interacting with Stomp compliant message brokers. - [presto](https://github.com/status-im/nim-presto) - An efficient REST API framework. #### DNS - [ndns](https://github.com/rockcavera/nim-ndns) - A pure Nim Domain Name System (DNS) client. - [dnsprotocol](https://github.com/rockcavera/nim-dnsprotocol) - Domain Name System (DNS) protocol for Nim programming language. #### QUIC - [quic](https://github.com/status-im/nim-quic) - QUIC for Nim. This is very much a work in progress, and not yet in a usable state. - [ngtcp2](https://github.com/status-im/nim-ngtcp2) - A wrapper around ngtcp2: an effort to implement IETF QUIC protocol. #### Websockets - [ws](https://github.com/treeform/ws) - Simple WebSocket library for Nim. - [websocket.nim](https://github.com/niv/websocket.nim) - WebSockets for Nim. - [news](https://github.com/Tormund/news) - Nim Easy WebSocket. Based on ws. - [jswebsockets](https://juancarlospaco.github.io/nodejs/nodejs/jswebsockets) - WebSockets optimized for JavaScript targets. - [websock](https://github.com/status-im/nim-websock) - An implementation of the WebSocket protocol for Nim. #### Messaging - [telebot.nim](https://github.com/ba0f3/telebot.nim) - Async client for Telegram Bot API in pure Nim. - [dimscord](https://github.com/krisppurg/dimscord) - A Discord Bot & REST Library for Nim. - [nwaku](https://github.com/status-im/nwaku) - Implementation of the Waku v1 and v2 protocols. - [status](https://github.com/status-im/nim-status) - Nim implementation of the Status protocol. ### HTML Parsers - [Nimquery](https://github.com/GULPF/nimquery) - Library for querying HTML using CSS selectors, like JavaScript's `document.querySelector`. ### HTTP Servers - [httpbeast](https://github.com/dom96/httpbeast) - A highly performant, multi-threaded HTTP 1.1 server ([top 10 in FrameworkBenchmarks](https://www.techempower.com/benchmarks/#section=data-r18&test=json)). - [httpx](https://github.com/ringabout/httpx) - Cross platform web server for Nim. A fork of httpbeast adding Windows support. - [GuildenStern](https://github.com/olliNiinivaara/GuildenStern) - Genuinely multithreading integrated HTTP/1.1 + WebSocket v13 Server for POSIX-compliant OSes. - [Mummy](https://github.com/guzba/mummy) - A multi-threaded HTTP 1.1 server with first-class support for WebSockets. - [netkit](https://github.com/iocrate/netkit) - Out-of-the-box, stable and secure network facilities and utilities written in pure Nim. - [jshttp2](https://juancarlospaco.github.io/nodejs/nodejs/jshttp2) - Async HTTPS 2.0 web server. ### Frameworks - [Jester](https://github.com/dom96/jester) - The sinatra-like web framework for Nim. Jester provides a DSL for quickly creating web applications in Nim. - [prologue](https://github.com/planety/prologue) - A fullstack web framework written in Nim. - [whip](https://github.com/mattaylor/whip) - Simple and fast HTTP server for Nim based on httpbeast and nest for high performance routing. - [basolato](https://github.com/itsumura-h/nim-basolato) - A fullstack web framework for Nim based on Jester. - [karax](https://github.com/karaxnim/karax) - A framework for developing single page applications in Nim. - [akane](https://github.com/Ethosa/akane) - An asynchronous web framework. - [scorper](https://github.com/bung87/scorper) - A micro and elegant web framework written in Nim. - [starlight](https://github.com/planety/starlight) - Flask-like web framework written in Nim. - [rosencrantz](https://github.com/andreaferretti/rosencrantz) - DSL to write web servers, inspired by Spray and its successor Akka HTTP. - [nim_websitecreator](https://github.com/ThomasTJdev/nim_websitecreator) - Nim fullstack website framework - deploy a website within minutes. ### Template Engines - [smalte](https://github.com/roquie/smalte) - It is a dead simple and lightweight template engine. Specially designed for configure application before start in Docker. - [html-dsl](https://github.com/juancarlospaco/nim-html-dsl) - Nim HTML DSL. - [templates](https://github.com/onionhammer/nim-templates) - A simple string templating library for Nim. - [nimja](https://github.com/enthus1ast/nimja) - Typed and compiled template engine inspired by jinja2, twig and onionhammer/nim-templates for Nim. - [mustache](https://github.com/soasme/nim-mustache) - A full implementation of v1.2.1 of the Mustache spec. ### Authentication - [httpauth](https://github.com/FedericoCeratto/nim-httpauth) - HTTP Authentication library for Nim. - [oauth](https://github.com/CORDEA/oauth) - OAuth library for Nim. ## Game Development ### Game Libraries - [nimgl](https://github.com/nimgl/nimgl) - NimGL is a Nim library that offers bindings for popular libraries used in computer graphics. - [glm](https://github.com/stavenko/nim-glm) - Port of the popular glm C++ library to Nim. - [GLAD](https://github.com/Dav1dde/glad) - Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs. - [enu](https://github.com/dsrw/enu) - 3D live coding with a Logo-like DSL for Godot, implemented in Nim. ### Game Frameworks - [nico](https://github.com/ftsf/nico) - Nim Game Framework based on Pico-8. - [natu](https://github.com/exelotl/natu) - Toolkit for writing Game Boy Advance games in Nim. - [naylib](https://github.com/planetis-m/naylib) - safe Raylib wrapper. - [c4](https://github.com/c0ntribut0r/cat-400) - Modular and extensible 2D and 3D game framework for Nim. - [paranim](https://github.com/paranim/paranim) - A game library based around carefully chosen abstractions. ### Game Engines - [NimForUE](https://github.com/jmgomez/NimForUE) - Nim plugin for UE5 with native performance, hot reloading and full interop that sits between C++ and Blueprints. - [nimgame2](https://github.com/Vladar4/nimgame2) - A simple 2D game engine for Nim. - [norx](https://github.com/tankfeud/norx) - A complete wrapper of the ORX 2.5D cross platform game engine library. - [godot-nim](https://github.com/pragmagic/godot-nim) - Nim bindings for Godot Engine. - [rod](https://github.com/yglukhov/rod) - Cross-platform 2D and 3D game engine. - [frag](https://github.com/Tail-Wag-Games/frag) - Cross-platform 2D/3D game engine. ### Rules Engines - [turn_based_game](https://github.com/JohnAD/turn_based_game) - A game rules engine for simulating or playing turn-based games. - [pararules](https://github.com/paranim/pararules) - A RETE-based rules engine made for games. ## Development Tools ### Editor Integration - [Editor Support](https://github.com/nim-lang/Nim/wiki/editor-support) - Official list of editor plugins for Nim. - [nimlsp](https://github.com/PMunch/nimlsp) - The Language Server Protocol implementation for Nim. - [nim.nvim](https://github.com/alaviss/nim.nvim) - Nim plugin for NeoVim. - [vscode-nim](https://github.com/saem/vscode-nim) - Language support for the Nim programming language for VS Code. ### REPL - [INim](https://github.com/AndreiRegiani/INim) - Interactive Nim Shell. - [jupyternim](https://github.com/stisa/jupyternim) - A Jupyter kernel for Nim. ### Binding Generators - [c2nim](https://github.com/nim-lang/c2nim) - c2nim is a tool to translate Ansi C code to Nim. - [nimgen](https://github.com/genotrance/nimgen) - nimgen is a helper for c2nim to simplify and automate the wrapping of C libraries. Superseded by nimterop. - [nimterop](https://github.com/nimterop/nimterop) - A Nim package that leverages tree-sitter to make C/C++ interop seamless. Superseded by Futhark. - [Futhark](https://github.com/PMunch/futhark) - Automatic wrapping of C headers in Nim with libclang. - [nimpy](https://github.com/yglukhov/nimpy) - Generate Python wrappers and call Python from Nim. - [jnim](https://github.com/yglukhov/jnim) - Nim - Java bridge. <!-- - [rnim](https://github.com/SciNim/rnim) - A bridge between R and Nim. Currently this is a barely working prototype. --> ### Build Systems / Package Management - [ChooseNim](https://github.com/dom96/choosenim) - Installing and switching between Nim versions (à la rustup, pyenv). - [Nake](https://github.com/fowlmouth/nake) - Describe your Nim builds as tasks. - [Nawabs](https://github.com/Araq/nawabs) - A build system that throws away version numbering in favor of git hashes. - [Nimble](https://github.com/nim-lang/nimble) - Nimble can be used as a build system. - [nimph](https://github.com/disruptek/nimph) - Nim package hierarchy manager from the future. - [nimby](https://github.com/treeform/nimby) - A very simple and unofficial package manager for Nim. - [nifty](https://github.com/h3rald/nifty) - A decentralized pseudo package manager and script runner. - [nsis](https://github.com/nim-libs/nsis) - Nim programming language setup tool. ### Logging - [chronicles](https://github.com/status-im/nim-chronicles) - A crafty implementation of structured logging for Nim. - [morelogging](https://github.com/FedericoCeratto/nim-morelogging) - Logging library for Nim. ### Testing - [faker](https://github.com/jiro4989/faker) - A Nim package that generates fake data for you. - [balls](https://github.com/disruptek/balls) - A unittest macro to save the world, or at least your Sunday. - [einheit](https://github.com/jyapayne/einheit) - A Nim unit testing library inspired by Python's unit tests. - [asynctest](https://github.com/status-im/asynctest) - Complements the standard unittest module in Nim to allow testing of asynchronous code. - [unittest2](https://github.com/status-im/nim-unittest2) - Fork of the "unittest" Nim module focusing on parallel test execution, test-level scoping and strict exception handling. ### Fuzzing - [drchaos](https://github.com/status-im/nim-drchaos) - A powerful and easy-to-use fuzzing framework in Nim for C/C++/Obj-C targets. - [libfuzzer](https://github.com/planetis-m/libfuzzer) - LibFuzzer's interface bindings. ### Benchmarking - [golden](https://github.com/disruptek/golden) - A benchmark for compile-time and/or runtime Nim. - [timeit](https://github.com/xflywind/timeit) - Measuring execution times written by Nim. - [criterion](https://github.com/disruptek/criterion) - Statistic-driven micro-benchmark framework. - [stopwatch](https://gitlab.com/define-private-public/stopwatch) - A fork of rbmz's stopwatch that adds extra features. - [nimbench](https://github.com/ivankoster/nimbench) - A micro benchmark module for Nim. ### Command-Line Interface Automation - [cligen](https://github.com/c-blake/cligen) - Infer & generate command-line interace/option/argument parsers. - [docopt.nim](https://github.com/docopt/docopt.nim) - Command-line args parser. - [argparse](https://github.com/iffy/nim-argparse) - Argument parsing for Nim. - [clapfn](https://github.com/oliversandli/clapfn) - Argument parsing similar to Python's argparse. - [cliche](https://github.com/juancarlospaco/cliche) - AutoMagic CLI argument parsing is so cliché. - [loki](https://github.com/beshrkayali/loki) - A small library for writing line-oriented command interpreters in Nim. - [confutils](https://github.com/status-im/nim-confutils) - Simplified handling of command line options and config files ## Resources ### Books - [Nim in Action](https://book.picheta.me/) - Book in Manning's "in Action" series, teaching Nim through 3 practical projects including CLI chat apps, web apps and parsers. - [Computer Programming with Nim](https://ssalewski.de/nimprogramming.html) - A gentle introduction to the Nim programming language. - [Nim Basics](https://narimiran.github.io/nim-basics/) - Tutorial for beginners and people just starting with Nim. - [Nim Style Guide](https://status-im.github.io/nim-style-guide/) - Status style guide for the Nim language. - [Mastering Nim](https://www.amazon.com/Mastering-Nim-complete-programming-language/dp/B0B4R7B9YX) - A complete guide to the programming language. ### Blogs - [Nim Blog](http://nim-lang.org/blog.html) - Official Nim blog. - [Goran Krampe](http://goran.krampe.se/nim/) - Wrapping C, Arduino, performance, links. - [HookRace](https://hookrace.net/blog/nim/) - Blog with multiple articles on Nim. - [Rants from the Ballmer Peak](https://gradha.github.io/tags/nim.html) - Posts on Nim and other languages. - [Yuriy Glukhov's blog](https://yglukhov.github.io/) - Making and shipping a game in Nim. - [Araq's Musings](https://nim-lang.org/araq) - Blog on Nim from the creator himself. - [Nim on dev.to](https://dev.to/t/nim) - Nim blogs on `dev.to`. ### Community - [The Nim forum](http://forum.nim-lang.org/) - [The Nim IRC channel](http://webchat.freenode.net/?channels=nim) - [The Nim Gitter channel](https://gitter.im/nim-lang/Nim) - [The Nim Discord channel](https://discord.gg/ptW3Rb3) - [The Nim mailing list (forum archive)](https://www.mail-archive.com/[email protected]/) - [The Nim subreddit](http://reddit.com/r/nim) - [The Nim Telegram](https://t.me/nim_lang) - [The Nim Telegram in Spanish](https://t.me/NimArgentina) - [The Nim Matrix room](https://matrix.to/#/#nim-lang:matrix.org) ### Tutorials - [Nim Days](https://xmonader.github.io/nimdays/) - A project to document my journey with Nim with mini applications, libraries documented from A to Z and also to provide new Nim users with some extra in depth information. - [How I start](https://howistart.org/posts/nim) - Great guide going from 0 to a bf interpreter and then a bf to Nim compiler. - [Learn Nim in Y minutes](https://learnxinyminutes.com/docs/nim/) - Whirlwind tour. - [Nim by Example](https://nim-by-example.github.io) - Series of pages and examples for learning the Nim programming language. - [Nim for Python programmers](https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programmers) - Guide to Nim for people with experience in Python. - [Nim on Rosetta Code](https://rosettacode.org/wiki/Category:Nim) - Thousands of solutions for various tasks using Nim. - [Nim Memory](http://zevv.nl/nim-memory/) - A small tutorial explaining how Nim stores data in memory. - [Nim ARC](http://zevv.nl/nim-memory/nim-arc.html) - A friendly explanation of ARC and its implications for the programmer. - [nimNx](https://github.com/dkgitdev/nimNx) - A Nintendo Switch Homebrew example project, written in Nim. - [nimNxStatic](https://github.com/dkgitdev/nimNxStatic) - A static library example aiming to help integrate Nim code into the current Homebrew C projects for Nintendo Switch ### Videos - [Nim's Official Channel](https://www.youtube.com/channel/UCDAYn_VFt0VisL5-1a5Dk7Q/videos) - Official videos introduce the powerful and interesting part in Nim language. - [Nim for Beginners](https://www.youtube.com/user/kiloneie/playlists) - This is a video series meant to teach people programming in Nim to people who have never programmed before, or are new to Nim. - [Make a website with Nim](https://www.youtube.com/watch?v=ndzlVRWqT2E&list=PL6RpFCvmb5SGw7aJK1E4goBxpMK3NvkON) - This is a video series meant to teach people make a website with Nim using `jester`. - [Learning Nim](https://www.youtube.com/watch?v=I_Y94G37iR4&list=PLu-ydI-PCl0PqxiYXQMmLh7wjQKm5Cz-H) - Tutorial video series on learning Nim showcasing various features of the language and its libraries. - [araq twitch](https://www.twitch.tv/araq4k) - The live broadcast regarding Nim language. - [alehander42 twitch](https://www.twitch.tv/alehander42) - The live broadcast regarding Nim language. - [clyybber twitch](https://www.twitch.tv/clyybber) - The live broadcast regarding Nim language. - [d0m96 twitch](https://www.twitch.tv/d0m96) - The live broadcast regarding Nim language. - [disruptek twitch](https://www.twitch.tv/disruptek) - The live broadcast regarding Nim language. - [yardanico twitch](https://www.twitch.tv/yardanico) - The live broadcast regarding Nim language. - [zachary_carter twitch](https://www.twitch.tv/zachary_carter) - The live broadcast regarding Nim language. --- ### Footnotes *Awesome-Nim logo is based on the "Nim Crown" logo by Joseph Wecker, used with permission from the Nim project.*
3
:tropical_drink: A curated list of awesome gulp resources, plugins, and boilerplates for a better development workflow automation - http://alferov.github.io/awesome-gulp
null
4
gulp资料收集
# use-gulp #### 为什么使用gulp? 首先看一篇文章 [Gulp的目标是取代Grunt](http://www.infoq.com/cn/news/2014/02/gulp) >根据gulp的文档,它努力实现的主要特性是: > - 易于使用:采用代码优于配置策略,gulp让简单的事情继续简单,复杂的任务变得可管理。 > - 高效:通过利用node.js强大的流,不需要往磁盘写中间文件,可以更快地完成构建。 > - 高质量:gulp严格的插件指导方针,确保插件简单并且按你期望的方式工作。 > - 易于学习:通过把API降到最少,你能在很短的时间内学会gulp。构建工作就像你设想的一样:是一系列流管道。 > Gulp通过**流和代码优于配置**策略来尽量简化任务编写的工作。 别的先不说,通过代码来比较两者(gulp VS grunt) 可以参照我的代码,也可以阅读[该文章] (http://www.techug.com/gulp)。 - [Gruntfile.js](https://github.com/hjzheng/angular-cuf-nav/blob/master/Gruntfile.js) - [gulpfile.js](https://github.com/hjzheng/html2js-gulp-for-cuf/blob/master/gulpfile.js) 两者的功能基本类似,gulp是通过代码完成任务,体现了代码优于配置的原则,对程序员更加友好,另外它也可以将多个功能一次性串起来,不需要暂存在本地,体现了对流的使用,这个可以阅读[该文章](http://www.techug.com/gulp)里的例子。 另外,经常会有人问,为什么gulp比grunt快,这个可以参考这篇[文章](http://jaysoo.ca/2014/01/27/gruntjs-vs-gulpjs/) 或者我本人在segmentfault上得回答[编译同样的scss,为什么gulp的速度几乎是grunt的两倍?](http://segmentfault.com/q/1010000003951849/a-1020000003952258) #### 关于NodeJS流(stream) 因为gulp是基于流的方式工作的,所以想要进一步深入gulp,我们应该先学习NodeJS的流, 当然即使对流不熟悉,依然可以很方便的使用gulp。 - 资料 - [NodeSchool stream-adventure](https://github.com/substack/stream-adventure) - [stream-handbook](https://github.com/substack/stream-handbook) - 相关视频 - [How streams help to raise Node.js performance](https://www.youtube.com/watch?v=QgEuZ52OZtU&list=PLPlAdM3UjHKok9rS8_RTQTSLtRBThk1ni&index=2) - [Node.js streams for the utterly confused](https://www.youtube.com/watch?v=9llfAByho98&index=1&list=PLPlAdM3UjHKok9rS8_RTQTSLtRBThk1ni) #### 常用资料 - Gulp官网 http://gulpjs.com/ - Gulp中文网 http://www.gulpjs.com.cn/ - Gulp中文文档 https://github.com/lisposter/gulp-docs-zh-cn - Gulp插件网 http://gulpjs.com/plugins/ - Awesome Gulp https://github.com/alferov/awesome-gulp - StuQ-Gulp实战和原理解析 http://i5ting.github.io/stuq-gulp/ - glob用法 https://github.com/isaacs/node-glob #### gulp常用插件 - **流控制** - [event-stream](http://www.atticuswhite.com/blog/merging-gulpjs-streams/) 事件流,不是插件但很有用 - [gulp-if](https://github.com/robrich/gulp-if) 有条件的运行一个task - [gulp-clone](https://github.com/mariocasciaro/gulp-clone) Clone files in memory in a gulp stream 非常有用 - [vinyl-source-stream](https://github.com/hughsk/vinyl-source-stream) Use conventional text streams at the start of your gulp or vinyl pipelines - **AngularJS** - [gulp-ng-annotate](https://github.com/Kagami/gulp-ng-annotate) 注明依赖 for angular - [gulp-ng-html2js](https://github.com/marklagendijk/gulp-ng-html2js) html2js for angular - [gulp-angular-extender](https://libraries.io/npm/gulp-angular-extender) 为angular module添加dependencies - [gulp-angular-templatecache](https://github.com/miickel/gulp-angular-templatecache) 将html模板缓存到$templateCache中 - **文件操作** - [gulp-clean](https://github.com/peter-vilja/gulp-clean) 删除文件和目录, 请用[del](https://github.com/sindresorhus/del)来代替它[Example](https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2015-11-10) - [gulp-concat](https://github.com/wearefractal/gulp-concat) 合并文件 - [gulp-rename](https://github.com/hparra/gulp-rename) 重命名文件 - [gulp-order](https://github.com/sirlantis/gulp-order) 对src中的文件按照指定顺序进行排序 - [gulp-filter](https://github.com/sindresorhus/gulp-filter) 过滤文件 非常有用 [Example](https://github.com/hjzheng/CUF_meeting_knowledge_share/blob/master/2015-11-10/gulpfile.js) - [gulp-flatten](https://github.com/armed/gulp-flatten) 当拷贝文件时,不想拷贝目录时使用 [segmentfault](http://segmentfault.com/q/1010000004266922) - **压缩** - [gulp-clean-css](https://github.com/scniro/gulp-clean-css)压缩css - [gulp-uglify](https://github.com/terinjokes/gulp-uglify) 用uglify压缩js - [gulp-imagemin](https://github.com/sindresorhus/gulp-imagemin) 压缩图片 - [gulp-htmlmin](https://github.com/jonschlinkert/gulp-htmlmin) 压缩html - [gulp-csso](https://github.com/ben-eb/gulp-csso) 优化CSS - **工具** - [gulp-load-plugins](https://github.com/jackfranklin/gulp-load-plugins) 自动导入gulp plugin - [gulp-load-utils](https://www.npmjs.com/package/gulp-load-utils) 增强版gulp-utils - [gulp-task-listing](https://github.com/OverZealous/gulp-task-listing) 快速显示gulp task列表 - [gulp-help](https://github.com/chmontgomery/gulp-help) 为task添加帮助描述 - [gulp-jsdoc3](https://github.com/mlucool/gulp-jsdoc3) 生成JS文档 - [gulp-plumber](https://github.com/floatdrop/gulp-plumber) Prevent pipe breaking caused by errors from gulp plugins [Example](https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2015-11-10) - [yargs](https://github.com/bcoe/yargs) 处理 process.argv - [run-sequence](https://github.com/OverZealous/run-sequence) 顺序执行 gulp task,gulp 4.0 已经支持该功能 `gulp.series(...tasks)` - [gulp-notify](https://github.com/mikaelbr/gulp-notify) gulp plugin to send messages based on Vinyl Files - [gulp-shell](https://github.com/sun-zheng-an/gulp-shell) 非常有用 - [gulp-grunt](https://github.com/gratimax/gulp-grunt) 在gulp中运行grunt task - **JS/CSS自动注入** - [gulp-usemin](https://github.com/zont/gulp-usemin) Replaces references to non-optimized scripts or stylesheets into a set of HTML files - [gulp-inject](https://github.com/klei/gulp-inject) 在HTML中自动添加style和script标签 [Example](https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2015-8-17/bower-dependence-inject) - [wiredep](https://github.com/taptapship/wiredep) 将bower依赖自动写到index.html中 [Example](https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2015-8-17/bower-dependence-inject) - [gulp-useref](https://github.com/jonkemp/gulp-useref) 功能类似与usemin [Example](https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2015-8-17/bower-dependence-inject) 新版本用法有变化,详见gulp-useref的README.md - **代码同步** - [browser-sync](https://github.com/BrowserSync/browser-sync) 自动同步浏览器,结合gulp.watch方法一起使用 [Example 1](https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2015-5-30/gulp-babel-test) [Example 2](https://github.com/hjzheng/es6-practice/blob/master/gulpfile.js) - [gulp-nodemon](https://github.com/JacksonGariety/gulp-nodemon) server端代码同步 - **Transpilation** - [gulp-babel](https://github.com/babel/gulp-babel) 将ES6代码编译成ES5 [Example](https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2015-5-30/gulp-babel-test) - [babelify](https://github.com/babel/babelify) Browserify transform for Babel - [gulp-traceur](https://github.com/sindresorhus/gulp-traceur) Traceur is a JavaScript.next-to-JavaScript-of-today compiler - **打包** - [gulp-browserify](https://www.npmjs.com/package/gulp-browserify) 用它和 babelify 实现ES6 module [Example](https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2015-5-30/gulp-es6-module) - **编译** - [gulp-less](https://github.com/plus3network/gulp-less) 处理less [Example](https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2015-7-23/gulp-less-bootstrap) - [gulp-sass](https://github.com/dlmanning/gulp-sass) 处理sass - **代码分析** - [gulp-jshint](https://github.com/spalger/gulp-jshint) JSHint检查 [Example](https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2015-11-10) - [gulp-jscs](https://github.com/jscs-dev/gulp-jscs) 检查JS代码风格 [Example](https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2015-11-10) - **特别推荐** - [gulp-changed](https://github.com/sindresorhus/gulp-changed) 只传输修改过的文件 - [gulp-cached](https://github.com/wearefractal/gulp-cached) 将文件先cache起来,先不进行操作 - [gulp-remember](https://github.com/ahaurw01/gulp-remember) 和gulp-cached一块使用 - [gulp-newer](https://github.com/tschaub/gulp-newer) pass through newer source files only, supports many:1 source:dest - **其他** - [webpack-stream](https://github.com/shama/webpack-stream) gulp与webpack [Example](https://github.com/hjzheng/angular-es6-practice/blob/master/gulp/scripts.js) - [gulp-autoprefixer](https://github.com/sindresorhus/gulp-autoprefixer) Prefix CSS - [gulp-sourcemaps](https://github.com/floridoo/gulp-sourcemaps) 生成source map文件 - [gulp-rev](https://github.com/sindresorhus/gulp-rev) Static asset revisioning by appending content hash to filenames: unicorn.css → unicorn-d41d8cd98f.css - [gulp-rev-replace](https://github.com/jamesknelson/gulp-rev-replace) [Example](https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2015-11-10) - [gulp-iconfont](https://github.com/nfroidure/gulp-iconfont) 制作iconfont [Example](https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2015-7-24/gulp-test-iconfont) - [gulp-svg-symbols](https://github.com/Hiswe/gulp-svg-symbols) 制作SVG Symbols, [关于使用SVG Symbol](http://isux.tencent.com/zh-hans/16292.html) - [gulp-template](https://github.com/sindresorhus/gulp-template) 模板替换 - [gulp-dom-src](https://github.com/cgross/gulp-dom-src) 将html中的script,link等标签中的文件转成gulp stream。 - [gulp-cheerio](https://github.com/KenPowers/gulp-cheerio) Manipulate HTML and XML files with Cheerio in Gulp. - [require-dir](https://www.npmjs.com/package/require-dir) 利用它我们可以将 gulpfile.js 分成多个文件,具体用法可以参考这个[Splitting a gulpfile into multiple files](http://macr.ae/article/splitting-gulpfile-multiple-files.html) - [gulp-nodemon](https://github.com/JacksonGariety/gulp-nodemon) 强烈推荐, 监控你的node应用,并重现启动server #### gulp入门视频 - **Learning Gulp** (youtube) - [Learning Gulp #1 - Installing & Introducing Gulp ](https://www.youtube.com/watch?v=wNlEK8qrb0M) - [Learning Gulp #2 - Using Plugins & Minifying JavaScript](https://www.youtube.com/watch?v=Kh4eYdd8O4w) - [Learning Gulp #3 - Named Tasks ](https://www.youtube.com/watch?v=YBGeJnMrzzE) - [Learning Gulp #4 - Watching Files With Gulp ](https://www.youtube.com/watch?v=0luuGcoLnxM) - [Learning Gulp #5 - Compiling Sass With Gulp ](https://www.youtube.com/watch?v=cg7lwX0u-U0) - [Learning Gulp #6 - Keep Gulp Running With Plumber ](https://www.youtube.com/watch?v=rF6niaDKcxE) - [Learning Gulp #7 - Handling Errors Without Plumber ](https://www.youtube.com/watch?v=o24f4imRbxQ) - [Learning Gulp #8 - LiveReload With Gulp ](https://www.youtube.com/watch?v=r5fvdIa0ETk) - [Learning Gulp #9 - Easy Image Compression](https://www.youtube.com/watch?v=oXxMdT7T9qU) - [Learning Gulp #10 - Automatic Browser Prefixing ](https://www.youtube.com/watch?v=v259QplNDKk) - [Learning Gulp #11 - Gulp Resources & What's Next ](https://www.youtube.com/watch?v=vGCzovUFBIY) - **Get started with gulp**(youtube) - [Get started with gulp Part 1: Workflow overview and jade templates](https://www.youtube.com/watch?v=DkRoa2LooNM&index=8&list=PLhIIfyPeWUjoySSdufaqfaSLeQDmCCY3Q) - [Get started with gulp Part 2: gulp & Browserify](https://www.youtube.com/watch?v=78_iyqT-qT8&index=9&list=PLhIIfyPeWUjoySSdufaqfaSLeQDmCCY3Q) - [Get started with gulp Part 3: Uglify & environment variables](https://www.youtube.com/watch?v=gRzCAyNrPV8&index=10&list=PLhIIfyPeWUjoySSdufaqfaSLeQDmCCY3Q) - [Get started with gulp Part 4: SASS & CSS minification](https://www.youtube.com/watch?v=O_0S6Z9FIKM&index=11&list=PLhIIfyPeWUjoySSdufaqfaSLeQDmCCY3Q) - [Get started with gulp Part 5: gulp.watch for true automation](https://www.youtube.com/watch?v=nsMsFyLGjSA&list=PLhIIfyPeWUjoySSdufaqfaSLeQDmCCY3Q&index=12) - [Get started with gulp Part 6: LiveReload and web server](https://www.youtube.com/watch?v=KURMrW-HsY4&list=PLhIIfyPeWUjoySSdufaqfaSLeQDmCCY3Q&index=13) - **Gulp in Action** (慕课网) - [Gulp in Action(一)](http://www.imooc.com/video/5692) - [Gulp in Action(二)](http://www.imooc.com/video/5693) - [Gulp in Action(三)](http://www.imooc.com/video/5694) - **BGTSD** (youtube) - [BGTSD - Part 20: Gulp and Babel Basics ](https://www.youtube.com/watch?v=Mo2xqBPbnlQ) - [BGTSD - Part 21: TypeScript and Gulp Basics ](https://www.youtube.com/watch?v=5Z82cpVP_qo) - **John Papa**(付费) - [JavaScript Build Automation With Gulp.js](http://www.pluralsight.com/courses/javascript-build-automation-gulpjs) #### gulp精彩文章 - [Using GulpJS to Generate Environment Configuration Modules](http://www.atticuswhite.com/blog/angularjs-configuration-with-gulpjs/) - [Introduction to Gulp.js](http://stefanimhoff.de/2014/gulp-tutorial-1-intro-setup/) - [Merging multiple GulpJS streams into one output file](http://www.atticuswhite.com/blog/merging-gulpjs-streams/) - [Getting ES6 modules working thanks to Browserify, Babel, and Gulp](http://advantcomp.com/blog/ES6Modules/) - Gulp学习指南系列: - [Gulp学习指南之入门](http://segmentfault.com/a/1190000002768534) - [Gulp学习指南之CSS合并、压缩与MD5命名及路径替换](http://segmentfault.com/a/1190000002932998) - [6 Gulp Best Practices](http://blog.rangle.io/angular-gulp-bestpractices/?utm_source=javascriptweekly&utm_medium=email) :star: - Automate all Imports (gulp-inject, wiredep, useref and angular-file-sort) - Understand directory structure requirements - Provide distinct development and production builds (browser-sync) - Inject files with gulp-inject and wiredep ( gulp-inject and wiredep ) - Create production builds with gulp-useref (gulp-useref) - Separate Gulp tasks into multiple files ```require('require-dir')('./gulp')``` - [Gulp 范儿 -- Gulp 高级技巧](http://csspod.com/advanced-tips-for-using-gulp-js/) :star: - [Gulp 错误管理](http://csspod.com/error-management-in-gulp/) :star: - [探究Gulp的Stream](http://segmentfault.com/a/1190000003770541) :star: - [Gulp安装及配合组件构建前端开发一体化](http://www.dbpoo.com/getting-started-with-gulp/) - [Gulp入门指南](https://github.com/nimojs/gulp-book) - [Gulp入门指南 - nimojs](https://github.com/nimojs/blog/issues/19) - [Gulp入门教程](http://markpop.github.io/2014/09/17/Gulp%E5%85%A5%E9%97%A8%E6%95%99%E7%A8%8B/) - [Gulp开发教程(翻译)](http://www.w3ctech.com/topic/134) - [Gulp:任务自动管理工具 - ruanyifeng](http://javascript.ruanyifeng.com/tool/gulp.html) - [BrowserSync — 你值得拥有的前端同步测试工具](http://segmentfault.com/a/1190000003787713) - [Essential Plugins for Gulp](http://ipestov.com/essential-plugins-for-gulp/) :star: - [10 things to know about Gulp](http://engineroom.teamwork.com/10-things-to-know-about-gulp/?utm_source=javascriptweekly&utm_medium=email) :star: - [Writing a gulp plugin](https://github.com/gulpjs/gulp/blob/master/docs/writing-a-plugin/README.md) :star: - [Gulp Plugin 开发](https://segmentfault.com/a/1190000000704549) :star: - [前端 | 重构 gulpfile.js](https://segmentfault.com/a/1190000002880177) - [gulp使用经验谈](http://www.qiqiboy.com/post/61) - [Splitting a gulpfile into multiple files](http://macr.ae/article/splitting-gulpfile-multiple-files.html) :star: - [Make your Gulp modular](http://makina-corpus.com/blog/metier/2015/make-your-gulp-modular) - [gulp 传参数 实现定制化执行任务](http://yijiebuyi.com/blog/d64c5d28eb539941bf3b855d333850cc.html) 使用 `gulp.env` #### gulp和ES6 - [在gulp中使用ES6](http://segmentfault.com/a/1190000004136053) :star: - [Using ES6 with gulp](https://markgoodyear.com/2015/06/using-es6-with-gulp/) #### gulp和babelify - [Example](https://gist.github.com/hjzheng/0ff59d37aa23fbd831e081138c6f24f9) #### debug gulp task - [Debugging Gulp.js Tasks](http://www.greg5green.com/blog/debugging-gulp-js-tasks/) - [Debug command line apps like Gulp](https://github.com/s-a/iron-node/blob/master/docs/DEBUG-NODEJS-COMMANDLINE-APPS.md) #### gulp项目结构应用实例 - [gulp-AngularJS1.x-seed](https://github.com/hjzheng/gulp-AngularJS1.x-seed) :star: 自己写的一个开发环境(gulp + AngularJS1.x) - [gulp模式](https://github.com/johnpapa/gulp-patterns) - [gf-skeleton-angularjs](https://github.com/gf-rd/gf-skeleton-angularjs) - [generator-hottowel](https://github.com/johnpapa/generator-hottowel) - [generator-gulp-angular](https://github.com/swiip/generator-gulp-angular#readme) - [generator-gulper](https://github.com/leaky/generator-gulper) #### gulp常见问题 [segmentfault之gulp](http://segmentfault.com/t/gulp?type=newest) - [如何拷贝一个目录?](http://stackoverflow.com/questions/25038014/how-do-i-copy-directories-recursively-with-gulp) ```js gulp.src([ files ], { "base" : "." }) ``` #### gulp 4.0 相关 目前 gulp 4.0 还没有正式release,先推荐几篇文章让大家热热身。 - [Gulp 4.0 前瞻](http://segmentfault.com/a/1190000002528547) - [Gulp 4.0 API 文档](https://github.com/cssmagic/blog/issues/55) - [是时候升级你的gulp到4.0了](http://www.alloyteam.com/2015/07/update-your-gulp/) - [Migrating to gulp 4 by example](https://blog.wearewizards.io/migrating-to-gulp-4-by-example) 不定期更新中 ... ...
5
Curriculum for learning front-end development during #100DaysOfCode.
**Note:** this resource is old! I will be archiving this repository by the end of July 2021 as I feel that many of the recommendations here are outdated for learning front-end web development in 2021. --- <p align="center"> <img alt="#100DaysOfCode Front-End Development" src="https://i.imgur.com/dwYOP0B.jpg" /> </p> **Please support this repo by giving it a star ⭐️ at the top of the page and [follow me](https://github.com/nas5w) for more resources!** Want to learn more about frontend development? Consider: - signing up for my [free newsletter](https://buttondown.email/devtuts?100DoC) where I periodically send out digestible bits of frontend knowledge! - subscribing to my [YouTube channel](https://www.youtube.com/c/devtutsco) where I teach JavaScript, Typescript, and React. --- This is a somewhat opinionated curriculum for learning front-end development during #100DaysOfCode. As it covers a wide range of front-end development topics, it can be thought of as more of a "survey" style course rather than a deep dive into any one area. Ideally, your takeaway from completing this curriculum will be some familiarity with each topic and the ability to easily dive deeper in any area in the future when necessary. This curriculum was influenced significantly by Kamran Ahmed's [Modern Frontend Developer](https://medium.com/tech-tajawal/modern-frontend-developer-in-2018-4c2072fa2b9c) roadmap. Please check it out--it is excellent. **Note**: I know front-end development means a lot of different things to a lot of people! If you're a front-end developer and you think this guide could be improved, please let me know by raising an issue as described in the [Contributing](#contributing) section. Thank you! # Translations Thanks to some incredible contributors, this curriculum has been translated into the following languages! - [Russian русский](/ru) (translation by [@Ibochkarev](https://github.com/Ibochkarev) and [@JonikUl](https://github.com/JonikUl)) - [Chinese 中文](/chinese) (translation by [@simplefeel](https://github.com/simplefeel)) - [Portuguese Português](/portuguese) (translation by [@Zardosh](https://github.com/Zardosh)) - [Polish polski](/polish) (translation by [@mbiesiad](https://github.com/mbiesiad)) - [Malay/Indonesia](/Malay) (translation by [@asyraf-labs](https://github.com/asyraf-labs)) - [Vietnamese Tiếng Việt](/Vietnam) (translation by [@duca7](https://github.com/duca7)) - [Japanese 日本語](/japanese) (translation by [miily8310s](https://github.com/miily8310s)) - [Bangla বাংলা](/bangla) (translation by [mirajus-salehin](https://github.com/mirajus-salehin)) # :calendar: Curriculum The underlying principle of this repository is [timeboxing](https://en.wikipedia.org/wiki/Timeboxing). If you have spent any amount of time in the past trying to learn web development or a similar skill, you have likely experienced going down a rabbit hole on any one particular topic. This repository aims to assign a certain number of days to each technology and encourages you to move to the next once that number of days is up. It is anticipated that everyone is at a different level of proficiency when starting this challenge, and that's okay. Beginner and expert front-end developers alike can benefit from timeboxed practice in each of these areas. The recommended day-by-day activities are as follows: - Days 1-8: [HTML](#html) - Days 9-16: [CSS](#css) - Days 17-24: [JavaScript Basics](#javascript) - Days 25-27: [jQuery](#jquery) - Days 28-33: [Responsive Web Design](#rwd) - Days 34-36: [Accessibility](#accessibility) - Days 37-39: [Git](#git) - Days 40-44: [Node and NPM](#node) - Days 45-50: [Sass](#sass) - Days 51-54: [Bootstrap](#bootstrap) - Day 55: [BEM](#bem) - Days 57-61: [Gulp](#gulp) - Days 62-65: [Webpack](#webpack) - Day 66: [ESLint](#eslint) - Days 68-83: [React](#react) - Days 84-89: [Redux](#redux) - Days 90-94: [Jest](#jest) - Days 95-97: [TypeScript](#typescript) - Days 98-100: [NextJS](#nextjs) # :mag_right: The Details Below you can find a little information about each topic in the curriculum as well as some ideas/guidance on what to do for each. For inspiration on projects to do alongside this curriculum, see the [Project Ideas section](#project-ideas). As part of the timeboxing principle, it's okay if you don't get through all of the items in the "Learning Areas and Ideas" sections. You should instead focus on getting the most you can out of the number of days assigned to each area and then move on. <a name="html"></a> ![HTML](https://i.imgur.com/O0F5XSR.jpg) Hypertext Markup Language (HTML) is the standard markup language for creating web pages and web applications. With Cascading Style Sheets (CSS) and JavaScript, it forms a triad of cornerstone technologies for the World Wide Web. Web browsers receive HTML documents from a web server or from local storage and render the documents into multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for the appearance of the document. (Source: [Wikipedia](https://en.wikipedia.org/wiki/HTML)) ### :bulb: Quick Takeaway HTML is really the foundation of web development. Even in the javascript-based frameworks, you end up writing HTML in one form or another. ### :book: Learning Areas and Ideas - Take the [Basic HTML and HTML5 section](https://learn.freecodecamp.org/) on freeCodeCamp. - HTML page structure - HTML elements - Nesting HTML elements - Semantic markup - Links / multiple pages - Images - Audio/video media - Forms and form elements - Create a multi-page website! (See [Project Ideas](#project-ideas) if you need some inspiration). <a name="css"></a> ![CSS](https://i.imgur.com/028GOR0.jpg) Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language like HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript. CSS is designed to enable the separation of presentation and content, including layout, colors, and fonts. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple web pages to share formatting by specifying the relevant CSS in a separate .css file, and reduce complexity and repetition in the structural content. (Source: [Wikipedia](https://en.wikipedia.org/wiki/Cascading_Style_Sheets)) ### :bulb: Quick Takeaway CSS is another essential component of web development. While it is mainly used to style and position HTML elements, it has become increasingly capable of more dynamic tasks (e.g., animations) that would once be handled by javascript. ### :book: Learning Areas and Ideas - Take the [Basic CSS, CSS flexbox, and CSS grid sections](https://learn.freecodecamp.org/) on freeCodeCamp. - In-line CSS - `<style>` tags - External CSS with `<link>` - Styling elements - Selectors - Floats, clearing floats - Layouts (grid, flexbox) - Fonts, custom fonts - Style the HTML page(s) you made when learning HTML! <a name="javascript"></a> ![JavaScript](https://i.imgur.com/oHdD86j.jpg) JavaScript , often abbreviated as JS, is a high-level, interpreted programming language that conforms to the ECMAScript specification. It is a language that is also characterized as dynamic, weakly typed, prototype-based and multi-paradigm. Alongside HTML and CSS, JavaScript is one of the three core technologies of the World Wide Web. JavaScript enables interactive web pages and thus is an essential part of web applications. The vast majority of websites use it, and all major web browsers have a dedicated JavaScript engine to execute it. (Source: [Wikipedia](https://en.wikipedia.org/wiki/JavaScript)) ### :bulb: Quick Takeaway JavaScript has become increasingly important in the front-end world. While it was once used mainly to make pages dynamic, it is now the foundation of many front-end frameworks. These frameworks handle a lot of the tasks that were formerly handled by the back-end (e.g., routing and displaying different views). ### :book: Learning Areas and Ideas - Take the [Basic JavaScript and ES6 sections](https://learn.freecodecamp.org/) on freeCodeCamp. - Too many language fundamentals to list here! - `<script>` tag and placement - Accessing HTML elements - The event loop, call stack, and event queue - Prototypal Inheritance - Reference vs. value - Add some dynamic elements or logic to your HTML/CSS page(s) developed earlier! <a name="jquery"></a> ![jQuery](https://i.imgur.com/m9j02Fo.jpg) jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript. (Source: [jQuery.com](https://jquery.com/)) ### :bulb: Quick Takeaway After you have spent some time with plain (also called "vanilla") javascript, you may find some tasks a bit cumbersome, especially those related to accessing and manipulating HTML elements. For quite a while, jQuery was the go-to library for making these kinds of tasks easier and consistent across different browsers. Nowadays, jQuery isn't necessarily "mandatory" learning because of advancements in vanilla javascript, CSS, and newer javascript frameworks (we'll look at frameworks later). Still, it would be beneficial to take a little time to learn some jQuery and apply it to a small project. ### :book: Learning Areas and Ideas - Take the [jQuery section](https://learn.freecodecamp.org/) on freeCodeCamp. - Document ready - Selectors - Toggle classes - Animation - Add or move HTML elements - Add jQuery to your site! <a name="rwd"></a> ![Responsive Web Design](https://i.imgur.com/Bt1zWwq.jpg) Responsive web design (RWD) is an approach to web design that makes web pages render well on a variety of devices and window or screen sizes. Recent work also considers the viewer proximity as part of the viewing context as an extension for RWD. Content, design and performance are necessary across all devices to ensure usability and satisfaction. A site designed with RWD adapts the layout to the viewing environment by using fluid, proportion-based grids, flexible images, and CSS3 media queries, an extension of the @media rule. (Source: [Wikipedia](https://en.wikipedia.org/wiki/Responsive_web_design)) ### :bulb: Quick Takeaway Responsive web design is all about making web applications look and function properly on all types of device. A quick-and-dirty example would be that a website should look and function properly both in a desktop web browser and on a mobile phone browser. An understanding of responsive design is crucial for any front-end developer! ### :book: Learning Areas and Ideas - Take the [Responsive Web Design Principles section](https://learn.freecodecamp.org/) on freeCodeCamp. - Media queries, breakpoints - Responsive images - Make your website responsive! - Use Chrome DevTools to view your site on different devices/viewports. <a name="accessibility"></a> ![Accessibility](https://i.imgur.com/ayioMQw.jpg) Web accessibility is the inclusive practice of ensuring there are no barriers that prevent interaction with, or access to, websites on the World Wide Web by people with disabilities. When sites are correctly designed, developed and edited, generally all users have equal access to information and functionality. (Source: [Wikipedia](https://en.wikipedia.org/wiki/Web_accessibility)) ### :bulb: Quick Takeaway Accessibility, often written as a11y, is one of the most important topics in front-end web development, yet it seems to often get short shrift. Creating accessible web applications is not only ethically sound, but also makes a lot of business sense considering the additional audience that will be able to view your applications when they are accessible. ### :book: Learning Areas and Ideas - Take the [Applied Accessibility section](https://learn.freecodecamp.org/) on freeCodeCamp. - Read some content on [The A11Y Project](https://a11yproject.com/about) - Review their [checklist](https://a11yproject.com/checklist) - Update your site(s) for accessibility based on this checklist <a name="git"></a> ![Git](https://i.imgur.com/5QoNJqs.jpg) Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. (Source: [git-scm.com](https://git-scm.com/)) ### :bulb: Quick Takeaway Version/code control is an essential part of any web developer's toolkit. There are a number of different version control systems, but Git is by far the most prevalent at the moment. You can (and should!) use it to track your projects as you learn! ### :book: Learning Areas and Ideas - [Git Tutorial for Beginners (Video)](https://www.youtube.com/watch?v=HVsySz-h9r4) - Install git - Set up a [github](https://github.com) account - Learn the most-used git commands: - init - clone - add - commit - push - pull - merge - rebase - Add your existing projects to github! <a name="node"></a> ![Node and NPM](https://i.imgur.com/8ik2alD.jpg) Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser. JavaScript is used primarily for client-side scripting, in which scripts written in JavaScript are embedded in a webpage's HTML and run client-side by a JavaScript engine in the user's web browser. Node.js lets developers use JavaScript to write command line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user's web browser. Consequently, Node.js represents a "JavaScript everywhere" paradigm, unifying web application development around a single programming language, rather than different languages for server side and client side scripts. (Source: [Wikipedia](https://en.wikipedia.org/wiki/Node.js)) ### :bulb: Quick Takeaway While Node.js is typically known as a back-end solution, it is used quite frequently to support front-end development. It does this in a number of ways, including things like running build tools, testing, and linting (all to be covered soon!). Node Package Manager (npm) is another great feature of Node and can be used to manage dependencies of your project (i.e., code libraries your project might rely on -- jQuery is an example!). ### :book: Learning Areas and Ideas - Research node and how it is different than the browser - Install node (npm comes with it) - Create a simple javascript file and run it with node - Use NPM to manage any dependencies in your existing project(s) (e.g., jQuery!) <a name="sass"></a> ![Sass](https://i.imgur.com/ZRedLge.jpg) Sass is an extension of CSS that adds power and elegance to the basic language. It allows you to use variables, nested rules, mixins, inline imports, and more, all with a fully CSS-compatible syntax. Sass helps keep large stylesheets well-organized, and get small stylesheets up and running quickly, particularly with the help of the Compass style library. (Source: [sass-lang.com](https://sass-lang.com/documentation/file.SASS_REFERENCE.html)) ### :bulb: Quick Takeaway Sass allows you to write CSS in a more programmatic way. If you've done some CSS, you might have noticed that you end up repeating a lot of information--for example, specifying the same color code. In Sass, you can use things like variables, loops, and nesting to reduce redundancy and increase readability. After writing your code in Sass, you can quickly and easily compile it to regular CSS. ### :book: Learning Areas and Ideas - [Install Sass](https://sass-lang.com/install) globally with npm! - [Sass Crash Course Video](https://www.youtube.com/watch?v=roywYSEPSvc) - Follow the [Learn Sass](https://sass-lang.com/guide) tutorial and/or [freeCodeCamp](https://learn.freecodecamp.org/) Sass tutorial. - Update your existing site to generate your CSS using Sass! <a name="bootstrap"></a> ![Bootstrap](https://i.imgur.com/cJ21eH2.jpg) \* Some alternatives: Foundation, Bulma, Materialize Bootstrap is a free and open-source front-end framework for developing websites and web applications. It contains HTML and CSS-based design templates for typography, forms, buttons, navigation and other interface components, as well as optional JavaScript extensions. (Source: [Wikipedia](<https://en.wikipedia.org/wiki/Bootstrap_(front-end_framework)>)) ### :bulb: Quick Takeaway There are many options for laying out, styling, and making your web application dynamic, but you'll find that starting with a framework helps you tremendously in getting a head start. Bootstrap is one such framework, but it is definitely far from the only option! I recommend getting familiar with one framework like this, but it's far more important to grasp HTML, CSS, and JavaScript fundamentals than it is to get caught up in any one framework. ### :book: Learning Areas and Ideas - Learn what Bootstrap is and why you would want to use it - [Bootstrap 4 Crash Course (Video)](https://www.youtube.com/watch?v=hnCmSXCZEpU) - Complete the Bootstrap section on [freeCodeCamp](https://learn.freecodecamp.org/) - Refactor your site using bootstrap! <a name="bem"></a> ![BEM](https://i.imgur.com/MCvMRQl.jpg) The Block, Element, Modifier methodology (commonly referred to as BEM) is a popular naming convention for classes in HTML and CSS. Developed by the team at Yandex, its goal is to help developers better understand the relationship between the HTML and CSS in a given project. (Source: [css-tricks.com](https://css-tricks.com/bem-101/)) ### :bulb: Quick Takeaway It's important to know naming and organization systems like BEM exist and why they are used. Do some research here, but at a beginner level I wouldn't recommend devoting too much time to the subject. ### :book: Learning Areas and Ideas - Read the [BEM introduction](http://getbem.com/introduction/) - [Why I Use BEM (Video)](https://www.youtube.com/watch?v=SLjHSVwXYq4) - Create a simple webpage using BEM conventions. <a name="gulp"></a> ![Gulp](https://i.imgur.com/KQrByqq.jpg) Gulp is a toolkit for automating painful or time-consuming tasks in your development workflow, so you can stop messing around and build something. (Source: [gulpjs.com](https://gulpjs.com/)) ### :bulb: Quick Takeaway In modern front-end development, you'll often find yourself needing to automate tasks like bundling, moving files, and injecting references into HTML files. Gulp is one tool that can help you do these things! ### :book: Learning Areas and Ideas - Install gulp with npm - Follow the [gulp for beginners tutorial](https://css-tricks.com/gulp-for-beginners/) on CSS-Tricks - In your website, set up gulp to: - Compile Sass for you - Put the generated CSS file in `build` subdirectory - Move your web pages to the build directory - Inject a reference to your generated CSS file into your web pages <a name="webpack"></a> ![Webpack](https://i.imgur.com/0rx82Kl.jpg) At its core, webpack is a static module bundler for modern JavaScript applications. When webpack processes your application, it internally builds a dependency graph which maps every module your project needs and generates one or more bundles. (Source: [webpack.js.org](https://webpack.js.org/concepts/)) ### :bulb: Quick Takeaway Imagine that you have a large web development project with a number of different developers working on a lot of different tasks. Rather than all working in the same files, you might want to modularize them as much as possible. Webpack helps enable this by letting your team work modularly and then, come time to build the application, Webpack will stick it all together: HTML, CSS/Sass, JavasScript, images, etc. Webpack isn't the only module bundler, but it seems to be the front-runner at the moment. ### :book: Learning Areas and Ideas - Read [webpack concepts](https://webpack.js.org/concepts/) - [What is Webpack, How does it work? (Video)](https://www.youtube.com/watch?v=GU-2T7k9NfI) - [This webpack tutorial](https://hackernoon.com/a-tale-of-webpack-4-and-how-to-finally-configure-it-in-the-right-way-4e94c8e7e5c1) <a name="eslint"></a> ![ESLint](https://i.imgur.com/CJb6ZnL.jpg) ESLint is an open source JavaScript linting utility originally created by Nicholas C. Zakas in June 2013. Code linting is a type of static analysis that is frequently used to find problematic patterns or code that doesn’t adhere to certain style guidelines. There are code linters for most programming languages, and compilers sometimes incorporate linting into the compilation process. (Source: [eslint.org](https://eslint.org/docs/about/)) ### :bulb: Quick Takeaway Linting is a fantastic tool for code quality, readability, and consistency. Using a linter will help you catch syntax and formatting mistakes before they go to production. You can run linters manually or include them in your build/deployment process. ### :book: Learning Areas and Ideas - Install eslint using npm - [How to Setup VS Code + Prettier + ESLint (Video)](https://www.youtube.com/watch?v=YIvjKId9m2c) - Lint your JavaScript <a name="react"></a> ![React](https://i.imgur.com/uLYz15W.jpg) \* Some alternatives: Vue, Angular, Ember React (also known as React.js or ReactJS) is a JavaScript library for building user interfaces. It is maintained by Facebook and a community of individual developers and companies. React can be used as a base in the development of single-page or mobile applications. Complex React applications usually require the use of additional libraries for state management, routing, and interaction with an API. (source: [Wikipedia](<https://en.wikipedia.org/wiki/React_(JavaScript_library)>)) ### :bulb: Quick Takeaway Front-end JavaScript frameworks are at the forefront of modern front-end development. One important takeaway here is that React, despite being incredibly popular, is only a library for building user interfaces whereas frameworks like Vue and Angular aim to be more full-featured. For example, if you build an application with in React that needs to route to different views, you'll need to bring in something like `react-router`. ### :book: Learning Areas and Ideas - Take the [React tutorial](https://reactjs.org/tutorial/tutorial.html) - [Learn React with Mosh](https://www.youtube.com/watch?v=Ke90Tje7VS0) - Refactor your website as a React app! - Note: `create-react-app` is a convenient tool to scaffold new React projects. <a name="redux"></a> ![Redux](https://i.imgur.com/S9H2Dbp.jpg) Redux is a predictable state container for JavaScript apps. It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. On top of that, it provides a great developer experience, such as live code editing combined with a time traveling debugger. (Source: [redux.js.org](https://redux.js.org/introduction/getting-started)) ### :bulb: Quick Takeaway As you build bigger and bigger front-end applications, you start realizing that it's hard to maintain application state: things like the if the user is logged in, who the user is, and generally what's going on in the application. Redux is a great library that helps you maintain a single source of state on which your application can base its logic. ### :book: Learning Areas and Ideas - This [Redux video tutorial](https://www.youtube.com/watch?v=93p3LxR9xfM) - This [Redux video series](https://egghead.io/courses/getting-started-with-redux) by Dan Abramov, creator of Redux - Take note of the [Redux three principles](https://redux.js.org/introduction/three-principles) - Single source of truth - State is read-only - Changes are made with pure functions - Add Redux state management to your app! <a name="jest"></a> ![Jest](https://i.imgur.com/Cr39axw.jpg) Jest is a delightful JavaScript Testing Framework with a focus on simplicity. It works with projects using: Babel, TypeScript, Node, React, Angular, Vue and more! (Source: [jestjs.io](https://jestjs.io)) ### :bulb: Quick Takeaway It is very important to set up automated testing for your front-end projects. Setting up automated testing will allow you to make future changes with confidence--if you make changes and your tests still pass, you will be fairly comfortable you didn't break any existing functionality. There are too many testing frameworks to list; Jest is simply one of my favorties. ### :book: Learning Areas and Ideas - Learn [Jest basics](https://jestjs.io/docs/en/getting-started) - If you used `create-react-app`, [Jest is already configured](https://facebook.github.io/create-react-app/docs/running-tests). - Add tests to your application! <a name="typescript"></a> ![TypeScript](https://i.imgur.com/BZROJNs.jpg) \* Alternative: Flow TypeScript is an open-source programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript, and adds optional static typing to the language. TypeScript is designed for development of large applications and transcompiles to JavaScript. As TypeScript is a superset of JavaScript, existing JavaScript programs are also valid TypeScript programs. TypeScript may be used to develop JavaScript applications for both client-side and server-side (Node.js) execution. (Source: [Wikipedia](https://en.wikipedia.org/wiki/TypeScript)) ### :bulb: Quick Takeaway JavaScript is dynamically typed. However, it is a common belief that static typing (i.e., specifying variable types, classes, interfaces ahead of time) is both clearer and reduces the likelihood of defects/bugs. Regardless of how you feel on the topic, it's important to at least get a feel for a statically-typed version of JavaScript like TypeScript. Note that TypeScript compiles down to JavaScript so it can be interpreted by browsers (i.e., browsers don't natively interpret TypeScript). ### :book: Learning Areas and Ideas - [Learn TypeScript in 5 minutes](https://medium.freecodecamp.org/learn-typescript-in-5-minutes-13eda868daeb) - [Learn TypeScript in 50 minutes (Video)](https://www.youtube.com/watch?v=WBPrJSw7yQA) - Optionally [create a React app with TypeScript](https://levelup.gitconnected.com/typescript-and-react-using-create-react-app-a-step-by-step-guide-to-setting-up-your-first-app-6deda70843a4) <a name="nextjs"></a> ![NextJS](https://i.imgur.com/YNtW38J.jpg) Next.js is a minimalistic framework for server-rendered React applications. (Source: [Next.js — React Server Side Rendering Done Right](https://hackernoon.com/next-js-react-server-side-rendering-done-right-f9700078a3b6)) ### :bulb: Quick Takeaway Now we're getting advanced! By now you've built a React (or Vue or Angular) application that does quite a bit of work in the browser. For various reasons (e.g., SEO, concerns over client performance), you might actually want your front-end application to be rendered on the server rather than the client. That's where a framework like next.js comes in. ### :book: Learning Areas and Ideas - Next.js [Getting Started](https://nextjs.org/learn/) - [Next.js Crash Course (Video)](https://www.youtube.com/watch?v=IkOVe40Sy0U) - Create a Next.js app or migrate your existing app to Next.js # But What About X? This list is supposed to give you broad exposure to the front-end ecosystem, but it's simply impossible to hit on every single topic, not to mention the myriad tools within each area! If you do think I missed something very important, please see the [Contributing](#contributing) section to see how you can help make this guide better. # Project Ideas As you progress through #100DaysOfCode, you'll want one or multiple projects to which you can apply your new knowledge. In this section, I attempt to provide a few project ideas that you can use. Alternatively, you're encouraged to come up with your own project ideas as those ideas may interest and motivate you more. - Beginner ideas: - Build a portfolio website - Intermediate/Advanced ideas: - Build a tweet analysis app (If you know back-end and API integration already) # Need Help? Generally, I have found the following resources invaluable to learning software development: - Googling the issue - [StackOverflow](http://www.stackoverflow.com) (There's a good chance your question has already been asked and will be a high-ranking result when googling). - [Mozilla MDN Web Docs](https://developer.mozilla.org/en-US/) - [freeCodeCamp](https://www.freecodecamp.org/) - Local software development Meetups! Most are very friendly to all experience levels. If you'd like my input on anything, feel free to [connect with me on Twitter](http://www.twitter.com/nas5w) and I'll do my best to try to offer some assistance. If you think there's an issue with the curriculum or have a recommendation, see the [contributing section](#contributing) below. # Contributing ## Spread the Word If you appreciate the work done here, you can contribute significantly by spreading the word about this repository, including things like: - Starring and forking this repository - Sharing this repository on social media ## Contribute to this Repository This is a work in progress and I very much appreciate any help in maintaining this knowledge base! When contributing to this repository, please first discuss the change you wish to make via issue before making a change. Otherwise, it will be very hard to understand your proposal and could potentially result in you putting in a lot of work to a change that won't get merged. Please note that everyone involved in this project is either trying to learn or trying to help--Please be nice! ## Pull Request Process 1. Create an issue outlining the proposed pull request. 2. Obtain approval from a project owner to make the proposed change. 3. Create the pull request.
6
An opinionated collection of components, hooks, and utilities for your Next.js project.
<a href="https://precedent.dev"> <img alt="Precedent – Building blocks for your Next project" src="https://precedent.dev/api/og"> <h1 align="center">Precedent</h1> </a> <p align="center"> Building blocks for your Next project </p> <p align="center"> <a href="https://twitter.com/steventey"> <img src="https://img.shields.io/twitter/follow/steventey?style=flat&label=steventey&logo=twitter&color=0bf&logoColor=fff" alt="Steven Tey Twitter follower count" /> </a> <a href="https://github.com/steven-tey/precedent"> <img src="https://img.shields.io/github/stars/steven-tey/precedent?label=steven-tey%2Fprecedent" alt="Precedent repo star count" /> </a> </p> <p align="center"> <a href="#introduction"><strong>Introduction</strong></a> · <a href="#one-click-deploy"><strong>One-click Deploy</strong></a> · <a href="#tech-stack--features"><strong>Tech Stack + Features</strong></a> · <a href="#author"><strong>Author</strong></a> </p> <br/> ## Introduction Precedent is an opinionated collection of components, hooks, and utilities for your Next.js project. ## One-click Deploy You can deploy this template to Vercel with the button below: [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fsteven-tey%2Fprecedent&project-name=precedent&repository-name=precedent&demo-title=Precedent&demo-description=An%20opinionated%20collection%20of%20components%2C%20hooks%2C%20and%20utilities%20for%20your%20Next%20project.&demo-url=https%3A%2F%2Fprecedent.dev&demo-image=https%3A%2F%2Fprecedent.dev%2Fapi%2Fog&env=DATABASE_URL,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET,NEXTAUTH_SECRET&envDescription=How%20to%20get%20these%20env%20variables%3A&envLink=https%3A%2F%2Fgithub.com%2Fsteven-tey%2Fprecedent%2Fblob%2Fmain%2F.env.example) You can also clone & create this repo locally with the following command: ```bash npx create-next-app precedent --example "https://github.com/steven-tey/precedent" ``` ## Tech Stack + Features https://user-images.githubusercontent.com/28986134/212368288-12f41e37-aa8c-4e0a-a542-cf6d23410a65.mp4 ### Frameworks - [Next.js](https://nextjs.org/) – React framework for building performant apps with the best developer experience - [Auth.js](https://authjs.dev/) – Handle user authentication with ease with providers like Google, Twitter, GitHub, etc. - [Prisma](https://www.prisma.io/) – Typescript-first ORM for Node.js ### Platforms - [Vercel](https://vercel.com/) – Easily preview & deploy changes with git - [Railway](https://railway.app/) – Easily provision a PostgreSQL database (no login required) ### UI - [Tailwind CSS](https://tailwindcss.com/) – Utility-first CSS framework for rapid UI development - [Radix](https://www.radix-ui.com/) – Primitives like modal, popover, etc. to build a stellar user experience - [Framer Motion](https://framer.com/motion) – Motion library for React to animate components with ease - [Lucide](https://lucide.dev/) – Beautifully simple, pixel-perfect icons - [`@next/font`](https://nextjs.org/docs/basic-features/font-optimization) – Optimize custom fonts and remove external network requests for improved performance - [`@vercel/og`](https://vercel.com/docs/concepts/functions/edge-functions/og-image-generation) – Generate dynamic Open Graph images on the edge - [`react-wrap-balancer`](https://github.com/shuding/react-wrap-balancer) – Simple React component that makes titles more readable ### Hooks and Utilities - `useIntersectionObserver` –  React hook to observe when an element enters or leaves the viewport - `useLocalStorage` – Persist data in the browser's local storage - `useScroll` – React hook to observe scroll position ([example](https://github.com/steven-tey/precedent/blob/main/components/layout/index.tsx#L25)) - `nFormatter` – Format numbers with suffixes like `1.2k` or `1.2M` - `capitalize` – Capitalize the first letter of a string - `truncate` – Truncate a string to a specified length - [`use-debounce`](https://www.npmjs.com/package/use-debounce) – Debounce a function call / state update ### Code Quality - [TypeScript](https://www.typescriptlang.org/) – Static type checker for end-to-end typesafety - [Prettier](https://prettier.io/) – Opinionated code formatter for consistent code style - [ESLint](https://eslint.org/) – Pluggable linter for Next.js and TypeScript ### Miscellaneous - [Vercel Analytics](https://vercel.com/analytics) – Track unique visitors, pageviews, and more in a privacy-friendly way ## Author - Steven Tey ([@steventey](https://twitter.com/steventey))
7
:snowflake: A React-Native Android iOS Starter App/ BoilerPlate / Example with Redux, RN Router, & Jest with the Snowflake Hapi Server running locally or on RedHat OpenShift for the backend, or a Parse Server running locally or remotely on Heroku
Snowflake ![snowflake](https://cloud.githubusercontent.com/assets/1282364/19871941/447b11ea-9f85-11e6-81d6-cb4b70faea6f.png) ================================== A React-Native starter mobile app, or maybe just an example, or maybe a boilerplate (you decide) for iOS and Android with a single code base, with 2 backends to chose from: a Hapi or Parse Server solution- [Demo](#screens) [![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/c072e4c80b2e477591170553b149772b)](https://www.codacy.com/app/bartonhammond/snowflake?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=bartonhammond/snowflake&amp;utm_campaign=Badge_Grade) [![Join the chat at https://gitter.im/bartonhammond/snowflake](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/bartonhammond/snowflake?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/bartonhammond/snowflake/blob/master/LICENSE) [![React Native](https://img.shields.io/badge/react%20native-0.41.2-brightgreen.svg)](https://github.com/facebook/react-native) ## Installation * [Install React-Native](https://facebook.github.io/react-native/docs/getting-started.html#content) ### Install Snowflake * Clone snowflake: `git clone https://github.com/bartonhammond/snowflake.git` * install dependencies ``` cd snowflake npm install ``` ### Using Snowflake Hapi Server #### Use the local or remote Snowflake Hapi Server To make things easy for you, the `config.example.js` has been initialized to use the remote **Snowflake Hapi Server** which is running on **Redhat OpenShift**. This **Snowflake Hapi Server** is Open Source. It can run either locally or on **RedHat OpenShift**. For your convince a server is running at: [https://snowflakeserver-bartonhammond.rhcloud.com](https://snowflakeserver-bartonhammond.rhcloud.com/) Please refer to [https://github.com/bartonhammond/snowflake-hapi-openshift](https://github.com/bartonhammond/snowflake-hapi-openshift) for more information about the code and instructions for installation and setup of the server. #### The following commands are for the client * Copy the ```src/lib/config.example.js``` to ```src/lib/config.js```. * **Note**: the `.gitignore` includes `config.js` from being committed to GitHub * **Note**: you must select either `hapiLocal` or `hapiRemote` for the ```backend``` as shown below with `hapiRemote` set as the default. ``` backend: { hapiLocal: false, hapiRemote: true, parseLocal: false, parseRemote: false }, ``` * To run Hapi locally, follow the instructions at [https://github.com/bartonhammond/snowflake-hapi-openshift](https://github.com/bartonhammond/snowflake-hapi-openshift). You will have to install **MongoDB** and **Redis**. * **Note**: The default is to run remotely on the **RedHat OpenShift Snowflake Server** so there is nothing more to do if you want to use it! In that case, just use the `config.js` as is. * If you want to install and run the **Snowflake Hapi Server** locally, then update the ```src/lib/config.js``` file as shown below. * **Note**: use the ip from the `ifconfig` command for the `local`. This ip matches the **Snowflake Hapi Server** setup. * An example of the `url` is shown below assuming the `ifconfig` shows the local ip to be `192.168.0.5` * **Note**: You don't have to provide the `local.url` value if you are using the `remote` ``` HAPI: { local: { url: 'http://192.168.0.5:5000' }, remote: { url: 'https://snowflakeserver-bartonhammond.rhcloud.com/' } } ``` ### Using Parse Server This **Snowflake Parse Heroku Server** is Open Source. It can run either locally or on **Heroku**. For your convince a server is running at: [https://snowflake-parse.herokuapp.com/parse](https://snowflake-parse.herokuapp.com/parse) Please refer to [https://github.com/bartonhammond/snowflake-parse-heroku](https://github.com/bartonhammond/snowflake-parse-heroku) for more information about the code and instructions for installation and setup of the server. #### The following instructions are for the client * Copy the ```src/lib/config.example.js``` to ```src/lib/config.js```. * **Note**: the `.gitignore` includes `config.js` from being committed to GitHub * Set `parseLocal` to true if you are running a local instance of parse-server * Otherwise, set `parseRemote` to true to indicate your parse server instance is hosted in the cloud ``` backend: { hapiLocal: false, hapiRemote: false, parseLocal: true, parseRemote: false }, ``` * To setup parse-server, follow the instructions at https://github.com/ParsePlatform/parse-server-example * Set the `local.url` value if you are running parse-server `local` * Set the `remote.url` value if you are running parse-server `remote` ``` PARSE: { appId: 'snowflake', // match APP_ID in parse-server's index.js local: { url: 'http://localhost:1337/parse' // match SERVER_URL in parse-server's index.js }, remote: { url: 'https://enter_your_snowflake_host.com' // match SERVER_URL in parse-server's index.js } } ``` ### To run: * For iOS, from the command line, run via command: ```react-native run-ios``` or open XCode and load project, Run ```Product -> Run (⌘+R)``` * For Android, from the command line, run via the command: ```react-native run-android``` assuming you have an emulator or device running and attached * To run Jest, ```npm test``` * To debug Jest unit cases, install [node_inspector](https://github.com/node-inspector/node-inspector) and run ```npm run test-chrome``` * Enjoy! ---------- ------------ ## Notes Code is written to [JS Standard](https://github.com/feross/standard) and validated with [Eslint](http://eslint.org/). To setup your favorite editor using the Eslint configuration, see [Editors](http://eslint.org/docs/user-guide/integrations#editors) Navigation is handled with [React Native Router Flux](https://github.com/aksonov/react-native-router-flux). Multiple scenes support **Login, Register, and Reset Password**. Once successfully logged in, there are 3 more scenes: **Logout, Subview, and Profile**. A user can **change** their **Email Address** and **User Name** once they are logged in using the **Profile** form. The icons used throughout the app are from [React Native Vector Icons](https://github.com/oblador/react-native-vector-icons), namely using **FontAwesome** **Form building** is extremely easy and consistent by using [Tcomb Form Library](https://github.com/gcanti/tcomb-form-native) by using **domain models** and writing less code. Using [Redux](https://github.com/reactjs/react-redux) and [Immutable](https://facebook.github.io/immutable-js/), the state of the application is **testable** with [Jest](https://facebook.github.io/jest/), which includes [Snapshot tests](http://facebook.github.io/jest/blog/2016/07/27/jest-14.html) currently with 85 tests and ~90% coverage!!! To ease the pain of Redux Action definitions, Snowflake uses [Key Mirror](https://github.com/STRML/keyMirror). Using the [Validate.JS](https://validatejs.org/) Library, all **user input is validated**. Appropriate messages are displayed to the user guiding them in the input requirements. Once a user is logged in, their **Session State is stored** in [AsyncStorage](https://github.com/jasonmerino/react-native-simple-store) so that subsequent usage does not require logging in again. Snowflake supports **multiple languages** using [I18n](https://github.com/AlexanderZaytsev/react-native-i18n) with English, French and Spanish. Snowflake supports **Hot Reloading** of its state. Snowflake uses CI with [Bitrise.io]( https://www.bitrise.io) and has **extensive docs and 45+ min of video** demonstating implementation. Snowflake has a **choice of servers**, either * **Hapi Server** that runs on **RedHat Openshift** and **locally**. See [https://github.com/bartonhammond/snowflake-hapi-openshift](https://github.com/bartonhammond/snowflake-hapi-openshift) for more information about the OpenShift Hapi server. The setup instructions below describe how to select the server you desire. * **Parse Server** that runs **remotely** or **locally** See [https://github.com/ParsePlatform/parse-server-example](https://github.com/ParsePlatform/parse-server-example) for more information. --------------- # Content - [Editor Configuration](#editor-configuration) - [Screens](#screens) - [Summary](#summary) - [Quotes](#quotes) - [Technologies](#technologies) - [Continuous Integration](#continuous-integration) - [Redux State Management](#redux-state-management) - [Hot Reloading](#hot-reloading) - [FAQ](#faq) - [Source documentation](http://bartonhammond.github.io/snowflake/snowflake.js.html) ---------- ## Editor Configuration **Atom** ```bash apm install editorconfig es6-javascript javascript-snippets linter linter-eslint language-babel ``` **Sublime** * https://github.com/sindresorhus/editorconfig-sublime#readme * https://github.com/SublimeLinter/SublimeLinter3 * https://github.com/roadhump/SublimeLinter-eslint * https://github.com/babel/babel-sublime **Others** * [Editorconfig](http://editorconfig.org/#download) * [ESLint](http://eslint.org/docs/user-guide/integrations#editors) * Babel Syntax Plugin ## Screens | Platform| Register | Login | Profile | | :------:| :-------: | :----: | :---: | | iOS| ![iOS Profile](https://cloud.githubusercontent.com/assets/1282364/11598478/b2b1b5e6-9a87-11e5-8be9-37cbfa478a71.gif) | ![iOS Login](https://cloud.githubusercontent.com/assets/1282364/11598580/6d360f02-9a88-11e5-836b-4171f789a41d.gif)| ![iOS Register](https://cloud.githubusercontent.com/assets/1282364/11598582/6d392750-9a88-11e5-9839-05127dfba96b.gif) | | Android |![Android Register](https://cloud.githubusercontent.com/assets/1282364/11598579/6d3487b8-9a88-11e5-9e95-260283a6951e.gif) | ![Android Login](https://cloud.githubusercontent.com/assets/1282364/11598577/6d2f140e-9a88-11e5-8cd4-1ba8c9cbc603.gif) | ![Android Profile](https://cloud.githubusercontent.com/assets/1282364/11598578/6d314ee0-9a88-11e5-9a6c-512a313535ee.gif) | ---------- ## Summary 1. The application runs on **both iOS and Android** with a **single code** base 1. A User can **Register, Login, Logout, Reset their Password** and modify their **Profile** 1. The Forms display messages for **help and field validation**. 1. The Forms are **protected** when fetching. 1. The Forms display **spinner** when fetching. 1. Form submission **errors are displayed** (see above Login) 1. **All state changes*** are actions to the Redux store. 1. The backend is provided by either a Hapi server or Parse server using the **Rest API** 1. **Every action** performed by the UI interfaces with the **Redux actions** and subsequently to the Redux Store. This **reduces the complexity** of the JSX Components **tremendously**and makes them easily testable. 1. **Jest Unit Tests cover ~90%** of the application statements. 1. Demonstrates how to **setup React-Native to perform Jest testing** with Mock modules 1. Includes ability to **debug Jest unit tests** with Chrome 1. Instructions and videos for **continuous integration with Bitrise.io** ---------- ## Quotes Some quotes from users of **Snowflake** **Open Source Mag: Learn best of React Native with these open source projects**: [http://opensourceforu.com/2016/05/learn-best-of-react-native-with-these-open-source-projects/](http://opensourceforu.com/2016/05/learn-best-of-react-native-with-these-open-source-projects/) **ICICletech Blog: Mobile App Development With 8 Awesome React-Native Starter Kits**: We have listed some of our favorite starter kits and boilerplates to get started quickly. [https://www.icicletech.com/blog/react-native-starter-kits](https://www.icicletech.com/blog/react-native-starter-kits) **Infinite.Red: Ignite Your Mobile Development:** > awesome releases as Barton Hammond’s snowflake. [https://shift.infinite.red/ignite-your-mobile-development-32417590ed3e#.pz7u3djtm](https://shift.infinite.red/ignite-your-mobile-development-32417590ed3e#.pz7u3djtm) **AdtMag: New Community Projects for React Native: Deco IDE and Pepperoni Boilerplate** [https://adtmag.com/articles/2016/05/26/react-native-projects.aspx](https://adtmag.com/articles/2016/05/26/react-native-projects.aspx) Snowflake mentioned **Pepperoni App Kit** (see [Credits](https://github.com/futurice/pepperoni-app-kit#credits)) >This project was initially motivated by Snowflake....you should check it out to see if it's a good fit for your app. **Viktor** >Just saw the tweets, still watching the vids. It's awesome!! It's really really high quality, I'm truly amazed **John** >project is awesome, thank you for providing it! **Eric**: > I've been going through snowflake and love what you have done! **Nikos**: > wow new videos, nice **Josh** >thanks for the thorough videos! **Patrick** > just wanna snowflake is awesome **Justin** >Congrats - the project is super helpful **Stephen** >Thanks so much for this amazing foundation! **Jim** >Neat project ---------- ## Technologies *The following are brief descriptions of the technologies used* ### [React-Native](https://facebook.github.io/react-native/) *React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React.* What more can I say? It's a fantastic leap forward in providing the ability to write native applications with Javascript that target both iOS and Android. This application provides one code base that works on both platforms. It demonstrates Form interactions, Navigation, and use of many other components. ### [Jest](https://facebook.github.io/jest/) *85 Unit tests that cover plain objects and JSX components* The de-facto standard for React/Native testing. This app demonstrates how to mock **ReactNative, node_modules, classes** and to properly **test JSX components** by programmatically changing the props, and throughly **test the applications data state and the actions** in conjunction with Redux. ![Jest Coverage Analysis](https://cloud.githubusercontent.com/assets/1282364/17187737/19524234-5400-11e6-8350-53e653a4c1f6.png) ### [Redux](http://redux.js.org/) *Redux is a predictable state container for JavaScript apps. It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test.* Before Redux, application state was managed by all the various components in the app. Now, the state is managed in a **predictable and consistent manner** and it can be **tested with Jest** and best of all, it is **independent** of the UI. This is a major advancement in application design! ### [Hapi](http://hapijs.com/) For me, Hapi provided a clear way for defining APIs and managing things clearly. Some folks like Express, I've used Express myself, and I wanted to try Hapi. I'm very satisfied with Hapi. As you may or may not know, WalMart Labs produced Hapi and they've used it in their business. One of the needs of any application is server side processing. With the ability to run Hapi locally or on OpenShift, I'm able to write my server logic and test it locally. When I'm "happy" I can push the code to OpenShift. The same code runs in both environments. ### [Parse Server](https://github.com/ParsePlatform/parse-server) As an alternative to Hapi, Snowflake also supports Parse Server. Parse Server is an open source version of the Parse backend that can be deployed to any infrastructure that can run Node.js. Parse Server works with the Express web application framework. You can test it locally and push changes to your parse remote server when you are ready. ### [OpenShift](https://www.openshift.com/) I chose OpenShift because I could get a reasonable performing application for free. The Snowflake server ([https://github.com/bartonhammond/snowflake-hapi-openshift](https://github.com/bartonhammond/snowflake-hapi-openshift) uses 3 gears with MongoDB and Redis. ### [TComb](https://github.com/gcanti/tcomb-form-native) *A structured model based approach to declarative forms* *With this library, you **simplify form processing** incredibly! Write a lot **less code**, get **usability** and **accessibility for free** (automatic labels, inline validation, etc) and no need to update forms when domain model changes. This application **demonstrates how to test these forms** also! ### [Validate.js](http://validatejs.org/) *Validate.js provides a declarative way of validating javascript objects.* Using Validate.js for the Form processing was a breeze! And with the ability to test the validations to the Redux state was very easy! --------------- ## Continuous Integration CI proves to the developer that everything required to build and test the application is well defined and repeatable. Without CI, one would not know, for a fact, that all the required tools and assests are available for everyone to build with. CI gives us developers some "peace of mind" that our build process is repeatable. The following videos will walk you through setting up CI with BitRise.io - [Introduction](#introduction) - [Bitrise Overview](#bitrise-overview) - [iOS XCode Modifications](#ios-xcode-modifications) - [XCode Certs Provision Profiles App Id](#xcode-certs-provision-profiles-app-id) - [Create iOS App](#create-ios-app) - [iOS install](#ios-install) - [Android Setup](#android-setup) - [Addendum #1](#addendum-#1) - [Things not addressed](#things-not-addressed) ---------- ##### Introduction * **Video 1/7**: [https://youtu.be/EYafslJvXz8](https://youtu.be/EYafslJvXz8) <a href="http://www.youtube.com/watch?feature=player_embedded&v=EYafslJvXz8" target="_blank"> <img src="http://img.youtube.com/vi/EYafslJvXz8/0.jpg" alt="Introduction" width="240" height="180" border="10" /> </a> * Snowflake is a *starter app* so all tutorials are basic in nature * There are a bizzilion ways of doing any of this - I'm showing one * There's a number of CI sites, I chose Bitrise.io * There's a general understanding of why to us a CI * The build will be done on Bitrise.io - not locally * The **only** goal is to get the build to run on Bitrise.io * You can **still** run applications locally with simulators ##### Bitrise Overview * **Video 2/7**: [https://youtu.be/JAHlfNUKoLg](https://youtu.be/JAHlfNUKoLg) <a href="http://www.youtube.com/watch?feature=player_embedded&v=JAHlfNUKoLg" target="_blank"> <img src="http://img.youtube.com/vi/JAHlfNUKoLg/0.jpg" alt="Bitrise.io Overview" width="240" height="180" border="10" /> </a> * Introduction to Bitrise.io [https://www.bitrise.io/](https://www.bitrise.io/) * Overview of what it does for us * Overview of the two WorkFlows * iOS * Android ##### iOS XCode Modifications * **Video 3/7**: [https://youtu.be/3y72adWNRSU](https://youtu.be/3y72adWNRSU) <a href="http://www.youtube.com/watch?feature=player_embedded&v=3y72adWNRSU" target="_blank"> <img src="http://img.youtube.com/vi/3y72adWNRSU/0.jpg" alt="iOS XCode Modifications" width="240" height="180" border="10" /> </a> * XCode * Icons - Asset Catalog Creator Free - see App Store * Bundler ID * [ https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html](https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html) * AppDelegate.m * Versioning * [https://developer.apple.com/library/ios/qa/qa1827/_index.html](https://developer.apple.com/library/ios/qa/qa1827/_index.html) * Automatic Certificate & Development ##### XCode Certs Provision Profiles App Id * **Video 4/7**: [https://youtu.be/zJXoHIaJg7Y](https://youtu.be/zJXoHIaJg7Y) <a href="http://www.youtube.com/watch?feature=player_embedded&v=zJXoHIaJg7Y" target="_blank"> <img src="http://img.youtube.com/vi/zJXoHIaJg7Y/0.jpg" alt="XCode Certs Provision Profiles" width="240" height="180" border="10" /> </a> * see [https://developer.apple.com/library/ios/qa/qa1814/_index.html](https://developer.apple.com/library/ios/qa/qa1814/_index.html) * App Development Center * Remove all Certs, App Ids, and Profiles * Generating Certificates and Provision Profile * Update XCode appDelegate.m w/ ifconfig value * Xcode -> Run with device attached * Select option for Xcode to fix signing ##### Create iOS App * **Video 5/7**: [Bitrise, YML, Profile, P12](https://youtu.be/olfpwEjVlZ4) <a href="http://www.youtube.com/watch?feature=player_embedded&v=olfpwEjVlZ4" target="_blank"> <img src="http://img.youtube.com/vi/olfpwEjVlZ4/0.jpg" alt="Create iOS App" width="240" height="180" border="10" /> </a> * Login/Register Bitrise.io * Dashboard * Add App * Authenticate GitHub * Select repository, branch * Import YML * Download Certifications * Update KeyChain * Save .p12 * Download Provision * Load .p12 and provision to Bitrise.io * Setup Secret and Env Vars * Build ##### iOS install * **Video 6/7**: [https://youtu.be/nQWXJI0ncns](https://youtu.be/nQWXJI0ncns) <a href="http://www.youtube.com/watch?feature=player_embedded&v=nQWXJI0ncns" target="_blank"> <img src="http://img.youtube.com/vi/nQWXJI0ncns/0.jpg" alt="iOS install from email" width="240" height="180" border="10" /> </a> * From device, open email app * Open **letsconnect** * Follow instructions to load in Safarie * Follow prompts and enjoy! ##### Android Setup * **Video 7/7**: [Android YML, Setup](https://youtu.be/o4RQZodbzIU) <a href="http://www.youtube.com/watch?feature=player_embedded&v=o4RQZodbzIU" target="_blank"> <img src="http://img.youtube.com/vi/o4RQZodbzIU/0.jpg" alt="Android Setup" width="240" height="180" border="10" /> </a> * Settings -> Docker Image * Secret Variables * App/build.gradle * Setup Secret and Env Vars * Import YML * Run build ##### Addendum #1 * **Video**: [XCode Edge Stack, WorkFlow](https://youtu.be/mP5D2MQboxw) <a href="http://www.youtube.com/watch?feature=player_embedded&v=mP5D2MQboxw" target="_blank"> <img src="http://img.youtube.com/vi/mP5D2MQboxw/1.jpg" alt="XCode Edge Stack" width="240" height="180" border="10" /> </a> * "XCode Edge Stack" for iOS * New React-Native steps for Install & Bundle * Upgraded Step versions * GitHub branch triggers ##### Things not addressed * Submission to any store * Working with other CIs * Complex setups for either iOS or Android * Debugging any failures * Shiny new things * No local builds with Bitrise CLI * No local builds with Fastlane * No tutorial on all the features of Fastlane --------------- ## Redux State Management This section explains a little about what I've learned with Redux and the management of application state. ### Without Redux ![Alt text](https://g.gravizo.com/source/custom_mark10?https%3A%2F%2Fraw.githubusercontent.com%2Fbartonhammond%2Fsnowflake%2Fmaster%2FREADME.md) <details> <summary></summary> custom_mark10 digraph G { aize ="4,4"; login [shape=box]; login -> validate [style=bold,label="1"]; login -> restful [style=bold,label="2"]; restful -> parse [style=bold,label="3"]; login -> router [style=bold,label="4"]; router-> new_page [style=bold,label="5"]; } custom_mark10 </details> A typical app, at least those I've written before, have logic and state scattered all through out. Frameworks help to organize but typically the developer has to know how to "stitch" it together by remembering to update certain state at certain times. In the above diagram, the Login component is responsible for calling the Validate and making sure the rules are applied and errors are displayed. Then it has to have logic that confirms everything is in the right state, and pass that data to a Restul API to interact, in this case, with Parse. When that activity is complete the Router has to be informed and a new_page can be displayed. This makes testing hard as the logic is partially contained in the Login component itself and the sequence of those events are encapsulated there too! ### With Redux ![Alt text](https://g.gravizo.com/source/custom_mark11?https%3A%2F%2Fraw.githubusercontent.com%2Fbartonhammond%2Fsnowflake%2Fmaster%2FREADME.md) <details> <summary></summary> custom_mark11 digraph G { aize ="4,4"; login [shape=box]; login -> Action[style=bold,label="1"]; Action -> Reducer [style=bold,label="2"]; Reducer -> login [style=bold,label="3"]; login -> Action [style=bold,label="4"]; Action -> restful [style=bold,label="5"]; restful -> parse [style=bold,label="6"]; Action -> Reducer [style=bold,label="7"]; Reducer -> new_page [style=bold,label="8"]; } custom_mark11 </details> What the above diagram depicts is that the logic for login is contained in the Actions and Reducer and can be tested in isolation from the UI. This also makes the UI Component Login much simpler to write as it just renders content based on props that are provided. The props are actually the Reducer Store. So what is happening in this diagram? Where's the Validation? That would be in step 1. When the user enters characters on the form, they are sent to an action. The action packages them up and sends them to the Reducer. The reducer looks at what Type the Action is and performs the operation, in this case, Validate the parameters. How does Login respond? Well, it recieves the updated Props - the properties which are the store. It then renders it's output based on those properties. Just straight forward logic - nothing more then checking the properties and display approptiately. At no time does the Login component change any property state. The responsibility of changing state belongs to the Reducer. Every time an Action is called, that Action interacts w/ the Reducer. The Reducer does state changes on the State or Store model. Let's look at a concrete example, Resetting a Password. Now the UI is pretty simple, provide a Text Input for the email entry and a Button to click. Let's further assume that the email has been validated and the user clicks the "Reset Password" button. All that Login does is call an Action function called ```resetPassword``` passing the email value. So don't get too overwhelmed with the following code. You can think of the ```dispatch``` calls as meerly as a messaging system. Each ```dispatch``` call invokes a function - it just calls a function in a Promise chain. I want to now look at one specific Action and trace it's path. That action is the ```dispatch(resetPasswordRequest());``` call. That call signals that the "**reset password request**" processing is starting. We'll look at that next and how it trickles all the way back to the Login ui. > Action.resetPassword ``` export function resetPassword(email) { return dispatch => { dispatch(resetPasswordRequest()); return new Parse().resetPassword({ email: email }) .then((response) => { if (response.status === 200 || response.status === 201) { dispatch(loginState()); dispatch(resetPasswordSuccess()); } else { dispatch(resetPasswordFailure(JSON.parse(response._bodyInit))); } return response; }) .then((response) => { if (response.status === 200 || response.status === 201) { dispatch(emitLoggedOut()); } }) .catch((error) => { dispatch(resetPasswordFailure(error)); }); }; } ``` The simple function returns an object with type ```RESET_PASSWORD_REQUEST```. All of the activities performed have this pattern, make a REQUEST and then either have a SUCCESS or a FAILURE. Now Redux is responsible for taking this returned Action object and passing it to the Reducer. What does the Reducer do with this Action? We'll look at that next. > Action.resetPasswordRequest ``` export function resetPasswordRequest() { return { type: RESET_PASSWORD_REQUEST }; } ``` The Reducer is a function with 2 parameters, state and action. What it does is to make modifications to the state depending upon the action. The state is any javascript object you like. This application uses Immutable.js for it's state so to guarantee the state is always immutable. Notice the ```switch``` statement - it's looking at that Action.type value - all Actions have a type value. In our case, the type is RESET_PASSWORD_REQUEST. So what's happening here. If any request type comes to the Reducer, including RESET_PASSWORD_REQUEST, we change the state by setting the ```form.isFetching``` to ```true``` and the ```form.error``` field to null. The returned new state value has these two fields set. What happens with that new state? Well Redux makes that state available in the Login component ```props```. And since the ```props``` have changed, Login needs to ```render```. Let's look at that next. > Reducer.Action.ResetPasswordRequest snippet ``` export default function authReducer(state = initialState, action) { if (!(state instanceof InitialState)) return initialState.mergeDeep(state); switch (action.type) { case SESSION_TOKEN_REQUEST: case SIGNUP_REQUEST: case LOGOUT_REQUEST: case LOGIN_REQUEST: case RESET_PASSWORD_REQUEST: let nextState = state.setIn(['form', 'isFetching'], true) .setIn(['form','error'],null); return nextState; ..... ``` So here in the ```render``` component we need to decide if a ```spinner``` should be displayed. It should display when the ```props.isFetching``` is ```true```. That's the value set above in the Reducer! All the Login ```render()``` has to do is check that property and set the UI appropriately. > Login.Header.render snippet ``` render() { let spinner = <Text> </Text>; if (this.props.isFetching) { spinner = <GiftedSpinner/>; } return ( <View style={styles.header}> <Image style={styles.mark} source={{uri: 'http://i.imgur.com/da4G0Io.png'}} /> {spinner} </View> ); } ``` Hopefully this gives you some insight into how Redux is integrated into the application. In my opinion, this is a huge step in application logic. If you'd like to read an excellent tutorial on Redux I can't recommend this one enough: [http://teropa.info/blog/2015/09/10/full-stack-redux-tutorial.html](http://teropa.info/blog/2015/09/10/full-stack-redux-tutorial.html) -------------------- ## Hot Reloading This video shows Snowflake exporting and importing state from Redux. It demonstrates, with the iOS Simulator, the process of copying the state for import at a later time. After the demo, I walk through the code to clarify how I achieved this. It's assumed you have some familiarity with Redux. Hopefully it helps you gain a better understanding of what Redux provides you! <a href="http://www.youtube.com/watch?feature=player_embedded&v=b4eqQUA3O6o" target="_blank"><img src="http://img.youtube.com/vi/b4eqQUA3O6o/0.jpg" alt="Snowflake Hot Loading" width="240" height="180" border="10" /></a> ------------- ## Faq ### How do I change the Language of the App? Just use the Settings of your Device or Simulator. ### Why did you use the RestAPI instead of the (JS-sdk | ParseReact) I looked at it initially and, imo, it had too much magic. For example, I couldn't see how I was going to isolate my JSX components easily and keep all my "state" in Redux. ParseReact is right there in the middle of your JSX component which would tie me to a very particular vendor and implementation detail. If I decided to later move away from ParseReact I'd have to rewrite a lot of code and tests. Also, it had this statement > Mutations are dispatched in the manner of Flux Actions, allowing updates to be synchronized between many different components without requiring views to talk to each other I don't want to deal w/ wrapping my head around Flux Actions and have to monkey-patch or something to get Redux Actions. In a previous life, I worked with Parse JS SDK and it's based on backbone.js. So I didn't go that direction either, because, again, I didn't want to have another data model to deal with. Plus, at the time I was using it, the SDK was buggy and it was difficult to work with. With the Parse Rest API, it's simple, can be tested itself from the command line with curl, it's clear, it's succinct and it's easily replaced with something else, an example such as Mongo/Mongoose without much, if any, impact on the code base. ###### -barton hammond
8
🌟 An universal React isomorphic boilerplate for building server-side render web app.
# React Isomorphic Boilerplate An universal React isomorphic boilerplate for building server-side render web app. [![dependencies Status](https://david-dm.org/chikara-chan/react-isomorphic-boilerplate/status.svg)](https://david-dm.org/chikara-chan/react-isomorphic-boilerplate) [![devDependencies Status](https://david-dm.org/chikara-chan/react-isomorphic-boilerplate/dev-status.svg)](https://david-dm.org/chikara-chan/react-isomorphic-boilerplate?type=dev) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/chikara-chan/react-isomorphic-boilerplate/pulls) [![npm](https://img.shields.io/npm/l/express.svg)](https://github.com/chikara-chan/react-isomorphic-boilerplate/blob/master/LICENSE) ## Introduction This repository is an universal React isomorphic boilerplate for developer to quickly build a super fast and powerful web app that can be rendered both on the client and on the server using the most cutting-edge technology. Compared to others, this boilerplate has more pithily and more elegant configuration file based on environment variables, one for development, one for production. In addition, the directory structure is organized corresponding to mvc principle aim at the best practice. ## Technology Stack - [React](https://github.com/facebook/react) - [React Router](https://github.com/ReactTraining/react-router) - [Redux](https://github.com/reactjs/redux) - [Redux+](https://github.com/xgrommx/awesome-redux) - [Sass](https://github.com/sass/sass) - [PostCSS](https://github.com/postcss/postcss) - [CSS Modules](https://github.com/css-modules/css-modules) - [Koa](https://github.com/koajs/koa) - [Koa+](https://github.com/koajs) - [Webpack](https://github.com/webpack/webpack) - [Webpack+](https://webpack.js.org/loaders/) - [Babel](https://github.com/babel/babel) - [Babel+](http://babeljs.io/docs/plugins/) - [ESLint](https://github.com/eslint/eslint) - [Hot Module Replacement](https://webpack.github.io/docs/hot-module-replacement.html) - [Code Splitting](https://webpack.github.io/docs/code-splitting.html) - ~~Database~~ - ~~Test Framework~~ ## Getting Started - Require Node.js v6 or later. - `npm install` to install dependencies and devDependencies. - `npm run dev` to start up the development environment. - `npm run build` to compile and bundle the client and server files. - `npm start` to deploy the production server. ## What's included ``` react-isomorphic-boilerplate/ // root directory ├── build/ // webpack config directory │ ├── webpack.dev.config.js // config for webpack when run development bundle │ └── webpack.prod.config.js // config for webpack when run production bundle ├── client/ // client directory │ ├── about/ // `about` module │ ├── common/ // `common` module │ ├── home/ // `home` module │ ├── shared/ // shared module │ ├── explore/ // `explore` module │ ├── index.js // client entry file │ └── routes.js // client route config ├── dist/ // bundle output directory │ ├── client/ // the client side output directory │ └── server/ // the server side output directory ├── server/ // server directory │ ├── controllers/ // controllers in server │ ├── middlewares/ // custom middlewares in server │ ├── models/ // models in server │ ├── routes/ // routes in server │ ├── app.js // create koa instance in server │ ├── server.dev.js // entry file in development mode │ └── server.prod.js // entry file in production mode ├── views/ // views directory │ ├── dev/ // output files generated by tpl in development mode │ ├── prod/ // output files generated by tpl in production mode │ └── tpl // templates injected by html-webpack-plugin ├── .editorconfig // uniform the text editor behavior ├── .eslintignore // which paths should be omitted from linting ├── .eslintrc.json // specific rules for eslint ├── .gitattributes // uniform the new line perform behavior ├── .gitignore // ignore the specific files when using git ├── LICENSE // license information ├── package.json // npm entry file ├── README.md // just what you see now └── yarn.lock // lock file autogenerated by yarn ``` ## Why Isomorphic #### SEO An application that can only run in the client-side cannot serve HTML to crawlers, so it will have poor [SEO](https://en.wikipedia.org/wiki/Search_engine_optimization) by default. Web crawlers function by making a request to a web server and interpreting the result. but if the server returns a blank page, it’s not of much value. There are workarounds, but not without jumping through some hoops. #### Performance By the same token, if the server doesn’t render a full page of HTML but instead waits for client-side JavaScript to do so, users will experience a few critical seconds of blank page or loading spinner before seeing the content on the page. There are plenty of studies showing the drastic effect a slow site has on users, and thus revenue. #### Maintainability While the ideal case can lead to a nice, clean separation of concerns, inevitably some bits of application logic or view logic end up duplicated between client and server, often in different languages. Common examples are date and currency formatting, form validations, and routing logic. This makes maintenance a nightmare, especially for more complex apps. ## Problem exists yet #### [FOUC](https://www.google.com.hk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0ahUKEwimhPqTrofRAhXHkJQKHTEYCfMQFggjMAE&url=https%3a%2f%2fen%2ewikipedia%2eorg%2fwiki%2fFlash_of_unstyled_content&usg=AFQjCNGjAnNtZtjPb5oLsT9Wlf9az7hXTw) It happens when run in development mode. This is caused by deprecated using [extract-text-webpack-plugin](https://github.com/webpack/extract-text-webpack-plugin) in development for getting a seamless hmr experience.(Why deprecated? See this [Issue](https://github.com/webpack/extract-text-webpack-plugin/issues/30)) If you are not an OCD, go ahead, ignore it. #### Mismatch It happens also when run in development mode. This is caused by when you update the react component code and reload the page, the markup generated mismatches that on server render. However, once you restart the server, the checksum will be valid. So it is harmless, ignore it also. ## Links [http://www.jianshu.com/p/0ecd727107bb](http://www.jianshu.com/p/0ecd727107bb) ## License [MIT](https://github.com/chikara-chan/react-isomorphic-boilerplate/blob/master/LICENSE)
9
🗄🙅‍♀️ Deploy your next serverless JavaScript function in seconds
![logo](./logo.png) [![Greenkeeper badge](https://badges.greenkeeper.io/postlight/serverless-typescript-starter.svg)](https://greenkeeper.io/) [![CircleCI](https://circleci.com/gh/postlight/serverless-typescript-starter/tree/master.svg?style=svg)](https://circleci.com/gh/postlight/serverless-typescript-starter/tree/master) [Postlight](https://postlight.com)'s Modern Serverless Starter Kit adds a light layer on top of the Serverless framework, giving you the latest in modern JavaScript (ES6 via Webpack, TypeScript if you want it, testing with Jest, linting with ESLint, and formatting with Prettier), the ease and power of Serverless, and a few handy helpers (like functions for handling warm functions and response helpers). Once installed, you can create and deploy functions with the latest ES6 features in minutes, with linting and formatting baked in. Read more about it in [this handy introduction](https://postlight.com/trackchanges/introducing-postlights-modern-serverless-starter-kit). Note: Currently, this starter kit specifically targets AWS. ## Install ```bash # If you don't already have the serverless cli installed, do that yarn global add serverless # Use the serverless cli to install this repo serverless install --url https://github.com/postlight/serverless-typescript-starter --name <your-service-name> # cd into project and set it up cd <your-service-name> # Install dependencies yarn install ``` ## Development Creating and deploying a new function takes two steps, which you can see in action with this repo's default Hello World function (if you're already familiar with Serverless, you're probably familiar with these steps). #### 1. Add your function to `serverless.yml` In the functions section of [`./serverless.yml`](./serverless.yml), you have to add your new function like so: ```yaml functions: hello: handler: src/hello.default events: - http: path: hello method: get ``` Ignoring the scheduling event, you can see here that we're setting up a function named `hello` with a handler at `src/hello.ts` (the `.default` piece is just indicating that the function to run will be the default export from that file). The `http` event says that this function will run when an http event is triggered (on AWS, this happens via API Gateway). #### 2. Create your function This starter kit's Hello World function (which you will of course get rid of) can be found at [`./src/hello.ts`](./src/hello.ts). There you can see a basic function that's intended to work in conjunction with API Gateway (i.e., it is web-accessible). Like most Serverless functions, the `hello` function is asynchronous and accepts an event & context. (This is all basic Serverless; if you've never used it, be sure to read through [their docs](https://serverless.com/framework/docs/). --- You can develop and test your lambda functions locally in a few different ways. ### Live-reloading functions To run the hello function with the event data defined in [`fixtures/event.json`](fixtures/event.json) (with live reloading), run: ```bash yarn watch:hello ``` ### API Gateway-like local dev server To spin up a local dev server that will more closely match the API Gateway endpoint/experience: ```bash yarn serve ``` ### Test your functions with Jest Jest is installed as the testrunner. To create a test, co-locate your test with the file it's testing as `<filename>.test.ts` and then run/watch tests with: ```bash yarn test ``` ### Adding new functions/files to Webpack When you add a new function to your serverless config, you don't need to also add it as a new entry for Webpack. The `serverless-webpack` plugin allows us to follow a simple convention in our `serverless.yml` file which is uses to automatically resolve your function handlers to the appropriate file: ```yaml functions: hello: handler: src/hello.default ``` As you can see, the path to the file with the function has to explicitly say where the handler file is. (If your function weren't the default export of that file, you'd do something like: `src/hello.namedExport` instead.) ### Keep your lambda functions warm Lambda functions will go "cold" if they haven't been invoked for a certain period of time (estimates vary, and AWS doesn't offer a clear answer). From the [Serverless blog](https://serverless.com/blog/keep-your-lambdas-warm/): > Cold start happens when you execute an inactive (cold) function for the first time. It occurs while your cloud provider provisions your selected runtime container and then runs your function. This process, referred to as cold start, will increase your execution time considerably. A frequently running function won't have this problem, but you can keep your function running hot by scheduling a regular ping to your lambda function. Here's what that looks like in your `serverless.yml`: ```yaml custom: warmup: enabled: true events: - schedule: rate(5 minutes) prewarm: true concurrency: 2 ``` The above config would keep all of your deployed lambda functions running warm. The `prewarm` flag will ensure your function is warmed immediately after deploys (so you don't have to wait five minutes for the first scheduled event). And by setting the `concurrency` to `2`, we're keeping two instances warm for each deployed function. Under `custom.warmup`, you can set project-wide warmup behaviors. On the other hand, if you want to set function-specific behaviours, you should use the `warmup` key under the select functions. You can browse all the options [here](https://www.npmjs.com/package/serverless-plugin-warmup#configuration). Your handler function can then handle this event like so: ```javascript const myFunc = (event, context, callback) => { // Detect the keep-alive ping from CloudWatch and exit early. This keeps our // lambda function running hot. if (event.source === 'serverless-plugin-warmup') { // serverless-plugin-warmup is the source for Scheduled events return callback(null, 'pinged'); } // ... the rest of your function }; export default myFunc; ``` Copying and pasting the above can be tedious, so we've added a higher order function to wrap your run-warm functions. You still need to config the ping in your `serverless.yml` file; then your function should look like this: ```javascript import runWarm from './utils'; const myFunc = (event, context, callback) => { // Your function logic }; export default runWarm(myFunc); ``` ### Pruning old versions of deployed functions The Serverless framework doesn't purge previous versions of functions from AWS, so the number of previous versions can grow out of hand and eventually filling up your code storage. This starter kit includes [serverless-prune-plugin](https://github.com/claygregory/serverless-prune-plugin) which automatically prunes old versions from AWS. The config for this plugin can be found in `serverless.yml` file. The defaults are: ```yaml custom: prune: automatic: true number: 5 # Number of versions to keep ``` The above config removes all but the last five stale versions automatically after each deployment. Go [here](https://medium.com/fluidity/the-dark-side-of-aws-lambda-5c9f620b7dd2) for more on why pruning is useful. ## Environment Variables If you have environment variables stored in a `.env` file, you can reference them inside your `serverless.yml` and inside your functions. Considering you have a `NAME` variable: In a function: ```node process.env.NAME ``` In `serverless.yml`: ```yaml provider: name: ${env:NAME} runtime: nodejs12.x ``` You can check the documentation [here](https://www.npmjs.com/package/serverless-dotenv-plugin). ## Deploy Assuming you've already set up your default AWS credentials (or have set a different AWS profile via [the profile field](serverless.yml#L25)): ```bash yarn deploy ``` `yarn deploy` will deploy to "dev" environment. You can deploy to `stage` or `production` with: ```bash yarn deploy:stage # -- or -- yarn deploy:production ``` After you've deployed, the output of the deploy script will give you the API endpoint for your deployed function(s), so you should be able to test the deployed API via that URL. --- 🔬 A Labs project from your friends at [Postlight](https://postlight.com). Happy coding!
10
Curriculum for learning front-end development during #100DaysOfCode.
**Note:** this resource is old! I will be archiving this repository by the end of July 2021 as I feel that many of the recommendations here are outdated for learning front-end web development in 2021. --- <p align="center"> <img alt="#100DaysOfCode Front-End Development" src="https://i.imgur.com/dwYOP0B.jpg" /> </p> **Please support this repo by giving it a star ⭐️ at the top of the page and [follow me](https://github.com/nas5w) for more resources!** Want to learn more about frontend development? Consider: - signing up for my [free newsletter](https://buttondown.email/devtuts?100DoC) where I periodically send out digestible bits of frontend knowledge! - subscribing to my [YouTube channel](https://www.youtube.com/c/devtutsco) where I teach JavaScript, Typescript, and React. --- This is a somewhat opinionated curriculum for learning front-end development during #100DaysOfCode. As it covers a wide range of front-end development topics, it can be thought of as more of a "survey" style course rather than a deep dive into any one area. Ideally, your takeaway from completing this curriculum will be some familiarity with each topic and the ability to easily dive deeper in any area in the future when necessary. This curriculum was influenced significantly by Kamran Ahmed's [Modern Frontend Developer](https://medium.com/tech-tajawal/modern-frontend-developer-in-2018-4c2072fa2b9c) roadmap. Please check it out--it is excellent. **Note**: I know front-end development means a lot of different things to a lot of people! If you're a front-end developer and you think this guide could be improved, please let me know by raising an issue as described in the [Contributing](#contributing) section. Thank you! # Translations Thanks to some incredible contributors, this curriculum has been translated into the following languages! - [Russian русский](/ru) (translation by [@Ibochkarev](https://github.com/Ibochkarev) and [@JonikUl](https://github.com/JonikUl)) - [Chinese 中文](/chinese) (translation by [@simplefeel](https://github.com/simplefeel)) - [Portuguese Português](/portuguese) (translation by [@Zardosh](https://github.com/Zardosh)) - [Polish polski](/polish) (translation by [@mbiesiad](https://github.com/mbiesiad)) - [Malay/Indonesia](/Malay) (translation by [@asyraf-labs](https://github.com/asyraf-labs)) - [Vietnamese Tiếng Việt](/Vietnam) (translation by [@duca7](https://github.com/duca7)) - [Japanese 日本語](/japanese) (translation by [miily8310s](https://github.com/miily8310s)) - [Bangla বাংলা](/bangla) (translation by [mirajus-salehin](https://github.com/mirajus-salehin)) # :calendar: Curriculum The underlying principle of this repository is [timeboxing](https://en.wikipedia.org/wiki/Timeboxing). If you have spent any amount of time in the past trying to learn web development or a similar skill, you have likely experienced going down a rabbit hole on any one particular topic. This repository aims to assign a certain number of days to each technology and encourages you to move to the next once that number of days is up. It is anticipated that everyone is at a different level of proficiency when starting this challenge, and that's okay. Beginner and expert front-end developers alike can benefit from timeboxed practice in each of these areas. The recommended day-by-day activities are as follows: - Days 1-8: [HTML](#html) - Days 9-16: [CSS](#css) - Days 17-24: [JavaScript Basics](#javascript) - Days 25-27: [jQuery](#jquery) - Days 28-33: [Responsive Web Design](#rwd) - Days 34-36: [Accessibility](#accessibility) - Days 37-39: [Git](#git) - Days 40-44: [Node and NPM](#node) - Days 45-50: [Sass](#sass) - Days 51-54: [Bootstrap](#bootstrap) - Day 55: [BEM](#bem) - Days 57-61: [Gulp](#gulp) - Days 62-65: [Webpack](#webpack) - Day 66: [ESLint](#eslint) - Days 68-83: [React](#react) - Days 84-89: [Redux](#redux) - Days 90-94: [Jest](#jest) - Days 95-97: [TypeScript](#typescript) - Days 98-100: [NextJS](#nextjs) # :mag_right: The Details Below you can find a little information about each topic in the curriculum as well as some ideas/guidance on what to do for each. For inspiration on projects to do alongside this curriculum, see the [Project Ideas section](#project-ideas). As part of the timeboxing principle, it's okay if you don't get through all of the items in the "Learning Areas and Ideas" sections. You should instead focus on getting the most you can out of the number of days assigned to each area and then move on. <a name="html"></a> ![HTML](https://i.imgur.com/O0F5XSR.jpg) Hypertext Markup Language (HTML) is the standard markup language for creating web pages and web applications. With Cascading Style Sheets (CSS) and JavaScript, it forms a triad of cornerstone technologies for the World Wide Web. Web browsers receive HTML documents from a web server or from local storage and render the documents into multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for the appearance of the document. (Source: [Wikipedia](https://en.wikipedia.org/wiki/HTML)) ### :bulb: Quick Takeaway HTML is really the foundation of web development. Even in the javascript-based frameworks, you end up writing HTML in one form or another. ### :book: Learning Areas and Ideas - Take the [Basic HTML and HTML5 section](https://learn.freecodecamp.org/) on freeCodeCamp. - HTML page structure - HTML elements - Nesting HTML elements - Semantic markup - Links / multiple pages - Images - Audio/video media - Forms and form elements - Create a multi-page website! (See [Project Ideas](#project-ideas) if you need some inspiration). <a name="css"></a> ![CSS](https://i.imgur.com/028GOR0.jpg) Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language like HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript. CSS is designed to enable the separation of presentation and content, including layout, colors, and fonts. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple web pages to share formatting by specifying the relevant CSS in a separate .css file, and reduce complexity and repetition in the structural content. (Source: [Wikipedia](https://en.wikipedia.org/wiki/Cascading_Style_Sheets)) ### :bulb: Quick Takeaway CSS is another essential component of web development. While it is mainly used to style and position HTML elements, it has become increasingly capable of more dynamic tasks (e.g., animations) that would once be handled by javascript. ### :book: Learning Areas and Ideas - Take the [Basic CSS, CSS flexbox, and CSS grid sections](https://learn.freecodecamp.org/) on freeCodeCamp. - In-line CSS - `<style>` tags - External CSS with `<link>` - Styling elements - Selectors - Floats, clearing floats - Layouts (grid, flexbox) - Fonts, custom fonts - Style the HTML page(s) you made when learning HTML! <a name="javascript"></a> ![JavaScript](https://i.imgur.com/oHdD86j.jpg) JavaScript , often abbreviated as JS, is a high-level, interpreted programming language that conforms to the ECMAScript specification. It is a language that is also characterized as dynamic, weakly typed, prototype-based and multi-paradigm. Alongside HTML and CSS, JavaScript is one of the three core technologies of the World Wide Web. JavaScript enables interactive web pages and thus is an essential part of web applications. The vast majority of websites use it, and all major web browsers have a dedicated JavaScript engine to execute it. (Source: [Wikipedia](https://en.wikipedia.org/wiki/JavaScript)) ### :bulb: Quick Takeaway JavaScript has become increasingly important in the front-end world. While it was once used mainly to make pages dynamic, it is now the foundation of many front-end frameworks. These frameworks handle a lot of the tasks that were formerly handled by the back-end (e.g., routing and displaying different views). ### :book: Learning Areas and Ideas - Take the [Basic JavaScript and ES6 sections](https://learn.freecodecamp.org/) on freeCodeCamp. - Too many language fundamentals to list here! - `<script>` tag and placement - Accessing HTML elements - The event loop, call stack, and event queue - Prototypal Inheritance - Reference vs. value - Add some dynamic elements or logic to your HTML/CSS page(s) developed earlier! <a name="jquery"></a> ![jQuery](https://i.imgur.com/m9j02Fo.jpg) jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript. (Source: [jQuery.com](https://jquery.com/)) ### :bulb: Quick Takeaway After you have spent some time with plain (also called "vanilla") javascript, you may find some tasks a bit cumbersome, especially those related to accessing and manipulating HTML elements. For quite a while, jQuery was the go-to library for making these kinds of tasks easier and consistent across different browsers. Nowadays, jQuery isn't necessarily "mandatory" learning because of advancements in vanilla javascript, CSS, and newer javascript frameworks (we'll look at frameworks later). Still, it would be beneficial to take a little time to learn some jQuery and apply it to a small project. ### :book: Learning Areas and Ideas - Take the [jQuery section](https://learn.freecodecamp.org/) on freeCodeCamp. - Document ready - Selectors - Toggle classes - Animation - Add or move HTML elements - Add jQuery to your site! <a name="rwd"></a> ![Responsive Web Design](https://i.imgur.com/Bt1zWwq.jpg) Responsive web design (RWD) is an approach to web design that makes web pages render well on a variety of devices and window or screen sizes. Recent work also considers the viewer proximity as part of the viewing context as an extension for RWD. Content, design and performance are necessary across all devices to ensure usability and satisfaction. A site designed with RWD adapts the layout to the viewing environment by using fluid, proportion-based grids, flexible images, and CSS3 media queries, an extension of the @media rule. (Source: [Wikipedia](https://en.wikipedia.org/wiki/Responsive_web_design)) ### :bulb: Quick Takeaway Responsive web design is all about making web applications look and function properly on all types of device. A quick-and-dirty example would be that a website should look and function properly both in a desktop web browser and on a mobile phone browser. An understanding of responsive design is crucial for any front-end developer! ### :book: Learning Areas and Ideas - Take the [Responsive Web Design Principles section](https://learn.freecodecamp.org/) on freeCodeCamp. - Media queries, breakpoints - Responsive images - Make your website responsive! - Use Chrome DevTools to view your site on different devices/viewports. <a name="accessibility"></a> ![Accessibility](https://i.imgur.com/ayioMQw.jpg) Web accessibility is the inclusive practice of ensuring there are no barriers that prevent interaction with, or access to, websites on the World Wide Web by people with disabilities. When sites are correctly designed, developed and edited, generally all users have equal access to information and functionality. (Source: [Wikipedia](https://en.wikipedia.org/wiki/Web_accessibility)) ### :bulb: Quick Takeaway Accessibility, often written as a11y, is one of the most important topics in front-end web development, yet it seems to often get short shrift. Creating accessible web applications is not only ethically sound, but also makes a lot of business sense considering the additional audience that will be able to view your applications when they are accessible. ### :book: Learning Areas and Ideas - Take the [Applied Accessibility section](https://learn.freecodecamp.org/) on freeCodeCamp. - Read some content on [The A11Y Project](https://a11yproject.com/about) - Review their [checklist](https://a11yproject.com/checklist) - Update your site(s) for accessibility based on this checklist <a name="git"></a> ![Git](https://i.imgur.com/5QoNJqs.jpg) Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. (Source: [git-scm.com](https://git-scm.com/)) ### :bulb: Quick Takeaway Version/code control is an essential part of any web developer's toolkit. There are a number of different version control systems, but Git is by far the most prevalent at the moment. You can (and should!) use it to track your projects as you learn! ### :book: Learning Areas and Ideas - [Git Tutorial for Beginners (Video)](https://www.youtube.com/watch?v=HVsySz-h9r4) - Install git - Set up a [github](https://github.com) account - Learn the most-used git commands: - init - clone - add - commit - push - pull - merge - rebase - Add your existing projects to github! <a name="node"></a> ![Node and NPM](https://i.imgur.com/8ik2alD.jpg) Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser. JavaScript is used primarily for client-side scripting, in which scripts written in JavaScript are embedded in a webpage's HTML and run client-side by a JavaScript engine in the user's web browser. Node.js lets developers use JavaScript to write command line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user's web browser. Consequently, Node.js represents a "JavaScript everywhere" paradigm, unifying web application development around a single programming language, rather than different languages for server side and client side scripts. (Source: [Wikipedia](https://en.wikipedia.org/wiki/Node.js)) ### :bulb: Quick Takeaway While Node.js is typically known as a back-end solution, it is used quite frequently to support front-end development. It does this in a number of ways, including things like running build tools, testing, and linting (all to be covered soon!). Node Package Manager (npm) is another great feature of Node and can be used to manage dependencies of your project (i.e., code libraries your project might rely on -- jQuery is an example!). ### :book: Learning Areas and Ideas - Research node and how it is different than the browser - Install node (npm comes with it) - Create a simple javascript file and run it with node - Use NPM to manage any dependencies in your existing project(s) (e.g., jQuery!) <a name="sass"></a> ![Sass](https://i.imgur.com/ZRedLge.jpg) Sass is an extension of CSS that adds power and elegance to the basic language. It allows you to use variables, nested rules, mixins, inline imports, and more, all with a fully CSS-compatible syntax. Sass helps keep large stylesheets well-organized, and get small stylesheets up and running quickly, particularly with the help of the Compass style library. (Source: [sass-lang.com](https://sass-lang.com/documentation/file.SASS_REFERENCE.html)) ### :bulb: Quick Takeaway Sass allows you to write CSS in a more programmatic way. If you've done some CSS, you might have noticed that you end up repeating a lot of information--for example, specifying the same color code. In Sass, you can use things like variables, loops, and nesting to reduce redundancy and increase readability. After writing your code in Sass, you can quickly and easily compile it to regular CSS. ### :book: Learning Areas and Ideas - [Install Sass](https://sass-lang.com/install) globally with npm! - [Sass Crash Course Video](https://www.youtube.com/watch?v=roywYSEPSvc) - Follow the [Learn Sass](https://sass-lang.com/guide) tutorial and/or [freeCodeCamp](https://learn.freecodecamp.org/) Sass tutorial. - Update your existing site to generate your CSS using Sass! <a name="bootstrap"></a> ![Bootstrap](https://i.imgur.com/cJ21eH2.jpg) \* Some alternatives: Foundation, Bulma, Materialize Bootstrap is a free and open-source front-end framework for developing websites and web applications. It contains HTML and CSS-based design templates for typography, forms, buttons, navigation and other interface components, as well as optional JavaScript extensions. (Source: [Wikipedia](<https://en.wikipedia.org/wiki/Bootstrap_(front-end_framework)>)) ### :bulb: Quick Takeaway There are many options for laying out, styling, and making your web application dynamic, but you'll find that starting with a framework helps you tremendously in getting a head start. Bootstrap is one such framework, but it is definitely far from the only option! I recommend getting familiar with one framework like this, but it's far more important to grasp HTML, CSS, and JavaScript fundamentals than it is to get caught up in any one framework. ### :book: Learning Areas and Ideas - Learn what Bootstrap is and why you would want to use it - [Bootstrap 4 Crash Course (Video)](https://www.youtube.com/watch?v=hnCmSXCZEpU) - Complete the Bootstrap section on [freeCodeCamp](https://learn.freecodecamp.org/) - Refactor your site using bootstrap! <a name="bem"></a> ![BEM](https://i.imgur.com/MCvMRQl.jpg) The Block, Element, Modifier methodology (commonly referred to as BEM) is a popular naming convention for classes in HTML and CSS. Developed by the team at Yandex, its goal is to help developers better understand the relationship between the HTML and CSS in a given project. (Source: [css-tricks.com](https://css-tricks.com/bem-101/)) ### :bulb: Quick Takeaway It's important to know naming and organization systems like BEM exist and why they are used. Do some research here, but at a beginner level I wouldn't recommend devoting too much time to the subject. ### :book: Learning Areas and Ideas - Read the [BEM introduction](http://getbem.com/introduction/) - [Why I Use BEM (Video)](https://www.youtube.com/watch?v=SLjHSVwXYq4) - Create a simple webpage using BEM conventions. <a name="gulp"></a> ![Gulp](https://i.imgur.com/KQrByqq.jpg) Gulp is a toolkit for automating painful or time-consuming tasks in your development workflow, so you can stop messing around and build something. (Source: [gulpjs.com](https://gulpjs.com/)) ### :bulb: Quick Takeaway In modern front-end development, you'll often find yourself needing to automate tasks like bundling, moving files, and injecting references into HTML files. Gulp is one tool that can help you do these things! ### :book: Learning Areas and Ideas - Install gulp with npm - Follow the [gulp for beginners tutorial](https://css-tricks.com/gulp-for-beginners/) on CSS-Tricks - In your website, set up gulp to: - Compile Sass for you - Put the generated CSS file in `build` subdirectory - Move your web pages to the build directory - Inject a reference to your generated CSS file into your web pages <a name="webpack"></a> ![Webpack](https://i.imgur.com/0rx82Kl.jpg) At its core, webpack is a static module bundler for modern JavaScript applications. When webpack processes your application, it internally builds a dependency graph which maps every module your project needs and generates one or more bundles. (Source: [webpack.js.org](https://webpack.js.org/concepts/)) ### :bulb: Quick Takeaway Imagine that you have a large web development project with a number of different developers working on a lot of different tasks. Rather than all working in the same files, you might want to modularize them as much as possible. Webpack helps enable this by letting your team work modularly and then, come time to build the application, Webpack will stick it all together: HTML, CSS/Sass, JavasScript, images, etc. Webpack isn't the only module bundler, but it seems to be the front-runner at the moment. ### :book: Learning Areas and Ideas - Read [webpack concepts](https://webpack.js.org/concepts/) - [What is Webpack, How does it work? (Video)](https://www.youtube.com/watch?v=GU-2T7k9NfI) - [This webpack tutorial](https://hackernoon.com/a-tale-of-webpack-4-and-how-to-finally-configure-it-in-the-right-way-4e94c8e7e5c1) <a name="eslint"></a> ![ESLint](https://i.imgur.com/CJb6ZnL.jpg) ESLint is an open source JavaScript linting utility originally created by Nicholas C. Zakas in June 2013. Code linting is a type of static analysis that is frequently used to find problematic patterns or code that doesn’t adhere to certain style guidelines. There are code linters for most programming languages, and compilers sometimes incorporate linting into the compilation process. (Source: [eslint.org](https://eslint.org/docs/about/)) ### :bulb: Quick Takeaway Linting is a fantastic tool for code quality, readability, and consistency. Using a linter will help you catch syntax and formatting mistakes before they go to production. You can run linters manually or include them in your build/deployment process. ### :book: Learning Areas and Ideas - Install eslint using npm - [How to Setup VS Code + Prettier + ESLint (Video)](https://www.youtube.com/watch?v=YIvjKId9m2c) - Lint your JavaScript <a name="react"></a> ![React](https://i.imgur.com/uLYz15W.jpg) \* Some alternatives: Vue, Angular, Ember React (also known as React.js or ReactJS) is a JavaScript library for building user interfaces. It is maintained by Facebook and a community of individual developers and companies. React can be used as a base in the development of single-page or mobile applications. Complex React applications usually require the use of additional libraries for state management, routing, and interaction with an API. (source: [Wikipedia](<https://en.wikipedia.org/wiki/React_(JavaScript_library)>)) ### :bulb: Quick Takeaway Front-end JavaScript frameworks are at the forefront of modern front-end development. One important takeaway here is that React, despite being incredibly popular, is only a library for building user interfaces whereas frameworks like Vue and Angular aim to be more full-featured. For example, if you build an application with in React that needs to route to different views, you'll need to bring in something like `react-router`. ### :book: Learning Areas and Ideas - Take the [React tutorial](https://reactjs.org/tutorial/tutorial.html) - [Learn React with Mosh](https://www.youtube.com/watch?v=Ke90Tje7VS0) - Refactor your website as a React app! - Note: `create-react-app` is a convenient tool to scaffold new React projects. <a name="redux"></a> ![Redux](https://i.imgur.com/S9H2Dbp.jpg) Redux is a predictable state container for JavaScript apps. It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. On top of that, it provides a great developer experience, such as live code editing combined with a time traveling debugger. (Source: [redux.js.org](https://redux.js.org/introduction/getting-started)) ### :bulb: Quick Takeaway As you build bigger and bigger front-end applications, you start realizing that it's hard to maintain application state: things like the if the user is logged in, who the user is, and generally what's going on in the application. Redux is a great library that helps you maintain a single source of state on which your application can base its logic. ### :book: Learning Areas and Ideas - This [Redux video tutorial](https://www.youtube.com/watch?v=93p3LxR9xfM) - This [Redux video series](https://egghead.io/courses/getting-started-with-redux) by Dan Abramov, creator of Redux - Take note of the [Redux three principles](https://redux.js.org/introduction/three-principles) - Single source of truth - State is read-only - Changes are made with pure functions - Add Redux state management to your app! <a name="jest"></a> ![Jest](https://i.imgur.com/Cr39axw.jpg) Jest is a delightful JavaScript Testing Framework with a focus on simplicity. It works with projects using: Babel, TypeScript, Node, React, Angular, Vue and more! (Source: [jestjs.io](https://jestjs.io)) ### :bulb: Quick Takeaway It is very important to set up automated testing for your front-end projects. Setting up automated testing will allow you to make future changes with confidence--if you make changes and your tests still pass, you will be fairly comfortable you didn't break any existing functionality. There are too many testing frameworks to list; Jest is simply one of my favorties. ### :book: Learning Areas and Ideas - Learn [Jest basics](https://jestjs.io/docs/en/getting-started) - If you used `create-react-app`, [Jest is already configured](https://facebook.github.io/create-react-app/docs/running-tests). - Add tests to your application! <a name="typescript"></a> ![TypeScript](https://i.imgur.com/BZROJNs.jpg) \* Alternative: Flow TypeScript is an open-source programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript, and adds optional static typing to the language. TypeScript is designed for development of large applications and transcompiles to JavaScript. As TypeScript is a superset of JavaScript, existing JavaScript programs are also valid TypeScript programs. TypeScript may be used to develop JavaScript applications for both client-side and server-side (Node.js) execution. (Source: [Wikipedia](https://en.wikipedia.org/wiki/TypeScript)) ### :bulb: Quick Takeaway JavaScript is dynamically typed. However, it is a common belief that static typing (i.e., specifying variable types, classes, interfaces ahead of time) is both clearer and reduces the likelihood of defects/bugs. Regardless of how you feel on the topic, it's important to at least get a feel for a statically-typed version of JavaScript like TypeScript. Note that TypeScript compiles down to JavaScript so it can be interpreted by browsers (i.e., browsers don't natively interpret TypeScript). ### :book: Learning Areas and Ideas - [Learn TypeScript in 5 minutes](https://medium.freecodecamp.org/learn-typescript-in-5-minutes-13eda868daeb) - [Learn TypeScript in 50 minutes (Video)](https://www.youtube.com/watch?v=WBPrJSw7yQA) - Optionally [create a React app with TypeScript](https://levelup.gitconnected.com/typescript-and-react-using-create-react-app-a-step-by-step-guide-to-setting-up-your-first-app-6deda70843a4) <a name="nextjs"></a> ![NextJS](https://i.imgur.com/YNtW38J.jpg) Next.js is a minimalistic framework for server-rendered React applications. (Source: [Next.js — React Server Side Rendering Done Right](https://hackernoon.com/next-js-react-server-side-rendering-done-right-f9700078a3b6)) ### :bulb: Quick Takeaway Now we're getting advanced! By now you've built a React (or Vue or Angular) application that does quite a bit of work in the browser. For various reasons (e.g., SEO, concerns over client performance), you might actually want your front-end application to be rendered on the server rather than the client. That's where a framework like next.js comes in. ### :book: Learning Areas and Ideas - Next.js [Getting Started](https://nextjs.org/learn/) - [Next.js Crash Course (Video)](https://www.youtube.com/watch?v=IkOVe40Sy0U) - Create a Next.js app or migrate your existing app to Next.js # But What About X? This list is supposed to give you broad exposure to the front-end ecosystem, but it's simply impossible to hit on every single topic, not to mention the myriad tools within each area! If you do think I missed something very important, please see the [Contributing](#contributing) section to see how you can help make this guide better. # Project Ideas As you progress through #100DaysOfCode, you'll want one or multiple projects to which you can apply your new knowledge. In this section, I attempt to provide a few project ideas that you can use. Alternatively, you're encouraged to come up with your own project ideas as those ideas may interest and motivate you more. - Beginner ideas: - Build a portfolio website - Intermediate/Advanced ideas: - Build a tweet analysis app (If you know back-end and API integration already) # Need Help? Generally, I have found the following resources invaluable to learning software development: - Googling the issue - [StackOverflow](http://www.stackoverflow.com) (There's a good chance your question has already been asked and will be a high-ranking result when googling). - [Mozilla MDN Web Docs](https://developer.mozilla.org/en-US/) - [freeCodeCamp](https://www.freecodecamp.org/) - Local software development Meetups! Most are very friendly to all experience levels. If you'd like my input on anything, feel free to [connect with me on Twitter](http://www.twitter.com/nas5w) and I'll do my best to try to offer some assistance. If you think there's an issue with the curriculum or have a recommendation, see the [contributing section](#contributing) below. # Contributing ## Spread the Word If you appreciate the work done here, you can contribute significantly by spreading the word about this repository, including things like: - Starring and forking this repository - Sharing this repository on social media ## Contribute to this Repository This is a work in progress and I very much appreciate any help in maintaining this knowledge base! When contributing to this repository, please first discuss the change you wish to make via issue before making a change. Otherwise, it will be very hard to understand your proposal and could potentially result in you putting in a lot of work to a change that won't get merged. Please note that everyone involved in this project is either trying to learn or trying to help--Please be nice! ## Pull Request Process 1. Create an issue outlining the proposed pull request. 2. Obtain approval from a project owner to make the proposed change. 3. Create the pull request.
11
Vim-fork focused on extensibility and usability
<h1 align="center"> <img src="https://raw.githubusercontent.com/neovim/neovim.github.io/master/logos/neovim-logo-300x87.png" alt="Neovim"> <a href="https://neovim.io/doc/">Documentation</a> | <a href="https://app.element.io/#/room/#neovim:matrix.org">Chat</a> </h1> [![GitHub CI](https://github.com/neovim/neovim/actions/workflows/ci.yml/badge.svg?event=push&branch=master)](https://github.com/neovim/neovim/actions?query=workflow%3ACI+branch%3Amaster+event%3Apush) [![Coverity Scan analysis](https://scan.coverity.com/projects/2227/badge.svg)](https://scan.coverity.com/projects/2227) [![Clang analysis](https://neovim.io/doc/reports/clang/badge.svg)](https://neovim.io/doc/reports/clang) [![PVS-Studio analysis](https://neovim.io/doc/reports/pvs/badge.svg)](https://neovim.io/doc/reports/pvs/PVS-studio.html.d) [![Packages](https://repology.org/badge/tiny-repos/neovim.svg)](https://repology.org/metapackage/neovim) [![Debian CI](https://badges.debian.net/badges/debian/testing/neovim/version.svg)](https://buildd.debian.org/neovim) [![Downloads](https://img.shields.io/github/downloads/neovim/neovim/total.svg?maxAge=2592001)](https://github.com/neovim/neovim/releases/) Neovim is a project that seeks to aggressively refactor [Vim](https://www.vim.org/) in order to: - Simplify maintenance and encourage [contributions](CONTRIBUTING.md) - Split the work between multiple developers - Enable [advanced UIs] without modifications to the core - Maximize [extensibility](https://github.com/neovim/neovim/wiki/Plugin-UI-architecture) See the [Introduction](https://github.com/neovim/neovim/wiki/Introduction) wiki page and [Roadmap] for more information. Features -------- - Modern [GUIs](https://github.com/neovim/neovim/wiki/Related-projects#gui) - [API access](https://github.com/neovim/neovim/wiki/Related-projects#api-clients) from any language including C/C++, C#, Clojure, D, Elixir, Go, Haskell, Java/Kotlin, JavaScript/Node.js, Julia, Lisp, Lua, Perl, Python, Racket, Ruby, Rust - Embedded, scriptable [terminal emulator](https://neovim.io/doc/user/nvim_terminal_emulator.html) - Asynchronous [job control](https://github.com/neovim/neovim/pull/2247) - [Shared data (shada)](https://github.com/neovim/neovim/pull/2506) among multiple editor instances - [XDG base directories](https://github.com/neovim/neovim/pull/3470) support - Compatible with most Vim plugins, including Ruby and Python plugins See [`:help nvim-features`][nvim-features] for the full list, and [`:help news`][nvim-news] for noteworthy changes in the latest version! Install from package -------------------- Pre-built packages for Windows, macOS, and Linux are found on the [Releases](https://github.com/neovim/neovim/releases/) page. [Managed packages] are in [Homebrew], [Debian], [Ubuntu], [Fedora], [Arch Linux], [Void Linux], [Gentoo], and more! Install from source ------------------- See the [Building Neovim](https://github.com/neovim/neovim/wiki/Building-Neovim) wiki page and [supported platforms](https://neovim.io/doc/user/support.html#supported-platforms) for details. The build is CMake-based, but a Makefile is provided as a convenience. After installing the dependencies, run the following command. make CMAKE_BUILD_TYPE=RelWithDebInfo sudo make install To install to a non-default location: make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_INSTALL_PREFIX=/full/path/ make install CMake hints for inspecting the build: - `cmake --build build --target help` lists all build targets. - `build/CMakeCache.txt` (or `cmake -LAH build/`) contains the resolved values of all CMake variables. - `build/compile_commands.json` shows the full compiler invocations for each translation unit. Transitioning from Vim -------------------- See [`:help nvim-from-vim`](https://neovim.io/doc/user/nvim.html#nvim-from-vim) for instructions. Project layout -------------- ├─ ci/ build automation ├─ cmake/ CMake utils ├─ cmake.config/ CMake defines ├─ cmake.deps/ subproject to fetch and build dependencies (optional) ├─ runtime/ plugins and docs ├─ src/nvim/ application source code (see src/nvim/README.md) │ ├─ api/ API subsystem │ ├─ eval/ VimL subsystem │ ├─ event/ event-loop subsystem │ ├─ generators/ code generation (pre-compilation) │ ├─ lib/ generic data structures │ ├─ lua/ Lua subsystem │ ├─ msgpack_rpc/ RPC subsystem │ ├─ os/ low-level platform code │ └─ tui/ built-in UI └─ test/ tests (see test/README.md) License ------- Neovim contributions since [b17d96][license-commit] are licensed under the Apache 2.0 license, except for contributions copied from Vim (identified by the `vim-patch` token). See LICENSE for details. Vim is Charityware. You can use and copy it as much as you like, but you are encouraged to make a donation for needy children in Uganda. Please see the kcc section of the vim docs or visit the ICCF web site, available at these URLs: https://iccf-holland.org/ https://www.vim.org/iccf/ https://www.iccf.nl/ You can also sponsor the development of Vim. Vim sponsors can vote for features. The money goes to Uganda anyway. [license-commit]: https://github.com/neovim/neovim/commit/b17d9691a24099c9210289f16afb1a498a89d803 [nvim-features]: https://neovim.io/doc/user/vim_diff.html#nvim-features [nvim-news]: https://neovim.io/doc/user/news.html [Roadmap]: https://neovim.io/roadmap/ [advanced UIs]: https://github.com/neovim/neovim/wiki/Related-projects#gui [Managed packages]: https://github.com/neovim/neovim/wiki/Installing-Neovim#install-from-package [Debian]: https://packages.debian.org/testing/neovim [Ubuntu]: https://packages.ubuntu.com/search?keywords=neovim [Fedora]: https://packages.fedoraproject.org/pkgs/neovim/neovim/ [Arch Linux]: https://www.archlinux.org/packages/?q=neovim [Void Linux]: https://voidlinux.org/packages/?arch=x86_64&q=neovim [Gentoo]: https://packages.gentoo.org/packages/app-editors/neovim [Homebrew]: https://formulae.brew.sh/formula/neovim <!-- vim: set tw=80: -->
12
.vimrc, simple configures for server, without plugins.
vim-for-server ============== .vimrc, simple configures for server, without plugins. # Introduction This repository is a simplified version of [k-vim](https://github.com/wklken/k-vim) Just remove all plugins, keep basic config. # Screenshot ![screenshot](https://raw.githubusercontent.com/wklken/gallery/master/vim/vim-for-server.png) # Install #### 1. backup your old .vimrc if it is necessary ``` cp ~/.vimrc ~/.vimrc_bak ``` #### 2. just get the file recommend ``` curl https://raw.githubusercontent.com/wklken/vim-for-server/master/vimrc > ~/.vimrc ``` or use git ``` git clone https://github.com/wklken/vim-for-server.git ln -s vim-for-server/vimrc ~/.vimrc ``` #### 3. Done, enjoy it # Donation You can Buy me a coffee:) [link](http://www.wklken.me/pages/donation.html) ------------------------ ------------------------ wklken Email: [email protected] Github: https://github.com/wklken Blog: [http://www.wklken.me](http://www.wklken.me) 2014-10-26 ShenZhen
13
🌲 Comfortable & Pleasant Color Scheme for Vim
<h1 align="center"> 𝐄𝐯𝐞𝐫𝐟𝐨𝐫𝐞𝐬𝐭 </h1> | | 𝐃𝐚𝐫𝐤 | 𝐋𝐢𝐠𝐡𝐭 | | :----: | :-------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------: | | 𝐇𝐚𝐫𝐝 | ![hard-dark](https://user-images.githubusercontent.com/37491630/206063892-e1b2197e-2404-4ab4-8570-3dee96242ba1.png) ![hard-dark](https://user-images.githubusercontent.com/58662350/214382274-0108806d-b605-4047-af4b-c49ae06a2e8e.png) | ![hard-light](https://user-images.githubusercontent.com/37491630/206063912-666f7ddd-3f95-41b3-a906-12d946d5f688.png) ![hard-light](https://user-images.githubusercontent.com/58662350/214382313-8f60d7cc-c4ec-457c-bae5-0351a4986de0.png) | | 𝐌𝐞𝐝𝐢𝐮𝐦 | ![medium-dark](https://user-images.githubusercontent.com/37491630/206063921-58418bb0-7752-43f3-9f3b-f3752f8ee753.png) ![medium-dark](https://user-images.githubusercontent.com/58662350/214382352-cd7a4f63-e6ef-4575-82c0-a8b72aa37c0c.png) | ![medium-light](https://user-images.githubusercontent.com/37491630/206063932-6bd60bef-8d2a-40d7-86b9-b284f2fea7b0.png) ![medium-light](https://user-images.githubusercontent.com/58662350/214382392-57b58f0a-f5e6-4d09-abcb-1da7f2100268.png) | | 𝐒𝐨𝐟𝐭 | ![soft-dark](https://user-images.githubusercontent.com/37491630/206063950-d0ac0c11-4b29-410d-a1c5-6606fe6e73fd.png) ![soft-dark](https://user-images.githubusercontent.com/58662350/214382429-52e16e08-7c92-4f54-b83e-c2a0c2b4bb3d.png) | ![soft-light](https://user-images.githubusercontent.com/37491630/206063958-9242e148-6ec3-4a5b-998f-f30dc19d37c6.png) ![soft-light](https://user-images.githubusercontent.com/58662350/214382443-e7202629-5caf-4f9e-9444-512e2a21de5f.png) | ## Introduction Everforest is a green based color scheme; it's designed to be warm and soft in order to protect developers' eyes. ### Features - Green based but warm-toned. - Designed to have soft contrast for eye protection. - Works well with [redshift](https://github.com/jonls/redshift) and [f.lux](https://justgetflux.com). - Customizable. - Rich support for common file types and plugins. - Tree-sitter support. - Semantic highlighting support. - [Italic support](https://aka.sainnhe.dev/fonts) 🎉 ### Palette 🎨 See [Color Palette and Highlighting Semantics](palette.md). ## Documentation See [`:help everforest.txt`](https://github.com/sainnhe/everforest/blob/master/doc/everforest.txt) ## Related Projects See this [wiki page](https://github.com/sainnhe/everforest/wiki). ## Contributing See this [post](https://www.sainnhe.dev/post/contributing-guide/). ## More Color Schemes - [Gruvbox Material](https://github.com/sainnhe/gruvbox-material) - [Edge](https://github.com/sainnhe/edge) - [Sonokai](https://github.com/sainnhe/sonokai) ## Inspirations - [rhysd/vim-color-spring-night](https://github.com/rhysd/vim-color-spring-night) - [KKPMW/sacredforest-vim](https://github.com/KKPMW/sacredforest-vim) - [morhetz/gruvbox](https://github.com/morhetz/gruvbox) - [altercation/vim-colors-solarized](https://github.com/altercation/vim-colors-solarized) ## Maintainers | [![Sainnhe Park](https://avatars1.githubusercontent.com/u/37491630?s=70&u=14e72916dcf467f393c532536387ec72a23747ec&v=4)](https://github.com/sainnhe) | [![Jef LeCompte](https://avatars0.githubusercontent.com/u/12074633?s=70&u=425e7f9db7a80a6615fd0d89bd58afdf7bddfda1&v=4)](https://github.com/jef) | [![Antoine Cotten](https://avatars.githubusercontent.com/u/3299086?v=4&s=70)](https://github.com/antoineco) | | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- | | [Sainnhe Park](https://github.com/sainnhe) | [Jef LeCompte](https://github.com/jef) | [Antoine Cotten](https://github.com/antoineco) | ## License [MIT](./LICENSE) © sainnhe
14
UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
![Build Status](https://github.com/SirVer/ultisnips/actions/workflows/main.yml/badge.svg) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/SirVer/ultisnips?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) UltiSnips ========= UltiSnips is the ultimate solution for snippets in Vim. It has many features, speed being one of them. ![GIF Demo](https://raw.github.com/SirVer/ultisnips/master/doc/demo.gif) In this demo I am editing a python file. I first expand the `#!` snippet, then the `class` snippet. The completion menu comes from [YouCompleteMe](https://github.com/Valloric/YouCompleteMe), UltiSnips also integrates with [deoplete](https://github.com/Shougo/deoplete.nvim), [vim-easycomplete](https://github.com/jayli/vim-easycomplete) and more. I can jump through placeholders and add text while the snippet inserts text in other places automatically: when I add `Animal` as a base class, `__init__` gets updated to call the base class constructor. When I add arguments to the constructor, they automatically get assigned to instance variables. I then insert my personal snippet for `print` debugging. Note that I left insert mode, inserted another snippet and went back to add an additional argument to `__init__` and the class snippet was still active and added another instance variable. The official home of UltiSnips is at <https://github.com/sirver/ultisnips>. Please add pull requests and issues there. UltiSnips was started in Jun 2009 by @SirVer. In Dec 2015, maintenance was handed over to [@seletskiy](https://github.com/seletskiy) who ran out of time in early 2017. Since Jun 2019, @SirVer is maintaining UltiSnips again on a very constraint time budget. If you can help triaging issues it would be greatly appreciated. Quick Start ----------- This assumes you are using [Vundle](https://github.com/gmarik/Vundle.vim). Adapt for your plugin manager of choice. Put this into your `.vimrc`. " Track the engine. Plugin 'SirVer/ultisnips' " Snippets are separated from the engine. Add this if you want them: Plugin 'honza/vim-snippets' " Trigger configuration. You need to change this to something other than <tab> if you use one of the following: " - https://github.com/Valloric/YouCompleteMe " - https://github.com/nvim-lua/completion-nvim let g:UltiSnipsExpandTrigger="<tab>" let g:UltiSnipsJumpForwardTrigger="<c-b>" let g:UltiSnipsJumpBackwardTrigger="<c-z>" " If you want :UltiSnipsEdit to split your window. let g:UltiSnipsEditSplit="vertical" UltiSnips comes with comprehensive [documentation](https://github.com/SirVer/ultisnips/blob/master/doc/UltiSnips.txt). As there are more options and tons of features I suggest you at least skim it. There are example uses for some power user features here: * [Snippets Aliases](doc/examples/snippets-aliasing/README.md) * [Dynamic Tabstops/Tabstop Generation](doc/examples/tabstop-generation/README.md) Screencasts ----------- From a gentle introduction to really advanced in a few minutes: The blog posts of the screencasts contain more advanced examples of the things discussed in the videos. - [Episode 1: What are snippets and do I need them?](http://www.sirver.net/blog/2011/12/30/first-episode-of-ultisnips-screencast/) - [Episode 2: Creating Basic Snippets](http://www.sirver.net/blog/2012/01/08/second-episode-of-ultisnips-screencast/) - [Episode 3: What's new in version 2.0](http://www.sirver.net/blog/2012/02/05/third-episode-of-ultisnips-screencast/) - [Episode 4: Python Interpolation](http://www.sirver.net/blog/2012/03/31/fourth-episode-of-ultisnips-screencast/) Also the excellent [Vimcasts](http://vimcasts.org) dedicated three episodes to UltiSnips: - [Meet UltiSnips](http://vimcasts.org/episodes/meet-ultisnips/) - [Using Python interpolation in UltiSnips snippets](http://vimcasts.org/episodes/ultisnips-python-interpolation/) - [Using selected text in UltiSnips snippets](http://vimcasts.org/episodes/ultisnips-visual-placeholder/)
15
An Emacs framework for the stubborn martian hacker
<div align="center"> # Doom Emacs [Install](#install) • [Documentation] • [FAQ] • [Screenshots] • [Contribute](#contribute) ![Made with Doom Emacs](https://img.shields.io/github/tag/doomemacs/doomemacs.svg?style=flat-square&label=release&color=58839b) ![Supports Emacs 27.1 - 28.1](https://img.shields.io/badge/Supports-Emacs_27.1--28.1-blueviolet.svg?style=flat-square&logo=GNU%20Emacs&logoColor=white) ![Latest commit](https://img.shields.io/github/last-commit/doomemacs/doomemacs/master?style=flat-square) ![Build status: master](https://img.shields.io/github/workflow/status/doomemacs/doomemacs/CI/master?style=flat-square) [![Discord Server](https://img.shields.io/discord/406534637242810369?color=738adb&label=Discord&logo=discord&logoColor=white&style=flat-square)][Discord] [![Discourse server](https://img.shields.io/discourse/users?server=https%3A%2F%2Fdiscourse.doomemacs.org&logo=discourse&label=Discourse&style=flat-square&color=9cf)][Discourse] ![Doom Emacs Screenshot](https://raw.githubusercontent.com/doomemacs/doomemacs/screenshots/main.png) </div> --- ### Table of Contents - [Introduction](#introduction) - [Features](#features) - [Prerequisites](#prerequisites) - [Install](#install) - [Roadmap](#roadmap) - [Getting help](#getting-help) - [Contribute](#contribute) # Introduction <a href="http://ultravioletbat.deviantart.com/art/Yay-Evil-111710573"> <img src="https://raw.githubusercontent.com/doomemacs/doomemacs/screenshots/cacochan.png" align="right" /> </a> > It is a story as old as time. A stubborn, shell-dwelling, and melodramatic > vimmer—envious of the features of modern text editors—spirals into > despair before he succumbs to the [dark side][evil-mode]. This is his config. Doom is a configuration framework for [GNU Emacs] tailored for Emacs bankruptcy veterans who want less framework in their frameworks, a modicum of stability (and reproducibility) from their package manager, and the performance of a hand rolled config (or better). It can be a foundation for your own config or a resource for Emacs enthusiasts to learn more about our favorite operating system. Its design is guided by these mantras: + **Gotta go fast.** Startup and run-time performance are priorities. Doom goes beyond by modifying packages to be snappier and load lazier. + **Close to metal.** There's less between you and vanilla Emacs by design. That's less to grok and less to work around when you tinker. Internals ought to be written as if reading them were part of Doom's UX, and it is! + **Opinionated, but not stubborn.** Doom is about reasonable defaults and curated opinions, but use as little or as much of it as you like. + **Your system, your rules.** You know better. At least, Doom hopes so! It won't *automatically* install system dependencies (and will force plugins not to either). Rely on `doom doctor` to tell you what's missing. + **Nix/Guix is a great idea!** The Emacs ecosystem is temperamental. Things break and they break often. Disaster recovery should be a priority! Doom's package management should be declarative and your private config reproducible, and comes with a means to roll back releases and updates (still a WIP). Check out [the FAQ][FAQ] for answers to common questions about the project. # Features - Minimalistic good looks inspired by modern editors. - Curated and sane defaults for many packages, (major) OSes, and Emacs itself. - A modular organizational structure for separating concerns in your config. - A standard library designed to simplify your elisp bike shedding. - A declarative [package management system][package-management] (powered by [straight.el]) with a command line interface. Install packages from anywhere, not just (M)ELPA, and pin them to any commit. - Optional vim emulation powered by [evil-mode], including ports of popular vim plugins like [vim-sneak], [vim-easymotion], [vim-unimpaired] and [more][ported-vim-plugins]! - Opt-in LSP integration for many languages, using [lsp-mode] or [eglot] - Support for *many* programming languages. Includes syntax highlighting, linters/checker integration, inline code evaluation, code completion (where possible), REPLs, documentation lookups, snippets, and more! - Support for *many* tools, like docker, pass, ansible, terraform, and more. - A Spacemacs-esque [keybinding scheme][bindings], centered around leader and localleader prefix keys (<kbd>SPC</kbd> and <kbd>SPC</kbd><kbd>m</kbd> for evil users, <kbd>C-c</kbd> and <kbd>C-c l</kbd> for vanilla users). - A rule-based [popup manager][popup-system] to control how temporary buffers are displayed (and disposed of). - Per-file indentation style detection and [editorconfig] integration. Let someone else argue about tabs vs **_spaces_**. - Project-management tools and framework-specific minor modes with their own snippets libraries. - Project search (and replace) utilities, powered by [ripgrep] and [ivy] or [helm]. - Isolated and persistent workspaces (also substitutes for vim tabs). - Support for Chinese and Japanese input systems. - Save a snapshot of your shell environment to a file for Emacs to load at startup. No more struggling to get Emacs to inherit your `PATH`, among other things. # Prerequisites + Git 2.23+ + Emacs 27.1+ (*28.1 is recommended*, or [native-comp](https://www.emacswiki.org/emacs/GccEmacs). **29+ is not supported**). + [ripgrep] 11.0+ + GNU `find` + *OPTIONAL:* [fd] 7.3.0+ (improves file indexing performance for some commands) Doom is comprised of [~150 optional modules][Modules], some of which may have additional dependencies. [Visit their documentation][Modules] or run `bin/doom doctor` to check for any that you may have missed. # Install ``` sh git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.d ~/.emacs.d/bin/doom install ``` Then [read our Getting Started guide][getting-started] to be walked through installing, configuring and maintaining Doom Emacs. It's a good idea to add `~/.emacs.d/bin` to your `PATH`! Other `bin/doom` commands you should know about: + `doom sync` to synchronize your private config with Doom by installing missing packages, removing orphaned packages, and regenerating caches. Run this whenever you modify your private `init.el` or `packages.el`, or install/remove an Emacs package through your OS package manager (e.g. mu4e or agda). + `doom upgrade` to update Doom to the latest release & all installed packages. + `doom doctor` to diagnose common issues with your system and config. + `doom env` to dump a snapshot of your shell environment to a file that Doom will load at startup. This allows Emacs to inherit your `PATH`, among other things. + `doom build` to recompile all installed packages (use this if you up/downgrade Emacs). # Roadmap Doom is an active and ongoing project. To make that development more transparent, its roadmap (and other concerns) are published across three github project boards and a newsletter: + [Development Roadmap](https://discourse.doomemacs.org/t/development-roadmap/42): roughly outlines our goals between release milestones and their progress. + [Plugins under review](https://github.com/orgs/doomemacs/projects/5): lists plugins we are watching and considering for inclusion, and what their status for inclusion is. Please consult this list before requesting new packages/features. + [Upstream bugs](https://github.com/orgs/doomemacs/projects/7): lists issues that originate from elsewhere, and whether or not we have local workarounds or temporary fixes for them. + ~~Doom's newsletter~~ (not finished) will contain changelogs in between releases. # Getting help Emacs is no journey of a mere thousand miles. You _will_ run into problems and mysterious errors. When you do, here are some places you can look for help: + [Our documentation][documentation] covers many use cases. + [The Configuration section][configuration] covers how to configure Doom and its packages. + [The Package Management section][package-management] covers how to install and disable packages. + [This section][bin/doom] explains the `bin/doom` script's most important commands. + [This section][common-mistakes] lists some common configuration mistakes new users make, when migrating a config from another distro or their own. + [This answer][change-theme] shows you how to add your own themes to your private config. + [This answer][change-font] shows you how to change the default font. + Your issue may be documented in the [FAQ]. + With Emacs built-in help system documentation is a keystroke away: + For functions: <kbd>SPC h f</kbd> or <kbd>C-h f</kbd> + For variables: <kbd>SPC h v</kbd> or <kbd>C-h v</kbd> + For a keybind: <kbd>SPC h k</kbd> or <kbd>C-h k</kbd> + To search available keybinds: <kbd>SPC h b b</kbd> or <kbd>C-h b b</kbd> + Run `bin/doom doctor` to detect common issues with your development environment and private config. + Check out the [FAQ] or [Discourse FAQs][discourse-faq], in case your question has already been answered. + Search [Doom's issue tracker](https://github.com/doomemacs/doomemacs/issues) in case your issue was already reported. + Hop on [our Discord server][discord]; it's active and friendly! Keep an eye on the #announcements channel, where I announce breaking updates and releases. # Contribute [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![Elisp styleguide](https://img.shields.io/badge/elisp-style%20guide-purple?style=flat-square)](https://github.com/bbatsov/emacs-lisp-style-guide) [![Donate on liberapay](https://img.shields.io/badge/liberapay-donate-1.svg?style=flat-square&logo=liberapay&color=blue)][liberapay] [![Donate on paypal](https://img.shields.io/badge/paypal-donate-1?style=flat-square&logo=paypal&color=blue)][paypal] Doom is a labor of love and incurable madness, but I'm only one guy. Doom wouldn't be where it is today without your help. I welcome contributions of any kind! + I :heart: pull requests and bug reports (see the [Contributing Guidelines][contribute])! + Don't hesitate to [tell me my Elisp-fu sucks](https://github.com/doomemacs/doomemacs/issues/new), but please tell me why. + Hop on [our Discord server][Discord] and say hi! Help others, hang out or talk to me about Emacs, gamedev, programming, physics, pixel art, anime, gaming -- anything you like. Nourish this lonely soul. + If you'd like to support my work financially, buy me a drink through [liberapay] or [paypal]. My work contends with studies, adventures in indie gamedev and freelance work. Donations help me allocate more time to my Emacs and OSS capers. [contribute]: docs/contributing.org [discord]: https://discord.gg/qvGgnVx [discourse]: https://discourse.doomemacs.org [discourse-faq]: https://discourse.doomemacs.org/tag/faq [documentation]: docs/index.org [faq]: https://github.com/hlissner/doom-emacs/blob/master/docs/faq.org [getting-started]: docs/getting_started.org [install]: docs/getting_started.org#install [backtrace]: docs/getting_started.org#how-to-extract-a-backtrace-from-an-error [configuration]: docs/getting_started.org#configuring-doom [package-management]: docs/getting_started.org#package-management [bin/doom]: docs/getting_started.org#the-bindoom-utility [common-mistakes]: docs/getting_started.org#common-mistakes-when-configuring-doom-emacs [change-theme]: docs/faq.org#how-do-i-change-the-theme [change-font]: docs/faq.org#how-do-i-change-the-fonts [modules]: docs/modules.org [popup-system]: modules/ui/popup/README.org [screenshots]: https://github.com/doomemacs/doomemacs/tree/screenshots#emacsd-screenshots [bindings]: modules/config/default/+evil-bindings.el [editorconfig]: http://editorconfig.org/ [evil-mode]: https://github.com/emacs-evil/evil [fd]: https://github.com/sharkdp/fd [gnu emacs]: https://www.gnu.org/software/emacs/ [helm]: https://github.com/emacs-helm/helm [ivy]: https://github.com/abo-abo/swiper [lsp-mode]: https://github.com/emacs-lsp/lsp-mode [eglot]: https://github.com/joaotavora/eglot [nix]: https://nixos.org [ported-vim-plugins]: modules/editor/evil/README.org#ported-vim-plugins [ripgrep]: https://github.com/BurntSushi/ripgrep [straight.el]: https://github.com/radian-software/straight.el [vim-easymotion]: https://github.com/easymotion/vim-easymotion [vim-lion]: https://github.com/tommcdo/vim-lion [vim-sneak]: https://github.com/justinmk/vim-sneak [vim-unimpaired]: https://github.com/tpope/vim-unimpaired [liberapay]: https://liberapay.com/hlissner/donate [paypal]: https://paypal.me/henriklissner/10
16
:four_leaf_clover: Lean & mean spacemacs-ish Vim distribution
<p align="left"> <a href="https://github.com/liuchengxu/space-vim"> <img src="https://rawgit.com/liuchengxu/space-vim/master/assets/space-vim-badge.svg" alt="badge"></a> <a href="https://github.com/liuchengxu/space-vim/blob/master/LICENSE"><img src="https://rawgit.com/liuchengxu/space-vim/master/assets/license.svg" alt="license"></a> <a href="https://github.com/liuchengxu/space-vim/actions?workflow=ci"><img src="https://github.com/liuchengxu/space-vim/workflows/ci/badge.svg" alt="CI"></a> </p> -------------------- <p align="center"><img src="https://raw.githubusercontent.com/liuchengxu/space-vim/gh-pages/docs/img/space-vim.png" alt="space-vim"/></p> ### Table of Contents <!-- vim-markdown-toc GFM --> * [Introduction](#introduction) * [Features](#features) * [For whom?](#for-whom) * [Install](#install) * [Prerequisites](#prerequisites) * [Linux and macOS](#linux-and-macos) * [one-line installer](#one-line-installer) * [Makefile](#makefile) * [Windows](#windows) * [Manual](#manual) * [Customize](#customize) * [Presetting](#presetting) * [`UserInit()`](#userinit) * [`UserConfig()`](#userconfig) * [How to use](#how-to-use) * [Bootstrap](#bootstrap) * [Commands](#commands) * [Tips](#tips) * [Enable GUI color in terminal vim](#enable-gui-color-in-terminal-vim) * [Font](#font) * [GUI](#gui) * [Terminal](#terminal) * [Update](#update) * [Contributions](#contributions) * [Acknowledgements](#acknowledgements) * [Articles](#articles) * [Contributors](#contributors) <!-- vim-markdown-toc --> ## Introduction space-vim is a vim distribution for vim plugins and resources, compatible with Vim and NeoVim. It is inspired by [spacemacs](https://github.com/syl20bnr/spacemacs) and mimics spacemacs in a high level, especially in the whole architecture, key bindings and GUI. if have ever tried spacemacs, you will find space-vim is very similar to it in user experience. Elegance here means pleasing, graceful as well as simple. If you are unfamiliar with spacemacs, you can visit [spacemacs.org](http://spacemacs.org/doc/DOCUMENTATION.html) for more about the principle behind that, which is also what space-vim seeks. The distribution is completely customizable using `.spacevim`, which is equivalent to `.spacemacs` in spacemacs. ![screenshot](https://raw.githubusercontent.com/liuchengxu/img/master/space-vim/space-vim-gui.png) (Terminal vim with [space-vim-dark](https://github.com/liuchengxu/space-vim-dark)) [>> More screenshots](https://github.com/liuchengxu/space-vim/wiki/screenshots) ## Features - **Beautiful interface:** I wrote a dark only vim colorscheme [space-vim-dark](https://github.com/liuchengxu/space-vim-dark) based on the dark version of spacemacs-theme previously. Now we have a new option: [space-vim-theme](https://github.com/liuchengxu/space-vim-theme), which is the successor of space-vim-dark that supports both dark and light background! <p align="center"> <img width="400px" height="300px" src="https://raw.githubusercontent.com/liuchengxu/img/master/space-vim-theme/light.png"> </p> - **Mnemonic key bindings:** commands have mnemonic prefixes like <kbd>SPC b</kbd> for all the buffer commands, this feature is mainly powered by [vim-which-key](https://github.com/liuchengxu/vim-which-key). Furthermore, lots of basic key bindings are provided by [vim-better-default](https://github.com/liuchengxu/vim-better-default). For different language layers, `<LocalLeader>`, <kbd>,</kbd> as default in space-vim, can be seen as the major-mode prefix in spacemacs. <p align="center"><img width="800px" src="https://user-images.githubusercontent.com/8850248/46784654-8e6f9800-cd61-11e8-88df-673ff5826981.png"></p> - **Lean and mean:** no nonsense wrappers, free from being bloated. ## For whom? - the **novice** vim users - the vimmers who pursuit a beautiful appearance - the users **using both vim and spacemacs** Have a look at the [Introduction](https://github.com/liuchengxu/space-vim/wiki/Introduction) in wiki as well. If you have been a vimmer for quite a while, just pick out the part you are interested in. space-vim is well-organized due to the layers concept, you can easily find what you want. Since some guys are interested in the statusline part of space-vim, this section has been extracted as [eleline.vim](https://github.com/liuchengxu/eleline.vim). ## Install ### Prerequisites The most recent Vim(NeoVim) version is recommended, for space-vim has been specifically optimized for Vim8 and NeoVim with respect to the startup time. [chocolatey](https://chocolatey.org/) is an easy way to install software on Windows, tools like `fzf`, `rg`, `ag` are necessary to get you a full-featured space-vim. :exclamation: ~~When layers enabled at the first time, you need to run `:PlugInstall` to install relevant plugins~~. ### Linux and macOS `/path/to/space-vim` may be `~/.vim` (Vim), `~/.config/nvіm` (Neovim), or elsewhere. Installing space-vim to the conventional Vim/Neovim install location mitigates the need for an extra symlink to where space-vim is installed. #### one-line installer ```bash $ bash <(curl -fsSL https://raw.githubusercontent.com/liuchengxu/space-vim/master/install.sh) ``` #### Makefile ```bash $ git clone https://github.com/liuchengxu/space-vim.git /path/to/space-vim $ cd /path/to/space-vim $ make vim # install space-vim for Vim $ make neovim # install space-vim for NeoVim ``` ### Windows The easist way is to download [`install.cmd`](https://raw.githubusercontent.com/liuchengxu/space-vim/master/install.cmd) and **run it as administrator**, or [install space-vim manually](https://github.com/liuchengxu/space-vim/wiki/install#windows). ![windows](https://raw.githubusercontent.com/liuchengxu/img/master/space-vim/win-gvim.png) ### Manual 1. Clone [space-vim](https://github.com/liuchengxu/space-vim): ```bash $ git clone https://github.com/liuchengxu/space-vim.git --single-branch /path/to/space-vim ``` 2. Install [vim-plug](https://github.com/junegunn/vim-plug#installation), refer to vim-plug installation section for more information: ```bash # For Vim $ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim # For NeoVim sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' ``` 3. Create the symlinks and install plugins: **Linux and macOS** ```bash # **For Vim** # If space-vim not installed to ~/.vim/: $ ln -s /path/to/space-vim/init.vim ~/.vimrc # Copy init.spacevim for local customization $ cp /path/to/space-vim/init.spacevim ~/.spacevim $ vim -es +'PlugInstall' +qall # **For NeoVim** # If space-vim not installed to ~/.config/nvim/: $ ln -s /path/to/space-vim/init.vim ~/.config/nvim/init.vim # Copy init.spacevim for local customization $ cp /path/to/space-vim/init.spacevim ~/.spacevim $ nvim +'PlugInstall' +qall ``` ## Customize You can use `.spacevim` in your home directory to customize space-vim, where you can enable the existing layers, add your extra plugins and private configurations. If `.spacevim` does not exist, vanilla vim will be loaded! Refer to [init.spacevim](init.spacevim) as an example. ### Presetting ```vim " Comment the following line if you don't want Vim and NeoVim to share the " same plugin download directory. let g:spacevim_plug_home = '~/.vim/plugged' " Uncomment the following line to override the leader key. The default value is space key "<\Space>". " let g:spacevim_leader = "<\Space>" " Uncomment the following line to override the local leader key. The default value is comma ','. " let g:spacevim_localleader = ',' " Enable the existing layers in space-vim " Refer to https://github.com/liuchengxu/space-vim/blob/master/layers/LAYERS.md for all available layers. let g:spacevim_layers = [ \ 'fzf', 'better-defaults', 'which-key', \ ] " Uncomment the following line if your terminal(-emulator) supports true colors. " let g:spacevim_enable_true_color = 1 " Uncomment the following if you have some nerd font installed. " let g:spacevim_nerd_fonts = 1 " If you want to have more control over the layer, try using Layer command. " if g:spacevim.gui " Layer 'airline' " endif ``` Please refer to [LAYERS.md](layers/LAYERS.md) to take a look at the whole shipped layers. Basically, `g:spacevim_layers` almost takes the place of `Layer` command. As far as I known, most people never use the option of `Layer` command, e.g., `exclude`, so `g:spacevim_layers` could save a lengthy `Layer` list, requiring less ceremony. Nevertheless, `Layer` command is still avaiable for some advanced uses. ### `UserInit()` ```vim " Manage your own plugins. " Refer to https://github.com/junegunn/vim-plug for more detials. function! UserInit() " Add your own plugin via Plug command. Plug 'junegunn/seoul256.vim' endfunction ``` ### `UserConfig()` ```vim " Override the default settings as well as adding extras function! UserConfig() " Override the default settings. " Uncomment the following line to disable relative number. " set norelativenumber " Adding extras. " Uncomment the following line If you have installed the powerline fonts. " It is good for airline layer. " let g:airline_powerline_fonts = 1 endfunction ``` If have a heavy customized configuration, you can organize them in *private* directory with `packages.vim` and `config.vim` too, which will be loaded on startup. The *private* directory can be considered as either a single layer, i.e., in which you can put packages.vim and config.vim, or a set of multiple layers. ## How to use First of all, I recommend you to look through the existing key bindings via <kbd>SPC ?</kbd>. What's more, you definitely can not miss reading the README of [better-defaults layer](https://github.com/liuchengxu/space-vim/blob/master/layers/%2Bdistributions/better-defaults/README.md), which is of great importance for you to get started quickly. For detailed instruction, please refer to the README under the certain layer enabled, or you can see config.vim and packages.vim directly. If the README is not elaborate, sorry for that, space-vim now is in the early stages and a ton of stuff are waiting to be done. ### Bootstrap The modular design is originally from [spacemacs](https://github.com/syl20bnr/spacemacs). The implementation of logic in space-vim is similar to [vim-plug](https://github.com/junegunn/vim-plug). If you want to know more about the bootstrap of space-vim, please see [bootstrap](https://github.com/liuchengxu/space-vim/wiki/Bootstrap) in wiki. ### Commands Command | Description :--- | :--- `LayerStatus` | Check the status of layers `LayerCache` | Cache the information of *layers* in `info.vim` ### Tips For the sake of a better user experience, some extra settings should be done. #### Enable GUI color in terminal vim - `:echo has('termguicolors')`, if `1`, then your vim supports true colors. - See if your terminal-(emulator) supports true colors, refer to the gist [TrueColour.md](https://gist.github.com/XVilka/8346728). If these two requirements are satisfied, you could enable true color by uncommenting the line: ```vim " Uncomment the following line if your terminal(-emulator) supports true colors. let g:spacevim_enable_true_color = 1 ``` #### Font Some fantastic fonts: [see wiki tips: programming-fonts](https://github.com/liuchengxu/space-vim/wiki/tips#programming-fonts). ##### GUI For instance, install [Iosevka](https://github.com/be5invis/Iosevka) first and use it: ```vim let &guifont = 'Iosevka:h16' ``` ##### Terminal <img src="https://github.com/liuchengxu/space-vim/blob/gh-pages/docs/img/iterm2_powerline_setting.png?raw=true" align="right" width="550px" alt="iterm2-font-setting" /> First, install the [Source Code Pro](https://github.com/adobe-fonts/source-code-pro) or [Powerline](https://github.com/powerline/fonts) font, which is important for [airline](https://github.com/liuchengxu/space-vim/blob/master/layers/%2Bthemes/airline/README.md) layer. Second, since console Vim uses whatever font the console/terminal is using, you'll have to change the font setting of your terminal. ## Update Run `make update`: ```bash $ cd path/to/space-vim $ make update ``` Alternatively, you can manually perform the following steps. If anything has changed with the structure of the configuration, you will have to create the appropriate symlinks. ```bash $ cd path/to/space-vim $ git pull origin master ``` ## Contributions If you encounter any problem or have any suggestions, please [open an issue](https://github.com/liuchengxu/space-vim/issues/new) or [send a PR](https://github.com/liuchengxu/space-vim/pulls). Space-vim is still in beta. If you are interested, contributions are highly welcome. ## Acknowledgements I would like to thank the many people who have helped and contributed to this project. What's more, space-vim would never have become what it is now, without the help of these projects! - [spacemacs](https://github.com/syl20bnr/spacemacs) - [vim-plug](https://github.com/junegunn/vim-plug) - [spf13-vim](https://github.com/spf13/spf13-vim) ## Articles - [Use Vim as a Python IDE](http://www.liuchengxu.org/posts/use-vim-as-a-python-ide/) - [A Vim Configuration for Spacemacs User](http://www.liuchengxu.org/posts/space-vim/) - [用 Vim 写 Python 的最佳实践](https://www.v2ex.com/t/337102#reply61) - [手工制作一个漂亮的 vim statusline ](https://segmentfault.com/a/1190000007939244) - [Vim 专题](https://www.jianshu.com/c/eb88e454b66a) ## Contributors This project exists thanks to all the people who contribute. <a href="https://github.com/liuchengxu/space-vim/graphs/contributors"><img src="https://opencollective.com/space-vim/contributors.svg?width=890&button=false" /></a>
17
A hackable, minimal, fast TUI file explorer
<h1 align="center"> ▸[<a href="https://github.com/sayanarijit/xplr/blob/main/assets/icon/xplr.svg"><img src="https://s3.gifyu.com/images/xplr32.png" alt="▓▓" height="20" width="20" /></a> xplr] </h1> <p align="center"> A hackable, minimal, fast TUI file explorer </p> <p align="center"> <a href="https://crates.io/crates/xplr"> <img src="https://img.shields.io/crates/v/xplr.svg" /> </a> <a href="https://github.com/sayanarijit/xplr/commits"> <img src="https://img.shields.io/github/commit-activity/m/sayanarijit/xplr" /> </a> <a href="https://matrix.to/#/#xplr-pub:matrix.org"> <img alt="Matrix" src="https://img.shields.io/matrix/xplr-pub:matrix.org?color=0DB787&label=matrix&logo=Matrix"> </a> <a href="https://discord.gg/JmasSPCcz3"> <img src="https://img.shields.io/discord/834369918312382485?color=5865F2&label=discord&logo=Discord" /> </a> </p> <p align="center"> https://user-images.githubusercontent.com/11632726/166747867-8a4573f2-cb2f-43a6-a23d-c99fc30c6594.mp4 </p> <h3 align="center"> [<a href="https://xplr.dev/en/install">Install</a>] [<a href="https://xplr.dev/en">Documentation</a>] [<a href="https://xplr.dev/en/awesome-hacks">Hacks</a>] [<a href="https://xplr.dev/en/awesome-plugins">Plugins</a>] [<a href="https://xplr.dev/en/awesome-integrations">Integrations</a>] [<a href="https://xplr.dev/en/community">Community</a>] </h3> xplr is a terminal UI based file explorer that aims to increase our terminal productivity by being a flexible, interactive orchestrator for the ever growing awesome command-line utilities that work with the file-system. To achieve its goal, xplr strives to be a fast, minimal and more importantly, hackable file explorer. xplr is not meant to be a replacement for the standard shell commands or the GUI file managers. Rather, it aims to [integrate them all][14] and expose an intuitive, scriptable, [keyboard controlled][2], [real-time visual interface][1], also being an ideal candidate for [further integration][15], enabling you to achieve insane terminal productivity. ## Introductions & Reviews - [[VIDEO] XPLR: Insanely Hackable Lua File Manager ~ Brodie Robertson](https://youtu.be/MaVRtYh1IRU) - [[Article] What is a TUI file explorer & why would you need one? ~ xplr.stck.me](https://xplr.stck.me/post/25252/What-is-a-TUI-file-explorer-why-would-you-need-one) ## Packaging Package maintainers please refer to the [RELEASE.md](./RELEASE.md). <a href="https://repology.org/project/xplr/versions"><img src="https://repology.org/badge/vertical-allrepos/xplr.svg" /></a> ## Backers <a href="https://opencollective.com/xplr#backer"><img src="https://opencollective.com/xplr/tiers/backer.svg?width=890" /></a> [1]: https://xplr.dev/en/layouts [2]: https://xplr.dev/en/configure-key-bindings [14]: https://xplr.dev/en/awesome-plugins#integration [15]: https://xplr.dev/en/awesome-integrations
18
:notebook_with_decorative_cover: The interactive scratchpad for hackers.
# codi.vim [![Gitter](https://badges.gitter.im/codi-vim/Lobby.svg)](https://gitter.im/codi-vim/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) <a href='https://ko-fi.com/V7V81YYAA' target='_blank'><img height='20' src='https://www.ko-fi.com/img/githubbutton_sm.svg' alt='Buy Me a Coffee at ko-fi.com' /></a> The interactive scratchpad for hackers. ![Codi demo.](assets/codi.gif) _Using Codi as a Python scratchpad through the [shell wrapper](#shell-wrapper)_ ![Codi expand demo.](assets/codi_expand.png) _Using :CodiExpand on a javascript object_ Codi is an interactive scratchpad for hackers, with a similar interface to [Numi](https://numi.io). It opens a pane synchronized to your main buffer which displays the results of evaluating each line *as you type* (with NeoVim or Vim with `+job` and `+channel`, asynchronously). It's extensible to nearly any language that provides a REPL (interactive interpreter)! Languages with built-in support: Python, JavaScript, CoffeeScript, Haskell, PureScript, Ruby, OCaml, R, Clojure/ClojureScript, PHP, Lua, C++, Julia, Elm, Elixir, TypeScript, Mathjs, Haxe [Pull requests](https://github.com/metakirby5/codi.vim/pulls) for new language support welcome! *Note:* without async support, evaluation will trigger on cursor hold rather than text change. For more information, check out the [documentation](doc/codi.txt). ## Installation Use your favorite package manager ([vim-plug](https://github.com/junegunn/vim-plug), [Vundle](https://github.com/VundleVim/Vundle.vim), [pathogen.vim](https://github.com/tpope/vim-pathogen)), or add this directory to your Vim runtime path. For example, if you're using vim-plug, add the following line to `~/.vimrc`: ``` Plug 'metakirby5/codi.vim' ``` ### Dependencies - OS X, Linux and limited Windows support - Vim 7.4 (with `+job` and `+channel` for asynchronous evaluation) or NeoVim (still in its infancy - please report bugs!) - `uname` - If not using NeoVim, `script` (BSD or Linux, man page should say at least 2013) Each interpreter also depends on its REPL. These are loaded on-demand. For example, if you only want to use the Python Codi interpreter, you will not need `ghci`. Default interpreter dependencies: - Python: `python` (Note: Python 3 requires config - see `:h codi-configuration`) - JavaScript: `node` - CoffeeScript: `coffee` - Haskell: `ghci` (be really careful with lazy evaluation!) - PureScript `pulp psci` - Ruby: `irb` - OCaml: `ocaml` - R: `R` - Clojure: `planck` - PHP: `psysh` - Lua: `lua` - C++: `cling` - Julia: `julia` - Elm: `elm` - Elixir: `iex` - TypeScript: `tsun` - Mathjs: `mathjs` - Haxe: `ihx` (installed with `haxelib install ihx`) ## Usage - `Codi [filetype]` activates Codi for the current buffer, using the provided filetype or the buffer's filetype. - `Codi!` deactivates Codi for the current buffer. - `Codi!! [filetype]` toggles Codi for the current buffer, using the provided filetype or the buffer's filetype. - `CodiNew [filetype]` creates a new scratch buffer with Codi in it. - `CodiSelect` opens a select menu and creates a new scratch buffer with the selected filetype and Codi in it. Only available on neovim. - `CodiExpand` expands the output of the current line in a popup menu to display multi-line content. Only available on neovim. ### Shell wrapper A nice way to use Codi is through a shell wrapper that you can stick in your `~/.bashrc`: ```sh # Codi # Usage: codi [filetype] [filename] codi() { local syntax="${1:-python}" shift vim -c \ "let g:startify_disable_at_vimenter = 1 |\ set bt=nofile ls=0 noru nonu nornu |\ hi ColorColumn ctermbg=NONE |\ hi VertSplit ctermbg=NONE |\ hi NonText ctermfg=0 |\ Codi $syntax" "$@" } ``` ### Options - `g:codi#interpreters` is a list of user-defined interpreters. See the [documentation](doc/codi.txt) for more information. - `g:codi#aliases` is a list of user-defined interpreter filetype aliases. See the [documentation](doc/codi.txt) for more information. The below options can also be set on a per-interpreter basis via `g:codi#interpreters`: - `g:codi#autocmd` determines what autocommands trigger updates. See the [documentation](doc/codi.txt) for more information. - `g:codi#width` is the width of the Codi split. - `g:codi#rightsplit` is whether or not Codi spawns on the right side. - `g:codi#rightalign` is whether or not to right-align the Codi buffer. - `g:codi#autoclose` is whether or not to close Codi when the associated buffer is closed. - `g:codi#raw` is whether or not to display interpreter results without alignment formatting (useful for debugging). - `g:codi#sync` is whether or not to force synchronous execution. No reason to touch this unless you want to compare async to sync. ### Autocommands - `CodiEnterPre`, `CodiEnterPost`: When a Codi pane enters. - `CodiUpdatePre`, `CodiUpdatePost`: When a Codi pane updates. - `CodiLeavePre`, `CodiLeavePost`: When a Codi pane leaves. ## FAQ - _Why doesn't X work in Codi, when it works in a normal source file?_ - Codi is not meant to be a replacement for actually running your program; it supports nothing more than what the underlying REPL supports. This is why Haskell language pragmas don't work and OCaml statements must end with `;;`. - _Codi leaves a bunch of old processes running, what's going on?_ - The cause of this issue is still unknown, but it happens infrequently. See `:h codi-introduction-warnings` for more information. - _Codi doesn't seem to work on my setup._ - Check `:h codi-introduction-gotchas`. ## Thanks to - [@DanielFGray](https://github.com/DanielFGray) and [@purag](https://github.com/purag) for testing, feedback, and suggestions - [@Joaquin-V](https://github.com/Joaquin-V) for helping me discover critical bugs with vanilla settings - Everyone who has reported an issue or sent in a pull request :)
19
VimTeX: A modern Vim and neovim filetype plugin for LaTeX files.
# VimTeX VimTeX is a modern [Vim](http://www.vim.org/) and [Neovim](https://neovim.io/) filetype and syntax plugin for LaTeX files. [![Gitter](https://badges.gitter.im/vimtex-chat/community.svg)](https://gitter.im/vimtex-chat/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) ![CI tests](https://github.com/lervag/vimtex/workflows/CI%20tests/badge.svg) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5N4MFVXN7U8NW) ## Table of contents <!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> - [Requirements](#requirements) - [Installation](#installation) - [Configuration](#configuration) - [Quick Start](#quick-start) - [Tutorial](#tutorial) - [Documentation](#documentation) - [Screenshots](#screenshots) - [GIFs](#gifs) - [Features](#features) - [Other relevant plugins](#other-relevant-plugins) - [Linting and syntax checking](#linting-and-syntax-checking) - [Snippets and templates](#snippets-and-templates) - [Tag navigation](#tag-navigation) - [Alternatives](#alternatives) - [VimTeX on the Web](#vimtex-on-the-web) <!-- END doctoc generated TOC please keep comment here to allow auto update --> ## Requirements VimTeX requires Vim version 8.0.1453 or Neovim version 0.4.3. The requirements were updated in July 2020 after the release of VimTeX 1.0. If you are stuck on older versions of Vim or Neovim, then you should not use the most recent version of VimTeX, but instead remain at the v1.0 tag. Some features require external tools. For example, the default compiler backend relies on [latexmk](http://users.phys.psu.edu/~collins/software/latexmk-jcc/). Users are encouraged to read the requirements section in the [documentation](doc/vimtex.txt) (`:h vimtex-requirements`). ## Installation If you use [vim-plug](https://github.com/junegunn/vim-plug) or [packer.nvim](https://github.com/wbthomason/packer.nvim), then add one of the following lines to your `vimrc` file, correspondingly: ```vim " vim-plug Plug 'lervag/vimtex' " packer.nvim use 'lervag/vimtex' ``` Or use some other plugin manager: * [vundle](https://github.com/gmarik/vundle) * [neobundle](https://github.com/Shougo/neobundle.vim) * [pathogen](https://github.com/tpope/vim-pathogen) **Note**: Many plugin managers provide mechanisms to lazy load plugins. Please don't use this for VimTeX! VimTeX is already lazy loaded by virtue of being a filetype plugin and by using the autoload mechanisms. There is therefore nothing to gain by forcing VimTeX to lazily load through the plugin manager. In fact, doing it will _break_ the inverse-search mechanism, which relies on a _global_ command (`:VimtexInverseSearch`). If you use the new package feature in Vim, please note the following: * Make sure to read and understand the package feature: `:help package`! * Use the `/pack/foo/start` subdirectory to make sure the filetype plugin is automatically loaded for the `tex` filetypes. * Helptags are not generated automatically. Run `:helptags` to generate them. * Please note that by default Vim puts custom `/start/` plugin directories at the end of the `&runtimepath`. This means the built in filetype plugin is loaded, which prevents VimTeX from loading. See [#1413](https://github.com/lervag/vimtex/issues/1413) for two suggested solutions to this. To see which scripts are loaded and in which order, use `:scriptnames`. * For more information on how to use the Vim native package solution, see [here](https://vi.stackexchange.com/questions/9522/what-is-the-vim8-package-feature-and-how-should-i-use-it) and [here](https://shapeshed.com/vim-packages/). ## Configuration After installing VimTeX, you should edit your `.vimrc` file or `init.vim` file to configure VimTeX to your liking. Users should read the documentation to learn the various configuration possibilities, but the below is a simple overview of some of the main aspects. ```vim " This is necessary for VimTeX to load properly. The "indent" is optional. " Note that most plugin managers will do this automatically. filetype plugin indent on " This enables Vim's and neovim's syntax-related features. Without this, some " VimTeX features will not work (see ":help vimtex-requirements" for more " info). syntax enable " Viewer options: One may configure the viewer either by specifying a built-in " viewer method: let g:vimtex_view_method = 'zathura' " Or with a generic interface: let g:vimtex_view_general_viewer = 'okular' let g:vimtex_view_general_options = '--unique file:@pdf\#src:@line@tex' " VimTeX uses latexmk as the default compiler backend. If you use it, which is " strongly recommended, you probably don't need to configure anything. If you " want another compiler backend, you can change it as follows. The list of " supported backends and further explanation is provided in the documentation, " see ":help vimtex-compiler". let g:vimtex_compiler_method = 'latexrun' " Most VimTeX mappings rely on localleader and this can be changed with the " following line. The default is usually fine and is the symbol "\". let maplocalleader = "," ``` **Note**: If the compiler or the viewer doesn't start properly, one may type `<localleader>li` to view the system commands that were executed to start them. To inspect the compiler output, use `<localleader>lo`. ## Quick Start The following video shows how to use VimTeX's main features (credits: [@DustyTopology](https://github.com/DustyTopology) from [#1946](https://github.com/lervag/vimtex/issues/1946#issuecomment-846345095)). The example LaTeX file used in the video is available under [`test/example-quick-start/main.tex`](test/example-quick-start/main.tex) and it may be instructive to copy the file and play with it to learn some of these basic functions. https://user-images.githubusercontent.com/66584581/119213849-1b7d4080-ba77-11eb-8a31-7ff7b9a4a020.mp4 ### Tutorial Both new and experienced users are also encouraged to read the third-party article [Getting started with the VimTeX plugin](https://www.ejmastnak.com/tutorials/vim-latex/vimtex.html). The article covers VimTeX's core features and contains plenty of examples and high-resolution animations intended to help new users ease into working with the plugin. ### Documentation Users are of course _strongly_ encouraged to read the documentation, at least the introduction, to learn about the different features and possibilities provided by VimTeX (see [`:h vimtex`](doc/vimtex.txt)). Advanced users and potential developers may also be interested in reading the supplementary documents: * [CONTRIBUTING.md](CONTRIBUTING.md) * [DOCUMENTATION.md](DOCUMENTATION.md) ## Screenshots Here is an example of the syntax highlighting provided by VimTeX. The conceal feature is active on the right-hand side split. The example is made by @DustyTopology with the [vim-colors-xcode](https://github.com/arzg/vim-colors-xcode) colorscheme with some minor adjustments [described here](https://github.com/lervag/vimtex/issues/1946#issuecomment-843674951). ![Syntax example](https://github.com/lervag/vimtex-media/blob/main/img/syntax.png) ### GIFs See the file [VISUALS.md](VISUALS.md) for screencast-style GIFs demonstrating VimTeX's core motions, text-editing commands, and text objects. ## Features Below is a list of features offered by VimTeX. The features are accessible as both commands and mappings. The mappings generally start with `<localleader>l`, but if desired one can disable default mappings to define custom mappings. Nearly all features are enabled by default, but each feature may be disabled if desired. The two exceptions are code folding and formating, which are disabled by default and must be manually enabled. - Document compilation with [latexmk](http://users.phys.psu.edu/~collins/software/latexmk-jcc/), [latexrun](https://github.com/aclements/latexrun), [tectonic](https://tectonic-typesetting.github.io), or [arara](https://github.com/cereda/arara) - LaTeX log parsing for quickfix entries using - internal method - [pplatex](https://github.com/stefanhepp/pplatex) - Compilation of selected part of document - Support for several PDF viewers with forward search - [MuPDF](http://www.mupdf.com/) - [Okular](https://okular.kde.org/) - [qpdfview](https://launchpad.net/qpdfview) - [Skim](http://skim-app.sourceforge.net/) - [SumatraPDF](http://www.sumatrapdfreader.org/free-pdf-reader.html) - [Zathura](https://pwmt.org/projects/zathura/) - Other viewers are supported through a general interface - Completion of - citations - labels - commands - file names for figures, input/include, includepdf, includestandalone - glossary entries - package and documentclass names based on available `.sty` and `.cls` files - Document navigation through - table of contents - table of labels - proper settings for `'include'`, `'includexpr'`, `'suffixesadd'` and `'define'`, which among other things - allow `:h include-search` and `:h definition-search` - give enhanced `gf` command - Easy access to (online) documentation of packages - Word count (through `texcount`) - Motions ([link to GIF demonstrations](VISUALS.md#motion-commands)) - Move between section boundaries with `[[`, `[]`, `][`, and `]]` - Move between environment boundaries with `[m`, `[M`, `]m`, and `]M` - Move between math environment boundaries with `[n`, `[N`, `]n`, and `]N` - Move between frame environment boundaries with `[r`, `[R`, `]r`, and `]R` - Move between comment boundaries with `[*` and `]*` - Move between matching delimiters with `%` - Text objects ([link to GIF demonstrations](VISUALS.md#text-objects)) - `ic ac` Commands - `id ad` Delimiters - `ie ae` LaTeX environments - `i$ a$` Math environments - `iP aP` Sections - `im am` Items - Other mappings ([link to GIF demonstrations](VISUALS.md#deleting-surrounding-latex-content)) - Delete the surrounding command, environment or delimiter with `dsc`/`dse`/`ds$`/`dsd` - Change the surrounding command, environment or delimiter with `csc`/`cse`/`cs$`/`csd` - Toggle starred command or environment with `tsc`/`tse` - Toggle inline and displaymath with `ts$` - Toggle between e.g. `()` and `\left(\right)` with `tsd` - Toggle (inline) fractions with `tsf` - Close the current environment/delimiter in insert mode with `]]` - Add `\left ... \right)` modifiers to surrounding delimiters with `<F8>` - Insert new command with `<F7>` - Convenient insert mode mappings for faster typing of e.g. maths - Context menu on citations (e.g. `\cite{...}`) mapped to `<cr>` - Improved folding (`:h 'foldexpr'`) - Improved indentation (`:h 'indentexpr'`) - Syntax highlighting - A consistent core syntax specification - General syntax highlighting for several popular LaTeX packages - Nested syntax highlighting for several popular LaTeX packages - Highlight matching delimiters - Support for multi-file project packages - [import](http://ctan.uib.no/macros/latex/contrib/import/import.pdf) - [subfiles](http://ctan.uib.no/macros/latex/contrib/subfiles/subfiles.pdf) See the documentation for a thorough introduction to VimTeX (e.g. `:h vimtex`). ## Other relevant plugins Even though VimTeX provides a lot of nice features for working with LaTeX documents, there are several features that are better served by other, dedicated plugins. For a more detailed listing of these, please see [`:help vimtex-and-friends`](doc/vimtex.txt#L508). ### Linting and syntax checking * [ale](https://github.com/w0rp/ale) * [neomake](https://github.com/neomake/neomake) * [syntastic](https://github.com/vim-syntastic/syntastic) ### Snippets and templates * [UltiSnips](https://github.com/SirVer/ultisnips) * [neosnippet](https://github.com/Shougo/neosnippet.vim) ### Tag navigation * [vim-gutentags](https://github.com/ludovicchabant/vim-gutentags) ## Alternatives The following are some alternative LaTeX plugins for Vim: * [LaTeX-Suite](http://vim-latex.sourceforge.net) The main difference between VimTeX and LaTeX-Suite (aka vim-latex) is probably that VimTeX does not try to implement a full fledged IDE for LaTeX inside Vim. E.g.: * VimTeX does not provide a full snippet feature, because this is better handled by [UltiSnips](https://github.com/SirVer/ultisnips) or [neosnippet](https://github.com/Shougo/neosnippet.vim) or similar snippet engines. * VimTeX builds upon Vim principles: It provides text objects for environments, inline math, it provides motions for sections and paragraphs * VimTeX uses `latexmk`, `latexrun`, `tectonic` or `arara` for compilation with a callback feature to get instant feedback on compilation errors * VimTeX is very modular: if you don't like a feature, you can turn it off. * [TexMagic.nvim](https://github.com/jakewvincent/texmagic.nvim) "A simple, lightweight Neovim plugin that facilitates LaTeX build engine selection via magic comments. It is designed with the TexLab LSP server's build functionality in mind, which at the time of this plugin's inception had to be specified in init.lua/init.vim and could not be set on a by-project basis." This plugin should be combined with the TexLab LSP server, and it only works on neovim. * [LaTeX-Box](https://github.com/LaTeX-Box-Team/LaTeX-Box) VimTeX currently has most of the features of LaTeX-Box, as well as some additional ones. See [here](#features) for a relatively complete list of features. One particular feature that LaTeX-Box has but VimTeX misses, is the ability to do single-shot compilation _with callback_. This functionality was removed because it adds a lot of complexity for relatively little gain (IMHO). * [AutomaticTexPlugin](http://atp-vim.sourceforge.net) * [vim-latex-live-preview](https://github.com/xuhdev/vim-latex-live-preview) For more alternatives and more information and discussions regarding LaTeX plugins for Vim, see: * [What are the differences between LaTeX plugins](http://vi.stackexchange.com/questions/2047/what-are-the-differences-between-latex-plugins) * [List of LaTeX editors (not only Vim)](https://tex.stackexchange.com/questions/339/latex-editors-ides) ## VimTeX on the Web VimTeX users may be interested in reading [@ejmastnak](https://github.com/ejmastnak)'s series on [Efficient LaTeX Using (Neo)Vim](https://www.ejmastnak.com/tutorials/vim-latex/intro.html), which covers all the fundamentals of setting up a VimTeX-based LaTeX workflow, including usage of the VimTeX plugin, compilation, setting up forward and inverse search with a PDF reader, and Vimscript tools for user-specific customization. If you know of (or create) other up-to-date, high-quality guides to VimTeX's features on third-party websites, feel free to submit a pull request updating this section.
20
:cactus: Viewer & Finder for LSP symbols and tags
# Vista.vim [![CI](https://github.com/liuchengxu/vista.vim/workflows/ci/badge.svg)](https://github.com/liuchengxu/vista.vim/actions?workflow=ci) View and search LSP symbols, tags in Vim/NeoVim. <p align="center"> <img width="600px" src="https://user-images.githubusercontent.com/8850248/56469894-14d40780-6472-11e9-802f-729ac53bd4d5.gif"> <p align="center">Vista ctags</p> </p> [>>>> More screenshots](https://github.com/liuchengxu/vista.vim/issues/257) **caveat: There is a major flaw about the tree view renderer of ctags at the moment, see [#320](https://github.com/liuchengxu/vista.vim/issues/320) for more details.** ## Table Of Contents <!-- TOC GFM --> * [Introduction](#introduction) * [Features](#features) * [Requirement](#requirement) * [Installation](#installation) * [Plugin Manager](#plugin-manager) * [Package management](#package-management) * [Vim 8](#vim-8) * [NeoVim](#neovim) * [Usage](#usage) * [Show the nearest method/function in the statusline](#show-the-nearest-methodfunction-in-the-statusline) * [lightline.vim](#lightlinevim) * [Commands](#commands) * [Options](#options) * [Other tips](#other-tips) * [Compile ctags with JSON format support](#compile-ctags-with-json-format-support) * [Contributing](#contributing) * [License](#license) <!-- /TOC --> ## Introduction I initially started [vista.vim](https://github.com/liuchengxu/vista.vim) with an intention of replacing [tagbar](https://github.com/majutsushi/tagbar) as it seemingly doesn't have a plan to support the promising [Language Server Protocol](https://github.com/Microsoft/language-server-protocol) and async processing. In addition to being a tags viewer, vista.vim can also be a symbol navigator similar to [ctrlp-funky](https://github.com/tacahiroy/ctrlp-funky). Last but not least, one important goal of [vista.vim](https://github.com/liuchengxu/vista.vim) is to support LSP symbols, which understands the semantics instead of the regex only. ## Features - [x] View tags and LSP symbols in a sidebar. - [x] [universal-ctags](https://github.com/universal-ctags/ctags) - [x] [ale](https://github.com/w0rp/ale) - [x] [vim-lsp](https://github.com/prabirshrestha/vim-lsp) - [x] [coc.nvim](https://github.com/neoclide/coc.nvim) - [x] [LanguageClient-neovim](https://github.com/autozimu/LanguageClient-neovim) - [x] [vim-lsc](https://github.com/natebosch/vim-lsc) - [x] [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) - [x] Finder for tags and LSP symbols. - [x] [fzf](https://github.com/junegunn/fzf) - [x] [skim](https://github.com/lotabout/skim) - [x] [vim-clap](https://github.com/liuchengxu/vim-clap) - [x] Nested display for ctags, list display for LSP symbols. - [x] Highlight the nearby tag in the vista sidebar. - [x] Builtin support for displaying markdown's TOC. - [x] Update automatically when switching between buffers. - [x] Jump to the tag/symbol from vista sidebar with a blink. - [x] Update asynchonously in the background when `+job` avaliable. - [x] Find the nearest method or function to the cursor, which could be integrated into the statusline. - [x] Display decent detailed symbol info in cmdline, also supports previewing the tag via neovim's floating window. Notes: - Exuberant Ctags is unsupported, ensure you are using [universal-ctags](https://github.com/universal-ctags/ctags). - The feature of finder in vista.vim `:Vista finder [EXECUTIVE]` is a bit like `:BTags` or `:Tags` in [fzf.vim](https://github.com/junegunn/fzf.vim), `:CocList` in [coc.nvim](https://github.com/neoclide/coc.nvim), `:LeaderfBufTag` in [leaderf.vim](https://github.com/Yggdroot/LeaderF), etc. You can choose whatever you like. - ~~Due to limitations of the Language Server Protocol, a tree view of nested tags is currently only available for the ctags executive. Other executives will have symbols grouped by modules, classes, functions and variables~~. The tree view support for LSP executives are limited at present, and only `:Vista coc` provider is supported. ## Requirement I don't know the mimimal supported version. But if you only care about the ctags related feature, vim 7.4.1154+ should be enough. If you want to ctags to run asynchonously, Vim 8.0.27+ should be enough. Otherwise, if you want to try any LSP related features, then you certainly need some plugins to retrive the LSP symbols, e.g., [coc.nvim](https://github.com/neoclide/coc.nvim). When you have these LSP plugins set up, vista.vim should be ok to go as well. In addition, if you want to search the symbols via [fzf](https://github.com/junegunn/fzf), you will have to install it first. Note that fzf 0.22.0 or above is required. ## Installation ### Plugin Manager - [vim-plug](https://github.com/junegunn/vim-plug) ```vim Plug 'liuchengxu/vista.vim' ``` For other plugin managers please follow their instructions accordingly. ### Package management #### Vim 8 ```bash $ mkdir -p ~/.vim/pack/git-plugins/start $ git clone https://github.com/liuchengxu/vista.vim.git --depth=1 ~/.vim/pack/git-plugins/start/vista.vim ``` #### NeoVim ```bash $ mkdir -p ~/.local/share/nvim/site/pack/git-plugins/start $ git clone https://github.com/liuchengxu/vista.vim.git --depth=1 ~/.local/share/nvim/site/pack/git-plugins/start/vista.vim ``` ## Usage ### Show the nearest method/function in the statusline Note: This is only supported for ctags and coc executive for now. You can do the following to show the nearest method/function in your statusline: ```vim function! NearestMethodOrFunction() abort return get(b:, 'vista_nearest_method_or_function', '') endfunction set statusline+=%{NearestMethodOrFunction()} " By default vista.vim never run if you don't call it explicitly. " " If you want to show the nearest function in your statusline automatically, " you can add the following line to your vimrc autocmd VimEnter * call vista#RunForNearestMethodOrFunction() ``` Also refer to [liuchengxu/eleline#18](https://github.com/liuchengxu/eleline.vim/pull/18). <p align="center"> <img width="800px" src="https://user-images.githubusercontent.com/8850248/55477900-da363680-564c-11e9-8e71-845260f3d44b.png"> </p> #### [lightline.vim](https://github.com/itchyny/lightline.vim) ```vim let g:lightline = { \ 'colorscheme': 'wombat', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'readonly', 'filename', 'modified', 'method' ] ] \ }, \ 'component_function': { \ 'method': 'NearestMethodOrFunction' \ }, \ } ``` ### Commands | Command | Description | | :-------- | :------------------------------------------------------ | | `Vista` | Open/Close vista window for viewing tags or LSP symbols | | `Vista!` | Close vista view window if already opened | | `Vista!!` | Toggle vista view window | `:Vista [EXECUTIVE]`: open vista window powered by EXECUTIVE. `:Vista finder [EXECUTIVE]`: search tags/symbols generated from EXECUTIVE. See `:help vista-commands` for more information. ### Options ```vim " How each level is indented and what to prepend. " This could make the display more compact or more spacious. " e.g., more compact: ["▸ ", ""] " Note: this option only works for the kind renderer, not the tree renderer. let g:vista_icon_indent = ["╰─▸ ", "├─▸ "] " Executive used when opening vista sidebar without specifying it. " See all the avaliable executives via `:echo g:vista#executives`. let g:vista_default_executive = 'ctags' " Set the executive for some filetypes explicitly. Use the explicit executive " instead of the default one for these filetypes when using `:Vista` without " specifying the executive. let g:vista_executive_for = { \ 'cpp': 'vim_lsp', \ 'php': 'vim_lsp', \ } " Declare the command including the executable and options used to generate ctags output " for some certain filetypes.The file path will be appened to your custom command. " For example: let g:vista_ctags_cmd = { \ 'haskell': 'hasktags -x -o - -c', \ } " To enable fzf's preview window set g:vista_fzf_preview. " The elements of g:vista_fzf_preview will be passed as arguments to fzf#vim#with_preview() " For example: let g:vista_fzf_preview = ['right:50%'] ``` ```vim " Ensure you have installed some decent font to show these pretty symbols, then you can enable icon for the kind. let g:vista#renderer#enable_icon = 1 " The default icons can't be suitable for all the filetypes, you can extend it as you wish. let g:vista#renderer#icons = { \ "function": "\uf794", \ "variable": "\uf71b", \ } ``` <p align="center"> <img width="300px" src="https://user-images.githubusercontent.com/8850248/55805524-2b449f80-5b11-11e9-85d4-018c305a5ecb.png"> </p> See `:help vista-options` for more information. ### Other tips #### Compile ctags with JSON format support First of all, check if your [universal-ctags](https://github.com/universal-ctags/ctags) supports JSON format via `ctags --list-features`. If not, I recommend you to install ctags with JSON format support that would make vista's parser easier and more reliable. And we are able to reduce some overhead in JSON mode by [disabling the fixed fields](https://github.com/universal-ctags/ctags/pull/2080). The JSON support for ctags is avaliable if u-ctags is linked to libjansson when compiling. - macOS, [included by default since February 23 2021](https://github.com/universal-ctags/homebrew-universal-ctags/commit/82db2cf9cb0cdecf62ca9405e767ec025b5ba8ed) ```bash $ brew tap universal-ctags/universal-ctags $ brew install --HEAD universal-ctags/universal-ctags/universal-ctags ``` - Ubuntu ```bash # install libjansson first $ sudo apt-get install libjansson-dev # then compile and install universal-ctags. # # NOTE: Don't use `sudo apt install ctags`, which will install exuberant-ctags and it's not guaranteed to work with vista.vim. # $ git clone https://github.com/universal-ctags/ctags.git --depth=1 $ cd ctags $ ./autogen.sh $ ./configure $ make $ sudo make install ``` - Fedora ```bash $ sudo dnf install jansson-devel autoconf automake $ git clone https://github.com/universal-ctags/ctags.git --depth=1 $ cd ctags $ ./autogen.sh $ ./configure $ make $ sudo make install ``` Refer to [Compiling and Installing Jansson](https://jansson.readthedocs.io/en/latest/gettingstarted.html#compiling-and-installing-jansson) as well. ## Contributing Vista.vim is still in beta, please [file an issue](https://github.com/liuchengxu/vista.vim/issues/new) if you run into any trouble or have any sugguestions. ## License MIT Copyright (c) 2019 Liu-Cheng Xu
21
Oni: Modern Modal Editing - powered by Neovim
![alt text](./assets/oni-header.png) ### Modern Modal Editing [![Build Status](https://travis-ci.org/onivim/oni.svg?branch=master)](https://travis-ci.org/onivim/oni) [![Build status](https://ci.appveyor.com/api/projects/status/s13bs7ail9ihkpnm?svg=true)](https://ci.appveyor.com/project/oni/oni) [![codecov](https://codecov.io/gh/onivim/oni/branch/master/graph/badge.svg)](https://codecov.io/gh/onivim/oni) [![Join the chat on discord!](https://img.shields.io/discord/417774914645262338.svg)](https://discord.gg/7maEAxV) [![Backers on Open Collective](https://opencollective.com/oni/backers/badge.svg)](https://opencollective.com/oni#backer) [![BountySource Active Bounties](https://api.bountysource.com/badge/tracker?tracker_id=48462304)](https://www.bountysource.com/teams/oni) [![Total Downloads](https://img.shields.io/github/downloads/onivim/oni/total.svg)](https://github.com/onivim/oni/releases) <h2 align="center">Supporting Oni</h2> Oni is an independent, MIT-licensed open source project. Please consider supporting Oni by: * [Become a backer or sponsor on Patreon](https://www.patreon.com/onivim) * [Become a backer or sponsor on Open Collective](https://opencollective.com/oni) * [Become a backer on BountySource](https://www.bountysource.com/teams/oni) <h3 align="center">Sponsors via OpenCollective</h3> <h4 align="center">Gold sponsors</h4> <p align="center"> <a href="https://opencollective.com/oni/tiers/gold-sponsor/0/website" target="_blank"><img src="https://opencollective.com/oni/tiers/gold-sponsor/0/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/gold-sponsor/1/website" target="_blank"><img src="https://opencollective.com/oni/tiers/gold-sponsor/1/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/gold-sponsor/2/website" target="_blank"><img src="https://opencollective.com/oni/tiers/gold-sponsor/2/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/gold-sponsor/3/website" target="_blank"><img src="https://opencollective.com/oni/tiers/gold-sponsor/3/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/gold-sponsor/4/website" target="_blank"><img src="https://opencollective.com/oni/tiers/gold-sponsor/4/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/gold-sponsor/5/website" target="_blank"><img src="https://opencollective.com/oni/tiers/gold-sponsor/5/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/gold-sponsor/6/website" target="_blank"><img src="https://opencollective.com/oni/tiers/gold-sponsor/6/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/gold-sponsor/7/website" target="_blank"><img src="https://opencollective.com/oni/tiers/gold-sponsor/7/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/gold-sponsor/8/website" target="_blank"><img src="https://opencollective.com/oni/tiers/gold-sponsor/8/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/gold-sponsor/9/website" target="_blank"><img src="https://opencollective.com/oni/tiers/gold-sponsor/9/avatar.png"></a> </p> <h4 align="center">Silver sponsors</h4> <p align="center"> <a href="https://opencollective.com/oni/tiers/silver-sponsor/0/website" target="_blank"><img src="https://opencollective.com/oni/tiers/silver-sponsor/0/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/silver-sponsor/1/website" target="_blank"><img src="https://opencollective.com/oni/tiers/silver-sponsor/1/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/silver-sponsor/2/website" target="_blank"><img src="https://opencollective.com/oni/tiers/silver-sponsor/2/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/silver-sponsor/3/website" target="_blank"><img src="https://opencollective.com/oni/tiers/silver-sponsor/3/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/silver-sponsor/4/website" target="_blank"><img src="https://opencollective.com/oni/tiers/silver-sponsor/4/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/silver-sponsor/5/website" target="_blank"><img src="https://opencollective.com/oni/tiers/silver-sponsor/5/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/silver-sponsor/6/website" target="_blank"><img src="https://opencollective.com/oni/tiers/silver-sponsor/6/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/silver-sponsor/7/website" target="_blank"><img src="https://opencollective.com/oni/tiers/silver-sponsor/7/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/silver-sponsor/8/website" target="_blank"><img src="https://opencollective.com/oni/tiers/silver-sponsor/8/avatar.png"></a> <a href="https://opencollective.com/oni/tiers/silver-sponsor/9/website" target="_blank"><img src="https://opencollective.com/oni/tiers/silver-sponsor/9/avatar.png"></a> </p> ## Introduction Oni is a new kind of editor, focused on maximizing productivity - combining _modal editing_ with features you expect in modern editors. Oni is built with [neovim](https://github.com/neovim/neovim), and inspired by [VSCode](https://github.com/Microsoft/vscode), [Atom](https://atom.io/), [LightTable](http://lighttable.com/), and [Emacs](https://www.gnu.org/software/emacs/) The vision of Oni is to build an editor that allows you to go from _thought to code_ as easily as possible - bringing together the raw editing power of Vim, the feature capabilities of Atom/VSCode, and a powerful and intuitive extensibility model - wrapped up in a beautiful package. <p align="center"> <img src="https://user-images.githubusercontent.com/13532591/36127305-9c7b6b80-1011-11e8-85dd-0345788c0b56.png"/> </p> This repository is under **active development**, and until 1.0 please consider everything unstable. Check out [Releases](https://github.com/onivim/oni/releases) for the latest binaries, or [Build Oni](https://github.com/onivim/oni/wiki/Development) from source. Consider making a donation via [OpenCollective](https://opencollective.com/oni) [BountySource](https://salt.bountysource.com/teams/oni) if you find this project useful! ## Features Oni brings several IDE-like integrations to neovim: * [Embedded Browser](https://github.com/onivim/oni/wiki/Features#embedded-browser) * [Quick Info](https://github.com/onivim/oni/wiki/Features#quick-info) * [Code Completion](https://github.com/onivim/oni/wiki/Features#code-completion) * [Syntax / Compilation Errors](https://github.com/onivim/oni/wiki/Features#syntax--compilation-errors) * [Fuzzy Finding](https://github.com/onivim/oni/wiki/Features#fuzzy-finder) * [Status Bar](https://github.com/onivim/oni/wiki/Features#status-bar) * [Interactive Tutorial](https://github.com/onivim/oni/wiki/Features#interactive-tutorial) And more coming - check out our [Roadmap](https://github.com/onivim/oni/wiki/Roadmap) Oni is cross-platform and supports Windows, Mac, and Linux. > If you're a Vim power user, and don't need all these features, check out our [minimal configuration](https://github.com/onivim/oni/wiki/How-To:-Minimal-Oni-Configuration). ## Installation We have installation guides for each platform: * [Windows](https://github.com/onivim/oni/wiki/Installation-Guide#windows) * [Mac](https://github.com/onivim/oni/wiki/Installation-Guide#mac) * [Linux](https://github.com/onivim/oni/wiki/Installation-Guide#linux) The latest binaries are available on our [Releases](https://github.com/onivim/oni/releases) page, and if you'd prefer to build from source, check out our [Development](https://github.com/onivim/oni/wiki/Development) guide. ## Goals The goal of this project is to provide both the full-fledged Vim experience, with no compromises, while pushing forward to enable new productivity scenarios. * **Modern UX** - The Vim experience should not be compromised by terminal limitations. * **Rich plugin development** - using JavaScript, instead of VimL. * **Cross-platform support** - across Windows, OS X, and Linux. * **Batteries included** - rich features are available out of the box - minimal setup needed to be productive. * **Performance** - no compromises, Vim is fast, and Oni should be fast too. * **Ease Learning Curve** - without sacrificing the Vim experience. Vim is an incredible tool for manipulating _text_ at the speed of thought. With a composable, modal command language, it is no wonder that Vim usage is still prevalent today. However, going from thought to _code_ has some different challenges than going from thought to _text_. Code editors today provide several benefits that help to reduce **cognitive load** when writing code, and that benefit is tremendously important - not only in terms of pure coding efficiency and productivity, but also in making the process of writing code enjoyable and fun. The goal of this project is to give an editor that gives the best of both worlds - the power, speed, and flexibility of using Vim for manipulating text, as well as the rich tooling that comes with an IDE. We want to make coding as efficient, fast, and fun as we can! ## Documentation * Check out the [Wiki](https://github.com/onivim/oni/wiki) for documentation on how to use and modify Oni. * [FAQ](https://github.com/onivim/oni/wiki/FAQ) * [Roadmap](https://github.com/onivim/oni/wiki/Roadmap) ## Contributing There many ways to get involved & contribute to Oni: * Support Oni financially by making a donation via: * [Patreon](https://patreon.com/onivim) * [OpenCollective](https://opencollective.com/oni) * [Bountysource](https://salt.bountysource.com/teams/oni) * Thumbs up existing [issues](https://github.com/onivim/oni/issues) if they impact you. * [Create an issue](https://github.com/onivim/oni/issues) for bugs or new features. * Review and update our [documentation](https://github.com/onivim/oni/wiki). * Try out the latest [released build](https://github.com/onivim/oni/releases). * Help us [develop](https://github.com/onivim/oni/wiki/Development): * Review [PRs](https://github.com/onivim/oni/pulls) * Submit a bug fix or feature * Add test cases * Create a blog post or YouTube video * Follow us on [Twitter](https://twitter.com/oni_vim) ## Acknowledgements Oni is an independent project and is made possible by the support of some exceptional people. Big thanks to the following people for helping to realize this project: * the [neovim team](https://neovim.io/), especially [justinmk](https://github.com/justinmk) and [tarruda](https://github.com/tarruda) - Oni would not be possible without their vision * [jordwalke](https://github.com/jordwalke) for his generous support, inspiration, and ideas. And React ;) * [keforbes](https://github.com/keforbes) for helping to get this project off the ground * [Akin909](https://github.com/Akin909) for his extensive contributions * [CrossR](https://github.com/CrossR) for polishing features and configurations * [Cryza](https://github.com/Cryza) for the webgl renderer * [tillarnold](https://github.com/tillarnold) for giving us the `oni` npm package name * [mhartington](https://github.com/mhartington) for his generous support * [badosu](https://github.com/badosu) for his support, contributions, and managing the AUR releases * All our current monthly [sponsors](https://salt.bountysource.com/teams/oni/supporters) and [backers](BACKERS.md) * All of our [contributors](https://github.com/onivim/oni/graphs/contributors) - thanks for helping to improve this project! Several other great neovim front-end UIs [here](https://github.com/neovim/neovim/wiki/Related-projects) served as a reference, especially [NyaoVim](https://github.com/rhysd/NyaoVim) and [VimR](https://github.com/qvacua/vimr). I encourage you to check those out! Thank you! ## Contributors This project exists thanks to all the people who have [contributed](CONTRIBUTING.md): <a href="https://github.com/onivim/oni/graphs/contributors"><img src="https://opencollective.com/oni/contributors.svg?width=890" /></a> ## License MIT License. Copyright (c) Bryan Phelps Windows and OSX have a bundled version of Neovim, which is covered under [Neovim's license](https://github.com/neovim/neovim/blob/master/LICENSE) ### Bundled Plugins Bundled plugins have their own license terms. These include: * [typescript-vim](https://github.com/leafgarland/typescript-vim) (`oni/vim/core/typescript.vim`) * [targets.vim](https://github.com/wellle/targets.vim) (`oni/vim/default/bundle/targets.vim`) * [vim-commentary](https://github.com/tpope/vim-commentary) (`oni/vim/default/bundle/vim-commentary`) * [vim-unimpaired](https://github.com/tpope/vim-unimpaired) (`oni/vim/default/bundle/vim-unimpaired`) * [vim-surround](https://github.com/tpope/vim-surround) (`oni/vim/default/bundle/vim-surround`) * [vim-reasonml](https://github.com/reasonml-editor/vim-reason) (`.vim` files in `oni/vim/core/oni-plugin-reasonml`)
22
Personal Wiki for Vim
![VimWiki: A Personal Wiki For Vim](doc/splash.png) [中文](README-cn.md) - [Intro](#introduction) - [Screenshots](#screenshots) - [Installation](#installation) - [Prerequisites](#prerequisites) - [VIM Packages](#installation-using-vim-packages-since-vim-741528) - [Pathogen](#installation-using-pathogen) - [Vim-Plug](#installation-using-vim-plug) - [Vundle](#installation-using-vundle) - [Basic Markup](#basic-markup) - [Lists](#lists) - [Key Bindings](#key-bindings) - [Commands](#commands) - [Changing Wiki Syntax](#changing-wiki-syntax) - [Getting Help](#getting-help) - [Helping VimWiki](#helping-vimwiki) - [Wiki](https://github.com/vimwiki/vimwiki/wiki) - [License](#license) ---- ## Introduction VimWiki is a personal wiki for Vim -- a number of linked text files that have their own syntax highlighting. See the [VimWiki Wiki](https://vimwiki.github.io/vimwikiwiki/) for an example website built with VimWiki! For the latest features and fixes checkout the [dev branch](https://github.com/vimwiki/vimwiki/tree/dev). If you are interested in contributing see [this section](#helping-vimwiki). With VimWiki, you can: - Organize notes and ideas - Manage to-do lists - Write documentation - Maintain a diary - Export everything to HTML To do a quick start, press `<Leader>ww` (default is `\ww`) to go to your index wiki file. By default, it is located in `~/vimwiki/index.wiki`. See `:h vimwiki_list` for registering a different path/wiki. Feed it with the following example: ```text = My knowledge base = * Tasks -- things to be done _yesterday_!!! * Project Gutenberg -- good books are power. * Scratchpad -- various temporary stuff. ``` Place your cursor on `Tasks` and press Enter to create a link. Once pressed, `Tasks` will become `[[Tasks]]` -- a VimWiki link. Press Enter again to open it. Edit the file, save it, and then press Backspace to jump back to your index. A VimWiki link can be constructed from more than one word. Just visually select the words to be linked and press Enter. Try it, with `Project Gutenberg`. The result should look something like: ```text = My knowledge base = * [[Tasks]] -- things to be done _yesterday_!!! * [[Project Gutenberg]] -- good books are power. * Scratchpad -- various temporary stuff. ``` ## Screenshots ![Lists View](doc/lists.png) ![Entries View](doc/entries.png) ![Todos View](doc/todos.png) ![Wiki View](doc/wiki.png) ## Installation VimWiki has been tested on **Vim >= 7.3**. It will likely work on older versions but will not be officially supported. ### Prerequisites Make sure you have these settings in your vimrc file: ```vim set nocompatible filetype plugin on syntax on ``` Without them, VimWiki will not work properly. #### Installation using [Vim packages](http://vimhelp.appspot.com/repeat.txt.html#packages) (since Vim 7.4.1528) ```sh git clone https://github.com/vimwiki/vimwiki.git ~/.vim/pack/plugins/start/vimwiki # to generate documentation i.e. ':h vimwiki' vim -c 'helptags ~/.vim/pack/plugins/start/vimwiki/doc' -c quit ``` Notes: - See `:h helptags` for issues with installing the documentation. - For general information on vim packages see `:h packages`. #### Installation using [Pathogen](https://github.com/tpope/vim-pathogen) ```sh cd ~/.vim mkdir bundle cd bundle git clone https://github.com/vimwiki/vimwiki.git ``` #### Installation using [Vim-Plug](https://github.com/junegunn/vim-plug) Add the following to the plugin-configuration in your vimrc: ```vim Plug 'vimwiki/vimwiki' ``` Then run `:PlugInstall`. #### Installation using [Vundle](https://github.com/VundleVim/Vundle.vim) Add `Plugin 'vimwiki/vimwiki'` to your vimrc file and run: ```sh vim +PluginInstall +qall ``` #### Manual Install Download the [zip archive](https://github.com/vimwiki/vimwiki/archive/master.zip) and extract it in `~/.vim/bundle/` Then launch Vim, run `:Helptags` and then `:help vimwiki` to verify it was installed. ## Basic Markup ```text = Header1 = == Header2 == === Header3 === *bold* -- bold text _italic_ -- italic text [[wiki link]] -- wiki link [[wiki link|description]] -- wiki link with description ``` ### Lists ```text * bullet list item 1 - bullet list item 2 - bullet list item 3 * bullet list item 4 * bullet list item 5 * bullet list item 6 * bullet list item 7 - bullet list item 8 - bullet list item 9 1. numbered list item 1 2. numbered list item 2 a) numbered list item 3 b) numbered list item 4 ``` For other syntax elements, see `:h vimwiki-syntax` ## Key bindings ### Normal mode **Note:** your terminal may prevent capturing some of the default bindings listed below. See `:h vimwiki-local-mappings` for suggestions for alternative bindings if you encounter a problem. #### Basic key bindings - `<Leader>ww` -- Open default wiki index file. - `<Leader>wt` -- Open default wiki index file in a new tab. - `<Leader>ws` -- Select and open wiki index file. - `<Leader>wd` -- Delete wiki file you are in. - `<Leader>wr` -- Rename wiki file you are in. - `<Enter>` -- Follow/Create wiki link. - `<Shift-Enter>` -- Split and follow/create wiki link. - `<Ctrl-Enter>` -- Vertical split and follow/create wiki link. - `<Backspace>` -- Go back to parent(previous) wiki link. - `<Tab>` -- Find next wiki link. - `<Shift-Tab>` -- Find previous wiki link. #### Advanced key bindings Refer to the complete documentation at `:h vimwiki-mappings` to see many more bindings. ## Commands - `:Vimwiki2HTML` -- Convert current wiki link to HTML. - `:VimwikiAll2HTML` -- Convert all your wiki links to HTML. - `:help vimwiki-commands` -- List all commands. - `:help vimwiki` -- General vimwiki help docs. ## Changing Wiki Syntax VimWiki currently ships with 3 syntaxes: VimWiki (default), Markdown (markdown), and MediaWiki (media). **NOTE:** Only the default syntax ships with a built-in HTML converter. For Markdown or MediaWiki see `:h vimwiki-option-custom_wiki2html`. Some examples and 3rd party tools are available [here](https://vimwiki.github.io/vimwikiwiki/Related%20Tools.html#Related%20Tools-External%20Tools). If you would prefer to use either Markdown or MediaWiki syntaxes, set the following option in your `.vimrc`: ```vim let g:vimwiki_list = [{'path': '~/vimwiki/', \ 'syntax': 'markdown', 'ext': '.md'}] ``` This option will treat all markdown files in your system as part of vimwiki (check `set filetype?`). Add ```vim let g:vimwiki_global_ext = 0 ``` to your `.vimrc` to restrict Vimwiki's operation to only those paths listed in `g:vimwiki_list`. Other markdown files wouldn't be treated as wiki pages. See [g:vimwiki_global_ext](https://github.com/vimwiki/vimwiki/blob/619f04f89861c58e5a6415a4f83847752928252d/doc/vimwiki.txt#L2631). ## Getting help [GitHub issues](https://github.com/vimwiki/vimwiki/issues) are the primary method for raising bug reports or feature requests. Additional resources: - The IRC channel [#vimwiki](ircs://irc.libera.chat:6697/vimwiki) on irc.libera.chat - [Connect via webchat](https://web.libera.chat/?channels=#vimwiki) - Connect via Matrix/Element: [#vimwiki:libera.chat](https://matrix.to/#/#vimwiki:libera.chat) - Post to the [mailing list](https://groups.google.com/forum/#!forum/vimwiki). ## Helping VimWiki VimWiki has a lot of users but only very few recurring developers or people helping the community. Your help is therefore appreciated. Everyone can help! See [#625](https://github.com/vimwiki/vimwiki/issues/625) for information on how you can help. Also, take a look at [CONTRIBUTING.md](https://github.com/vimwiki/vimwiki/blob/master/CONTRIBUTING.md) and [design_notes.md](doc/design_notes.md) ---- ## License MIT License Copyright (c) 2008-2010 Maxim Kim 2013-2017 Daniel Schemala Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
⚠️ PLEASE USE https://github.com/iamcco/markdown-preview.nvim INSTEAD
## Introduction [![Join the chat at https://gitter.im/iamcco/markdown-preview.vim](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/iamcco/markdown-preview.vim?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [中文](./README_cn.md) Using the markdown-preview.vim plugin, you can preview Markdown in real-time with a web browser. > This plugin needs your Vim to support Python 2 / Python 3 features. > Tested on Windows / Ubuntu 14 / Mac OS X. **Note:** PLEASE USE [markdown-preview.nvim](https://github.com/iamcco/markdown-preview.nvim) INSTEAD ### Screenshots **Markdown preview** ![screenshot](https://cloud.githubusercontent.com/assets/5492542/15363504/839753be-1d4b-11e6-9ac8-def4d7122e8d.gif) **Typeset math** ![screenshot](https://cloud.githubusercontent.com/assets/5492542/20455946/275dc74c-aea3-11e6-96f8-0d1a47e50f95.png) ### Installation With [vim-plug](https://github.com/junegunn/vim-plug): Add `Plug 'iamcco/markdown-preview.vim'` to the `vimrc` or `init.vim` file and type `:PlugInstall`. Or with MathJax support for typesetting math: ``` Plug 'iamcco/mathjax-support-for-mkdp' Plug 'iamcco/markdown-preview.vim' ``` ### Usage **Command:** ``` MarkdownPreview " Open preview window in markdown buffer MarkdownPreviewStop " Close the preview window and server ``` > When `MarkdownPreview` command can't open the preview window, you can use the `MarkdownPreviewStop` command before using `MarkdownPreview` command. **Default Setting:** ``` let g:mkdp_path_to_chrome = "" " Path to the chrome or the command to open chrome (or other modern browsers). " If set, g:mkdp_browserfunc would be ignored. let g:mkdp_browserfunc = 'MKDP_browserfunc_default' " Callback Vim function to open browser, the only parameter is the url to open. let g:mkdp_auto_start = 0 " Set to 1, Vim will open the preview window on entering the Markdown " buffer. let g:mkdp_auto_open = 0 " Set to 1, Vim will automatically open the preview window when you edit a " Markdown file. let g:mkdp_auto_close = 1 " Set to 1, Vim will automatically close the current preview window when " switching from one Markdown buffer to another. let g:mkdp_refresh_slow = 0 " Set to 1, Vim will just refresh Markdown when saving the buffer or " leaving from insert mode. With default 0, it will automatically refresh " Markdown as you edit or move the cursor. let g:mkdp_command_for_global = 0 " Set to 1, the MarkdownPreview command can be used for all files, " by default it can only be used in Markdown files. let g:mkdp_open_to_the_world = 0 " Set to 1, the preview server will be available to others in your network. " By default, the server only listens on localhost (127.0.0.1). ``` **Key Mapping:** By default this plugin has no mapping: if you want to have your own mappings, you can map the keys to `<Plug>MarkdownPreview` for opening the Markdown preview window and map keys to `<Plug>StopMarkdownPreview` for closing the preview window. Examples for mapping the `F8` key to open Markdown preview window and `F9` key to close preview window: ``` " for normal mode nmap <silent> <F8> <Plug>MarkdownPreview " for insert mode imap <silent> <F8> <Plug>MarkdownPreview " for normal mode nmap <silent> <F9> <Plug>StopMarkdownPreview " for insert mode imap <silent> <F9> <Plug>StopMarkdownPreview ``` For **OS X** users, you can set the `g:mkdp_path_to_chrome` as below (if you use Chrome): ``` let g:mkdp_path_to_chrome = "open -a Google\\ Chrome" " or let g:mkdp_path_to_chrome = "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome" ``` See [issue #1](https://github.com/iamcco/markdown-preview.vim/issues/1) for details. ### FAQ Q: The Firefox preview window didn't close when leaving the Markdown file in Vim. A: If you want the plugin to auto-close the preview window in Firefox, you have to do some configuration: 1. Open Firefox. 2. Type `about:config` in the address bar and press the `Enter` key. 3. Search for `dom.allow_scripts_to_close_windows` and set its value to `true`. > You have to know what will happen when you make the above changes. ### Changelog * 2017/07/16: Add `g:mkdp_open_to_the_world` option. * 2016/11/19: MathJax support with [mathjax-support-for-mkdp](https://github.com/iamcco/mathjax-support-for-mkdp) plugin. * 2016/08/28: Set the title of preview page with filename. * 2016/05/18: Support key mapping and new `g:mkdp_command_for_global` option item. * 2016/03/12: New Github-like Markdown styles [markdown.css](https://github.com/iamcco/markdown.css) and support task list. * 2016/01/24: Support to display the local picture in Markdown. ### Buy Me A Coffee ☕️ ![image](https://user-images.githubusercontent.com/5492542/42771079-962216b0-8958-11e8-81c0-520363ce1059.png)
24
:tulip: Vim plugin that shows keybindings in popup
# vim-which-key <!-- TOC GFM --> * [Introduction](#introduction) * [Pros.](#pros) * [Installation](#installation) * [Plugin Manager](#plugin-manager) * [Package management](#package-management) * [Vim 8](#vim-8) * [NeoVim](#neovim) * [Requirement](#requirement) * [Usage](#usage) * [`timeoutlen`](#timeoutlen) * [Special keys](#special-keys) * [Configuration](#configuration) * [Minimal Configuration](#minimal-configuration) * [Example](#example) * [Hide statusline](#hide-statusline) * [Commands](#commands) * [Options](#options) * [FAQ](#faq) * [How to map some special keys like `<BS>`?](#how-to-map-some-special-keys-like-bs) * [Credit](#credit) <!-- /TOC --> ## Introduction vim-which-key is vim port of [emacs-which-key](https://github.com/justbur/emacs-which-key) that displays available keybindings in popup. [emacs-which-key](https://github.com/justbur/emacs-which-key) started as a rewrite of [guide-key](https://github.com/kai2nenobu/guide-key), very likely, [vim-which-key](https://github.com/liuchengxu/vim-which-key) heavily rewrote [vim-leader-guide](https://github.com/hecal3/vim-leader-guide). The features of vim-which-key has evolved a lot since then. <p align="center"> <img width="800px" src="https://raw.githubusercontent.com/liuchengxu/img/master/vim-which-key/vim-which-key.png"> <br /> Vim config in the screenshot is <a href="https://github.com/liuchengxu/space-vim">space-vim</a>. </p> ## Pros. - Better UI, vim's `popup` and neovim's `floating_win` are supported. - Show all mappings following a prefix, e.g., `<leader>`, `<localleader>`, etc. - Instant response for your every single input. - Dynamic update on every call. - Define group names and arbitrary descriptions. ## Installation ### Plugin Manager Assuming you are using [vim-plug](https://github.com/junegunn/vim-plug): ```vim Plug 'liuchengxu/vim-which-key' " On-demand lazy load Plug 'liuchengxu/vim-which-key', { 'on': ['WhichKey', 'WhichKey!'] } " To register the descriptions when using the on-demand load feature, " use the autocmd hook to call which_key#register(), e.g., register for the Space key: " autocmd! User vim-which-key call which_key#register('<Space>', 'g:which_key_map') ``` For other plugin managers please refer to their document for more details. ### Package management #### Vim 8 ```bash $ mkdir -p ~/.vim/pack/git-plugins/start $ git clone https://github.com/liuchengxu/vim-which-key.git --depth=1 ~/.vim/pack/git-plugins/start/vim-which-key ``` #### NeoVim ```bash $ mkdir -p ~/.local/share/nvim/site/pack/git-plugins/start $ git clone https://github.com/liuchengxu/vim-which-key.git --depth=1 ~/.local/share/nvim/site/pack/git-plugins/start/vim-which-key ``` ## Requirement vim-which-key requires option `timeout` is on, see `:h timeout`. Since `timeout` is on by default, all you need is not to `set notimeout` in your `.vimrc`. ## Usage ### `timeoutlen` Let's say <kbd>SPC</kbd> is your leader key and you use it to trigger vim-which-key: ```vim nnoremap <silent> <leader> :WhichKey '<Space>'<CR> ``` After pressing leader the guide buffer will pop up when there are no further keystrokes within `timeoutlen`. ```vim " By default timeoutlen is 1000 ms set timeoutlen=500 ``` Pressing other keys within `timeoutlen` will either complete the mapping or open a subgroup. In the screenshot above <kbd>SPC</kbd><kbd>b</kbd> will open up the buffer menu. Please note that no matter which mappings and menus you configure, your original leader mappings will remain unaffected. The key guide is an additional layer. It will only activate, when you do not complete your input during the timeoutlen duration. ### Special keys - Use <kbd>BS</kbd> to show the upper level mappings. ### Configuration - For neovim, [nvim-whichkey-setup.lua](https://github.com/AckslD/nvim-whichkey-setup.lua) provides a wrapper around vim-which-key to simplify configuration in lua. It also solves issues (see #126) when the mapped command is more complex and makes it easy to also map `localleader`. #### Minimal Configuration `:WhichKey` and `:WhichKeyVisual` are the primary way of interacting with this plugin. Assuming your `leader` and `localleader` key are `<Space>` and `,`, respectively, even no description dictionary has been registered, all `<Space>` and `,` related mappings will be displayed regardless. ```vim let g:mapleader = "\<Space>" let g:maplocalleader = ',' nnoremap <silent> <leader> :<c-u>WhichKey '<Space>'<CR> nnoremap <silent> <localleader> :<c-u>WhichKey ','<CR> ``` The raw content displayed is normally not adequate to serve as a cheatsheet. See the following section for configuring it properly. If no description dictionary is available, the right-hand-side of all mappings will be displayed: <p align="center"><img width="800px" src="https://raw.githubusercontent.com/liuchengxu/img/master/vim-which-key/raw-spc-w.png"></p> The dictionary configuration is necessary to provide group names or a description text. ```vim let g:which_key_map['w'] = { \ 'name' : '+windows' , \ 'w' : ['<C-W>w' , 'other-window'] , \ 'd' : ['<C-W>c' , 'delete-window'] , \ '-' : ['<C-W>s' , 'split-window-below'] , \ '|' : ['<C-W>v' , 'split-window-right'] , \ '2' : ['<C-W>v' , 'layout-double-columns'] , \ 'h' : ['<C-W>h' , 'window-left'] , \ 'j' : ['<C-W>j' , 'window-below'] , \ 'l' : ['<C-W>l' , 'window-right'] , \ 'k' : ['<C-W>k' , 'window-up'] , \ 'H' : ['<C-W>5<' , 'expand-window-left'] , \ 'J' : [':resize +5' , 'expand-window-below'] , \ 'L' : ['<C-W>5>' , 'expand-window-right'] , \ 'K' : [':resize -5' , 'expand-window-up'] , \ '=' : ['<C-W>=' , 'balance-window'] , \ 's' : ['<C-W>s' , 'split-window-below'] , \ 'v' : ['<C-W>v' , 'split-window-below'] , \ '?' : ['Windows' , 'fzf-window'] , \ } ``` <p align="center"><img width="800px" src="https://raw.githubusercontent.com/liuchengxu/img/master/vim-which-key/spc-w.png"></p> If you wish to hide a mapping from the menu set it's description to `'which_key_ignore'`. Useful for instance, to hide a list of <leader>[1-9] window swapping mappings. For example the below mapping will not be shown in the menu. ```vim nnoremap <leader>1 :1wincmd w<CR> let g:which_key_map.1 = 'which_key_ignore' ``` If you want to hide a group of non-top level mappings, set the `name` to `'which_key_ignore'`. For example, ```vim nnoremap <leader>_a :echom '_a'<CR> nnoremap <leader>_b :echom '_b'<CR> let g:which_key_map['_'] = { 'name': 'which_key_ignore' } ``` If you want to hide all mappings outside of the elements of the description dictionary, use: `let g:which_key_ignore_outside_mappings = 1`. #### Example You can configure a Dict for each prefix so that the display is more readable. To make the guide pop up **Register the description dictionary for the prefix first**. Assuming `Space` is your leader key and the Dict for configuring `Space` is `g:which_key_map`: ```vim nnoremap <silent> <leader> :<c-u>WhichKey '<Space>'<CR> vnoremap <silent> <leader> :<c-u>WhichKeyVisual '<Space>'<CR> call which_key#register('<Space>', "g:which_key_map") ``` The above registers the same description dictionary for both normal and visual modes. To use a separate description dictionary for each mode: add a third argument specifying which mode: ```vim call which_key#register('<Space>', "g:which_key_map", 'n') call which_key#register('<Space>', "g:which_key_map_visual", 'v') ``` The next step is to add items to `g:which_key_map`: ```vim " Define prefix dictionary let g:which_key_map = {} " Second level dictionaries: " 'name' is a special field. It will define the name of the group, e.g., leader-f is the "+file" group. " Unnamed groups will show a default empty string. " ======================================================= " Create menus based on existing mappings " ======================================================= " You can pass a descriptive text to an existing mapping. let g:which_key_map.f = { 'name' : '+file' } nnoremap <silent> <leader>fs :update<CR> let g:which_key_map.f.s = 'save-file' nnoremap <silent> <leader>fd :e $MYVIMRC<CR> let g:which_key_map.f.d = 'open-vimrc' nnoremap <silent> <leader>oq :copen<CR> nnoremap <silent> <leader>ol :lopen<CR> let g:which_key_map.o = { \ 'name' : '+open', \ 'q' : 'open-quickfix' , \ 'l' : 'open-locationlist', \ } " ======================================================= " Create menus not based on existing mappings: " ======================================================= " Provide commands(ex-command, <Plug>/<C-W>/<C-d> mapping, etc.) " and descriptions for the existing mappings. " " Note: " Some complicated ex-cmd may not work as expected since they'll be " feed into `feedkeys()`, in which case you have to define a decicated " Command or function wrapper to make it work with vim-which-key. " Ref issue #126, #133 etc. let g:which_key_map.b = { \ 'name' : '+buffer' , \ '1' : ['b1' , 'buffer 1'] , \ '2' : ['b2' , 'buffer 2'] , \ 'd' : ['bd' , 'delete-buffer'] , \ 'f' : ['bfirst' , 'first-buffer'] , \ 'h' : ['Startify' , 'home-buffer'] , \ 'l' : ['blast' , 'last-buffer'] , \ 'n' : ['bnext' , 'next-buffer'] , \ 'p' : ['bprevious' , 'previous-buffer'] , \ '?' : ['Buffers' , 'fzf-buffer'] , \ } let g:which_key_map.l = { \ 'name' : '+lsp', \ 'f' : ['spacevim#lang#util#Format()' , 'formatting'] , \ 'r' : ['spacevim#lang#util#FindReferences()' , 'references'] , \ 'R' : ['spacevim#lang#util#Rename()' , 'rename'] , \ 's' : ['spacevim#lang#util#DocumentSymbol()' , 'document-symbol'] , \ 'S' : ['spacevim#lang#util#WorkspaceSymbol()' , 'workspace-symbol'] , \ 'g' : { \ 'name': '+goto', \ 'd' : ['spacevim#lang#util#Definition()' , 'definition'] , \ 't' : ['spacevim#lang#util#TypeDefinition()' , 'type-definition'] , \ 'i' : ['spacevim#lang#util#Implementation()' , 'implementation'] , \ }, \ } ``` The guide will be up to date at all times. Native vim mappings will always take precedence over dictionary-only mappings. It is possible to call the guide for keys other than `leader`: ```vim nnoremap <localleader> :<c-u>WhichKey ','<CR> vnoremap <localleader> :<c-u>WhichKeyVisual ','<CR> ``` - Refer to [space-vim](https://github.com/liuchengxu/space-vim/blob/master/core/autoload/spacevim/map/leader.vim) for more detailed example. #### Hide statusline <p align="center"><img width="800px" src="https://raw.githubusercontent.com/liuchengxu/img/master/vim-which-key/hide-statusline.png"></p> Since the theme of provided statusline is not flexible and all the information has been echoed already, I prefer to hide it. ```vim autocmd! FileType which_key autocmd FileType which_key set laststatus=0 noshowmode noruler \| autocmd BufLeave <buffer> set laststatus=2 showmode ruler ``` ### Commands See more details about commands and options via `:h vim-which-key`. | Command | Description | | :------------------- | :---------------------------------------------------: | | `:WhichKey {prefix}` | Open the guide window for the given prefix | | `:WhichKey! {dict}` | Open the guide window for a given dictionary directly | ### Options | Variable | Default | Description | | :--------------------- | :--------: | :-----------------------------------------: | | `g:which_key_vertical` | 0 | show popup vertically | | `g:which_key_position` | `botright` | split a window at the bottom | | `g:which_key_hspace` | 5 | minimum horizontal space between columns | | `g:which_key_centered` | 1 | make all keybindings centered in the middle | ### FAQ #### How to map some special keys like `<BS>`? See [#178](https://github.com/liuchengxu/vim-which-key/issues/178). #### How to set keybindings on filetype or other condition? You may use BufEnter/BufLeave [#132](https://github.com/liuchengxu/vim-which-key/issues/132), a `dictionary-function` [#209](https://github.com/liuchengxu/vim-which-key/pull/209), or *[experimental]* setup per buffer [#48](https://github.com/liuchengxu/vim-which-key/pull/48). #### How to map lua functions? This is possible via [nvim-whichkey-setup.lua](https://github.com/AckslD/nvim-whichkey-setup.lua). For example, if one wanted to map [spectre's](https://github.com/windwp/nvim-spectre) `open` to `<leader>S`, which in vimscipt would be `nnoremap <leader>S <cmd>lua require('spectre').open()<CR>`, one could use the following in one's `init.vim`: ```vim lua<<EOF local wk = require('whichkey_setup') local keymap = { S = {':lua require("spectre").open()<CR>', 'Search'}, } wk.register_keymap('leader', keymap) EOF ``` NB that keymaps can only be registered once. The entirety of one's `vim-which-key` configuration must be ported to [nvim-whichkey-setup.lua](https://github.com/AckslD/nvim-whichkey-setup.lua) in order to enable this functionality. ## Credit - [vim-leader-guide](https://github.com/hecal3/vim-leader-guide)
25
A tree explorer plugin for vim.
null
26
:heart: Slim, Fast and Hackable Completion Framework for Neovim
## Introduction NCM2, formerly known as [nvim-completion-manager](https://github.com/roxma/nvim-completion-manager), is a slim, fast and hackable completion framework for neovim. Main features: 1. Fast and asynchronous completion support, with vimscript friendly API. 2. Smart on files with different languages, for example, css/javascript completion in html style/script tag. 3. Function parameter expansion support using [ncm2-snippet](https://github.com/topics/ncm2-snippet) plugins. 4. [Language server protocol plugin integration](https://github.com/ncm2/ncm2/wiki). Read [our wiki page](https://github.com/ncm2/ncm2/wiki) for a list of extensions and programming languages support for NCM2. ![peek 2018-07-17 18-15](https://user-images.githubusercontent.com/4538941/42811661-dbfb5ba2-89ed-11e8-81c4-3fb893d1af9c.gif) [View demo vimrc at #19](https://github.com/ncm2/ncm2/issues/19) ## Requirements - `:echo has("nvim-0.2.2")` prints 1. Older versions has not been tested - `:echo has("python3")` prints 1. This is usually set by `python3 -m pip install pynvim` in shell and `let g:python3_host_prog=/path/to/python/executable/` in vimrc. - Plugin [nvim-yarp](https://github.com/roxma/nvim-yarp) For vim8 user, read the [nvim-yarp](https://github.com/roxma/nvim-yarp) README. **Note that vim8 support is simply a bonus. It's not the goal of NCM2.** ## Install ```vim " assuming you're using vim-plug: https://github.com/junegunn/vim-plug Plug 'ncm2/ncm2' Plug 'roxma/nvim-yarp' " enable ncm2 for all buffers autocmd BufEnter * call ncm2#enable_for_buffer() " IMPORTANT: :help Ncm2PopupOpen for more information set completeopt=noinsert,menuone,noselect " NOTE: you need to install completion sources to get completions. Check " our wiki page for a list of sources: https://github.com/ncm2/ncm2/wiki Plug 'ncm2/ncm2-bufword' Plug 'ncm2/ncm2-path' ``` ## Optional Vimrc Tips ```vim " suppress the annoying 'match x of y', 'The only match' and 'Pattern not " found' messages set shortmess+=c " CTRL-C doesn't trigger the InsertLeave autocmd . map to <ESC> instead. inoremap <c-c> <ESC> " When the <Enter> key is pressed while the popup menu is visible, it only " hides the menu. Use this mapping to close the menu and also start a new " line. inoremap <expr> <CR> (pumvisible() ? "\<c-y>\<cr>" : "\<CR>") " Use <TAB> to select the popup menu: inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>" " wrap existing omnifunc " Note that omnifunc does not run in background and may probably block the " editor. If you don't want to be blocked by omnifunc too often, you could " add 180ms delay before the omni wrapper: " 'on_complete': ['ncm2#on_complete#delay', 180, " \ 'ncm2#on_complete#omni', 'csscomplete#CompleteCSS'], au User Ncm2Plugin call ncm2#register_source({ \ 'name' : 'css', \ 'priority': 9, \ 'subscope_enable': 1, \ 'scope': ['css','scss'], \ 'mark': 'css', \ 'word_pattern': '[\w\-]+', \ 'complete_pattern': ':\s*', \ 'on_complete': ['ncm2#on_complete#omni', 'csscomplete#CompleteCSS'], \ }) ``` ## How Do I write Ncm2 Source? One important step is to understand how and when completion gets triggered. Read `:help ncm2#register_source` carefully, or `:help ncm2#register_source-example` for quick start. In case you don't know what tool you should use for async support. Here are some options available: - `:help jobstart()` - [python remote plugin example](https://github.com/jacobsimpson/nvim-example-python-plugin) - I myself prefer to use [nvim-yarp](https://github.com/roxma/nvim-yarp) - Read [ncm2/ncm2-bufword](https://github.com/ncm2/ncm2-bufword) for example ## Debugging Refer to the [debugging section of nvim-yarp](https://github.com/roxma/nvim-yarp#debugging)
27
Work fast, think well.
**VimOutliner README file** Introduction ============ VimOutliner is an outline processor with many of the same features as Grandview, More, Thinktank, Ecco, etc. Features include tree expand/collapse, tree promotion/demotion, level sensitive colors, interoutline linking, and body text. What sets VimOutliner apart from the rest is that it's been constructed from the ground up for fast and easy authoring. Keystrokes are quick and easy, especially for someone knowing the Vim editor. VimOutliner can be used without the mouse (but is supported to the extent that Vim supports the mouse). All VimOutliner files have the `.otl` extension. For help on VimOutliner type `:h vo`. For an overview of all the most important VimOutliner commands you can type `:h votl_cheatsheet` when you have opened an otl file. Usage ===== VimOutliner has been reported to help with the following tasks: - Project management - Password wallet - To-do lists - Account and cash book - 'Plot device' for writing novels - Inventory control - Hierarchical database - Web site management Characteristics =============== - Fast and effective - Fully integrated with Vim - Extensible through plugins - Many post-processing scripts allow exporting to multiple formats - Extensive documentation See the [help file](doc/votl.txt) for further information. After installation you can access it from within vim using `:h vo`. If something does not work, please, let us know (either on the email list or file a ticket to the GitHub issue tracker). Downloads ========= If your goal is to install vimoutliner, see the next section rather than using these options. [zip archives](https://github.com/vimoutliner/vimoutliner/downloads) Download of all packages can also be done from the [Freshmeat site](http://freecode.com/projects/vimoutliner). Installation ============ If there is a pre-packaged version available for your operating system, use that. Otherwise, read on. Prerequisites ------------- - vim - git* Some of the provided scripts have additional requirements. If you want to run them, you will need appropriate support. The python scripts need Python 3 and the perl scripts need Perl. *There are other ways of getting the source code if you don't want to use git, e.g., the downloads in the previous section. But these instructions will assume git. Standard Install ---------------- VimOutliner uses the now standard method of installation of vim plugins (vim version 8 is shown, but similar steps for older versions of vim could work with using vim-pathogen, Vundle): ```shell $ mkdir -p ~/.vim/pack/thirdparty/start # the "thirdparty" name may # be different, there just # need to be one more level # of directories $ cd ~/.vim/pack/thirdparty/start $ git clone https://github.com/vimoutliner/vimoutliner.git $ vim -u NONE -c "helptags vimoutliner/doc" -c q ``` See [Helper Scripts](#helper-scripts) below for additional setup for external scripts. Submodule Install ------------------ Alternatively instead of making a clone as a separate repo, the developers of VimOutliner believe, it is better to have whole ~/.vim directory as one git repo and then vim plugins would be just submodules. If you have setup ~/.vim in this way then installing VimOutliner is just: ```shell $ cd ~/.vim/ $ git submodule add https://github.com/vimoutliner/vimoutliner.git \ pack/thirdparty/start/vimoutliner $ vim -u NONE -c "helptags vimoutliner/doc" -c q ``` Restart vim and you should be good to go. Getting all your vim plugins updated would be then just ```shell $ cd ~/.vim $ git submodule update --remote --rebase ``` For more about working with git submodules, read git-submodule(1). Helper Scripts -------------- VimOutliner comes with a variety of helper scripts that can be run outside of vim. None are necessary for the basic outlining behavior of VimOutliner. If you do want to use them, you will probably want to make it easy to access them. The scripts are in `~/.vim/pack/thirdparty/start/vimoutliner/vimoutliner/scripts/` if you followed the standard installation instructions. Yes, `vimoutliner` occurs twice. They will be under the submodule if you followed the alternate installation instructions. If you want to run them, you will probably want a convenient way to access them. Here are some possibilities: 1. Add that directory to your PATH. 2. Only invoke them from menus within gvim. 3. Make links or copies of files you want to use to a directory already in your path. In all cases you should leave the originals in place, as various parts of the system may assume they are there (e.g., the menus in option 2). Testing the Installation ------------------------ Open a new outline with the following: ```shell rm $HOME/votl_test.otl gvim $HOME/votl_test.otl # or vim $HOME/votl_test.otl ``` Verify the following: - Tabs indent the text - Different indent levels are different colors - Lines starting with a colon and space word-wrap Lines starting with colons are body text. They should word wrap and should be a special color (typically green, but it can vary). Verify that paragraphs of body text can be reformatted with the Vim gq commands. If you plan to use particular features, you may want to test them too. In the online help, |votl-checkbox| discusses expected behavior of checkboxes, and |votl-maketags| provides explicit instructions for a simple test of interoutline linking.
28
markdown preview plugin for (neo)vim
<h1 align="center"> ✨ Markdown Preview for (Neo)vim ✨ </h1> > Powered by ❤️ ### Introduction > It only works on vim >= 8.1 and neovim Preview markdown on your modern browser with synchronised scrolling and flexible configuration Main features: - Cross platform (macos/linux/windows) - Synchronised scrolling - Fast asynchronous updates - [Katex](https://github.com/Khan/KaTeX) for typesetting of math - [Plantuml](https://github.com/plantuml/plantuml) - [Mermaid](https://github.com/knsv/mermaid) - [Chart.js](https://github.com/chartjs/Chart.js) - [sequence-diagrams](https://github.com/bramp/js-sequence-diagrams) - [flowchart](https://github.com/adrai/flowchart.js) - [dot](https://github.com/mdaines/viz.js) - [Toc](https://github.com/nagaozen/markdown-it-toc-done-right) - Emoji - Task lists - Local images - Flexible configuration **Note** it's no need `mathjax-support-for-mkdp` plugin for typesetting of math ![screenshot](https://user-images.githubusercontent.com/5492542/47603494-28e90000-da1f-11e8-9079-30646e551e7a.gif) ### install & usage Install with [vim-plug](https://github.com/junegunn/vim-plug): ```vim " If you don't have nodejs and yarn " use pre build, add 'vim-plug' to the filetype list so vim-plug can update this plugin " see: https://github.com/iamcco/markdown-preview.nvim/issues/50 Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} " If you have nodejs and yarn Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && yarn install' } ``` Or install with [dein](https://github.com/Shougo/dein.vim): ```vim call dein#add('iamcco/markdown-preview.nvim', {'on_ft': ['markdown', 'pandoc.markdown', 'rmd'], \ 'build': 'sh -c "cd app && yarn install"' }) ``` Or with minpac: ```vim call minpac#add('iamcco/markdown-preview.nvim', {'do': 'packloadall! | call mkdp#util#install()'}) ``` Or with [Vundle](https://github.com/vundlevim/vundle.vim): Place this in your `.vimrc` or `init.vim`, ```vim Plugin 'iamcco/markdown-preview.nvim' ``` ... then run the following in vim (to complete the `Plugin` installation): ```vim :source % :PluginInstall :call mkdp#util#install() ``` Or with [Packer.nvim](https://github.com/wbthomason/packer.nvim): Add this in your `init.lua or plugins.lua` ```lua -- install without yarn or npm use({ "iamcco/markdown-preview.nvim", run = function() vim.fn["mkdp#util#install"]() end, }) use({ "iamcco/markdown-preview.nvim", run = "cd app && npm install", setup = function() vim.g.mkdp_filetypes = { "markdown" } end, ft = { "markdown" }, }) ``` Or by hand ```vim use {'iamcco/markdown-preview.nvim'} ``` add plugin in `~/.local/share/nvim/site/pack/packer/start/` directory: ```vim cd ~/.local/share/nvim/site/pack/packer/start/ git clone https://github.com/iamcco/markdown-preview.nvim.git cd markdown-preview.nvim yarn install yarn build ``` Please make sure that you have installed `node.js` and `yarn`. Open `nvim` and run `:PackerInstall` to make it workable ### MarkdownPreview Config: ```vim " set to 1, nvim will open the preview window after entering the markdown buffer " default: 0 let g:mkdp_auto_start = 0 " set to 1, the nvim will auto close current preview window when change " from markdown buffer to another buffer " default: 1 let g:mkdp_auto_close = 1 " set to 1, the vim will refresh markdown when save the buffer or " leave from insert mode, default 0 is auto refresh markdown as you edit or " move the cursor " default: 0 let g:mkdp_refresh_slow = 0 " set to 1, the MarkdownPreview command can be use for all files, " by default it can be use in markdown file " default: 0 let g:mkdp_command_for_global = 0 " set to 1, preview server available to others in your network " by default, the server listens on localhost (127.0.0.1) " default: 0 let g:mkdp_open_to_the_world = 0 " use custom IP to open preview page " useful when you work in remote vim and preview on local browser " more detail see: https://github.com/iamcco/markdown-preview.nvim/pull/9 " default empty let g:mkdp_open_ip = '' " specify browser to open preview page " for path with space " valid: `/path/with\ space/xxx` " invalid: `/path/with\\ space/xxx` " default: '' let g:mkdp_browser = '' " set to 1, echo preview page url in command line when open preview page " default is 0 let g:mkdp_echo_preview_url = 0 " a custom vim function name to open preview page " this function will receive url as param " default is empty let g:mkdp_browserfunc = '' " options for markdown render " mkit: markdown-it options for render " katex: katex options for math " uml: markdown-it-plantuml options " maid: mermaid options " disable_sync_scroll: if disable sync scroll, default 0 " sync_scroll_type: 'middle', 'top' or 'relative', default value is 'middle' " middle: mean the cursor position alway show at the middle of the preview page " top: mean the vim top viewport alway show at the top of the preview page " relative: mean the cursor position alway show at the relative positon of the preview page " hide_yaml_meta: if hide yaml metadata, default is 1 " sequence_diagrams: js-sequence-diagrams options " content_editable: if enable content editable for preview page, default: v:false " disable_filename: if disable filename header for preview page, default: 0 let g:mkdp_preview_options = { \ 'mkit': {}, \ 'katex': {}, \ 'uml': {}, \ 'maid': {}, \ 'disable_sync_scroll': 0, \ 'sync_scroll_type': 'middle', \ 'hide_yaml_meta': 1, \ 'sequence_diagrams': {}, \ 'flowchart_diagrams': {}, \ 'content_editable': v:false, \ 'disable_filename': 0, \ 'toc': {} \ } " use a custom markdown style must be absolute path " like '/Users/username/markdown.css' or expand('~/markdown.css') let g:mkdp_markdown_css = '' " use a custom highlight style must absolute path " like '/Users/username/highlight.css' or expand('~/highlight.css') let g:mkdp_highlight_css = '' " use a custom port to start server or empty for random let g:mkdp_port = '' " preview page title " ${name} will be replace with the file name let g:mkdp_page_title = '「${name}」' " recognized filetypes " these filetypes will have MarkdownPreview... commands let g:mkdp_filetypes = ['markdown'] " set default theme (dark or light) " By default the theme is define according to the preferences of the system let g:mkdp_theme = 'dark' ``` Mappings: ```vim " normal/insert <Plug>MarkdownPreview <Plug>MarkdownPreviewStop <Plug>MarkdownPreviewToggle " example nmap <C-s> <Plug>MarkdownPreview nmap <M-s> <Plug>MarkdownPreviewStop nmap <C-p> <Plug>MarkdownPreviewToggle ``` Commands: ```vim " Start the preview :MarkdownPreview " Stop the preview" :MarkdownPreviewStop ``` ### Custom Examples **Toc:** > one of ${toc} [[toc]] [toc] [[_toc_]] **Image Size:** ``` markdown ![image](https://user-images.githubusercontent.com/5492542/47603494-28e90000-da1f-11e8-9079-30646e551e7a.gif =400x200) ``` **plantuml:** @startuml Bob -> Alice : hello @enduml Or ``` plantuml Bob -> Alice : hello ``` **katex:** $\sqrt{3x-1}+(1+x)^2$ $$\begin{array}{c} \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ \nabla \cdot \vec{\mathbf{B}} & = 0 \end{array}$$ **mermaid:** ``` mermaid gantt dateFormat DD-MM-YYY axisFormat %m/%y title Example section example section activity :active, 01-02-2019, 03-08-2019 ``` **js-sequence-diagrams:** ``` sequence-diagrams Andrew->China: Says Note right of China: China thinks\nabout it China-->Andrew: How are you? Andrew->>China: I am good thanks! ``` **flowchart:** ``` flowchart st=>start: Start|past:>http://www.google.com[blank] e=>end: End|future:>http://www.google.com op1=>operation: My Operation|past op2=>operation: Stuff|current sub1=>subroutine: My Subroutine|invalid cond=>condition: Yes or No?|approved:>http://www.google.com c2=>condition: Good idea|rejected io=>inputoutput: catch something...|future st->op1(right)->cond cond(yes, right)->c2 cond(no)->sub1(left)->op1 c2(yes)->io->e c2(no)->op2->e ``` **dot:** ``` dot digraph G { subgraph cluster_0 { style=filled; color=lightgrey; node [style=filled,color=white]; a0 -> a1 -> a2 -> a3; label = "process #1"; } subgraph cluster_1 { node [style=filled]; b0 -> b1 -> b2 -> b3; label = "process #2"; color=blue } start -> a0; start -> b0; a1 -> b3; b2 -> a3; a3 -> a0; a3 -> end; b3 -> end; start [shape=Mdiamond]; end [shape=Msquare]; } ``` **chart:** ``` chart { "type": "pie", "data": { "labels": [ "Red", "Blue", "Yellow" ], "datasets": [ { "data": [ 300, 50, 100 ], "backgroundColor": [ "#FF6384", "#36A2EB", "#FFCE56" ], "hoverBackgroundColor": [ "#FF6384", "#36A2EB", "#FFCE56" ] } ] }, "options": {} } ``` ### FAQ Question: Why is the synchronised scrolling lagging? Answer: set `updatetime` to a small number, for instance: `set updatetime=100` *WSL 2 issue*: Can not open browser when using WSL 2 with terminal Vim. > if you are using Ubuntu you can install xdg-utils using `sudo apt-get install -y xdg-utils` > checkout [issue 199](https://github.com/iamcco/markdown-preview.nvim/issues/199) for more detail. Question: How can I change the dark/light theme? Answer: The default theme is based on your system preferences. There is a button hidden in the header to change the theme. Place your mouse over the header to reveal it. Question: How can I pass CLI options to the browser, like opening in a new window? Answer: Add the following to your NVIM init script: ```vimscript function OpenMarkdownPreview (url) execute "silent ! firefox --new-window " . a:url endfunction let g:mkdp_browserfunc = 'OpenMarkdownPreview' ``` Replace "firefox" with "chrome" if you prefer. Both browsers recognize the `--new-window` option. ### About vim support Vim support is powered by [@chemzqm/neovim](https://github.com/neoclide/neovim) ### Reference - [coc.nvim](https://github.com/neoclide/coc.nvim) - [@chemzqm/neovim](https://github.com/neoclide/neovim) - [chart.js](https://github.com/chartjs/Chart.js) - [highlight](https://github.com/highlightjs/highlight.js) - [neovim/node-client](https://github.com/neovim/node-client) - [next.js](https://github.com/zeit/next.js) - [markdown.css](https://github.com/iamcco/markdown.css) - [markdown-it](https://github.com/markdown-it/markdown-it) - [markdown-it-katex](https://github.com/waylonflinn/markdown-it-katex) - [markdown-it-plantuml](https://github.com/gmunguia/markdown-it-plantuml) - [markdown-it-chart](https://github.com/tylingsoft/markdown-it-chart) - [mermaid](https://github.com/knsv/mermaid) - [opener](https://github.com/domenic/opener) - [sequence-diagrams](https://github.com/bramp/js-sequence-diagrams) - [socket.io](https://github.com/socketio/socket.io) ### Buy Me A Coffee ☕️ ![btc](https://img.shields.io/keybase/btc/iamcco.svg?style=popout-square) ![image](https://user-images.githubusercontent.com/5492542/42771079-962216b0-8958-11e8-81c0-520363ce1059.png)
29
Auto configurations for Language Server for vim-lsp
# vim-lsp-settings [![Actions Status](https://github.com/mattn/vim-lsp-settings/workflows/reviewdog/badge.svg)](https://github.com/mattn/vim-lsp-settings/actions) [![Actions Status](https://github.com/mattn/vim-lsp-settings/workflows/ci/badge.svg)](https://github.com/mattn/vim-lsp-settings/actions) Auto configurations for Language Servers for [vim-lsp](https://github.com/prabirshrestha/vim-lsp). ## Introduction Language Servers are not easy to install. Visual Studio Code provides easy ways to install and update Language Servers and Language Server Client. This plugin provides the same feature for Vim. ## Installation Using the [vim-plug](https://github.com/junegunn/vim-plug) plugin manager: ```viml Plug 'prabirshrestha/vim-lsp' Plug 'mattn/vim-lsp-settings' ``` You need to install both [vim-lsp](https://github.com/prabirshrestha/vim-lsp) and vim-lsp-settings. ## Usage While editing a file with a supported filetype: ``` :LspInstallServer ``` To uninstall server: ``` :LspUninstallServer server-name ``` Because there is no way to update a server, please run `:LspInstallServer` again, the newer version will be installed. ### Auto-complete If you want to use auto-completion, you can use one of the following. #### asyncomplete.vim ```viml Plug 'prabirshrestha/asyncomplete.vim' Plug 'prabirshrestha/asyncomplete-lsp.vim' ``` #### ddc.vim ```viml Plug 'Shougo/ddc.vim' Plug 'shun/ddc-vim-lsp' ``` ### LSP server download directory This is where LSP servers are placed on your system after you download them with `:LspInstallServer` #### Windows ``` %LOCALAPPDATA%\vim-lsp-settings\servers ``` #### MacOS/Linux ``` $HOME/.local/share/vim-lsp-settings/servers ``` If you define `$XDG_DATA_HOME`: ``` $XDG_DATA_HOME/vim-lsp-settings/servers ``` You can change the directory to install servers by set `g:lsp_settings_servers_dir` option in full path. ## Supported Languages | Language | Language Server | Installer | Local Install | | ----------------- | ----------------------------------- | :-------: | :-----------: | | Apex/VisualForce | apex-jorje-lsp | Yes | Yes | | Astro | astro-ls | Yes | Yes | | Bash | bash-language-server | Yes | Yes | | C# | omnisharp | Yes | Yes | | C/C++ | clangd | Yes | Yes | | COBOL | cobol-language-support | Yes | Yes | | CSS | css-languageserver | Yes | Yes | | CSS | tailwindcss-intellisense | Yes | Yes | | Clojure | clojure-lsp | Yes | Yes | | Clojure | clj-kondo-lsp | Yes | Yes | | Cmake | cmake-language-server | Yes | Yes | | D | dls | Yes | No | | D | serve-d | Yes | No | | Dart | analysis-server-dart-snapshot | Yes | Yes | | Dockerfile | dockerfile-language-server-nodejs | Yes | Yes | | Dot | dot-language-server | Yes | Yes | | Elixir | elixir-ls | Yes | Yes | | Elm | elm-language-server | Yes | Yes | | Erlang | erlang-ls | Yes | Yes | | F# | fsharp-language-server | Yes | Yes | | Fortran | fortls | Yes | Yes | | Go | gopls | Yes | Yes | | Go | golangci-lint-langserver | Yes | Yes | | GraphQL | graphql-language-service-cli | Yes | Yes | | GraphQL | gql-language-server | Yes | Yes | | Groovy | groovy-language-server | Yes | Yes | | Haskell | haskell-ide-engine | No | No | | Haskell | haskell-language-server | No | No | | HTML | html-languageserver | Yes | Yes | | HTML | angular-language-server | Yes | Yes | | HTML | tailwindcss-intellisense | Yes | Yes | | JSON | json-languageserver | Yes | Yes | | JSON | rome | Yes | Yes | | Java | eclipse-jdt-ls | Yes | Yes | | Java | java-language-server | No | Yes | | JavaScript | typescript-language-server | Yes | Yes | | JavaScript | javascript-typescript-stdio | Yes | Yes | | JavaScript | rome | Yes | Yes | | JavaScript | flow | Yes | Yes | | JavaScript | eslint-language-server | Yes | Yes | | Julia | LanguageServer.jl | Yes | No | | Kotlin | kotlin-language-server | Yes | Yes | | Lisp | cl-lsp | Yes | No | | Lua | emmylua-ls | Yes | Yes | | Lua | sumneko-lua-language-server | Yes | Yes | | Markdown (remark) | remark-language-server | Yes | Yes | | Markdown | Marksman | Yes | Yes | | Nim | nimls | No | No | | Nix | rnix-lsp | Yes | Yes | | PHP | intelephense | Yes | Yes | | PHP | psalm-language-server | Yes | Yes | | OCaml | ocaml-lsp | UNIX Only | Yes | | Protobuf | bufls | Yes | Yes | | Puppet | puppet-languageserver | Yes | Yes | | PureScript | purescript-language-server | Yes | Yes | | Python | pyls-all (pyls with dependencies) | Yes | Yes | | Python | pyls (pyls without dependencies) | Yes | Yes | | Python | pyls-ms (Microsoft Version) | Yes | Yes | | Python | jedi-language-server | Yes | Yes | | Python | pyright-langserver | Yes | Yes | | Python | pylsp-all (pylsp with dependencies) | Yes | Yes | | Python | pylsp (pylsp without dependencies) | Yes | Yes | | Prisma | prisma-language-server | Yes | Yes | | R | languageserver | Yes | No | | Racket | racket-lsp | Yes | No | | Reason | reason-language-server | Yes | Yes | | Ruby | ruby-lsp | UNIX Only | Yes | | Ruby | solargraph | Yes | Yes | | Ruby | steep | Yes | Yes | | Ruby | typeprof | Yes | Yes | | Rust | rls | Yes | No | | Rust | rust-analyzer | Yes | Yes | | Sphinx | esbonio | Yes | Yes | | SQL | sql-language-server | Yes | Yes | | SQL | sqls | Yes | Yes | | SQL | plpgsql-server | UNIX Only | Yes | | Scala | Metals | Yes | Yes | | Svelte | svelte-language-server | Yes | Yes | | Swift | sourcekit-lsp | Yes | No | | SystemVerilog | svls | Yes | Yes | | TeX | texlab | Yes | Yes | | TeX | digestif | Yes | No | | Terraform | terraform-lsp | Yes | Yes | | Terraform | terraform-ls | Yes | Yes | | TOML | taplo-lsp | No | Yes | | TTCN-3 | ntt | Yes | Yes | | TypeScript | typescript-language-server | Yes | Yes | | TypeScript | deno | Yes | Yes | | TypeScript | rome | Yes | Yes | | TypeScript | eslint-language-server | Yes | Yes | | Vim | vim-language-server | Yes | Yes | | Vala | vala-language-server | No | No | | Vue | volar-server | Yes | Yes | | Vue | vls | Yes | Yes | | V | vlang-vls | Yes | Yes | | XML | lemminx | Yes | Yes | | YAML | yaml-language-server | Yes | Yes | | ZIG | zls | Yes | Yes | | \* | efm-langserver | Yes | Yes | ## Notes ### clangd (C/C++) There is a Linux OS/version that does not run the locally installed `clangd` due to zlib version mismatch. If you want to use `clangd`, please install `clangd` on your system. ### rls (Rust) If you installed `rls` already, you can use `rls` without configurations. But if you have not installed `rls` yet, you can install it by following [these instructions](https://github.com/rust-lang/rls#setup). ### deno (TypeScript) To use deno, `deno.json(c)` should located on the project directory or traversing the filesystem upwards. If `deno.json` does not located, `node_modules` should **not** located on the project directory or traversing the filesystem upwards. When editing Node projects, the following warning message is shown. `server "deno" is disabled since "node_modules" is found` If you want to disable warning message, you may put `.vim-lsp-settings/settings.json` in your project root directory. ```json { "deno": { "disabled": true } } ``` To use importMap, default file name is `import_map.json`. If you don't want to use `import_map.json`, you may put `.vim-lsp-settings/settings.json` in your project root directory and set importMap whatever you want. ``` { "deno": { "initialization_options": { "enable": true, "lint": true, "unstable": true, "importMap": "your_own_import_map.json" } } } ``` Recommend to add `let g:markdown_fenced_languages = ['ts=typescript']` to your vimrc for hover(preview) Deno's library. Note that `deno` language server is specified. ```vim let g:lsp_settings_filetype_typescript = ['typescript-language-server', 'eslint-language-server', 'deno'] ``` ### flow (JavaScript) To use flow, the `.flowconfig` has to be located on the top of project directory. ### graphql-language-service-cli(GraphQL) To use graphql-language-service-cli, the [GraphQL Config](https://graphql-config.com/introduction#examples) has to be located on the top of project directory. The schema must be pointed to the schema file correctly. ```json { "schema": "./schema.graphql" } ``` ### gql-language-server (GraphQL) To use gql-language-server, the `.gqlconfig` has to be located on the top of project directory. The schema must be pointed to the schema file correctly. ```json5 { schema: { files: 'path/to/schema.graphql' } } ``` Finally, you have to install `@playlyfe/gql` into your project. ``` $ npm install @playlyfe/gql --save-dev ``` ### [dart analysis server](https://github.com/dart-lang/sdk/tree/master/pkg/analysis_server) (Dart) If you have a separate existing installation of the dart analysis server and want it to be used, it must either exist in your path, or you must specify its location. See 'Configurations' below. ### [haskell ide engine](https://github.com/haskell/haskell-ide-engine) (Haskell) If you installed `hie` with stack, you can use hie without configurations. But if you have not installed `hie` yet, you can install it by following [these steps](https://github.com/haskell/haskell-ide-engine#installation). ### [golangci-lint-langserver](https://github.com/nametake/golangci-lint-langserver) (Go) To use older version `golangci-lint`, please run `:LspSettingsGlobalEdit` and put bellow configuration. ```json5 "golangci-lint-langserver": { "initialization_options": { "command": [ "golangci-lint", "run", "--enable-all", "--disable", "lll", "--out-format", "json" ] } } ``` ## Extra Configurations Most of the configurations are not required. If you installed `clangd` already, you can use `clangd` for C/C++ without any configuration. But if you installed `clang` with the name` clangd-6.0`, you can replace executable with the following config: ```vim let g:lsp_settings = { \ 'clangd': {'cmd': ['clangd-6.0']}, \ 'efm-langserver': {'disabled': v:false} \} ``` Or put `.vim-lsp-settings/settings.json` in your project root directory. ```json { "clangd": { "cmd": ["clangd-6.0"] }, "efm-langserver": { "disabled": false } } ``` If you already have the dart analysis server installed but it is not in your path, you can still configure the settings to use it. Use the vimscript below to change the command to start the server. Note the command has two parts: the path to your 'dart' executable, and a subcommand 'language-server. ```vimscript let g:lsp_settings = { \ 'analysis-server-dart-snapshot': { \ 'cmd': [ \ '/path/to/your/dart-sdk/bin/dart', \ 'language-server' \ ], \ }, \ } ``` To edit the project local `settings.json`, do `:LspSettingsLocalEdit`. Overridable keys are: * cmd (List ex: `['clangd-6.0', '-enable-snippets']`) * initialization_options (Dictionary) * allowlist (List) * blocklist (List) * config (Dictionary) * workspace_config (Dictionary) * disabled (Boolean) * root_uri (String) * root_uri_patterns (List) * semantic_highlight (Dictionary) If you have some Language Servers and want to use specified the server: ```vim let g:lsp_settings_filetype_perl = 'slp' let g:lsp_settings_filetype_html = ['html-languageserver', 'angular-language-server'] let g:lsp_settings_filetype_typescript = ['typescript-language-server', 'eslint-language-server'] ``` When the servers are specified in a list, these will all be started. If you want to configure Language Server to use `flake8` rather than `pycodestyle`, the following can be added to your `~/.vimrc` file. Note that `pylsp-all` was the automatically registered server name. Check with `:LspStatus`. ```vim let g:lsp_settings = { \ 'pylsp-all': { \ 'workspace_config': { \ 'pylsp': { \ 'configurationSources': ['flake8'] \ } \ } \ }, \} ``` If you want to disable a Language Server: ```vim let g:lsp_settings = { \ 'perl-languageserver': { \ 'disabled': 1, \ } \} ``` When resolving the root directory for a language server, this plugin will look for directories containing special root markers defined in `g:lsp_settings_root_markers`. By default, this is set to: ```vim let g:lsp_settings_root_markers = [ \ '.git', \ '.git/', \ '.svn', \ '.hg', \ '.bzr' \ ] ``` If you need to specify alternative root markers: ```vim let g:lsp_settings_root_markers = ['.projections.json', '.git', '.git/'] ``` This would look for a custom `.projections.json`, a git submodule `.git` or a git root `.git/` starting from the current directory upwards. ## License MIT ## Author Yasuhiro Matsumoto (a.k.a. mattn)
30
A light and configurable statusline/tabline plugin for Vim
# lightline.vim A light and configurable statusline/tabline plugin for Vim https://github.com/itchyny/lightline.vim ### powerline (default) ![lightline.vim - powerline](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/powerline.png) ### wombat ![lightline.vim - wombat](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/wombat.png) ### solarized (`background=dark`) ![lightline.vim - solarized_dark](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/solarized_dark.png) ### solarized (`background=light`) ![lightline.vim - solarized_light](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/solarized_light.png) ### PaperColor (`background=dark`) ![lightline.vim - PaperColor_dark](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/PaperColor_dark.png) ### PaperColor (`background=light`) ![lightline.vim - PaperColor_light](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/PaperColor_light.png) ### one (`background=dark`) ![lightline.vim - one_dark](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/one_dark.png) ### one (`background=light`) ![lightline.vim - one_light](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/one_light.png) For screenshots of all available colorshemes, see [this file](colorscheme.md). ## Why yet another clone of powerline? + [vim-powerline](https://github.com/Lokaltog/vim-powerline) is a nice plugin, but deprecated. + [powerline](https://github.com/powerline/powerline) is a nice plugin, but difficult to configure. + [vim-airline](https://github.com/vim-airline/vim-airline) is a nice plugin, but it uses too many functions of other plugins, which should be done by users in `.vimrc`. ## Spirit of this plugin + Minimalism. The core script is very small to achieve enough functions as a statusline plugin. + Configurability. You can create your own component and easily add to the statusline and the tabline. + Orthogonality. The plugin does not rely on the implementation of other plugins. Such plugin crossing settings should be configured by users. ## Installation ### [Vim packages](https://vimhelp.org/repeat.txt.html#packages) (since Vim 7.4.1528) 1. Clone the plugin with the following command. git clone https://github.com/itchyny/lightline.vim ~/.vim/pack/plugins/start/lightline ### [Pathogen](https://github.com/tpope/vim-pathogen) 1. Install with the following command. git clone https://github.com/itchyny/lightline.vim ~/.vim/bundle/lightline.vim 2. Generate help tags with `:Helptags`. ### [Vundle](https://github.com/VundleVim/Vundle.vim) 1. Add the following configuration to your `.vimrc`. Plugin 'itchyny/lightline.vim' 2. Install with `:PluginInstall`. ### [NeoBundle](https://github.com/Shougo/neobundle.vim) 1. Add the following configuration to your `.vimrc`. NeoBundle 'itchyny/lightline.vim' 2. Install with `:NeoBundleInstall`. ### [vim-plug](https://github.com/junegunn/vim-plug) 1. Add the following configuration to your `.vimrc`. Plug 'itchyny/lightline.vim' 2. Install with `:PlugInstall`. ### [dein.vim](https://github.com/Shougo/dein.vim) 1. Add the following configuration to your `.vimrc`. call dein#add('itchyny/lightline.vim') 2. Install with `:call dein#install()` ## Introduction After installing this plugin, you restart the editor and will get a cool statusline. ![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/1.png) The color of the statusline changes due to the mode of Vim. Try typing something, selecting in visual mode and replacing some texts. If the statusline looks like ![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/21.png) add the following configuration to your `.vimrc`. ```vim set laststatus=2 ``` If the statusline is not coloured like ![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/20.png) then modify `TERM` in your shell configuration (`.zshrc` for example) ```sh export TERM=xterm-256color ``` and then add the following configuration to your `.vimrc`. ```vim if !has('gui_running') set t_Co=256 endif ``` Your statusline appears to work correctly? If yes, great, thanks for choosing lightline.vim! If no, please file an issue report to the [issue tracker](https://github.com/itchyny/lightline.vim/issues). By the way, `-- INSERT --` is unnecessary anymore because the mode information is displayed in the statusline. ![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/13.png) If you want to get rid of it, configure as follows. ```vim set noshowmode ``` ## Colorscheme configuration The lightline.vim plugin provides multiple colorschemes to meet your editor colorscheme. Do not be confused, editor colorscheme rules how codes look like in buffers and lightline.vim has independent colorscheme feature, which rules how the statusline looks like. If you are using wombat colorscheme, add the following setting to your `.vimrc`, ```vim let g:lightline = { \ 'colorscheme': 'wombat', \ } ``` restart Vim and the statusline looks like: ![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/2.png) If the colors of the statusline do not change, move the settings of `g:lightline` before setting the editor colorscheme. There are many lightline colorschemes available as screenshots shown above. See `:h g:lightline.colorscheme` for the complete list. ## Advanced configuration The default appearance of lightline.vim is carefully designed that the tutorial is enough here for most people. So please read this section if you really want to configure and enjoy the configurability of lightline.vim. Sometimes people want to display information of other plugins. For example git branch information, syntax check errors and some statuses of plugins. The lightline.vim plugin does not provide any plugin integration by default. This plugin considers orthogonality to be one of the important ideas, which means that the plugin does not rely on implementation of other plugins. Once a plugin starts to integrate with some famous plugins, it should be kept updated to follow the changes of the plugins, and should accept integration requests with new plugins and it will suffer from performance regression due to plugin availability checks. Instead, lightline.vim provides a simple API that user can easily integrate with other plugins. Once you understand how to configure and how it will be displayed in the statusline, you can also tell how to integrate with your favorite plugins. Let's start to configure the appearance. The statusline is composed of multiple components. It shows the current mode, filename, modified status on the left, and file format, encoding, filetype and cursor positions on the right. So in order to add something in the statusline, you firstly create a new component and specify the place. This is the hello world of lightline.vim component. ```vim let g:lightline = { \ 'colorscheme': 'wombat', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'readonly', 'filename', 'modified', 'helloworld' ] ] \ }, \ 'component': { \ 'helloworld': 'Hello, world!' \ }, \ } ``` The statusline will look like: ![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/3.png) You have succeeded in displaying `Hello, world!` in the statusline. The `helloworld` component is added to `g:lightline.active.left` and its content is configured in `g:lightline.component`. The component contents are simply added to `&statusline`. Try `:echo &statusline`, it might be a little bit complicated, but you will find `Hello, world!` somewhere. You can use `'statusline'` syntax for lightline.vim components. Consult `:h 'statusline'` to see what's available here. For example, if you want to print the value of character under the cursor in hexadecimal, configure as ```vim let g:lightline = { \ 'colorscheme': 'wombat', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'readonly', 'filename', 'modified', 'charvaluehex' ] ] \ }, \ 'component': { \ 'charvaluehex': '0x%B' \ }, \ } ``` ![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/4.png) You want the character value information on the right hand side? OK, configure as ```vim let g:lightline = { \ 'colorscheme': 'wombat', \ 'active': { \ 'right': [ [ 'lineinfo' ], \ [ 'percent' ], \ [ 'fileformat', 'fileencoding', 'filetype', 'charvaluehex' ] ] \ }, \ 'component': { \ 'charvaluehex': '0x%B' \ }, \ } ``` ![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/5.png) We have learned how to add a simple component. - See `:h 'statusline'` to check the statusline flags. - Add a new component to `g:lightline.component`. - Add the component name to `g:lightline.active.left` or `g:lightline.active.right`. You can also configure the statusline of inactive buffers by adding the component to `g:lightline.inactive.left` or `g:lightline.inactive.right`. Now let's add some integrations with other plugin. The name of the git branch is important these days. But lightline.vim does not provide this information by default because it is also one of plugin crossing configurations, and not all people want the integration. In order to show the branch name in the statusline, install some plugins which provide the branch information. The [vim-fugitive](https://github.com/tpope/vim-fugitive) plugin is a famous plugin so let's integrate lightline.vim with it. If you don't like to install full git integration but just want to display the branch name in the statusline, you can use the [vim-gitbranch](https://github.com/itchyny/vim-gitbranch) plugin which provides `gitbranch#name` function. ```vim let g:lightline = { \ 'colorscheme': 'wombat', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ] \ }, \ 'component_function': { \ 'gitbranch': 'FugitiveHead' \ }, \ } ``` ![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/6.png) Okay, now the statusline shows that we are coding at the master branch. What do we learn from this example? - Find out the function which is suitable to use in the statusline. - Create a function component. The previous `charvaluehex` component has `'statusline'` item configuration and registered in `g:lightline.component`. In the current example, we register the name of the function in `g:lightline.component_function`. It should return the string to be displayed in the statusline. - Add the component name `gitbranch` to `g:lightline.active.left` or `g:lightline.active.right`. Here we have leaned two kinds of components. - component: it has a `%`-prefixed item which you can find the meaning at `:h 'statusline'`. All the default components of lightline.vim are components in this style. See the default components at `:h g:lightline.component`. - function component: the name of functions are registered. The function is called again and again so be careful not to register a heavy function. See the help with `:h g:lightline.component_function`. The function component is an important design for the configurability of lightline.vim. By providing the configuration interface via functions, you can adjust the statusline information as you wish. For the proof, let's look into some configuration examples in Q&amp;A style. ### Can I hide the readonly component in the help buffer? Yes, create a function component for `readonly`. The configuration of function component has priority over the default component. ```vim let g:lightline = { \ 'component_function': { \ 'readonly': 'LightlineReadonly', \ }, \ } function! LightlineReadonly() return &readonly && &filetype !=# 'help' ? 'RO' : '' endfunction ``` ![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/7.png) ### Can I hide the readonly component in other plugins buffer? Yes, modify the `LightlineReadonly` function as you wish. ```vim function! LightlineReadonly() return &readonly && &filetype !~# '\v(help|vimfiler|unite)' ? 'RO' : '' endfunction let g:unite_force_overwrite_statusline = 0 let g:vimfiler_force_overwrite_statusline = 0 ``` ![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/8.png) ### Can I display the plugin information at the filename component? Yes, overwrite the filename component. ```vim let g:lightline = { \ 'component_function': { \ 'filename': 'LightlineFilename', \ }, \ } function! LightlineFilename() return &filetype ==# 'vimfiler' ? vimfiler#get_status_string() : \ &filetype ==# 'unite' ? unite#get_status_string() : \ &filetype ==# 'vimshell' ? vimshell#get_status_string() : \ expand('%:t') !=# '' ? expand('%:t') : '[No Name]' endfunction let g:unite_force_overwrite_statusline = 0 let g:vimfiler_force_overwrite_statusline = 0 let g:vimshell_force_overwrite_statusline = 0 ``` ![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/9.png) ### Can I display the plugin name at the mode component? Yes, overwrite the mode component. ```vim let g:lightline = { \ 'component_function': { \ 'mode': 'LightlineMode', \ }, \ } function! LightlineMode() return expand('%:t') =~# '^__Tagbar__' ? 'Tagbar': \ expand('%:t') ==# 'ControlP' ? 'CtrlP' : \ &filetype ==# 'unite' ? 'Unite' : \ &filetype ==# 'vimfiler' ? 'VimFiler' : \ &filetype ==# 'vimshell' ? 'VimShell' : \ lightline#mode() endfunction ``` ![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/10.png) ### Can I trim the file format and encoding information on narrow windows? Yes, check `winwidth(0)` and return empty string with some threshold. ```vim let g:lightline = { \ 'component_function': { \ 'fileformat': 'LightlineFileformat', \ 'filetype': 'LightlineFiletype', \ }, \ } function! LightlineFileformat() return winwidth(0) > 70 ? &fileformat : '' endfunction function! LightlineFiletype() return winwidth(0) > 70 ? (&filetype !=# '' ? &filetype : 'no ft') : '' endfunction ``` ![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/11.png) ### Can I trim the bar between the filename and modified sign? Yes, by joining the two components. ```vim let g:lightline = { \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'readonly', 'filename' ] ], \ }, \ 'component_function': { \ 'filename': 'LightlineFilename', \ }, \ } function! LightlineFilename() let filename = expand('%:t') !=# '' ? expand('%:t') : '[No Name]' let modified = &modified ? ' +' : '' return filename . modified endfunction ``` ![lightline.vim - tutorial](https://raw.githubusercontent.com/wiki/itchyny/lightline.vim/image/tutorial/12.png) You can control the visibility and contents by writing simple functions. Now you notice how much function component is important for the configurability of lightline.vim. ### more tips #### Mode names are too long. Can I use shorter mode names? Yes, configure `g:lightline.mode_map`. ```vim let g:lightline = { \ 'mode_map': { \ 'n' : 'N', \ 'i' : 'I', \ 'R' : 'R', \ 'v' : 'V', \ 'V' : 'VL', \ "\<C-v>": 'VB', \ 'c' : 'C', \ 's' : 'S', \ 'S' : 'SL', \ "\<C-s>": 'SB', \ 't': 'T', \ }, \ } ``` #### How can I truncate the components from the right in narrow windows? Please include `%<` to one of the right components. ```vim let g:lightline = { \ 'component': { \ 'lineinfo': '%3l:%-2v%<', \ }, \ } ``` #### Where can I find the default components? See `:h g:lightline.component`. ## Note for developers of other plugins Appearance consistency matters. The statusline is an important space for Vim users. Overwriting the statusline forcibly in your plugin is not a good idea. It is not hospitality, but just an annoying feature. If your plugin has such a feature, add an option to be modest. A good design is as follows. Firstly, give the users a clue to judge which buffer is the one your plugin creates. The filename is a manner and the filetype is another. Then, export a function which is useful to be shown in the statusline. Lastly, for advanced users, set important information in buffer variables so that the users can obtain the condition of the plugin easily. ## Author itchyny (https://github.com/itchyny) ## License This software is released under the MIT License, see LICENSE.
31
A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
<a name="top"></a> <a href="http://spacemacs.org"><img src="https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg" alt="Made with Spacemacs"></a><a href="http://www.twitter.com/spacemacs"><img src="http://i.imgur.com/tXSoThF.png" alt="Twitter" align="right"></a><br> - - - <p align="center"><img src="/doc/img/title2.png" alt="Spacemacs"/></p> <p align="center"> <b><a href="http://spacemacs.org/doc/DOCUMENTATION#orgheadline5">philosophy</a></b> | <b><a href="http://spacemacs.org/doc/DOCUMENTATION#orgheadline8">for whom?</a></b> | <b><a href="http://spacemacs.org/doc/DOCUMENTATION#orgheadline7">screenshots</a></b> | <b><a href="http://spacemacs.org/doc/DOCUMENTATION.html">documentation</a></b> | <b><a href="CONTRIBUTING.org">contribute</a></b> | <b><a href="http://spacemacs.org/doc/DOCUMENTATION#achievements">achievements</a></b> | <b><a href="http://spacemacs.org/doc/FAQ">FAQ</a></b> </p> - - - <p align="center"> <a href="https://gitter.im/syl20bnr/spacemacs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img src="https://badges.gitter.im/Join Chat.svg" alt="Gitter"></a> <a href="https://travis-ci.org/syl20bnr/spacemacs"><img src="https://travis-ci.org/syl20bnr/spacemacs.svg" alt="Build Status"></a> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ESFVNPKP4Y742"><img src="https://img.shields.io/badge/Paypal-Donate-blue.svg" alt="Donate"></a> <a href="https://shop.spreadshirt.com/spacemacs-shop"><img src="https://img.shields.io/badge/Shop-T--Shirts-blue.svg" alt="Donate"></a> <a href="http://www.slant.co/topics/12/~what-are-the-best-programming-text-editors"><img src="https://img.shields.io/badge/Slant-Recommend-ff69b4.svg" alt="Recommend it"></a> </p> - - - **Quick Install:** git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d <!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-generate-toc again --> **Table of Contents** - [Introduction](#introduction) - [Features](#features) - [Documentation](#documentation) - [Getting Help](#getting-help) - [Prerequisites](#prerequisites) - [Emacs](#emacs) - [Linux distros](#linux-distros) - [macOS](#macos) - [Windows](#windows) - [Install](#install) - [Default installation](#default-installation) - [Alternate installations](#alternate-installations) - [Modify HOME environment variable](#modify-home-environment-variable) - [Modify spacemacs-start-directory variable](#modify-spacemacs-start-directory-variable) - [Spacemacs logo](#spacemacs-logo) - [Update](#update) - [Automatic update (on master branch)](#automatic-update-on-master-branch) - [Manual update (on master branch)](#manual-update-on-master-branch) - [On develop branch](#on-develop-branch) - [Revert to a specific version](#revert-to-a-specific-version) - [Quotes](#quotes) - [Contributions](#contributions) - [Communities](#communities) - [License](#license) - [Supporting Spacemacs](#supporting-spacemacs) <!-- markdown-toc end --> # Introduction Spacemacs is a new way to experience Emacs -- a sophisticated and polished set-up focused on ergonomics, mnemonics and consistency. Just clone it, launch it, then press the space bar to explore the interactive list of carefully-chosen key bindings. You can also press the home buffer's `[?]` button for some great first key bindings to try. Spacemacs can be used naturally by both Emacs and Vim users -- you can even mix the two editing styles. Switching easily between input styles makes Spacemacs a great tool for pair-programming. Spacemacs is currently in beta, and contributions are very welcome. ![spacemacs_python](doc/img/spacemacs-python.png) # Features - **Great documentation:** access documentation in Emacs with <kbd>SPC h SPC</kbd>. - **Beautiful GUI:** you'll love the distraction free UI and its functional mode-line. - **Excellent ergonomics:** all the key bindings are accessible by pressing the <kbd>space bar</kbd> or <kbd>alt-m</kbd>. - **Mnemonic key bindings:** commands have mnemonic prefixes like <kbd>SPC b</kbd> for all the buffer commands or <kbd>SPC p</kbd> for the project commands. - **Batteries included:** discover hundreds of ready-to-use packages nicely organised in configuration layers following a set of [conventions][CONVENTIONS.org]. # Documentation Comprehensive documentation is available for each layer by pressing <kbd>SPC h SPC</kbd>. You can also check the [general documentation][DOCUMENTATION.org], [quick start guide][QUICK_START.org] and the [FAQ][FAQ.org]. # Getting Help If you need help, ask your question in the [Gitter Chat][] and a member of the community will help you out. If you prefer IRC, connect to the [Gitter Chat IRC server][] and join the `#syl20bnr/spacemacs` channel. # Prerequisites ## Emacs Spacemacs requires Emacs 24.4 or above. The development version of Emacs (at the time of writing, this is 25.2) is not *officially* supported, but should nevertheless be expected to work. Some modes require third-party tools that you'll have to install via your favorite package manager. ### Linux distros Install Emacs from the package manager of your Linux distribution. You should install the "emacs" package, not the "xemacs" package. XEmacs is an old fork of Emacs. The X in its name is unrelated to X11. Both Emacs and XEmacs have graphical support. **Note:** Ubuntu LTS 12.04 and 14.04 repositories have only Emacs 24.3 available. You have to [build from source][build_source] Emacs 24.4 or greater, as Spacemacs won't work with 24.3. The same may be true for other distributions as well. ### macOS The recommended way of installing Emacs on macOS is using [homebrew][]: ```sh $ brew tap d12frosted/emacs-plus $ brew install emacs-plus $ brew linkapps emacs-plus ``` *Note:* these homebrew commands will install GNU Emacs, and link it to your `/Applications` directory. You still need to run the `git clone` mentioned at the start of this file. That will populate your `~/.emacs.d` directory, which is what transforms a regular GNU Emacs into Spacemacs. *Note:* the proposed `emacs-plus` tap is identical to the `emacs` formulae, it just builds GNU Emacs with support of several features by default along with providing Spacemacs icon. See [emacs-plus](https://github.com/d12frosted/homebrew-emacs-plus) for more information. *Note*: to have the title bar match your theme background color, consider using instead: ``` sh $ brew install emacs-plus --HEAD --with-natural-title-bars ``` *Note:* after you have completed the [install process](#install) below, it is also recommended to add the [osx layer][] to your [dotfile][]. Install instructions are available in the [osx layer][] documentation. *Note:* if the powerline separators on the spaceline are a different (less saturated) color than the rest of the line, you can add following snippet to `dotspacemacs/user-config` in your `.spacemacs` file. ```elisp (setq ns-use-srgb-colorspace nil) ``` Keep in mind that this is not ideal solution as it affects all colours in Emacs. Another option is to use different powerline separator. For example, `alternate` and `bar` diminishes the difference. And using `utf-8` separator makes it go away completely without the need to change colour space. In order to change powerline separator put following snippet in `dotspacemacs/user-config`. ```eslip (setq powerline-default-separator 'utf-8) ``` For more information about powerline separators, please refer to appropriate section in [Documentation][DOCUMENTATION.org]. ### Windows You can download good quality builds from the [emacs-w64 project][emacs-for-windows]. It is recommended to install the most recent [stable build][emacs-for-windows-stable]. Be sure to declare a environment variable named `HOME` pointing to your user directory `C:\Users\<username>`. Then you can clone Spacemacs in this directory. Sometimes you'll get the following error when you first start Emacs: ``` The directory ~/.emacs.d/server is unsafe ``` To fix it change the owner of the directory `~/.emacs.d/server`: - from Properties select the Tab “Security”, - select the button “Advanced”, - select the Tab “Owner” - change the owner to your account name Source: [Stack Overflow][so-server-unsafe] For efficient searches we recommend to install `pt` ([the platinum searcher][]). `pt` version 1.7.7 or higher is required. # Install ## Default installation 1. If you have an existing Emacs configuration, back it up first: ```sh cd ~ mv .emacs.d .emacs.d.bak mv .emacs .emacs.bak ``` Don't forget to backup and *remove* `~/.emacs` file otherwise Spacemacs **WILL NOT** load since that file prevents Emacs from loading the proper initialization file. 2. Clone the repository: ```sh git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d ``` `master` is the stable branch and it is _immutable_, **DO NOT** make any modification to it or you will break the update mechanism. If you want to fork Spacemacs safely use the `develop` branch where you handle the update manually. 3. (Optional) Install the [Source Code Pro][] font. If you are running in terminal you'll also need to change font settings of your terminal. 4. Launch Emacs. Spacemacs will automatically install the packages it requires. If you get an error regarding package downloads then you may try to disable the HTTPS protocol by starting Emacs with ```sh emacs --insecure ``` Or you can set the `dotspacemacs-elpa-https` to `nil` in your dotfile to remove the need to start Emacs with `--insecure` argument. You may wish to clear out your `.emacs.d/elpa` directory before doing this, so that any corrupted packages you may have downloaded will be re-installed. 5. Restart Emacs to complete the installation. If the mode-line turns red then be sure to consult the [FAQ][FAQ.org]. ## Alternate installations It may be useful to clone Spacemacs outside Emacs dotdirectory `~/.emacs.d` so you can try Spacemacs without replacing completely our own configuration. There is currently two possibilities to support alternative location for Spacemacs configuration. ### Modify HOME environment variable This solution is ideal to quickly try Spacemacs without compromising your existing configuration. ```sh mkdir ~/spacemacs git clone https://github.com/syl20bnr/spacemacs.git ~/spacemacs/.emacs.d HOME=~/spacemacs emacs ``` Note: If you're on Fish shell, you will need to modify the last command to: `env HOME=$HOME/spacemacs emacs` ### Modify spacemacs-start-directory variable This solution is better suited to "embed" Spacemacs into your own configuration. Say you cloned Spacemacs in `~/.emacs.d/spacemacs/` then drop these lines in `~/.emacs.d/init.el`: ```elisp (setq spacemacs-start-directory "~/.emacs.d/spacemacs/") (load-file (concat spacemacs-start-directory "init.el")) ``` ## Spacemacs logo For Ubuntu users, follow this guide to [change the logo in Unity][cpaulik-unity-icon]. For Mac users, you need to [download the .icns version of the logo][icon-repository], then [change the logo on Dock][icon-mac-instructions]. # Update Spacemacs has a built-in notification of a new version when you are on the `master` branch. If you are on the `develop` branch then you'll have to update Spacemacs manually by updating your repository. ## Automatic update (on master branch) When a new version is available a little arrow appears in the mode-line. Its color depends on the number of versions available since your last update. Green means that your current version is recent, orange and red mean that your current version is older. ![powerline_update](doc/img/powerline-update.png) Click on the arrow to update Spacemacs to the last version. ## Manual update (on master branch) (Remove the angle brackets when typing the lines below into your shell.) ```sh git fetch git reset --hard <tag version which you are updating to> ``` ## On develop branch 1. Update Emacs packages by clicking (press `RET`) on the `[Update Packages]` link of the starting page. 2. Close Emacs and update the git repository: ```sh git pull --rebase ``` 3. Restart Emacs to complete the upgrade. ## Revert to a specific version To revert to a specific version you just have to checkout the corresponding branch, for instance to revert to the last `0.103`: ```sh git checkout origin/release-0.103 ``` **After you update, either manually, or automatically, you are advised to update your packages by clicking the `[Update Packages]` button on the Spacemacs Home Buffer.** # Quotes [Quote][quote01] by [ashnur](https://github.com/ashnur): «I feel that spacemacs is an aircraft carrier and I am playing table tennis on the deck as a freerider.» [Quote][quote02] by [deuill](https://github.com/deuill): «I LOVE SPACEMACS AND MAGIT That is all» # Contributions Spacemacs is a community-driven project, it needs _you_ to keep it up to date and propose great and useful configuration for all the things! Before contributing be sure to consult the [contribution guidelines][CONTRIBUTING.org] and [conventions][CONVENTIONS.org]. # Communities - [Gitter Chat] - [Stack Exchange] - [Reddit] # License The license is GPLv3 for all parts specific to Spacemacs, this includes: - the initialization and core files - all the layer files - the documentation For the packages shipped in this repository you can refer to the files header. [Spacemacs logo][] by [Nasser Alshammari][] released under a [Creative Commons Attribution-ShareAlike 4.0 International License.](http://creativecommons.org/licenses/by-sa/4.0/) # Supporting Spacemacs The best way to support Spacemacs is to contribute to it either by reporting bugs, helping the community on the [Gitter Chat][] or sending pull requests. You can show your love for the project by getting cool Spacemacs t-shirts, mugs and more in the [Spacemacs Shop][]. If you want to show your support financially you can contribute to [Bountysource][] or buy a drink for the maintainer by clicking on the [Paypal badge](#top). If you used spacemacs in a project and you want to show that fact, you can use the spacemacs badge: [![Built with Spacemacs](https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg)](http://spacemacs.org) - For Markdown: ``` [![Built with Spacemacs](https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg)](http://spacemacs.org) ``` - For HTML: ``` <a href="http://spacemacs.org"><img src="https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg" /></a> ``` - For Org-mode: ``` [[http://spacemacs.org][file:https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg]] ``` Thank you! [Twitter]: http://i.imgur.com/tXSoThF.png [CONTRIBUTING.org]: CONTRIBUTING.org [CONVENTIONS.org]: http://spacemacs.org/doc/CONVENTIONS [DOCUMENTATION.org]: http://spacemacs.org/doc/DOCUMENTATION [QUICK_START.org]: http://spacemacs.org/doc/QUICK_START [FAQ.org]: http://spacemacs.org/doc/FAQ [VIMUSERS.org]: http://spacemacs.org/doc/VIMUSERS [dotfile]: http://spacemacs.org/doc/DOCUMENTATION#orgheadline45 [osx layer]: http://spacemacs.org/layers/+os/osx/README.html [Gitter Chat]: https://gitter.im/syl20bnr/spacemacs [Gitter Chat IRC server]: https://irc.gitter.im/ [homebrew]: http://brew.sh [emacs-for-windows]: http://emacsbinw64.sourceforge.net/ [emacs-for-windows-stable]: https://sourceforge.net/projects/emacsbinw64/files/release/ [the platinum searcher]: https://github.com/monochromegane/the_platinum_searcher [so-server-unsafe]: http://stackoverflow.com/questions/885793/emacs-error-when-calling-server-start [Spacemacs logo]: https://github.com/nashamri/spacemacs-logo [Nasser Alshammari]: https://github.com/nashamri [cpaulik-unity-icon]: http://splendidabacus.com/posts/2015/03/spacemacs-unity-icon/ [icon-mac-instructions]: http://www.idownloadblog.com/2014/07/16/how-to-change-app-icon-mac/ [icon-repository]: https://github.com/nashamri/spacemacs-logo [Stack Exchange]: http://emacs.stackexchange.com/questions/tagged/spacemacs [Reddit]: https://www.reddit.com/r/spacemacs [quote01]: https://gitter.im/syl20bnr/spacemacs?at=568e627a0cdaaa62045a7df6 [quote02]: https://gitter.im/syl20bnr/spacemacs?at=5768456c6577f032450cfedb [build_source]: https://www.gnu.org/software/emacs/manual/html_node/efaq/Installing-Emacs.html [Bountysource]: https://salt.bountysource.com/teams/spacemacs [Source Code Pro]: https://github.com/adobe-fonts/source-code-pro [Spacemacs Shop]: https://shop.spreadshirt.com/spacemacs-shop
32
Vim plugin that provides additional text objects
## Introduction **Targets.vim** is a Vim plugin that adds various [text objects][textobjects] to give you more targets to [operate][operator] on. It expands on the idea of simple commands like `di'` (delete inside the single quotes around the cursor) to give you more opportunities to craft powerful commands that can be [repeated][repeat] reliably. One major goal is to handle all corner cases correctly. ## Table of Contents <details> <summary>Click here to show.</summary> <!-- BEGIN-MARKDOWN-TOC --> * [Installation](#installation) * [Examples](#examples) * [Overview](#overview) * [Pair Text Objects](#pair-text-objects) * [In Pair](#in-pair) * [A Pair](#a-pair) * [Inside Pair](#inside-pair) * [Around Pair](#around-pair) * [Next and Last Pair](#next-and-last-pair) * [Pair Seek](#pair-seek) * [Quote Text Objects](#quote-text-objects) * [In Quote](#in-quote) * [A Quote](#a-quote) * [Inside Quote](#inside-quote) * [Around Quote](#around-quote) * [Next and Last Quote](#next-and-last-quote) * [Quote Seek](#quote-seek) * [Separator Text Objects](#separator-text-objects) * [In Separator](#in-separator) * [A Separator](#a-separator) * [Inside Separator](#inside-separator) * [Around Separator](#around-separator) * [Next and Last Separator](#next-and-last-separator) * [Separator Seek](#separator-seek) * [Argument Text Objects](#argument-text-objects) * [In Argument](#in-argument) * [An Argument](#an-argument) * [Inside Argument](#inside-argument) * [Around Argument](#around-argument) * [Next and Last Argument](#next-and-last-argument) * [Argument Seek](#argument-seek) * [Multi Text Objects](#multi-text-objects) * [Any Block](#any-block) * [Any Quote](#any-quote) * [Settings](#settings) * [g:targets_aiAI](#gtargets_aiai) * [g:targets_mapped_aiAI](#gtargets_mapped_aiai) * [g:targets_nl](#gtargets_nl) * [g:targets_seekRanges](#gtargets_seekranges) * [g:targets_jumpRanges](#gtargets_jumpranges) * [g:targets_gracious](#gtargets_gracious) * [targets#mappings#extend](#targets#mappings#extend) * [Notes](#notes) * [Issues](#issues) * [Todos](#todos) </details> <!-- END-MARKDOWN-TOC --> ## Installation | Plugin Manager | Command | |------------------------|-------------------------------------------------------------------------------| | [NeoBundle][neobundle] | `NeoBundle 'wellle/targets.vim'` | | [Vundle][vundle] | `Bundle 'wellle/targets.vim'` | | [Vim-plug][vim-plug] | `Plug 'wellle/targets.vim'` | | [Pathogen][pathogen] | `git clone git://github.com/wellle/targets.vim.git ~/.vim/bundle/targets.vim` | | [Dein][dein] | `call dein#add('wellle/targets.vim')` | ## Examples The following examples are displayed as three lines each. The top line denotes cursor positions from where the presented command works. The middle line shows the contents of the example line that we're working on. The last line shows the part of the line that the command will operate on. To change the text in the next pair of parentheses, use the `cin)` command ``` cursor position │ ..................... buffer line │ This is example text (with a pair of parentheses). selection │ └───────── cin) ─────────┘ ``` To delete the item in a comma separated list under the cursor, use `da,` ``` cursor position │ ......... buffer line │ Shopping list: oranges, apples, bananas, tomatoes selection │ └─ da, ─┘ ``` Notice how the selection includes exactly one of the surrounding commas to leave a proper comma separated list behind. ## Overview Targets.vim comes with five kinds for text objects: - Pair text objects - Quote text objects - Separator text objects - Argument text objects - Tag text objects Each of those kinds is implemented by a targets source. Third party plugins can provide additional sources to add even more text objects which behave like the built in ones. See [plugins][Plugins] for details on how to implement your own targets source. ### Pair Text Objects These text objects are similar to the built in text objects such as `i)`. Supported trigger characters: - `(` `)` (work on parentheses) - `{` `}` `B` (work on curly braces) - `[` `]` (work on square brackets) - `<` `>` (work on angle brackets) - `t` (work on tags) Pair text objects work over multiple lines and support seeking. See below for details about seeking. The following examples will use parentheses, but they all work for each listed trigger character accordingly. #### In Pair `i( i) i{ i} iB i[ i] i< i> it` - Select inside of pair characters. - This overrides Vim's default text object to allow seeking for the next pair in the current line to the right or left when the cursor is not inside a pair. This behavior is similar to Vim's seeking behavior of `di'` when not inside of quotes, but it works both ways. - Accepts a count to select multiple blocks. ``` ............ a ( b ( cccccccc ) d ) e │ └── i) ──┘ │ └───── 2i) ──────┘ ``` #### A Pair `a( a) a{ a} aB a[ a] a< a> at` - Select a pair including pair characters. - Overrides Vim's default text object to allow seeking. - Accepts a count. ``` ............ a ( b ( cccccccc ) d ) e │ └─── a) ───┘ │ └────── 2a) ───────┘ ``` #### Inside Pair `I( I) I{ I} IB I[ I] I< I> It` - Select contents of pair characters. - Like inside of parentheses, but exclude whitespace at both ends. Useful for changing contents while preserving spacing. - Accepts a count. ``` ............ a ( b ( cccccccc ) d ) e │ └─ I) ─┘ │ └──── 2I) ─────┘ ``` #### Around Pair `A( A) A{ A} AB A[ A] A< A> At` - Select around pair characters. - Like a pair, but include whitespace at one side of the pair. Prefers to select trailing whitespace, falls back to select leading whitespace. - Accepts a count. ``` ............ a ( b ( cccccccc ) d ) e │ └─── A) ────┘ │ └────── 2A) ────────┘ ``` #### Next and Last Pair `in( an( In( An( il( al( Il( Al( ...` Work directly on distant pairs without moving there separately. All the above pair text objects can be shifted to the next pair by including the letter `n`. The command `in)` selects inside of the next pair. Use the letter `l` instead to work on the previous (last) pair. Uses a count to skip multiple pairs. Skipping works over multiple lines. See our [Cheat Sheet][cheatsheet] for two charts summarizing all pair mappings. #### Pair Seek If any of the normal pair commands (not containing `n` or `l`) is executed when the cursor is not positioned inside a pair, it seeks for pairs before or after the cursor by searching for the appropriate delimiter on the current line. This is similar to using the explicit version containing `n` or `l`, but in only seeks on the current line. ### Quote Text Objects These text objects are similar to the built in text objects such as `i'`. Supported trigger characters: - `'` (work on single quotes) - `"` (work on double quotes) - `` ` `` (work on back ticks) These quote text objects try to be smarter than the default ones. They count the quotation marks from the beginning of the line to decide which of these are the beginning of a quote and which ones are the end. If you type `ci"` on the `,` in the example below, it will automatically skip and change `world` instead of changing `,` between `hello` and `world`. ``` buffer │ join("hello", "world") proper │ └─────┘ └─────┘ false │ └──┘ ``` Quote text objects work over multiple lines and support seeking. See below for details about seeking. The following examples will use single quotes, but they all work for each mentioned separator character accordingly. #### In Quote `` i' i" i` `` - Select inside quote. - This overrides Vim's default text object to allow seeking in both directions. ``` ............ a ' bbbbbbbb ' c ' d ' e └── i' ──┘ ``` #### A Quote ``a' a" a` `` - Select a quote. - This overrides Vim's default text object to support seeking. - Unlike Vim's quote text objects, this incudes no surrounding whitespace. ``` ............ a ' bbbbbbbb ' c ' d ' e └─── a' ───┘ ``` #### Inside Quote ``I' I" I` `` - Select contents of a quote. - Like inside quote, but exclude whitespace at both ends. Useful for changing contents while preserving spacing. ``` ............ a ' bbbbbbbb ' c ' d ' e └─ I' ─┘ ``` #### Around Quote ``A' A" A` `` - Select around a quote. - Like a quote, but include whitespace in one direction. Prefers to select trailing whitespace, falls back to select leading whitespace. ``` ............ a ' bbbbbbbb ' c ' d ' e └─── A' ────┘ ``` #### Next and Last Quote `in' In' An' il' Il' Al' ...` Work directly on distant quotes without moving there separately. All the above pair text objects can be shifted to the next quote by including the letter `n`. The command `in'` selects inside of the next single quotes. Use the letter `l` instead to work on the previous (last) quote. Uses a count to skip multiple quotation characters. See our [Cheat Sheet][cheatsheet] for a chart summarizing all quote mappings. #### Quote Seek If any of the normal quote commands (not containing `n` or `l`) is executed when the cursor is not positioned inside a quote, it seeks for quotes before or after the cursor by searching for the appropriate delimiter on the current line. This is similar to using the explicit version containing `n` or `l`. ### Separator Text Objects These text objects are based on single separator characters like the comma in one of our examples above. The text between two instances of the separator character can be operated on with these targets. Supported separators: ``` , . ; : + - = ~ _ * # / | \ & $ ``` Separator text objects work over multiple lines and support seeking. The following examples will use commas, but they all work for each listed separator character accordingly. #### In Separator `i, i. i; i: i+ i- i= i~ i_ i* i# i/ i| i\ i& i$` - Select inside separators. Similar to in quote. ``` ........... a , b , cccccccc , d , e └── i, ──┘ ``` #### A Separator `a, a. a; a: a+ a- a= a~ a_ a* a# a/ a| a\ a& a$` - Select an item in a list separated by the separator character. - Includes the leading separator, but excludes the trailing one. This leaves a proper list separated by the separator character after deletion. See the examples above. ``` ........... a , b , cccccccc , d , e └─── a, ──┘ ``` #### Inside Separator `I, I. I; I: I+ I- I= I~ I_ I* I# I/ I| I\ I& I$` - Select contents between separators. - Like inside separators, but exclude whitespace at both ends. Useful for changing contents while preserving spacing. ``` ........... a , b , cccccccc , d , e └─ I, ─┘ ``` #### Around Separator `A, A. A; A: A+ A- A= A~ A_ A* A# A/ A| A\ A& A$` - Select around a pair of separators. - Includes both separators and a surrounding whitespace, similar to `a'` and `A(`. ``` ........... a , b , cccccccc , d , e └─── A, ────┘ ``` #### Next and Last Separator `in, an, In, An, il, al, Il, Al, ...` Work directly on distant separators without moving there separately. All the above separator text objects can be shifted to the next separator by including the letter `n`. The command `in,` selects inside of the next commas. Use the letter `l` instead to work on the previous (last) separators. Uses the count to skip multiple separator characters. See our [Cheat Sheet][cheatsheet] for a chart summarizing all separator mappings. #### Separator Seek Like quote seeking. If any of the normal separator commands (not containing `n` or `l`) is executed when the cursor is not positioned inside a pair of separators, it seeks for the separator before or after the cursor. This is similar to using the explicit version containing `n` or `l`. ### Argument Text Objects These text objects are similar to separator text objects, but are specialized for arguments surrounded by braces and commas. They also take matching braces into account to capture only valid arguments. Argument text objects work over multiple lines and support seeking. #### In Argument `ia` - Select inside arguments. Similar to in quote. - Accepts a count. ``` ........... a , b ( cccccccc , d ) e └── ia ──┘ ``` #### An Argument `aa` - Select an argument in a list of arguments. - Includes a separator if preset, but excludes surrounding braces. This leaves a proper argument list after deletion. - Accepts a count. ``` ........... a , b ( cccccccc , d ) e └─── aa ──┘ ``` #### Inside Argument `Ia` - Select content of an argument. - Like inside separators, but exclude whitespace at both ends. Useful for changing contents while preserving spacing. - Accepts a count. ``` ........... a , b ( cccccccc , d ) e └─ Ia ─┘ ``` #### Around Argument `Aa` - Select around an argument. - Includes both delimiters and a surrounding whitespace, similar to `a'` and `A(`. - Accepts a count. ``` ........... a , b ( cccccccc , d ) e └─── Aa ────┘ ``` #### Next and Last Argument `ina ana Ina Ana ila ala Ila Ala` Work directly on distant arguments without moving there separately. All the above argument text objects can be shifted to the next argument by including the letter `n`. The command `ina` selects inside of the next argument. Use the letter `l` instead to work on the previous (last) argument. Uses a [count] to skip multiple argument characters. The order is determined by the nearest surrounding argument delimiter. See our [Cheat Sheet][cheatsheet] for a chart summarizing all argument mappings. #### Argument Seek Like separator seeking. If any of the normal argument commands (not containing `n` or `l`) is executed when the cursor is not positioned inside an argument, it seeks for the argument before or after the cursor. This is similar to using the explicit version containing `n` or `l`. ### Multi Text Objects Two multi text objects are included in default settings. See the section on settings below to see how to set up other similar multi text objects or customize the built in ones. #### Any Block `inb anb Inb Anb ilb alb Ilb Alb` Similar to pair text objects, if you type `dib` within `()` it will delete in these. If you do the same within `{}` it will delete in those. If you type `d2inb` it will skip one next pair (any kind) and delete in the one after (any kind). If you're within `()` nested in `{}`, type `d2ib` to delete in `{}`. All of the usual seeking, growing and skipping works. #### Any Quote `inq anq Inq Anq ilq alq Ilq Alq` Similar to quote text objects, if you type `diq` within `""` it will delete in these. If you do the same within `''` it will delete in those. If you type `d2inq` it will skip one next quote text object (any kind) and delete in the one after (any kind). If you're within `""` nested in `''`, type `d2iq` to delete in `''`. All of the usual seeking, growing and skipping works. ## Settings You can customize the mappings and text objects with the settings described here. ### g:targets_aiAI Default: ```vim let g:targets_aiAI = 'aiAI' ``` Controls the normal mode operator mode maps that get created for In Pair (`i`), A Pair (`a`), Inside Pair (`I`), and Around Pair (`A`). Required to be either a string or a list with 4 characters/elements. Use a space to deactivate a mode. If you want to use multiple keys, for example `<Space>a` instead of `A`, you must use a list. In contrast to `g:targets_nl`, special keys must not be escaped with a backslash. For example, use `"<Space>"` or `'<Space>'`, **not** `"\<Space>"`. Example for configuring `g:targets_aiAI`: ```vim let g:targets_aiAI = ['<Space>a', '<Space>i', '<Space>A', '<Space>I'] ``` ### g:targets_mapped_aiAI Default: ```vim let g:targets_mapped_aiAI = g:targets_aiAI ``` If you can't get your g:targets_aiAI settings to work because they conflict with other mappings you have, you might need to use g:targets_mapped_aiAI. For example if you want to map `k` to `i` and use `k` as `i` in targets mappings, you need to NOT map `k` to `i` in operator pending mode, and set `g:targets_aiAI = 'akAI'` and `g:targets_mapped_aiAI = 'aiAI'`. Has the same format as `g:targets_aiAI`. For more details see issue #213 and don't hesitate to comment there or open a new issue if you need assistance. ### g:targets_nl Default: ```vim let g:targets_nl = 'nl' ``` Controls the keys used in maps for seeking next and last text objects. For example, if you want `n` to always search for the next object and `N` to search for the last, you could set: ```vim let g:targets_nl = 'nN' ``` Required to be either a string or a list with 2 characters/elements. Use a space to deactivate a mode. If you want to use multiple keys, for example `<Space>n` instead of `n`, you must use a list. In contrast to `g:targets_aiAI`, special keys must be escaped with a backslash. For example, use `"\<Space>"`, **not** `"<Space>"` nor `'<Space>'`. Example for configuring `g:targets_nl`: ```vim let g:targets_nl = ["\<Space>n", "\<Space>l"] ``` ### g:targets_seekRanges Default: ```vim let g:targets_seekRanges = 'cc cr cb cB lc ac Ac lr rr ll lb ar ab lB Ar aB Ab AB rb al rB Al bb aa bB Aa BB AA' ``` Defines a priority ordered, space separated list of range types which can be used to customize seeking behavior. The default setting generally prefers targets around the cursor, with one exception: If the target around the cursor is not contained in the current cursor line, but the next or last target are, then prefer those. Targets beginning or ending on the cursor are preferred over everything else. Some other useful example settings: Prefer multiline targets around cursor over distant targets within cursor line: ```vim let g:targets_seekRanges = 'cc cr cb cB lc ac Ac lr lb ar ab lB Ar aB Ab AB rr ll rb al rB Al bb aa bB Aa BB AA' ``` Never seek backwards: ```vim let g:targets_seekRanges = 'cc cr cb cB lc ac Ac lr rr lb ar ab lB Ar aB Ab AB rb rB bb bB BB' ``` Only seek if next/last targets touch current line: ```vim let g:targets_seekRanges = 'cc cr cb cB lc ac Ac lr rr ll lb ar ab lB Ar aB Ab AB rb rB al Al' ``` Only consider targets fully visible on screen: ```vim let g:targets_seekRanges = 'cc cr cb cB lc ac Ac lr lb ar ab rr rb bb ll al aa' ``` Only consider targets around cursor: ```vim let g:targets_seekRanges = 'cc cr cb cB lc ac Ac lr lb ar ab lB Ar aB Ab AB' ``` Only consider targets fully contained in current line: ```vim let g:targets_seekRanges = 'cc cr cb cB lc ac Ac lr rr ll' ``` If you want to build your own, or are just curious what those cryptic letters mean, check out the full documentation in our [Cheat Sheet][cheatsheet]. ### g:targets_jumpRanges Default: ```vim let g:targets_jumpRanges = 'bb bB BB aa Aa AA' ``` Defines an unordered, space separated list of range types which can be used to customize the jumplist behavior (see documentation on seek ranges). It controls whether or not to add the cursor position prior to selecting the text object to the jumplist. The default setting adds the previous cursor position to the jumplist if the target that was operated on doesn't intersect the cursor line. That means it adds a jumplist entry if the target ends above the cursor line or starts below the cursor line. Some other useful example settings (or build your own!): Never add cursor position to jumplist: ```vim let g:targets_jumpRanges = '' ``` Always add cursor position to jumplist: ```vim let g:targets_jumpRanges = 'cr cb cB lc ac Ac lr rr ll lb ar ab lB Ar aB Ab AB rb al rB Al bb aa bB Aa BB AA' ``` Only add to jumplist if cursor was not inside the target: ```vim let g:targets_jumpRanges = 'rr rb rB bb bB BB ll al Al aa Aa AA' ``` ### g:targets_gracious Default: ```vim let g:targets_gracious = 0 ``` If enabled (set to `1`) , both growing and seeking will work on the largest available count if a too large count is given. For example: - `v100ab` will select the most outer block around the cursor - `v100inq` will select the most distant quote to the right/down (the last one in the file) ### targets#mappings#extend This function can be used to modify an internal dictionary used to control the mappings. The default value of that dictionary is: ```vim { \ '(': {'pair': [{'o': '(', 'c': ')'}]}, \ ')': {'pair': [{'o': '(', 'c': ')'}]}, \ '{': {'pair': [{'o': '{', 'c': '}'}]}, \ '}': {'pair': [{'o': '{', 'c': '}'}]}, \ 'B': {'pair': [{'o': '{', 'c': '}'}]}, \ '[': {'pair': [{'o': '[', 'c': ']'}]}, \ ']': {'pair': [{'o': '[', 'c': ']'}]}, \ '<': {'pair': [{'o': '<', 'c': '>'}]}, \ '>': {'pair': [{'o': '<', 'c': '>'}]}, \ '"': {'quote': [{'d': '"'}]}, \ "'": {'quote': [{'d': "'"}]}, \ '`': {'quote': [{'d': '`'}]}, \ ',': {'separator': [{'d': ','}]}, \ '.': {'separator': [{'d': '.'}]}, \ ';': {'separator': [{'d': ';'}]}, \ ':': {'separator': [{'d': ':'}]}, \ '+': {'separator': [{'d': '+'}]}, \ '-': {'separator': [{'d': '-'}]}, \ '=': {'separator': [{'d': '='}]}, \ '~': {'separator': [{'d': '~'}]}, \ '_': {'separator': [{'d': '_'}]}, \ '*': {'separator': [{'d': '*'}]}, \ '#': {'separator': [{'d': '#'}]}, \ '/': {'separator': [{'d': '/'}]}, \ '\': {'separator': [{'d': '\'}]}, \ '|': {'separator': [{'d': '|'}]}, \ '&': {'separator': [{'d': '&'}]}, \ '$': {'separator': [{'d': '$'}]}, \ 't': {'tag': [{}]}, \ 'a': {'argument': [{'o': '[([]', 'c': '[])]', 's': ','}]}, \ 'b': {'pair': [{'o':'(', 'c':')'}, {'o':'[', 'c':']'}, {'o':'{', 'c':'}'}]}, \ 'q': {'quote': [{'d':"'"}, {'d':'"'}, {'d':'`'}]}, \ } ``` The keys in this dictionary correspond to the trigger character. For example if you type `di(`, `(` is the trigger and gets mapped to the `pair` target source with arguments `'o':'('` (opening) and `'c':')'` (closing). Sources `quote` and `separator` have argument `'d'` (delimiter), `tag` has no arguments and `argument` text objects take `'o'` (opening), `'c'` (closing) and `'s'` (separator). Notably the `b` (any block) and `q` (any quote) triggers map to one source with three sets of `pair` and `quote` argument dictionaries respectively. That means if you type `dib` each of those sources get taken into account to pick the proper target. Also note that it's even possible to have one target mapped to multiple different sources, so you can select any of those different text objects (see example below). You can use the `targets#mappings#extend()` function to modify these internal mappings. For example if you wanted to switch `b` back to the Vim default behavior of operating on parentheses only, you can add this to your vimrc: ```vim autocmd User targets#mappings#user call targets#mappings#extend({ \ 'b': {'pair': [{'o':'(', 'c':')'}]} \ }) ``` Note that you should always use that `autocmd` prefix to make sure your modifications get applied at the right time. There's a similar autogroup for plugins which can add other sources and default mappings, which gets triggered before this `#user` one. That way the user mappings always take precedence over the plugins default mappings If you want to remove a mapping from the defaults, just set it to an empty list of sources: ```vim autocmd User targets#mappings#user call targets#mappings#extend({ \ 'q': {}, \ }) ``` That way targets.vim will ignore it and fall back to Vim default behavior, which for the case of `q` does nothing. Finally here's a more complex example which adds two triggers `s` (any separator text object) and `@` (anything at all). So you could type `das` to delete the closest separator text object near the cursor, or `da@` to operate on the closest text object available via targets.vim. All of those support seeking and counts like `d3ins`. ```vim autocmd User targets#mappings#user call targets#mappings#extend({ \ 's': { 'separator': [{'d':','}, {'d':'.'}, {'d':';'}, {'d':':'}, {'d':'+'}, {'d':'-'}, \ {'d':'='}, {'d':'~'}, {'d':'_'}, {'d':'*'}, {'d':'#'}, {'d':'/'}, \ {'d':'\'}, {'d':'|'}, {'d':'&'}, {'d':'$'}] }, \ '@': { \ 'separator': [{'d':','}, {'d':'.'}, {'d':';'}, {'d':':'}, {'d':'+'}, {'d':'-'}, \ {'d':'='}, {'d':'~'}, {'d':'_'}, {'d':'*'}, {'d':'#'}, {'d':'/'}, \ {'d':'\'}, {'d':'|'}, {'d':'&'}, {'d':'$'}], \ 'pair': [{'o':'(', 'c':')'}, {'o':'[', 'c':']'}, {'o':'{', 'c':'}'}, {'o':'<', 'c':'>'}], \ 'quote': [{'d':"'"}, {'d':'"'}, {'d':'`'}], \ 'tag': [{}], \ }, \ }) ``` Also note how this example shows that you can set multiple triggers in a single `targets#mappings#extend()` call. To keep the autocmd overhead minimal I'd recommend to keep all your mappings setup in a single such call. ### Deprecated settings If you have set any of the following settings in your vimrc, they will still be respected when creating the default mappings dictionary. But it's not possible to set up any multi source targets (like any block or any quote) this way. It's recommended to retire those legacy settings and use `targets#mappings#extend()` as described above. ```vim g:targets_pairs g:targets_quotes g:targets_separators g:targets_tagTrigger g:targets_argClosing g:targets_argOpening g:targets_argSeparator g:targets_argTrigger ``` However, those new mappings settings will only be respected when targets.vim can use expression mappings, which need Neovim or Vim with version 7.3.338 or later. If you are using an older Vim version, these legacy settings are still the only way to do any customization. Please refer to an older version of this README (before October 2018) for details. Or open an issue for me to describe those legacy settings somewhere still. ## Notes - [Repeating an operator-pending mapping forgets its last count.][repeatcount] Works since Vim 7.4.160 ## Issues - [Empty matches can't be selected because it is not possible to visually select zero-character ranges.][emptyrange] - Forcing motion to work linewise by inserting `V` in `dVan(` doesn't work for operator-pending mappings. [See `:h o_v`][o_v]. - Report issues or submit pull requests to [github.com/wellle/targets.vim][targets]. ## Todos Create more mappings to support commands like `danw` or `danp` to delete the next word or paragraph. [plugins]: plugins.md [cheatsheet]: cheatsheet.md [textobjects]: http://vimdoc.sourceforge.net/htmldoc/motion.html#text-objects [operator]: http://vimdoc.sourceforge.net/htmldoc/motion.html#operator [repeat]: http://vimdoc.sourceforge.net/htmldoc/repeat.html#single-repeat [neobundle]: https://github.com/Shougo/neobundle.vim [vundle]: https://github.com/gmarik/vundle [vim-plug]: https://github.com/junegunn/vim-plug [pathogen]: https://github.com/tpope/vim-pathogen [dein]: https://github.com/Shougo/dein.vim [repeatcount]: https://groups.google.com/forum/?fromgroups#!topic/vim_dev/G4SSgcRVN7g [emptyrange]: https://groups.google.com/forum/#!topic/vim_use/qialxUwdcMc [targets]: https://github.com/wellle/targets.vim [o_v]: http://vimdoc.sourceforge.net/htmldoc/motion.html#o_v
33
A Vim-like interface for Firefox, inspired by Vimperator/Pentadactyl.
null
34
vimspector - A multi-language debugging system for Vim
# vimspector - A multi language graphical debugger for Vim For a tutorial and usage overview, take a look at the [Vimspector website][website]. For detailed explanation of the `.vimspector.json` format, see the [reference guide][vimspector-ref]. [![Build](https://github.com/puremourning/vimspector/actions/workflows/build.yaml/badge.svg?branch=master)](https://github.com/puremourning/vimspector/actions/workflows/build.yaml) [![Matrix](https://img.shields.io/matrix/vimspector:matrix.org?label=matrix)](https://matrix.to/#/#vimspector_Lobby:gitter.im) [![Gitter](https://badges.gitter.im/vimspector/Lobby.svg)](https://gitter.im/vimspector/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) <!--ts--> * [Features and Usage](#features-and-usage) * [Supported debugging features](#supported-debugging-features) * [Supported languages](#supported-languages) * [Other languages](#other-languages) * [Installation](#installation) * [Quick Start](#quick-start) * [Dependencies](#dependencies) * [Neovim differences](#neovim-differences) * [Windows differences](#windows-differences) * [Trying it out](#trying-it-out) * [Cloning the plugin](#cloning-the-plugin) * [Install some gadgets](#install-some-gadgets) * [Manual gadget installation](#manual-gadget-installation) * [The gadget directory](#the-gadget-directory) * [Upgrade](#upgrade) * [About](#about) * [Background](#background) * [What Vimspector is not](#what-vimspector-is-not) * [Status](#status) * [Experimental](#experimental) * [Motivation](#motivation) * [License](#license) * [Sponsorship](#sponsorship) * [Mappings](#mappings) * [Visual Studio / VSCode](#visual-studio--vscode) * [Human Mode](#human-mode) * [Usage and API](#usage-and-api) * [Launch and attach by PID:](#launch-and-attach-by-pid) * [Launch with options](#launch-with-options) * [Debug configuration selection](#debug-configuration-selection) * [Get configurations](#get-configurations) * [Breakpoints](#breakpoints) * [Breakpoints Window](#breakpoints-window) * [Line breakpoints](#line-breakpoints) * [Conditional breakpoints and logpoints](#conditional-breakpoints-and-logpoints) * [Exception breakpoints](#exception-breakpoints) * [API Summary](#api-summary) * [Instruction breakpoints](#instruction-breakpoints) * [Clear breakpoints](#clear-breakpoints) * [Run to Cursor](#run-to-cursor) * [Go to current line](#go-to-current-line) * [Save and restore](#save-and-restore) * [Stepping](#stepping) * [Variables and scopes](#variables-and-scopes) * [Variable or selection hover evaluation](#variable-or-selection-hover-evaluation) * [Watches](#watches) * [Watch autocompletion](#watch-autocompletion) * [Disassembly](#disassembly) * [Dump memory](#dump-memory) * [Stack Traces](#stack-traces) * [Program Output](#program-output) * [Console](#console) * [Console autocompletion](#console-autocompletion) * [Log View](#log-view) * [Closing debugger](#closing-debugger) * [Terminate debuggee](#terminate-debuggee) * [Debug profile configuration](#debug-profile-configuration) * [C, C , Rust, etc.](#c-c-rust-etc) * [Data visualization / pretty printing](#data-visualization--pretty-printing) * [C Remote debugging](#c-remote-debugging) * [C Remote launch and attach](#c-remote-launch-and-attach) * [Rust](#rust) * [Jai](#jai) * [Python](#python) * [Python Remote Debugging](#python-remote-debugging) * [Python Remote launch and attach](#python-remote-launch-and-attach) * [Python 2](#python-2) * [TCL](#tcl) * [C♯](#c) * [Go](#go) * [PHP](#php) * [Debug web application](#debug-web-application) * [Debug cli application](#debug-cli-application) * [JavaScript, TypeScript, etc.](#javascript-typescript-etc) * [Java](#java) * [Hot code replace](#hot-code-replace) * [Usage with YouCompleteMe](#usage-with-youcompleteme) * [Other LSP clients](#other-lsp-clients) * [Lua](#lua) * [Other servers](#other-servers) * [Customisation](#customisation) * [Changing the default signs](#changing-the-default-signs) * [Sign priority](#sign-priority) * [Changing the default window sizes](#changing-the-default-window-sizes) * [Changing the terminal size](#changing-the-terminal-size) * [Custom mappings while debugging](#custom-mappings-while-debugging) * [Advanced UI customisation](#advanced-ui-customisation) * [Customising the WinBar](#customising-the-winbar) * [Example](#example) * [FAQ](#faq) <!-- Added by: ben, at: Fri 21 Oct 2022 22:27:24 BST --> <!--te--> # Features and Usage The plugin is a capable Vim graphical debugger for multiple languages. It's mostly tested for C++, Python and TCL, but in theory supports any language that Visual Studio Code supports (but see caveats). The [Vimspector website][website] has an overview of the UI, along with basic instructions for configuration and setup. But for now, here's a (rather old) screenshot of Vimspector debugging Vim: ![vimspector-vim-screenshot](https://puremourning.github.io/vimspector-web/img/vimspector-overview.png) And a couple of brief demos: [![asciicast](https://asciinema.org/a/VmptWmFHTNLPfK3DVsrR2bv8S.svg)](https://asciinema.org/a/VmptWmFHTNLPfK3DVsrR2bv8S) [![asciicast](https://asciinema.org/a/1wZJSoCgs3AvjkhKwetJOJhDh.svg)](https://asciinema.org/a/1wZJSoCgs3AvjkhKwetJOJhDh) ## Supported debugging features - flexible configuration syntax that can be checked in to source control - breakpoints (function, line and exception breakpoints) - conditional breakpoints (function, line) - step in/out/over/up, stop, restart - run to cursor - go to line (reset program counter to line) - launch and attach - remote launch, remote attach - locals and globals display - watch expressions with autocompletion - variable inspection tooltip on hover - disassembly view and step-by-instruction - set variable value in locals, watch and hover windows - call stack display and navigation - hierarchical variable value display popup (see `<Plug>VimspectorBalloonEval`) - interactive debug console with autocompletion - launch debuggee within Vim's embedded terminal - logging/stdout display - simple stable API for custom tooling (e.g. integrate with language server) - view hex dump of process memory ## Supported languages The following table lists the languages that are "built-in" (along with their runtime dependencies). They are categorised by their level of support: * `Tested` : Fully supported, Vimspector regression tests cover them * `Supported` : Fully supported, frequently used and manually tested * `Experimental`: Working, but not frequently used and rarely tested * `Legacy`: No longer supported, please migrate your config * `Retired`: No longer included or supported. | Language(s) | Status | Switch (for `install_gadget.py`) | Adapter (for `:VimspectorInstall`) | Dependencies | | -------------------- | ----------- | ---------------------------------- | ------------------------------------ | -------------------------------------------- | | C, C++, Rust, Jai, etc. | Tested | `--all` or `--enable-c` (or cpp) | vscode-cpptools | mono-core | | C, C++, Rust, Jai, etc. | Tested | `--enable-rust`, `--enable-c`, etc. | CodeLLDB | none | | Python | Tested | `--all` or `--enable-python` | debugpy | Python 3 | | Go | Tested | `--enable-go` | delve | Go 1.16+ | | TCL | Supported | `--all` or `--enable-tcl` | tclpro | TCL 8.5 | | Bourne Shell | Supported | `--all` or `--enable-bash` | vscode-bash-debug | Bash v?? | | Lua | Tested | `--all` or `--enable-lua` | local-lua-debugger-vscode | Node >=12.13.0, Npm, Lua interpreter | | Node.js | Supported | `--force-enable-node` | vscode-node-debug2 | 6 < Node < 12, Npm | | Javascript | Supported | `--force-enable-chrome` | debugger-for-chrome | Chrome | | Javascript | Supported | `--force-enable-firefox` | vscode-firefox-debug | Firefox | | Java | Supported | `--force-enable-java ` | vscode-java-debug | Compatible LSP plugin (see [later](#java)) | | PHP | Experimental | `--force-enable-php` | vscode-php-debug | Node, PHP, XDEBUG | | C# (dotnet core) | Tested | `--force-enable-csharp` | netcoredbg | DotNet core | | F#, VB, etc. | Supported | `--force-enable-[fsharp,vbnet]` | netcoredbg | DotNet core | | Go (legacy) | Legacy | `--enable-go` | vscode-go | Node, Go, [Delve][] | | Python 2 | Legacy | `--force-enable-python2` | debugpy-python2 | Python 2.7 | ## Other languages Vimspector should work for any debug adapter that works in Visual Studio Code. To use Vimspector with a language that's not "built-in", see this [wiki page](https://github.com/puremourning/vimspector/wiki/Additional-Language-Support). # Installation ## Quick Start There are 3 installation methods: * Using a release tarball and Vim packages * Using a repo clone and Vim packages * Using a plugin manager ### Method 1: Using a release tarball and Vim packages Release tarballs come with debug adapters for the default languages pre-packaged. To use a release tarball: 1. [Check the dependencies](#dependencies) 2. Untar the release tarball for your OS into `$HOME/.vim/pack`: ```bash $ mkdir -p $HOME/.vim/pack $ curl -L <url> | tar -C $HOME/.vim/pack zxvf - ``` 3. Add `packadd! vimspector` to your `.vimrc` 4. (optionally) Enable the default set of mappings: ```vim let g:vimspector_enable_mappings = 'HUMAN' ``` 5. Configure your project's debug profiles (create `.vimspector.json`, or set `g:vimspector_configurations`) - see the [reference guide][vimspector-ref] ### Method 2: Using a repo clone, Vim packages and select gadgets to be installed 1. [Check the dependencies](#dependencies) 1. Install the plugin as a Vim package. See `:help packages`. 2. Add `packadd! vimspector` to your `.vimrc` 2. Install some 'gadgets' (debug adapters) - see [here for installation commands](#install-some-gadgets) and [select gadgets to install](#supported-languages) 3. Configure your project's debug profiles (create `.vimspector.json`, or set `g:vimspector_configurations`) - see the [reference guide][vimspector-ref] ### Method 3: Using a plugin manager 1. [Check the dependencies](#dependencies) 1. See the plugin manager's docs and install the plugin For Vundle, use: ```vim Plugin 'puremourning/vimspector' ``` 2. Install some 'gadgets' (debug adapters) - see [here for installation commands](#install-some-gadgets) and [select gadgets to install](#supported-languages) 3. Configure your project's debug profiles (create `.vimspector.json`, or set `g:vimspector_configurations`) - see the [reference guide][vimspector-ref] The following sections expand on the above brief overview. ## Dependencies Vimspector requires: * One of: * Vim 8.2 Huge build compiled with Python 3.6 or later * Neovim 0.4.3 with Python 3.6 or later (experimental) * One of the following operating systems: * Linux * macOS Mojave or later * Windows (experimental) Why such a new vim? Well 2 reasons: 1. Because vimspector uses a lot of new Vim features 2. Because there are Vim bugs that vimspector triggers that will frustrate you if you hit them. Why is neovim experimental? Because the author doesn't use neovim regularly, and there are no regression tests for vimspector in neovim, so it may break occasionally. Issue reports are handled on best-efforts basis, and PRs are welcome to fix bugs. See also the next section describing differences for neovim vs vim. Why is Windows support experimental? Because it's effort and it's not a priority for the author. PRs are welcome to fix bugs. Windows will not be regularly tested. Which Linux versions? I only test on Ubuntu 18.04 and later and RHEL 7. ## Neovim differences neovim doesn't implement some features Vimspector relies on: * WinBar - used for the buttons at the top of the code window and for changing the output window's current output. * Prompt Buffers - used to send commands in the Console and add Watches. (*Note*: prompt buffers are available in neovim nightly) * Balloons - this allows for the variable evaluation popup to be displayed when hovering the mouse. See below for how to create a keyboard mapping instead. Workarounds are in place as follows: * WinBar - There are [mappings](#mappings), [`:VimspectorShowOutput`](#program-output) and [`:VimspectorReset`](#closing-debugger) * Prompt Buffers - There are [`:VimspectorEval`](#console) and [`:VimspectorWatch`](#watches) * Balloons - There is the `<Plug>VimspectorBalloonEval` mapping. There is no default mapping for this, so I recommend something like this to get variable display in a popup: ```viml " mnemonic 'di' = 'debug inspect' (pick your own, if you prefer!) " for normal mode - the word under the cursor nmap <Leader>di <Plug>VimspectorBalloonEval " for visual mode, the visually selected text xmap <Leader>di <Plug>VimspectorBalloonEval ``` ## Windows differences The following features are not implemented for Windows: * Tailing the vimspector log in the Output Window. ## Trying it out If you just want to try out vimspector without changing your vim config, there are example projects for a number of languages in `support/test`, including: * Python (`support/test/python/simple_python`) * Go (`support/test/go/hello_world` and `support/test/go/name-starts-with-vowel`) * Nodejs (`support/test/node/simple`) * Chrome/Firefox (`support/test/web/`) * etc. To test one of these out, cd to the directory and run: ``` vim -Nu /path/to/vimspector/tests/vimrc --cmd "let g:vimspector_enable_mappings='HUMAN'" ``` Then press `<F5>`. There's also a C++ project in `tests/testdata/cpp/simple/` with a `Makefile` which can be used to check everything is working. This is used by the regression tests in CI so should always work, and is a good way to check if the problem is your configuration rather than a bug. ## Cloning the plugin If you're not using a release tarball, you'll need to clone this repo to the appropriate place. 1. Clone the plugin There are many Vim plugin managers, and I'm not going to state a particular preference, so if you choose to use one, follow the plugin manager's documentation. For example, for Vundle, use: ```viml Plugin 'puremourning/vimspector' ``` If you don't use a plugin manager already, install vimspector as a Vim package by cloning this repository into your package path, like this: ``` $ git clone https://github.com/puremourning/vimspector ~/.vim/pack/vimspector/opt/vimspector ``` 2. Configure vimspector in your `.vimrc`, for example to enable the standard mappings: ```viml let g:vimspector_enable_mappings = 'HUMAN' ``` 3. Load vimspector at runtime. This can also be added to your `.vimrc` after configuring vimspector: ``` packadd! vimspector ``` See `support/doc/example_vimrc.vim` for a minimal example. ## Install some gadgets Vimspector is a generic client for Debug Adapters. Debug Adapters (referred to as 'gadgets' or 'adapters') are what actually do the work of talking to the real debuggers. In order for Vimspector to be useful, you need to have some adapters installed. There are a few ways to do this: * If you downloaded a tarball, gadgets for main supported languages are already installed for you. * Using `:VimspectorInstall <adapter> <args...>` (use TAB `wildmenu` to see the options, also accepts any `install_gadget.py` option) * Using `python3 install_gadget.py <args>` (use `--help` to see all options) * Attempting to launch a debug configuration; if the configured adapter can't be found, vimspector will suggest installing one. * Using `:VimspectorUpdate` to install the latest supported versions of the gadgets. Here's a demo of doing some installs and an upgrade: [![asciicast](https://asciinema.org/a/Hfu4ZvuyTZun8THNen9FQbTay.svg)](https://asciinema.org/a/Hfu4ZvuyTZun8THNen9FQbTay) Both `install_gadget.py` and `:VimspectorInstall` do the same set of things, though the default behaviours are slightly different. For supported languages, they will: * Download the relevant debug adapter at a version that's been tested from the internet, either as a 'vsix' (Visusal Studio plugin), or clone from GitHub. If you're in a corporate environment and this is a problem, you may need to install the gadgets manually. * Perform any necessary post-installation actions, such as: * Building any binary components * Ensuring scripts are executable, because the VSIX packages are usually broken in this regard. * Set up the `gadgetDir` symlinks for the platform. For example, to install the tested debug adapter for a language, run: | To install | Script | Command | | --- | --- | --- | | `<adapter>` | | `:VimspectorInstall <adapter>` | | `<adapter1>`, `<adapter2>`, ... | | `:VimspectorInstall <adapter1> <adapter2> ...` | | `<language>` | `./install_gadget.py --enable-<language> ...` | `:VimspectorInstall --enable-<language> ...` | | Supported adapters | `./install_gadget.py --all` | `:VimspectorInstall --all` | | Supported adapters, but not TCL | `./install_gadget.py --all --disable-tcl` | `:VimspectorInstall --all --disable-tcl` | | Supported and experimental adapters | `./install_gadget.py --all --force-all` | `:VimspectorInstall --all` | | Adapter for specific debug config | | Suggested by Vimspector when starting debugging | ### VimspectorInstall and VimspectorUpdate commands `:VimspectorInstall` runs `install_gadget.py` in the background with some of the options defaulted. `:VimspectorUpdate` runs `install_gadget.py` to re-install (i.e. update) any gadgets already installed in your `.gadgets.json`. The output is minimal, to see the full output add `--verbose` to the command, as in `:VimspectorInstall --verbose ...` or `:VimspectorUpdate --verbose ...`. If the installation is successful, the output window is closed (and the output lost forever). Use a `!` to keep it open (e.g. `:VimspectorInstall! --verbose --all` or `:VimspectorUpdate!` (etc.). If you know in advance which gadgets you want to install, for example so that you can reproduce your config from source control, you can set `g:vimspector_install_gadgets` to a list of gadgets. This will be used when: * Running `:VimspectorInstall` with no arguments, or * Running `:VimspectorUpdate` For example: ```viml let g:vimspector_install_gadgets = [ 'debugpy', 'vscode-cpptools', 'CodeLLDB' ] ``` ### install\_gadget.py By default `install_gadget.py` will overwrite your `.gadgets.json` with the set of adapters just installed, whereas `:VimspectorInstall` will _update_ it, overwriting only newly changed or installed adapters. If you want to just add a new adapter using the script without destroying the existing ones, add `--update-gadget-config`, as in: ```bash $ ./install_gadget.py --enable-tcl $ ./install_gadget.py --enable-rust --update-gadget-config $ ./install_gadget.py --enable-java --update-gadget-config ``` If you want to maintain `configurations` outside of the vimspector repository (this can be useful if you have custom gadgets or global configurations), you can tell the installer to use a different basedir, then set `g:vimspector_base_dir` to point to that directory, for example: ```bash $ ./install_gadget.py --basedir $HOME/.vim/vimspector-config --all --force-all ``` Then add this to your `.vimrc`: ```viml let g:vimspector_base_dir=expand( '$HOME/.vim/vimspector-config' ) ``` When using `:VimspectorInstall`, the `g:vimspector_base_dir` setting is respected unless `--basedir` is manually added (not recommended). See `--help` for more info on the various options. ## Manual gadget installation If the language you want to debug is not in the supported list above, you can probably still make it work, but it's more effort. You essentially need to get a working installation of the debug adapter, find out how to start it, and configure that in an `adapters` entry in either your `.vimspector.json` or in `.gadgets.json` or in `g:vimspector_adapters`. The simplest way in practice is to install or start Visual Studio Code and use its extension manager to install the relevant extension. You can then configure the adapter manually in the `adapters` section of your `.vimspector.json` or in a `gadgets.json` or in `g:vimspector_adapters`. PRs are always welcome to add supported languages (which roughly translates to updating `python/vimspector/gadgets.py` and testing it). ### The gadget directory Vimspector uses the following directory by default to look for a file named `.gadgets.json`: `</path/to/vimspector>/gadgets/<os>`. This path is exposed as the vimspector _variable_ `${gadgetDir}`. This is useful for configuring gadget command lines. Where os is one of: * `macos` * `linux` * `windows` (though note: Windows is not supported) The format is the same as `.vimspector.json`, but only the `adapters` key is used: Example: ```json { "adapters": { "lldb-vscode": { "variables": { "LLVM": { "shell": "brew --prefix llvm" } }, "attach": { "pidProperty": "pid", "pidSelect": "ask" }, "command": [ "${LLVM}/bin/lldb-vscode" ], "env": { "LLDB_LAUNCH_FLAG_LAUNCH_IN_TTY": "YES" }, "name": "lldb" }, "vscode-cpptools": { "attach": { "pidProperty": "processId", "pidSelect": "ask" }, "command": [ "${gadgetDir}/vscode-cpptools/debugAdapters/bin/OpenDebugAD7" ], "name": "cppdbg" } } } ``` The gadget file is automatically written by `install_gadget.py` (or `:VimspectorInstall`). Vimspector will also load any files matching: `</path/to/vimspector>/gadgets/<os>/.gadgets.d/*.json`. These have the same format as `.gadgets.json` but are not overwritten when running `install_gadget.py`. ## Upgrade After updating the Vimspector code (either via `git pull` or whatever package manager), run `:VimspectorUpdate` to update any already-installed gadgets. # About ## Background The motivation is that debugging in Vim is a pretty horrible experience, particularly if you use multiple languages. With pyclewn no more and the built-in termdebug plugin limited to gdb, I wanted to explore options. While Language Server Protocol is well known, the Debug Adapter Protocol is less well known, but achieves a similar goal: language agnostic API abstracting debuggers from clients. The aim of this project is to provide a simple but effective debugging experience in Vim for multiple languages, by leveraging the debug adapters that are being built for Visual Studio Code. The ability to do remote debugging is a must. This is key to my workflow, so baking it in to the debugging experience is a top bill goal for the project. So vimspector has first-class support for executing programs remotely and attaching to them. This support is unique to vimspector and on top of (complementary to) any such support in actual debug adapters. # What Vimspector is not Vimspector is a vim UI on top of the Debug Adapter Protocol. It's intended to be high level and convenient for day-to-day debugging tasks. Vimspector is not: * a debugger! It's just the UI and some glue. * fast. It's abstractions all the way down. If you want a fast, native debugger, there are other options. * comprehensive. It's limited by DAP, and limited by my time. I implement the features I think most users will need, not every feature possible. * for everyone. Vimspector intentionally provides a "one size fits all" UI and aproach. This means that it can only provide essential/basic debugging features for a given language. This makes it convenient for everyday usage, but not ideal for power users or those with very precise or specific requirements. See [motivation](#motivation) for more info. ## Status Vimspector is a work in progress, and any feedback/contributions are more than welcome. The backlog can be [viewed on Trello](https://trello.com/b/yvAKK0rD/vimspector). ### Experimental The plugin is currently _experimental_. That means that any part of it can (and probably will) change, including things like: - breaking changes to the configuration - keys, layout, functionality of the UI However, I commit to only doing this in the most extreme cases and to announce such changes on Gitter well in advance. There's nothing more annoying than stuff just breaking on you. I get that. ## Motivation A message from the author about the motivation for this plugin: > Many development environments have a built-in debugger. I spend an inordinate > amount of my time in Vim. I do all my development in Vim and I have even > customised my workflows for building code, running tests etc. > > For many years I have observed myself, friends and colleagues have been > writing `printf`, `puts`, `print`, etc. debugging statements in all sorts of > files simply because there is no _easy_ way to run a debugger for _whatever_ > language we happen to be developing in. > > I truly believe that interactive, graphical debugging environments are the > best way to understand and reason about both unfamiliar and familiar code, and > that the lack of ready, simple access to a debugger is a huge hidden > productivity hole for many. > > Don't get me wrong, I know there are literally millions of developers out > there that are more than competent at developing without a graphical debugger, > but I maintain that if they had the ability to _just press a key_ and jump > into the debugger, it would be faster and more enjoyable that just cerebral > code comprehension. > > I created Vimspector because I find changing tools frustrating. `gdb` for c++, > `pdb` for python, etc. Each has its own syntax. Each its own lexicon. Each its > own foibles. > > I designed the configuration system in such a way that the configuration can > be committed to source control so that it _just works_ for any of your > colleagues, friends, collaborators or complete strangers. > > I made remote debugging a first-class feature because that's a primary use > case for me in my job. > > With Vimspector I can _just hit `<F5>`_ in all of the languages I develop in > and debug locally or remotely using the exact same workflow, mappings and UI. > I have integrated this with my Vim in such a way that I can hit a button and > _run the test under the cursor in Vimspector_. This kind of integration has > massively improved my workflow and productivity. It's even made the process > of learning a new codebase... fun. > > \- Ben Jackson, Creator. ## License [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0) Copyright © 2018 Ben Jackson ## Sponsorship If you like Vimspector so much that you're wiling to part with your hard-earned cash, please consider donating to one of the following charities, which are meaningful to the author of Vimspector (in order of preference): * [Greyhound Rescue Wales](https://greyhoundrescuewales.co.uk) * [Cancer Research UK](https://www.cancerresearchuk.org) * [ICCF Holland](https://iccf.nl) * Any charity of your choosing. # Mappings By default, vimspector does not change any of your mappings. Mappings are very personal and so you should work out what you like and use vim's powerful mapping features to set your own mappings. To that end, Vimspector defines the following `<Plug>` mappings: | Mapping | Function | API | | --- | --- | --- | | `<Plug>VimspectorContinue` | When debugging, continue. Otherwise start debugging. | `vimspector#Continue()` | | `<Plug>VimspectorStop` | Stop debugging. | `vimspector#Stop()` | | `<Plug>VimpectorRestart` | Restart debugging with the same configuration. | `vimspector#Restart()` | | `<Plug>VimspectorPause` | Pause debuggee. | `vimspector#Pause()` | | `<Plug>VimspectorBreakpoints` | Show/hide the breakpoints window | `vimspector#ListBreakpoints()` | | `<Plug>VimspectorToggleBreakpoint` | Toggle line breakpoint on the current line. | `vimspector#ToggleBreakpoint()` | | `<Plug>VimspectorToggleConditionalBreakpoint` | Toggle conditional line breakpoint or logpoint on the current line. | `vimspector#ToggleBreakpoint( { trigger expr, hit count expr } )` | | `<Plug>VimspectorAddFunctionBreakpoint` | Add a function breakpoint for the expression under cursor | `vimspector#AddFunctionBreakpoint( '<cexpr>' )` | | `<Plug>VimspectorGoToCurrentLine` | Reset the current program counter to the current line | `vimspector#GoToCurrentLine()` | | `<Plug>VimspectorRunToCursor` | Run to Cursor | `vimspector#RunToCursor()` | | `<Plug>VimspectorStepOver` | Step Over | `vimspector#StepOver()` | | `<Plug>VimspectorStepInto` | Step Into | `vimspector#StepInto()` | | `<Plug>VimspectorStepOut` | Step out of current function scope | `vimspector#StepOut()` | | `<Plug>VimspectorDisassemble` | Show disassembly. Enable instruction stepping | `vimspector#ShowDisassembly()` | | `<Plug>VimspectorUpFrame` | Move up a frame in the current call stack | `vimspector#UpFrame()` | | `<Plug>VimspectorDownFrame` | Move down a frame in the current call stack | `vimspector#DownFrame()` | | `<Plug>VimspectorJumpToNextBreakpoint` | Move Cursor to the next breakpoint in current file | `vimspector#JumpToNextBreakpoint()` | | `<Plug>VimspectorJumpToPreviousBreakpoint` | Move Cursor to the previous breakpoint in current file | `vimspector#JumpToPreviousBreakpoint()` | | `<Plug>VimspectorJumpToProgramCounter` | Move Cursor to the program counter in the current frame | `vimspector#JumpToProgramCounter()` | | `<Plug>VimspectorBalloonEval` | Evaluate expression under cursor (or visual) in popup | *internal* | These map roughly 1-1 with the API functions below. For example, if you want `<F5>` to start/continue debugging, add this to some appropriate place, such as your `vimrc` (hint: run `:e $MYVIMRC`). ```viml nmap <F5> <Plug>VimspectorContinue ``` In addition, many users probably want to only enable certain Vimspector mappings while debugging is active. This is also possible, though it requires writing [some vimscipt](#custom-mappings-while-debugging). That said, many people are familiar with particular debuggers, so the following mappings can be enabled by setting `g:vimspector_enable_mappings` to the specified value. ## Visual Studio / VSCode To use Visual Studio-like mappings, add the following to your `vimrc` **before loading vimspector**: ```viml let g:vimspector_enable_mappings = 'VISUAL_STUDIO' ``` | Key | Mapping | Function | --- | --- | --- | `F5` | `<Plug>VimspectorContinue` | When debugging, continue. Otherwise start debugging. | `Shift F5` | `<Plug>VimspectorStop` | Stop debugging. | `Ctrl Shift F5` | `<Plug>VimspectorRestart` | Restart debugging with the same configuration. | `F6` | `<Plug>VimspectorPause` | Pause debuggee. | `F8` | `<Plug>VimspectorJumpToNextBreakpoint` | Jump to next breakpoint in the current file. | `Shift F8` | `<Plug>VimspectorJumpToPreviousBreakpoint` | Jump to previous breakpoint in the current file. | `F9` | `<Plug>VimspectorToggleBreakpoint` | Toggle line breakpoint on the current line. | `Shift F9` | `<Plug>VimspectorAddFunctionBreakpoint` | Add a function breakpoint for the expression under cursor | `F10` | `<Plug>VimspectorStepOver` | Step Over | `F11` | `<Plug>VimspectorStepInto` | Step Into | `Shift F11` | `<Plug>VimspectorStepOut` | Step out of current function scope | `Alt 8` | `<Plug>VimspectorDisassemble | Show disassembly ## Human Mode If, like me, you only have 2 hands and 10 fingers, you probably don't like Ctrl-Shift-F keys. Also, if you're running in a terminal, there's a real possibility of terminfo being wrong for shifted-F-keys, particularly if your `TERM` is `screen-256color`. If these issues (number of hands, `TERM` variables) are unfixable, try the following mappings, by adding the following **before loading vimspector**: ```viml let g:vimspector_enable_mappings = 'HUMAN' ``` | Key | Mapping | Function | --- | --- | --- | `F5` | `<Plug>VimspectorContinue` | When debugging, continue. Otherwise start debugging. | `F3` | `<Plug>VimspectorStop` | Stop debugging. | `F4` | `<Plug>VimspectorRestart` | Restart debugging with the same configuration. | `F6` | `<Plug>VimspectorPause` | Pause debuggee. | `F9` | `<Plug>VimspectorToggleBreakpoint` | Toggle line breakpoint on the current line. | `<leader>F9` | `<Plug>VimspectorToggleConditionalBreakpoint` | Toggle conditional line breakpoint or logpoint on the current line. | `F8` | `<Plug>VimspectorAddFunctionBreakpoint` | Add a function breakpoint for the expression under cursor | `<leader>F8` | `<Plug>VimspectorRunToCursor` | Run to Cursor | `F10` | `<Plug>VimspectorStepOver` | Step Over | `F11` | `<Plug>VimspectorStepInto` | Step Into | `F12` | `<Plug>VimspectorStepOut` | Step out of current function scope In addition, I recommend adding a mapping to `<Plug>VimspectorBalloonEval`, in normal and visual modes, for example: ```viml " mnemonic 'di' = 'debug inspect' (pick your own, if you prefer!) " for normal mode - the word under the cursor nmap <Leader>di <Plug>VimspectorBalloonEval " for visual mode, the visually selected text xmap <Leader>di <Plug>VimspectorBalloonEval ``` You may also wish to add mappings for navigating up/down the stack, toggling the breakpoints window, and showing disassembly, for example: ```viml nmap <LocalLeader><F11> <Plug>VimspectorUpFrame nmap <LocalLeader><F12> <Plug>VimspectorDownFrame nmap <LocalLeader>B <Plug>VimspectorBreakpoints nmap <LocalLeader>D <Plug>VimspectorDisassemble ``` # Usage and API This section defines detailed usage instructions, organised by feature. For most users, the [mappings](#mappings) section contains the most common commands and default usage. This section can be used as a reference to create your own mappings or custom behaviours. ## Launch and attach by PID: * Create `.vimspector.json`. See [below](#supported-languages). * `:call vimspector#Launch()` and select a configuration. ![debug session](https://puremourning.github.io/vimspector-web/img/vimspector-overview.png) ### Launch with options To launch a specific debug configuration, or specify [replacement variables][vimspector-ref-var] for the launch, you can use: * `:call vimspector#LaunchWithSettings( dict )` The argument is a `dict` with the following keys: * `configuration`: (optional) Name of the debug configuration to launch * `<anything else>`: (optional) Name of a variable to set This allows for some integration and automation. For example, if you have a configuration named `Run Test` that contains a [replacement variable][vimspector-ref-var] named `${Test}` you could write a mapping which ultimately executes: ```viml vimspector#LaunchWithSettings( #{ configuration: 'Run Test' \ Test: 'Name of the test' } ) ``` This would start the `Run Test` configuration with `${Test}` set to `'Name of the test'` and Vimspector would _not_ prompt the user to enter or confirm these things. See [our YouCompleteMe integration guide](#usage-with-youcompleteme) for another example where it can be used to specify the port to connect the [java debugger](#java---partially-supported) To launch with an ad-hoc config you can use: * `call vimspector#LaunchWithConfigurations( dict )` The argument is a `dict` which is the `configurations` section of a .vimspector file. Pass one configuration in and that will be selected as the one to run. For example: ```viml let pid = <some_expression> call vimspector#LaunchWithConfigurations({ \ "attach": { \ "adapter": "netcoredbg", \ "configuration": { \ "request": "attach", \ "processId": pid \ } \ } \}) ``` This would launch the debugger and attach to the specified process without the need to have a local .vimspector file on disk. The `${workspaceRoot}` variable will point to the parent folder of the file that is currently open in vim. ### Debug configuration selection Vimspector uses the following logic to choose a configuration to launch: 1. If a configuration was specified in the launch options (as above), use that. 2. Otherwise if there's only one configuration and it doesn't have `autoselect` set to `false`, use that. 3. Otherwise if there's exactly one configuration with `default` set to `true` and without `autoselect` set to `false`, use that. 4. Otherwise, prompt the user to select a configuration. See [the reference guide][vimspector-ref-config-selection] for details. ### Get configurations * Use `vimspector#GetConfigurations()` to get a list of configurations for the filetype of the current buffer For example, to get an array of configurations and fuzzy matching on the result ```viml :call matchfuzzy(vimspector#GetConfigurations(), "test::case_1") ``` ## Breakpoints See the [mappings](#mappings) section for the default mappings for working with breakpoints. This section describes the full API in vimscript functions. ### Breakpoints Window Use `:VimspectorBreakpoints` or map something to `<Plug>VimspectorBreakpoints` to open the breakpoints view. From here you can list, jump to delete, add and toggle breakpoints. I recommend a mapping like this to toggle the breakpoints window: ```viml nmap <Leader>db <Plug>VimspectorBreakpoints ``` The following mappings apply by default in the breakpoints window: * `t`, `<F9>` - toggle, i.e. enable/disable breakpoint * `T` - toggle, i.e. enable/disable ALL breakpoints * `dd`, `<Del>` - delete the current breakpoint * `i`, `a`, `o` - add a new line breakpoint * `I`, `A`, `O` - add a new function breakpoint * `<Enter>` or double-click - jump to the line breakpoint A WinBar is provided (where supported) too. This adds functions like saving/restoring sessions and clearing all breakpoints too. ### Line breakpoints The simplest and most common form of breakpoint is a line breakpoint. Execution is paused when the specified line is executed. For most debugging scenarios, users will just hit `<F9>` to create a line breakpoint on the current line and `<F5>` to launch the application. ### Conditional breakpoints and logpoints Some debug adapters support conditional breakpoints. Note that vimspector does not tell you if the debugger doesn't support conditional breakpoints (yet). A conditional breakpoint is a breakpoint which only triggers if some expression evaluates to true, or has some other constraints met. Some of these functions above take a single optional argument which is a dictionary of options. The dictionary can have the following keys: * `condition`: An optional expression evaluated to determine if the breakpoint should fire. Not supported by all debug adapters. For example, to break when `abc` is `10`, enter something like `abc == 10`, depending on the language. * `hitCondition`: An optional expression evaluated to determine a number of times the breakpoint should be ignored. Should (probably?) not be used in combination with `condition`. Not supported by all debug adapters. For example, to break on the 3rd time hitting this line, enter `3`. * `logMessage`: An optional string to make this breakpoint a "logpoint" instead. When triggered, this message is printed to the console rather than interrupting execution. You can embed expressions in braces `{like this}`, for example `#{ logMessage: "Iteration {i} or {num_entries / 2}" }` In each case expressions are evaluated by the debugger, so should be in whatever dialect the debugger understands when evaluating expressions. When using the `<leader><F9>` mapping, the user is prompted to enter these expressions in a command line (with history). ### Exception breakpoints Exception breakpoints typically fire when an exception is throw or other error condition occurs. Depending on the debugger, when starting debugging, you may be asked a few questions about how to handle exceptions. These are "exception breakpoints" and vimspector remembers your choices while Vim is still running. Typically you can accept the defaults (just keep pressing `<CR>`!) as most debug adapter defaults are sane, but if you want to break on, say `uncaught exception` then answer `Y` to that (for example). You can configure your choices in the `.vimspector.json`. See [the configuration guide][vimspector-ref-exception] for details on that. ### API Summary ***NOTE:*** Previously, ToggleBreakpoint would cycle between 3 states: enabled, disabled, deleted. Many users found the 'disabled' state was rarely useful, so the behaviour has been changed. ToggleBreakpoint always creates or deletes a breakpoint. If you wish to 'disable' breakpoints, use the [breakpoints window](#breakpoints-window) and 'toggle' (`t`) from there. * Use `vimspector#ToggleBreakpoint( { options dict } )` to set/delete a line breakpoint. The argument is optional (see below). * Use `vimspector#AddFunctionBreakpoint( '<name>', { options dict} )` to add a function breakpoint. The second argument is optional (see below). * Use `vimspector#SetLineBreakpoint( file_name, line_num, { options dict } )` to set a breakpoint at a specific file/line. The last argument is optional (see below) * Use `vimspector#ClearLineBreakpoint( file_name, line_num )` to remove a breakpoint at a specific file/line * Use `vimspector#ClearBreakpoints()` to clear all breakpoints * Use `:VimspectorMkSession` and `:VimspectorLoadSession` to save and restore breakpoints * `call vimspector#ListBreakpoints()` - toggle breakpoints window * `call vimspector#BreakpointsAsQuickFix()` - return the current set of breakpoints in vim quickfix format Examples: * `call vimspector#ToggleBreakpoint()` - toggle breakpoint on current line * `call vimspector#SetLineBreakpoint( 'some_file.py', 10 )` - set a breakpoint on `some_filepy:10` * `call vimspector#AddFunctionBreakpoint( 'main' )` - add a function breakpoint on the `main` function * `call vimspector#ToggleBreakpoint( { 'condition': 'i > 5' } )` - add a breakpoint on the current line that triggers only when `i > 5` is `true` * `call vimspector#SetLineBreakpoint( 'some_file.py', 10, { 'condition': 'i > 5' } )` - add a breakpoint at `some_file.py:10` that triggers only when `i > 5` is `true` * `call vimspector#ClearLineBreakpoint( 'some_file.py', 10 )` - delete the breakpoint at `some_file.py:10` * `call vimspector#ClearBreakpoints()` - clear all breakpoints * `VimspectorMkSession` - create `.vimspector.session` * `VimspectorLoadSession` - read `.vimspector.session` * `VimspectorMkSession my_session_file` - create `my_session_file` * `VimspectorLoadSession my_session_file` - read `my_session_file` ### Instruction breakpoints **NOTE**: Experimental feature, which may change significantly in future based on user feedback. Instruction breakpoints can be added from the [disassembly window](#disassembly) in the same way that you add [line breakpoints](#line-breakpoints) in the code window. The same mappings and functions work for adding and toggling them. Where supported by the debug adapter, you can even create logpoints and conditional breakpoints this way. Currently, instruction breakpoints are internally modelled as line breakpoints against the buffer containing the disassembly, but that may change in future, so please don't rely on this. Instruction breakpoints are also visible from and can be deleted/disabled from the [breakpoints window](#breakpoints-window). Currently, instruction breakpoints are automatically cleared when the debug session ends. The reason for this is that the addresses can't be guaranteed to be valid for any other debug session. However, this may also change in future. ### Clear breakpoints Use `vimspector#ClearBreakpoints()` to clear all breakpoints including the memory of exception breakpoint choices. ### Run to Cursor Use `vimspector#RunToCursor` or `<leader><F8>`: this creates a temporary breakpoint on the current line, then continues execution, clearing the breakpoint when it is hit. ### Go to current line Use `vimspector#GoToCurrentLine()` or some mapping to `<Plug>VimspectorGoToCurrentLine` to jump the current execution to the line your cursor is currently on. Where supported this can be useful to re-run sections of code or skip over them entirely. If there are multiple possible "targets" on the current line, you're prompted to pick one. ### Save and restore Vimspector can save and restore breakpoints (and some other stuff) to a session file. The following commands exist for that: * `VimspectorMkSession [file name]` - save the current set of line breakpoints, logpoints, conditional breakpoints, function breakpoints and exception breakpoint filters to the session file. * `VimspectorLoadSession [file name]` - read breakpoints from the session file and replace any currently set breakpoints. Prior to loading, all current breakpoints are cleared (as if `vimspector#ClearLineBreakpoints()` was called). In both cases, the file name argument is optional. By default, the file is named `.vimspector.session`, but this can be changed globally by setting `g:vimspector_session_file_name` to something else, or by manually specifying a path when calling the command. Advanced users may wish to automate the process of loading and saving, for example by adding `VimEnter` and `VimLeave` autocommands. It's recommended in that case to use `silent!` to avoid annoying errors if the file can't be read or written. The simplest form of automation is to load the vimspector session whenever you start vim with a session file. This is as simple as doing this: ``` $ echo silent VimspectorLoadSession > Sessionx.vim ``` See `:help mksession` for details of the `*x.vim` file. You can also do something like this using `SessionLoadPost`: ```viml autocmd SessionLoadPost * silent! VimspectorLoadSession ``` ## Stepping * Step in/out, finish, continue, pause etc. using the WinBar, or mappings. * Stepping is contextual. By default, stepping is statement granularity. But if your cursor is in the [disassembly window](#disassembly), then stepping defaults to instruction granularity. * If you really want to, the API is `vimspector#StepInto()` etc.. There are also `vimspector#StepSOver()` and `vimspector#StepIOver()` etc. variants for statement and instruction granularity respectively. ![code window](https://puremourning.github.io/vimspector-web/img/vimspector-code-window.png) ## Variables and scopes * Current scope shows values of locals. * Use `<CR>`, or double-click with left mouse to expand/collapse (+, -). * Set the value of the variable with `<C-CR>` (control + `<CR>`) or `<leader><CR>` (if `modifyOtherKeys` doesn't work for you) * View the type of the variable via mouse hover. * When changing the stack frame the locals window updates. * While paused, hover to see values. ![locals window](https://puremourning.github.io/vimspector-web/img/vimspector-locals-window.png) Scopes and variables are represented by the buffer `vimspector.Variables`. If you prefer a more verbose display for variables and watches, then you can `let g:vimspector_variables_display_mode = 'full'`. By default only the name and value are displayed, with other data available from hovering the mouse or triggering `<Plug>VimspectorBalloonEval` on the line containing the value in the variables (or watches) window. ## Variable or selection hover evaluation All rules for `Variables and scopes` apply plus the following: * With mouse enabled, hover over a variable and get the value it evaluates to. This applies to the variables and watches windows too, and allows you to view the type of the value. * Use your mouse to perform a visual selection of an expression (e.g. `a + b`) and get its result. * Make a normal mode (`nmap`) and visual mode (`xmap`) mapping to `<Plug>VimspectorBalloonEval` to manually trigger the popup. * Set the value of the variable with `<C-CR>` (control + `<CR>`) or `<leader><CR>` (if `modifyOtherKeys` doesn't work for you) * Use regular navigation keys (`j`, `k`) to choose the current selection; `<Esc>` (or leave the tooltip window) to close the tooltip. ![variable eval hover](https://puremourning.github.io/vimspector-web/img/vimspector-variable-eval-hover.png) ## Watches The watch window is used to inspect variables and expressions. Expressions are evaluated in the selected stack frame which is "focussed" The watches window is a prompt buffer, where that's available. Enter insert mode to add a new watch expression. * Add watches to the variables window by entering insert mode and typing the expression. Commit with `<CR>`. * Alternatively, use `:VimspectorWatch <expression>`. Tab-completion for expression is available in some debug adapters. * View the type of the variable via mouse hover. * Expand result with `<CR>`, or double-click with left mouse. * Set the value of the variable with `<C-CR>` (control + `<CR>`) or `<leader><CR>` (if `modifyOtherKeys` doesn't work for you) * Delete with `<DEL>`. ![watch window](https://puremourning.github.io/vimspector-web/img/vimspector-watch-window.png) The watches are represented by the buffer `vimspector.Watches`. If you prefer a more verbose display for variables and watches, then you can `let g:vimspector_variables_display_mode = 'full'`. By default only the name and value are displayed, with other data available from hovering the mouse or triggering `<Plug>VimspectorBalloonEval` on the line containing the value in the variables (or watches) window. ### Watch autocompletion The watch prompt buffer has its `omnifunc` set to a function that will calculate completion for the current expression. This is trivially used with `<Ctrl-x><Ctrl-o>` (see `:help ins-completion`), or integrated with your favourite completion system. The filetype in the buffer is set to `VimspectorPrompt`. For YouCompleteMe, the following config works well: ```viml let g:ycm_semantic_triggers = { \ 'VimspectorPrompt': [ '.', '->', ':', '<' ] } ``` ## Disassembly * Dispplay disassembly around current PC * Step over/into/out by instruction (contextually, or using the WinBar) * `:VimspectorDisassemble`, `vimspector#ShowDisassembly()` or `<Plug>VimspectorDisassemble` [![Demo](https://asciinema.org/a/esEncAxP45CJmo8Em1sQtxRYe.svg)](https://asciinema.org/a/esEncAxP45CJmo8Em1sQtxRYe) Some debug adapters (few!) support disassembly. The way this works in DAP is a little wierd, but in practice vimspector will ask to disassemble a number of instructions around the current stack frame's PC. This is then shown in a window with a WinBar similar to the Code window, but with instruction stepping granularity. There's a sign for the current instruction and the syntax highighting defaults to "asm" which mostly works ok for x86 and ARM. ![disassembly-view](https://user-images.githubusercontent.com/10584846/194766584-d798c96b-6e4e-4914-9d4a-991c219f78d0.png) As mentioned above, when your current window is the disassembly windows and you use the default "step" commands (e.g. `<F10>`), the stepping is automatically chnged to per-instruction rather than per statement. Each time the process stops, vimspector requests about 2 windows full of instructions around the current PC. To see more, you can scroll the window. Vimspector will page in an extra screenful of instructions when the window scrolls to the top or near the bottom. This isn't perfect. Sometimes you have to scroll a bit more to make it page in (e.g. ctrl-e ctrl-y at the top). This is not ideal, and may be improved in future. You can control the intial height of the disassembly window with `let g:vimspector_disassembly_height = 10` (or whatver number of lines). The filetype (and syntax) of the buffers in the disassembly window is `vimspector-disassembly`. You can use `FileType` autocommands to customise things like the syntax highlighting. ***NOTE***: This feature is experimental and may change in any way based on user feedback. ## Dump memory Some debug adapters provide a way to dump process memory associated with variables. This can be done from the Variables and Watches windows with: * The WinBar option "Dump" * `<leader>m` mapping (by default, can be customised) * `vimspector#ReadMemory()` function On doing this, you're asked to enter a number of bytes to read (from the location associated with the current cursor line) and an offset from that location. A new buffer is displayed in the Code Window containing a memory dump in hex and ascii, similar to the output of `xxd`. ***NOTE***: This feature is experimental and may change in any way based on user feedback. ## Stack Traces The stack trace window shows the state of each program thread. Threads which are stopped can be expanded to show the stack trace of that thread. Often, but not always, all threads are stopped when a breakpoint is hit. The status of a thread is show in parentheses after the thread's name. Where supported by the underlying debugger, threads can be paused and continued individually from within the Stack Trace window. A particular thread, highlighted with the `CursorLine` highlight group is the "focussed" thread. This is the thread that receives commands like "Step In", "Step Out", "Continue" and "Pause" in the code window. The focussed thread can be changed manually to "switch to" that thread. * Use `<CR>`, or double-click with left mouse to expand/collapse a thread stack trace, or use the WinBar button. * Use `<CR>`, or double-click with left mouse on a stack frame to jump to it. * Use the WinBar or `vimspector#PauseContinueThread()` to individually pause or continue the selected thread. * Use the "Focus" WinBar button, `<leader><CR>` or `vimspector#SetCurrentThread()` to set the "focussed" thread to the currently selected one. If the selected line is a stack frame, set the focussed thread to the thread of that frame and jump to that frame in the code window. * The current frame when a breakpoint is hit or if manual jumping is also highlighted. ![stack trace](https://puremourning.github.io/vimspector-web/img/vimspector-callstack-window.png) The stack trace is represented by the buffer `vimspector.StackTrace`. ## Program Output * In the outputs window, use the WinBar to select the output channel. * Alternatively, use `:VimspectorShowOutput <category>`. Use command-line completion to see the categories. * The debuggee prints to the stdout channel. * Other channels may be useful for debugging. ![output window](https://puremourning.github.io/vimspector-web/img/vimspector-output-window.png) If the output window is closed, a new one can be opened with `:VimspectorShowOutput <category>` (use tab-completion - `wildmenu` to see the options). ### Console The console window is a prompt buffer, where that's available, and can be used as an interactive CLI for the debug adapter. Support for this varies amongst adapters. * Enter insert mode to enter a command to evaluate. * Alternatively, `:VimspectorEval <expression>`. Completion is available with some debug adapters. * Commit the request with `<CR>` * The request and subsequent result are printed. NOTE: See also [Watches](#watches) above. If the output window is closed, a new one can be opened with `:VimspectorShowOutput Console`. ### Console autocompletion The console prompt buffer has its `omnifunc` set to a function that will calculate completion for the current command/expression. This is trivially used with `<Ctrl-x><Ctrl-o>` (see `:help ins-completion`), or integrated with your favourite completion system. The filetype in the buffer is set to `VimspectorPrompt`. For YouCompleteMe, the following config works well: ```viml let g:ycm_semantic_triggers = { \ 'VimspectorPrompt': [ '.', '->', ':', '<' ] } ``` ### Log View The Vimspector log file contains a full trace of the communication between Vimspector and the debug adapter. This is the primary source of diagnostic information when something goes wrong that's not a Vim traceback. If you just want to see the Vimspector log file, use `:VimspectorToggleLog`, which will tail it in a little window (doesn't work on Windows). You can see some debugging info with `:VimspectorDebugInfo` ## Closing debugger To close the debugger, use: * `Reset` WinBar button * `:VimspectorReset` when the WinBar is not available. * `call vimspector#Reset()` ## Terminate debuggee If the debuggee is still running when stopping or resetting, then some debug adapters allow you to specify what should happen to it when finishing debugging. Typically, the default behaviour is sensible, and this is what happens most of the time. These are the defaults according to DAP: * If the request was 'launch': terminate the debuggee * If the request was 'attach': don't terminate the debuggee Some debug adapters allow you to choose what to do when disconnecting. If you wish to control this behaviour, use `:VimspectorReset` or call `vimspector#Reset( { 'interactive': v:true } )`. If the debug adapter offers a choice as to whether or not to terminate the debuggee, you will be prompted to choose. The same applies for `vimspector#Stop()` which can take an argument: `vimspector#Stop( { 'interactive': v:true } )`. # Debug profile configuration For an introduction to the configuration of `.vimspector.json`, take a look at the Getting Started section of the [Vimspector website][website]. For a full explanation, including how to use variables, substitutions and how to specify exception breakpoints, see [the docs][vimspector-ref]. The JSON configuration file allows C-style comments: * `// comment to end of line ...` * `/* inline comment ... */` Currently tested with the following debug adapters. ## C, C++, Rust, etc. * [vscode-cpptools](https://github.com/Microsoft/vscode-cpptools) * On macOS, I *strongly* recommend using [CodeLLDB](#rust) instead for C and C++ projects. It's really excellent, has fewer dependencies and doesn't open console apps in another Terminal window. Example `.vimspector.json` (works with both `vscode-cpptools` and `lldb-vscode`. For `lldb-vscode` replace the name of the adapter with `lldb-vscode`: * vscode-cpptools Linux/MacOS: ```json { "configurations": { "Launch": { "adapter": "vscode-cpptools", "filetypes": [ "cpp", "c", "objc", "rust" ], // optional "configuration": { "request": "launch", "program": "<path to binary>", "args": [ ... ], "cwd": "<working directory>", "environment": [ ... ], "externalConsole": true, "MIMode": "<lldb or gdb>" } }, "Attach": { "adapter": "vscode-cpptools", "filetypes": [ "cpp", "c", "objc", "rust" ], // optional "configuration": { "request": "attach", "program": "<path to binary>", "MIMode": "<lldb or gdb>" } } // ... } } ``` * vscode-cpptools Windows ***NOTE FOR WINDOWS USERS:*** You need to install `gdb.exe`. I recommend using `scoop install gdb`. Vimspector cannot use the visual studio debugger due to licensing. ```json { "configurations": { "Launch": { "adapter": "vscode-cpptools", "filetypes": [ "cpp", "c", "objc", "rust" ], // optional "configuration": { "request": "launch", "program": "<path to binary>", "stopAtEntry": true } } } } ``` ### Data visualization / pretty printing Depending on the backend you need to enable pretty printing of complex types manually. * LLDB: Pretty printing is enabled by default * GDB: To enable gdb pretty printers, consider the snippet below. It is not enough to have `set print pretty on` in your .gdbinit! ```json { "configurations": { "Launch": { "adapter": "vscode-cpptools", "filetypes": [ "cpp", "c", "objc", "rust" ], // optional "configuration": { "request": "launch", "program": "<path to binary>", // ... "MIMode": "gdb", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ] } } } } ``` ### C++ Remote debugging The cpptools documentation describes how to attach cpptools to gdbserver using `miDebuggerAddress`. Note that when doing this you should use the `"request": "attach"`. ### C++ Remote launch and attach If you're feeling fancy, check out the [reference guide][remote-debugging] for an example of getting Vimspector to remotely launch and attach. * CodeLLDB (MacOS) CodeLLDB is superior to vscode-cpptools in a number of ways on macOS at least. See [Rust](#rust). * lldb-vscode (MacOS) An alternative is to to use `lldb-vscode`, which comes with llvm. Here's how: * Install llvm (e.g. with HomeBrew: `brew install llvm`) * Create a file named `/path/to/vimspector/gadgets/macos/.gadgets.d/lldb-vscode.json`: ```json { "adapters": { "lldb-vscode": { "variables": { "LLVM": { "shell": "brew --prefix llvm" } }, "attach": { "pidProperty": "pid", "pidSelect": "ask" }, "command": [ "${LLVM}/bin/lldb-vscode" ], "env": { "LLDB_LAUNCH_FLAG_LAUNCH_IN_TTY": "YES" }, "name": "lldb" } } } ``` ## Rust Rust is supported with any gdb/lldb-based debugger. So it works fine with `vscode-cpptools` and `lldb-vscode` above. However, support for rust is best in [`CodeLLDB`](https://github.com/vadimcn/vscode-lldb#features). * `./install_gadget.py --enable-rust` or `:VimspectorInstall CodeLLDB` * Example: `support/test/rust/vimspector_test` ```json { "configurations": { "launch": { "adapter": "CodeLLDB", "filetypes": [ "rust" ], "configuration": { "request": "launch", "program": "${workspaceRoot}/target/debug/vimspector_test" } }, "attach": { "adapter": "CodeLLDB", "filetypes": [ "rust", "c", "cpp", "jai" ], "configuration": { "request": "attach", "program": "${workspaceRoot}/${fileBasenameNoExtension}", "PID": "${PID}" } } } } ``` * Docs: https://github.com/vadimcn/vscode-lldb/blob/master/MANUAL.md * ***NOTE***: The CodeLLDB manual assumes you are using VSCode (sigh) and therefore says things which don't work in vimspector, as there is a whole load of javascript nonesense behind every VSCode plugin. I can't possibly document all the wierdnesses, but the following are known 1. To use the ["custom" launch](https://github.com/vadimcn/vscode-lldb/blob/master/MANUAL.md#custom-launch), you can't use `"request": "custom"` - this is invalid. Instead use `"request": "launch", "custom": true`. Because [reasons](https://github.com/vadimcn/vscode-lldb/blob/master/extension/main.ts#L397-L401) 2. All the integration with `cargo` is done in the vscode javascript madness, so is not supported. 3. The stuff about [remote agents](https://github.com/vadimcn/vscode-lldb/blob/master/MANUAL.md#connecting-to-a-gdbserver-style-agent) uses `"request": custom`; see the point about "custom" launch above ## Jai Jai debugging works fine with any of the other native debuggers. I recommend [CodeLLDB](#rust), but cpptools also works. Example: ```jsonc { "$schema": "https://puremourning.github.io/vimspector/schema/vimspector.schema.json", "adapters": { "gdb-with-build": { "extends": "vscode-cpptools", "variables": { "buildme": { "shell": "jai ${workspaceRoot}/build.jai" } } }, "codelldb-with-build": { "extends": "CodeLLDB", "variables": { "buildme": { "shell": "jai ${workspaceRoot}/build.jai" } } } }, "configurations": { "Run - gdb": { "adapter": "gdb-with-build", "filetypes": [ "jai" ], "configuration": { "request": "launch", "program": "${workspaceRoot}/${binaryName}", "args": [ "*${args}" ], "stopAtEntry": true, "stopOnEntry": true } }, "Run - lldb": { "extends": "Run - gdb", "filetypes": [ "jai" ], "adapter": "codelldb-with-build" }, "Attach - gdb": { "adapter": "vscode-cpptools", "filetypes": [ "jai" ], "configuration": { "request": "attach", "program": "${workspaceRoot}/${binaryName}", "processId": "${PID}" } }, "Attach - lldb": { "extends": "Attach - gdb", "filetypes": [ "jai" ], "adapter": "CodeLLDB", "configuration": { "pid": "${PID}" } } } } ``` <img width="1031" alt="Screenshot 2022-10-09 at 11 27 13" src="https://user-images.githubusercontent.com/10584846/194751648-72419216-2e4c-4ddc-adf7-9008f7e4f3c2.png"> ## Python * Python: [debugpy][] * Install with `install_gadget.py --enable-python` or `:VimspectorInstall debugpy`, ideally requires a working compiler and the python development headers/libs to build a C python extension for performance. * ***NOTE***: Debugpy no longer supports python 2. In order to continue to debug python 2 applications, use the `debugpy-python2` adapter after installing the `debugpy-python2` gadget. * Full options: https://github.com/microsoft/debugpy/wiki/Debug-configuration-settings ```json { "configurations": { "<name>: Launch": { "adapter": "debugpy", "filetypes": [ "python" ], "configuration": { "name": "<name>: Launch", "type": "python", "request": "launch", "cwd": "<working directory>", "python": "/path/to/python/interpreter/to/use", "stopOnEntry": true, "console": "externalTerminal", "debugOptions": [], "program": "<path to main python file>" } } ... } } ``` ### Python Remote Debugging In order to use remote debugging with debugpy, you have to connect Vimspector directly to the application that is being debugged. This is easy, but it's a little different from how we normally configure things. Specifically, you need to: * Start your application with debugpy, specifying the `--listen` argument. See [the debugpy documentation](https://github.com/microsoft/debugpy#debugpy-cli-usage) for details. * Use the built-in "multi-session" adapter. This just asks for the host/port to connect to. For example: ```json { "configurations": { "Python Attach": { "adapter": "multi-session", "filetypes": [ "python" ], // optional "configuration": { "request": "attach", "pathMappings": [ // mappings here (optional) ] } } } } ``` See [details of the launch configuration](https://github.com/microsoft/debugpy/wiki/Debug-configuration-settings) for explanation of things like `pathMappings`. Additional documentation, including how to do this when the remote machine can only be contacted via SSH [are provided by debugpy](https://github.com/microsoft/debugpy/wiki/Debugging-over-SSH). ### Python Remote launch and attach If you're feeling fancy, checkout the [reference guide][remote-debugging] for an example of getting Vimspector to remotely launch and attach. ### Python 2 In order to continue to debug python 2 applications, ensure that you install the `debugpy-python2` gadget (e.g. `--force-enable-python2` or `:VimspectorInstall debugpy-python2`), and then change your configuration to use: ```json { "configurations": { "Python Attach": { "adapter": "debugpy-python2", // ... } } } ``` for examk ## TCL * TCL (TclProDebug) See [my fork of TclProDebug](https://github.com/puremourning/TclProDebug) for instructions. ## C♯ * C# - dotnet core Install with `install_gadget.py --force-enable-csharp` or `:VimspectorInstall netcoredbg` ```json { "configurations": { "launch - netcoredbg": { "adapter": "netcoredbg", "filetypes": [ "cs", "fsharp", "vbnet" ], // optional "configuration": { "request": "launch", "program": "${workspaceRoot}/bin/Debug/netcoreapp2.2/csharp.dll", "args": [], "stopAtEntry": true, "cwd": "${workspaceRoot}", "env": {} } } } } ``` ## Go * Go (delve dap) Requires: * `install_gadget.py --enable-go` or `:VimspectorInstall delve` * `go 1.16` or later (YMMV on earlier versions) This uses the DAP support built in to the delve debugger ```json { "configurations": { "run": { "adapter": "delve", "filetypes": [ "go" ], // optional "variables": { // example, to disable delve's go version check // "dlvFlags": "--check-go-version=false" }, "configuration": { "request": "launch", "program": "${fileDirname}", "mode": "debug" } } } } ``` Use Variables to configure the following: * `dlvFlags`: (string) additional command line arguments to pass to delve The debugger (delve) is launched in a terminal window so that you can see its output and pass input to the debuggee. See [vscode-go docs](https://github.com/golang/vscode-go/blob/master/docs/debugging.md#launchjson-attributes) for full launch options. Yes, it seems that's the only place they are documented (apparently, they are not documented by delve itself). The vscode-go docs also have useful [troubleshooting information](https://github.com/golang/vscode-go/blob/master/docs/debugging.md#troubleshooting) * Go (legacy vscode-go) Requires: * `install_gadget.py --enable-go` or `:VimspectorInstall vscode-go` * [Delve][delve-install] installed, e.g. `go get -u github.com/go-delve/delve/cmd/dlv` * Delve to be in your PATH, or specify the `dlvToolPath` launch option NOTE: Vimspector uses the ["legacy" vscode-go debug adapter](https://github.com/golang/vscode-go/blob/master/docs/debugging-legacy.md) rather than the "built-in" DAP support in Delve. You can track https://github.com/puremourning/vimspector/issues/186 for that. ```json { "configurations": { "run": { "adapter": "vscode-go", "filetypes": [ "go" ], // optional "configuration": { "request": "launch", "program": "${fileDirname}", "mode": "debug", "dlvToolPath": "$HOME/go/bin/dlv" // example, to disable delve's go version check // "dlvFlags": [ "--check-go-version=false" ] } } } } ``` See the vscode-go docs for [troubleshooting information](https://github.com/golang/vscode-go/blob/master/docs/debugging-legacy.md#troubleshooting) ## PHP This uses the php-debug, see https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-debug Requires: * (optional) Xdebug helper for chrome https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc * `install_gadget.py --force-enable-php` or `:VimspectorInstall vscode-php-debug` * configured php xdebug extension * nodejs for vscode-php-debug ```ini zend_extension=xdebug.so xdebug.remote_enable=on xdebug.remote_handler=dbgp xdebug.remote_host=localhost xdebug.remote_port=9000 ``` replace `localhost` with the ip of your workstation. lazy alternative ```ini zend_extension=xdebug.so xdebug.remote_enable=on xdebug.remote_handler=dbgp xdebug.remote_connect_back=true xdebug.remote_port=9000 ``` * .vimspector.json ```json { "configurations": { "Listen for XDebug": { "adapter": "vscode-php-debug", "filetypes": [ "php" ], // optional "configuration": { "name": "Listen for XDebug", "type": "php", "request": "launch", "port": 9000, "stopOnEntry": false, "pathMappings": { "/var/www/html": "${workspaceRoot}" } } }, "Launch currently open script": { "adapter": "vscode-php-debug", "filetypes": [ "php" ], // optional "configuration": { "name": "Launch currently open script", "type": "php", "request": "launch", "program": "${file}", "cwd": "${fileDirname}", "port": 9000 } } } } ``` ### Debug web application append `XDEBUG_SESSION_START=xdebug` to your query string ``` curl "http://localhost?XDEBUG_SESSION_START=xdebug" ``` or use the previously mentioned Xdebug Helper extension (which sets a `XDEBUG_SESSION` cookie) ### Debug cli application ``` export XDEBUG_CONFIG="idekey=xdebug" php <path to script> ``` ## JavaScript, TypeScript, etc. * Node.js Requires: * `install_gadget.py --force-enable-node` * For installation, a Node.js environment that is < node 12. I believe this is an incompatibility with gulp. Advice, use [nvm](https://github.com/nvm-sh/nvm) with `nvm install --lts 10; nvm use --lts 10; ./install_gadget.py --force-enable-node ...` * Options described here: https://code.visualstudio.com/docs/nodejs/nodejs-debugging * Example: `support/test/node/simple` ```json { "configurations": { "run": { "adapter": "vscode-node", "filetypes": [ "javascript", "typescript" ], // optional "configuration": { "request": "launch", "protocol": "auto", "stopOnEntry": true, "console": "integratedTerminal", "program": "${workspaceRoot}/simple.js", "cwd": "${workspaceRoot}" } } } } ``` * Chrome/Firefox This uses the chrome/firefox debugger (they are very similar), see https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome and https://marketplace.visualstudio.com/items?itemName=firefox-devtools.vscode-firefox-debug, respectively. It allows you to debug scripts running inside chrome from within Vim. * `./install_gadget.py --force-enable-chrome` or `:VimspectorInstall debugger-for-chrome` * `./install_gadget.py --force-enable-firefox` or `:VimspectorInstall debugger-for-firefox` * Example: `support/test/web` ```json { "configurations": { "chrome": { "adapter": "chrome", "configuration": { "request": "launch", "url": "http://localhost:1234/", "webRoot": "${workspaceRoot}/www" } }, "firefox": { "adapter": "firefox", "configuration": { "request": "launch", "url": "http://localhost:1234/", "webRoot": "${workspaceRoot}/www", "reAttach": true } } } } ``` ## Java Vimspector works well with the [java debug server][java-debug-server], which runs as a jdt.ls (Java Language Server) plugin, rather than a standalone debug adapter. Vimspector is not in the business of running language servers, only debug adapters, so this means that you need a compatible Language Server Protocol editor plugin to use Java. I recommend [YouCompleteMe][], which has full support for jdt.ls, and most importantly a trivial way to load the debug adapter and to use it with Vimspector. ### Hot code replace When using the [java debug server][java-debug-server], Vimspector supports the hot code replace custom feature. By default, when the underlying class files change, vimspector asks the user if they wish to reload these classes at runtime. This behaviour can be customised: * `let g:vimspector_java_hotcodereplace_mode = 'ask'` - the default, ask the user for each reload. * `let g:vimspector_java_hotcodereplace_mode = 'always'` - don't ask, always reload * `let g:vimspector_java_hotcodereplace_mode = 'never'` - don't ask, never reload ### Usage with YouCompleteMe * Set up [YCM for java][YcmJava]. * Get Vimspector to download the java debug plugin: `install_gadget.py --force-enable-java <other options...>` or `:VimspectorInstall java-debug-adapter` * Configure Vimspector for your project using the `vscode-java` adapter, e.g.: ```json { "configurations": { "Java Attach": { "adapter": "vscode-java", "filetypes": [ "java" ], "configuration": { "request": "attach", "hostName": "${host}", "port": "${port}", "sourcePaths": [ "${workspaceRoot}/src/main/java", "${workspaceRoot}/src/test/java" ] } } } } ``` * Tell YCM to load the debugger plugin. This should be the `gadgets/<os>` directory, not any specific adapter. e.g. in `.vimrc` ```viml " Tell YCM where to find the plugin. Add to any existing values. let g:ycm_java_jdtls_extension_path = [ \ '</path/to/Vimspector/gadgets/<os>' \ ] ``` * Create a mapping, such as `<leader><F5>` to start the debug server and launch vimspector, e.g. in `~/.vim/ftplugin/java.vim`: ```viml let s:jdt_ls_debugger_port = 0 function! s:StartDebugging() if s:jdt_ls_debugger_port <= 0 " Get the DAP port let s:jdt_ls_debugger_port = youcompleteme#GetCommandResponse( \ 'ExecuteCommand', \ 'vscode.java.startDebugSession' ) if s:jdt_ls_debugger_port == '' echom "Unable to get DAP port - is JDT.LS initialized?" let s:jdt_ls_debugger_port = 0 return endif endif " Start debugging with the DAP port call vimspector#LaunchWithSettings( { 'DAPPort': s:jdt_ls_debugger_port } ) endfunction nnoremap <silent> <buffer> <Leader><F5> :call <SID>StartDebugging()<CR> ``` You can then use `<Leader><F5>` to start debugging rather than just `<F5>`. If you see "Unable to get DAP port - is JDT.LS initialized?", try running `:YcmCompleter ExecuteCommand vscode.java.startDebugSession` and note the output. If you see an error like `ResponseFailedException: Request failed: -32601: No delegateCommandHandler for vscode.java.startDebugSession`, make sure that: * Your YCM jdt.ls is actually working, see the [YCM docs](https://github.com/ycm-core/YouCompleteMe#troubleshooting) for troubleshooting * The YCM jdt.ls has had time to initialize before you start the debugger * That `g:ycm_java_jdtls_extension_path` is set in `.vimrc` or prior to YCM starting For the launch arguments, see the [vscode document](https://code.visualstudio.com/docs/java/java-debugging). ### Other LSP clients See [this issue](https://github.com/puremourning/vimspector/issues/3) for more background. ## Lua Lua is supported through [local-lua-debugger-vscode](https://github.com/tomblind/local-lua-debugger-vscode). This debugger uses stdio to communicate with the running process, so calls to `io.read` will cause problems. * `./install_gadget.py --enable-lua` or `:VimspectorInstall local-lua-debugger-vscode` * Examples: `support/test/lua/simple` and `support/test/lua/love` ```json { "$schema": "https://puremourning.github.io/vimspector/schema/vimspector.schema.json#", "configurations": { "lua": { "adapter": "lua-local", "filetypes": [ "lua" ], "configuration": { "request": "launch", "type": "lua-local", "cwd": "${workspaceFolder}", "program": { "lua": "lua", "file": "${file}" } } }, "luajit": { "adapter": "lua-local", "filetypes": [ "lua" ], "configuration": { "request": "launch", "type": "lua-local", "cwd": "${workspaceFolder}", "program": { "lua": "luajit", "file": "${file}" } } }, "love": { "adapter": "lua-local", "filetypes": [ "love" ], "configuration": { "request": "launch", "type": "lua-local", "cwd": "${workspaceFolder}", "program": { "command": "love" }, "args": ["${workspaceFolder}"] } } } } ``` ## Other servers * Java - vscode-javac. This works, but is not as functional as Java Debug Server. Take a look at [this comment](https://github.com/puremourning/vimspector/issues/3#issuecomment-576916076) for instructions. - See also [the wiki](https://github.com/puremourning/vimspector/wiki/Additional-Language-Support) which has community-contributed plugin files for some languages. # Customisation There is very limited support for customisation of the UI. ## Changing the default signs Vimsector uses the following signs internally. If they are defined before Vimsector uses them, they will not be replaced. So to customise the signs, define them in your `vimrc`. | Sign | Description | Priority | |---------------------------|-----------------------------------------|----------| | `vimspectorBP` | Line breakpoint | 9 | | `vimspectorBPCond` | Conditional line breakpoint | 9 | | `vimspectorBPLog` | Logpoint | 9 | | `vimspectorBPDisabled` | Disabled breakpoint | 9 | | `vimspectorPC` | Program counter (i.e. current line) | 200 | | `vimspectorPCBP` | Program counter and breakpoint | 200 | | `vimspectorCurrentThread` | Focussed thread in stack trace view | 200 | | `vimspectorCurrentFrame` | Current stack frame in stack trace view | 200 | The default symbols are the equivalent of something like the following: ```viml sign define vimspectorBP text=\ ● texthl=WarningMsg sign define vimspectorBPCond text=\ ◆ texthl=WarningMsg sign define vimspectorBPLog text=\ ◆ texthl=SpellRare sign define vimspectorBPDisabled text=\ ● texthl=LineNr sign define vimspectorPC text=\ ▶ texthl=MatchParen linehl=CursorLine sign define vimspectorPCBP text=●▶ texthl=MatchParen linehl=CursorLine sign define vimspectorCurrentThread text=▶ texthl=MatchParen linehl=CursorLine sign define vimspectorCurrentFrame text=▶ texthl=Special linehl=CursorLine ``` If the signs don't display properly, your font probably doesn't contain these glyphs. You can easily change them by defining the sign in your vimrc. For example, you could put this in your `vimrc` to use some simple ASCII symbols: ```viml sign define vimspectorBP text=o texthl=WarningMsg sign define vimspectorBPCond text=o? texthl=WarningMsg sign define vimspectorBPLog text=!! texthl=SpellRare sign define vimspectorBPDisabled text=o! texthl=LineNr sign define vimspectorPC text=\ > texthl=MatchParen sign define vimspectorPCBP text=o> texthl=MatchParen sign define vimspectorCurrentThread text=> texthl=MatchParen sign define vimspectorCurrentFrame text=> texthl=Special ``` ## Sign priority Many different plugins provide signs for various purposes. Examples include diagnostic signs for code errors, etc. Vim provides only a single priority to determine which sign should be displayed when multiple signs are placed at a single line. If you are finding that other signs are interfering with vimspector's (or vice-versa), you can customise the priority used by vimspector by setting the following dictionary: ```viml let g:vimspector_sign_priority = { \ '<sign-name>': <priority>, \ } ``` For example: ```viml let g:vimspector_sign_priority = { \ 'vimspectorBP': 3, \ 'vimspectorBPCond': 2, \ 'vimspectorBPLog': 2, \ 'vimspectorBPDisabled': 1, \ 'vimspectorPC': 999, \ } ``` All keys are optional. If a sign is not customised, the default priority it used (as shown above). See `:help sign-priority`. The default priority is 10, larger numbers override smaller ones. ## Changing the default window sizes > ***Please Note***: This customisation API is ***unstable***, meaning that it may change at any time. I will endeavour to reduce the impact of this and announce changes in Gitter. The following options control the default sizes of the UI windows (all of them are numbers) - `g:vimspector_sidebar_width` (default: 50 columns): The width in columns of the left utility windows (variables, watches, stack trace) - `g:vimspector_bottombar_height` (default 10 lines): The height in rows of the output window below the code window. Example: ```viml let g:vimspector_sidebar_width = 75 let g:vimspector_bottombar_height = 15 ``` ## Changing the terminal size The terminal is typically created as a vertical split to the right of the code window, and that window is re-used for subsequent terminal buffers. The following control the sizing of the terminal window used for debuggee input/output when using Vim's built-in terminal. - `g:vimspector_code_minwidth` (default: 82 columns): Minimum number of columns to try and maintain for the code window when splitting to create the terminal window. - `g:vimspector_terminal_maxwidth` (default: 80 columns): Maximum number of columns to use for the terminal. - `g:vimspector_terminal_minwidth` (default: 10 columns): Minimum number of columns to use when it is not possible to fit `g:vimspector_terminal_maxwidth` columns for the terminal. That's a lot of options, but essentially we try to make sure that there are at least `g:vimspector_code_minwidth` columns for the main code window and that the terminal is no wider than `g:vimspector_terminal_maxwidth` columns. `g:vimspector_terminal_minwidth` is there to ensure that there's a reasonable number of columns for the terminal even when there isn't enough horizontal space to satisfy the other constraints. Example: ```viml let g:vimspector_code_minwidth = 90 let g:vimspector_terminal_maxwidth = 75 let g:vimspector_terminal_minwidth = 20 ``` ## Custom mappings while debugging It's useful to be able to define mappings only while debugging and remove those mappings when debugging is complete. For this purpose, Vimspector provides 2 `User` autocommands: * `VimspectorJumpedToFrame` - triggered whenever a 'break' event happens, or when selecting a stack from to jump to. This can be used to create (for example) buffer-local mappings for any files opened in the code window. * `VimspectorDebugEnded` - triggered when the debug session is terminated (actually when Vimspector is fully reset) An example way to use this is included in `support/custom_ui_vimrc`. In there, these autocommands are used to create buffer-local mappings for any files visited while debugging and to clear them when completing debugging. This is particularly useful for commands like `<Plug>VimspectorBalloonEval` which only make sense while debugging (and only in the code window). Check the commented section `Custom mappings while debugging`. NOTE: This is a fairly advanced feature requiring some nontrivial vimscript. It's possible that this feature will be incorporated into Vimspector in future as it is a common requirement. ## Advanced UI customisation > ***Please Note***: This customisation API is ***unstable***, meaning that it may change at any time. I will endeavour to reduce the impact of this and announce changes in Gitter. The above customisation of window sizes is limited intentionally to keep things simple. Vimspector also provides a way for you to customise the UI without restrictions, by running a `User` autocommand just after creating the UI or opening the terminal. This requires you to write some vimscript, but allows you to do things like: * Hide a particular window or windows * Move a particular window or windows * Resize windows * Have multiple windows for a particular buffer (say, you want 2 watch windows) * etc. You can essentially do anything you could do manually by writing a little vimscript code. The `User` autocommand is raised with `pattern` set with the following values: * `VimspectorUICreated`: Just after setting up the UI for a debug session * `VimspectorTerminalOpened`: Just after opening the terminal window for program input/output. The following global variable is set up for you to get access to the UI elements: `g:vimspector_session_windows`. This is a `dict` with the following keys: * `g:vimspector_session_windows.tabpage`: The tab page for the session * `g:vimspector_session_windows.variables`: Window ID of the variables window, containing the `vimspector.Variables` buffer. * `g:vimspector_session_windows.watches`: Window ID of the watches window, containing the `vimspector.Watches` buffer. * `g:vimspector_session_windows.stack_trace`: Window ID of the stack trade window containing the `vimspector.StackTrace` buffer. * `g:vimspector_session_windows.code`: Window ID of the code window. * `g:vimspector_session_windows.output`: Window ID of the output window. In addition, the following key is added when triggering the `VimspectorTerminalOpened` event: * `g:vimspector_session_windows.terminal`: Window ID of the terminal window ## Customising the WinBar You can even customise the WinBar buttons by simply running the usual `menu` (and `unmenu`) commands. By default, Vimspector uses something a bit like this: ```viml nnoremenu WinBar.■\ Stop :call vimspector#Stop( { 'interactive': v:false } )<CR> nnoremenu WinBar.▶\ Cont :call vimspector#Continue()<CR> nnoremenu WinBar.▷\ Pause :call vimspector#Pause()<CR> nnoremenu WinBar.↷\ Next :call vimspector#StepOver()<CR> nnoremenu WinBar.→\ Step :call vimspector#StepInto()<CR> nnoremenu WinBar.←\ Out :call vimspector#StepOut()<CR> nnoremenu WinBar.⟲: :call vimspector#Restart()<CR> nnoremenu WinBar.✕ :call vimspector#Reset( { 'interactive': v:false } )<CR> ``` If you prefer a different layout or if the unicode symbols don't render correctly in your font, you can customise this in the `VimspectorUICreated` autocommand, for example: ```viml func! CustomiseUI() call win_gotoid( g:vimspector_session_windows.code ) " Clear the existing WinBar created by Vimspector nunmenu WinBar " Create our own WinBar nnoremenu WinBar.Kill :call vimspector#Stop( { 'interactive': v:true } )<CR> nnoremenu WinBar.Continue :call vimspector#Continue()<CR> nnoremenu WinBar.Pause :call vimspector#Pause()<CR> nnoremenu WinBar.Step\ Over :call vimspector#StepOver()<CR> nnoremenu WinBar.Step\ In :call vimspector#StepInto()<CR> nnoremenu WinBar.Step\ Out :call vimspector#StepOut()<CR> nnoremenu WinBar.Restart :call vimspector#Restart()<CR> nnoremenu WinBar.Exit :call vimspector#Reset()<CR> endfunction augroup MyVimspectorUICustomistaion autocmd! autocmd User VimspectorUICreated call s:CustomiseUI() augroup END ``` ## Example There is some example code in `support/custom_ui_vimrc` showing how you can use the window IDs to modify various aspects of the UI using some basic vim commands, primarily `win_gotoid` function and the `wincmd` ex command. To try this out `vim -Nu support/custom_ui_vimrc <some file>`. Here's a rather smaller example. A simple way to use this is to drop it into a file named `my_vimspector_ui.vim` in `~/.vim/plugin` (or paste into your `vimrc`): ```viml " Set the basic sizes let g:vimspector_sidebar_width = 80 let g:vimspector_code_minwidth = 85 let g:vimspector_terminal_minwidth = 75 function! s:CustomiseUI() " Customise the basic UI... " Close the output window call win_gotoid( g:vimspector_session_windows.output ) q endfunction function s:SetUpTerminal() " Customise the terminal window size/position " For some reasons terminal buffers in Neovim have line numbers call win_gotoid( g:vimspector_session_windows.terminal ) set norelativenumber nonumber endfunction augroup MyVimspectorUICustomistaion autocmd! autocmd User VimspectorUICreated call s:CustomiseUI() autocmd User VimspectorTerminalOpened call s:SetUpTerminal() augroup END ``` # FAQ 1. Q: Does it work with _this_ language? A: Probably, but it won't necessarily be easy to work out what to put in the `.vimspector.json`. As you can see above, some of the servers aren't really editor agnostic, and require very-specific unique handling. See [the wiki](https://github.com/puremourning/vimspector/wiki/Additional-Language-Support) for details on additional language support 3. How do I stop it starting a new Terminal.app on macOS? See [this comment](https://github.com/puremourning/vimspector/issues/90#issuecomment-577857322) 4. Can I specify answers to the annoying questions about exception breakpoints in my `.vimspector.json` ? Yes, see [here][vimspector-ref-exception]. 5. Do I have to specify the file to execute in `.vimspector.json`, or could it be the current vim file? You don't need to. You can specify $file for the current active file. See [here][vimspector-ref-var] for complete list of replacements in the configuration file. 6. You allow comments in `.vimspector.json`, but Vim highlights these as errors, do you know how to make this not-an-error? Yes, put this in `~/.vim/after/syntax/json.vim`: ```viml syn region jsonComment start="/\*" end="\*/" hi link jsonCommentError Comment hi link jsonComment Comment ``` 7. What is the difference between a `gadget` and an `adapter`? A gadget is something you install with `:VimspectorInstall` or `install_gadget.py`, an `adapter` is something that Vimspector talks to (actually it's the Vimspector config describing that thing). These are _usually_ one-to-one, but in theory a single gadget can supply multiple `adapter` configs. Typically this happens when a `gadget` supplies different `adapter` config for, say remote debugging, or debugging in a container, etc. 8. The signs and winbar display funny symbols. How do I fix them? See [this](#changing-the-default-signs) and [this](#customising-the-winbar) 9. What's this telemetry stuff all about? Are you sending my data to evil companies? Debug adapters (for some reason) send telemetry data to clients. Vimspector simply displays this information in the output window. It *does not* and *will not ever* collect, use, forward or otherwise share any data with any third parties. 10. Do I _have_ to put a `.vimspector.json` in the root of every project? No, you can use `g:vimspector_adapters` and `g:vimspector_configurations` or put all of your adapter and debug configs in a [single directory](https://puremourning.github.io/vimspector/configuration.html#debug-configurations) if you want to, but note the caveat that `${workspaceRoot}` won't be calculated correctly in that case. The vimsepctor author uses this [a lot](https://github.com/puremourning/.vim-mac/tree/master/vimspector-conf) 11. I'm confused about remote debugging configuration, can you explain it? eh... kind of. Reference: https://puremourning.github.io/vimspector/configuration.html#remote-debugging-support. Some explanations here too: https://github.com/puremourning/vimspector/issues/478#issuecomment-943515093 12. I'm trying to debug a Django (django?) project and it's not working. Can you help? sure, check [this link which has a working example](https://www.reddit.com/r/neovim/comments/mz4ari/how_to_set_up_vimspector_for_django_debugging/). Or google it. 13. Can vimspector build my code before debugging it? Can I deploy it to a remote host before debugging it? No, not really. Vimspector is just a debugger, not a task system or build automation system - there are other tools for that. There is however a hack you can use - you can use a 'shell' variable to execute a command and just discard the output. Other options are discussed in [this issue](https://github.com/puremourning/vimspector/issues/227) 14. It's annoying to manually type in the PID when attaching. Do you have a PID picker? There's no PID picker in vimspector at the moment, but you could write something and wrap `vimspector#LaunchWithSettings( { 'ThePID': the_pid_i_picked } )`. Alternatively, you could use a `shell` variable to guess the PID, like this (which runs `pgrep vim | sort | tail -1` to get the 'highest' PID of the command to be debugged (NOTE: this is for debugging Vim. replace with something appropriate to your actual use case. If this doesn't make sense to you, you might be better off just typing in the PID). ```json "Attach: max PID": { "adapter": "CodeLLDB", "variables": { "pid": { "shell": [ "/bin/bash", "-c", "pgrep vim | sort | tail -1" ] } }, "configuration": { "request": "attach", "program": "${workspaceRoot}/src/vim", "expressions": "native", "stopOnEntry#json": "${StopOnEntry:true}", "pid": "${pid}" } }, ``` Example `g:vimspector_adapters` and `g:vimspector_configurations`: ```viml let g:vimspector_adapters = #{ \ test_debugpy: #{ extends: 'debugpy' } \ } let g:vimspector_configurations = { \ "test_debugpy_config": { \ "adapter": "test_debugpy", \ "filetypes": [ "python" ], \ "configuration": { \ "request": "launch", \ "type": "python", \ "cwd": "${fileDirname}", \ "args": [], \ "program": "${file}", \ "stopOnEntry": v:false, \ "console": "integratedTerminal", \ "integer": 123, \ }, \ "breakpoints": { \ "exception": { \ "raised": "N", \ "uncaught": "", \ "userUnhandled": "" \ } \ } \ } } ``` [ycmd]: https://github.com/Valloric/ycmd [gitter]: https://gitter.im/vimspector/Lobby?utm_source=share-link&utm_medium=link&utm_campaign=share-link [java-debug-server]: https://github.com/Microsoft/java-debug [website]: https://puremourning.github.io/vimspector-web/ [delve]: https://github.com/go-delve/delve [delve-install]: https://github.com/go-delve/delve/tree/master/Documentation/installation [vimspector-ref]: https://puremourning.github.io/vimspector/configuration.html [vimspector-ref-var]: https://puremourning.github.io/vimspector/configuration.html#replacements-and-variables [vimspector-ref-exception]: https://puremourning.github.io/vimspector/configuration.html#exception-breakpoints [vimspector-ref-config-selection]: https://puremourning.github.io/vimspector/configuration.html#configuration-selection [debugpy]: https://github.com/microsoft/debugpy [YouCompleteMe]: https://github.com/ycm-core/YouCompleteMe#java-semantic-completion [remote-debugging]: https://puremourning.github.io/vimspector/configuration.html#remote-debugging-support [YcmJava]: https://github.com/ycm-core/YouCompleteMe#java-semantic-completion
35
Solving i18n for client-side and resource-constrained environments.
# ICU4X [![Docs](https://docs.rs/icu/badge.svg)](https://docs.rs/icu) [![Build Status](https://github.com/unicode-org/icu4x/actions/workflows/build-test.yml/badge.svg)](https://github.com/unicode-org/icu4x/actions) [![Coverage Status (Coveralls)](https://coveralls.io/repos/github/unicode-org/icu4x/badge.svg?branch=main)](https://coveralls.io/github/unicode-org/icu4x?branch=main) [![Coverage Status (Codecov)](https://codecov.io/gh/unicode-org/icu4x/branch/main/graph/badge.svg)](https://codecov.io/gh/unicode-org/icu4x) Welcome to the home page for the `ICU4X` project. `ICU4X` provides components enabling wide range of software internationalization. It draws deeply from the experience of [`ICU4C`](https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/), [`ICU4J`](https://unicode-org.github.io/icu-docs/apidoc/released/icu4j/) and [`ECMA-402`](https://github.com/tc39/ecma402/) and relies on data from the [`CLDR`](http://cldr.unicode.org/) project. The design goals of `ICU4X` are: * Small and modular code * Pluggable locale data * Availability and ease of use in multiple programming languages * Written by internationalization experts to encourage best practices ***Stay informed!*** Join our public, low-traffic mailing list: [[email protected]](https://groups.google.com/u/1/a/unicode.org/g/icu4x-announce). *Note: After subscribing, check your spam folder for a confirmation.* ## Documentation For an introduction to the project, please visit the ["Introduction to ICU4X for Rust"](docs/tutorials/intro.md) tutorial. Further tutorials can be found in the [tutorial index](docs/tutorials/index.md). For technical information on how to use ICU4X, visit our [API docs](https://unicode-org.github.io/icu4x-docs/doc/icu/index.html). More information about the project can be found in [the docs subdirectory](docs/README.md). ## Quick Start An example `ICU4X` powered application in Rust may look like below... `Cargo.toml`: ```toml [dependencies] icu = "1.0.0" icu_testdata = "1.0.0" ``` `src/main.rs`: ```rust use icu::calendar::DateTime; use icu::datetime::{options::length, DateTimeFormatter}; use icu::locid::locale; let options = length::Bag::from_date_time_style(length::Date::Long, length::Time::Medium).into(); let dtf = DateTimeFormatter::try_new_unstable(&icu_testdata::unstable(), &locale!("es").into(), options) .expect("Failed to create DateTimeFormatter instance."); let date = DateTime::try_new_iso_datetime(2020, 9, 12, 12, 35, 0).expect("Failed to parse date."); let date = date.to_any(); let formatted_date = dtf.format(&date).expect("Formatting failed"); assert_eq!( formatted_date.to_string(), "12 de septiembre de 2020, 12:35:00" ); ``` ## Development `ICU4X` is developed by the `ICU4X-SC`. We are a subcommittee of ICU-TC in the Unicode Consortium focused on providing solutions for client-side internationalization. See [unicode.org](https://www.unicode.org/consortium/techchairs.html) for more information on our governance. Please subscribe to this repository to participate in discussions. If you want to contribute, see our [contributing.md](CONTRIBUTING.md). ## Charter *For the full charter, including answers to frequently asked questions, see [charter.md](docs/process/charter.md).* ICU4X is a new project whose objective is to solve the needs of clients who wish to provide client-side internationalization for their products in resource-constrained environments. ICU4X, or "ICU for X", will be built from the start with several key design constraints: 1. Small and modular code. 2. Pluggable locale data. 3. Availability and ease of use in multiple programming languages. 4. Written by internationalization experts to encourage best practices. ICU4X will provide an ECMA-402-compatible API surface in the target client-side platforms, including the web platform, iOS, Android, WearOS, WatchOS, Flutter, and Fuchsia, supported in programming languages including Rust, JavaScript, Objective-C, Java, Dart, and C++.
36
Python sample codes for robotics algorithms.
<img src="https://github.com/AtsushiSakai/PythonRobotics/raw/master/icon.png?raw=true" align="right" width="300" alt="header pic"/> # PythonRobotics ![GitHub_Action_Linux_CI](https://github.com/AtsushiSakai/PythonRobotics/workflows/Linux_CI/badge.svg) ![GitHub_Action_MacOS_CI](https://github.com/AtsushiSakai/PythonRobotics/workflows/MacOS_CI/badge.svg) [![Build status](https://ci.appveyor.com/api/projects/status/sb279kxuv1be391g?svg=true)](https://ci.appveyor.com/project/AtsushiSakai/pythonrobotics) [![codecov](https://codecov.io/gh/AtsushiSakai/PythonRobotics/branch/master/graph/badge.svg)](https://codecov.io/gh/AtsushiSakai/PythonRobotics) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/AtsushiSakai/PythonRobotics.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/AtsushiSakai/PythonRobotics/context:python) [![tokei](https://tokei.rs/b1/github/AtsushiSakai/PythonRobotics)](https://github.com/AtsushiSakai/PythonRobotics) Python codes for robotics algorithm. # Table of Contents * [What is this?](#what-is-this) * [Requirements](#requirements) * [Documentation](#documentation) * [How to use](#how-to-use) * [Localization](#localization) * [Extended Kalman Filter localization](#extended-kalman-filter-localization) * [Particle filter localization](#particle-filter-localization) * [Histogram filter localization](#histogram-filter-localization) * [Mapping](#mapping) * [Gaussian grid map](#gaussian-grid-map) * [Ray casting grid map](#ray-casting-grid-map) * [Lidar to grid map](#lidar-to-grid-map) * [k-means object clustering](#k-means-object-clustering) * [Rectangle fitting](#rectangle-fitting) * [SLAM](#slam) * [Iterative Closest Point (ICP) Matching](#iterative-closest-point-icp-matching) * [FastSLAM 1.0](#fastslam-10) * [Path Planning](#path-planning) * [Dynamic Window Approach](#dynamic-window-approach) * [Grid based search](#grid-based-search) * [Dijkstra algorithm](#dijkstra-algorithm) * [A* algorithm](#a-algorithm) * [D* algorithm](#d-algorithm) * [D* Lite algorithm](#d-lite-algorithm) * [Potential Field algorithm](#potential-field-algorithm) * [Grid based coverage path planning](#grid-based-coverage-path-planning) * [State Lattice Planning](#state-lattice-planning) * [Biased polar sampling](#biased-polar-sampling) * [Lane sampling](#lane-sampling) * [Probabilistic Road-Map (PRM) planning](#probabilistic-road-map-prm-planning) * [Rapidly-Exploring Random Trees (RRT)](#rapidly-exploring-random-trees-rrt) * [RRT*](#rrt) * [RRT* with reeds-shepp path](#rrt-with-reeds-shepp-path) * [LQR-RRT*](#lqr-rrt) * [Quintic polynomials planning](#quintic-polynomials-planning) * [Reeds Shepp planning](#reeds-shepp-planning) * [LQR based path planning](#lqr-based-path-planning) * [Optimal Trajectory in a Frenet Frame](#optimal-trajectory-in-a-frenet-frame) * [Path Tracking](#path-tracking) * [move to a pose control](#move-to-a-pose-control) * [Stanley control](#stanley-control) * [Rear wheel feedback control](#rear-wheel-feedback-control) * [Linear–quadratic regulator (LQR) speed and steering control](#linearquadratic-regulator-lqr-speed-and-steering-control) * [Model predictive speed and steering control](#model-predictive-speed-and-steering-control) * [Nonlinear Model predictive control with C-GMRES](#nonlinear-model-predictive-control-with-c-gmres) * [Arm Navigation](#arm-navigation) * [N joint arm to point control](#n-joint-arm-to-point-control) * [Arm navigation with obstacle avoidance](#arm-navigation-with-obstacle-avoidance) * [Aerial Navigation](#aerial-navigation) * [drone 3d trajectory following](#drone-3d-trajectory-following) * [rocket powered landing](#rocket-powered-landing) * [Bipedal](#bipedal) * [bipedal planner with inverted pendulum](#bipedal-planner-with-inverted-pendulum) * [License](#license) * [Use-case](#use-case) * [Contribution](#contribution) * [Citing](#citing) * [Support](#support) * [Sponsors](#sponsors) * [JetBrains](#JetBrains) * [1Password](#1password) * [Authors](#authors) # What is this? This is a Python code collection of robotics algorithms. Features: 1. Easy to read for understanding each algorithm's basic idea. 2. Widely used and practical algorithms are selected. 3. Minimum dependency. See this paper for more details: - [\[1808\.10703\] PythonRobotics: a Python code collection of robotics algorithms](https://arxiv.org/abs/1808.10703) ([BibTeX](https://github.com/AtsushiSakai/PythonRoboticsPaper/blob/master/python_robotics.bib)) # Requirements For running each sample code: - [Python 3.11.x](https://www.python.org/) - [NumPy](https://numpy.org/) - [SciPy](https://scipy.org/) - [Matplotlib](https://matplotlib.org/) - [cvxpy](https://www.cvxpy.org/) For development: - [pytest](https://pytest.org/) (for unit tests) - [pytest-xdist](https://pypi.org/project/pytest-xdist/) (for parallel unit tests) - [mypy](http://mypy-lang.org/) (for type check) - [sphinx](https://www.sphinx-doc.org/) (for document generation) - [pycodestyle](https://pypi.org/project/pycodestyle/) (for code style check) # Documentation This README only shows some examples of this project. If you are interested in other examples or mathematical backgrounds of each algorithm, You can check the full documentation online: [Welcome to PythonRobotics’s documentation\! — PythonRobotics documentation](https://atsushisakai.github.io/PythonRobotics/index.html) All animation gifs are stored here: [AtsushiSakai/PythonRoboticsGifs: Animation gifs of PythonRobotics](https://github.com/AtsushiSakai/PythonRoboticsGifs) # How to use 1. Clone this repo. ```terminal git clone https://github.com/AtsushiSakai/PythonRobotics.git ``` 2. Install the required libraries. - using conda : ```terminal conda env create -f requirements/environment.yml ``` - using pip : ```terminal pip install -r requirements/requirements.txt ``` 3. Execute python script in each directory. 4. Add star to this repo if you like it :smiley:. # Localization ## Extended Kalman Filter localization <img src="https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/Localization/extended_kalman_filter/animation.gif" width="640" alt="EKF pic"> Documentation: [Notebook](https://github.com/AtsushiSakai/PythonRobotics/blob/master/Localization/extended_kalman_filter/extended_kalman_filter_localization.ipynb) ## Particle filter localization ![2](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/Localization/particle_filter/animation.gif) This is a sensor fusion localization with Particle Filter(PF). The blue line is true trajectory, the black line is dead reckoning trajectory, and the red line is an estimated trajectory with PF. It is assumed that the robot can measure a distance from landmarks (RFID). These measurements are used for PF localization. Ref: - [PROBABILISTIC ROBOTICS](http://www.probabilistic-robotics.org/) ## Histogram filter localization ![3](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/Localization/histogram_filter/animation.gif) This is a 2D localization example with Histogram filter. The red cross is true position, black points are RFID positions. The blue grid shows a position probability of histogram filter. In this simulation, x,y are unknown, yaw is known. The filter integrates speed input and range observations from RFID for localization. Initial position is not needed. Ref: - [PROBABILISTIC ROBOTICS](http://www.probabilistic-robotics.org/) # Mapping ## Gaussian grid map This is a 2D Gaussian grid mapping example. ![2](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/Mapping/gaussian_grid_map/animation.gif) ## Ray casting grid map This is a 2D ray casting grid mapping example. ![2](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/Mapping/raycasting_grid_map/animation.gif) ## Lidar to grid map This example shows how to convert a 2D range measurement to a grid map. ![2](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/Mapping/lidar_to_grid_map/animation.gif) ## k-means object clustering This is a 2D object clustering with k-means algorithm. ![2](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/Mapping/kmeans_clustering/animation.gif) ## Rectangle fitting This is a 2D rectangle fitting for vehicle detection. ![2](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/Mapping/rectangle_fitting/animation.gif) # SLAM Simultaneous Localization and Mapping(SLAM) examples ## Iterative Closest Point (ICP) Matching This is a 2D ICP matching example with singular value decomposition. It can calculate a rotation matrix, and a translation vector between points and points. ![3](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/SLAM/iterative_closest_point/animation.gif) Ref: - [Introduction to Mobile Robotics: Iterative Closest Point Algorithm](https://cs.gmu.edu/~kosecka/cs685/cs685-icp.pdf) ## FastSLAM 1.0 This is a feature based SLAM example using FastSLAM 1.0. The blue line is ground truth, the black line is dead reckoning, the red line is the estimated trajectory with FastSLAM. The red points are particles of FastSLAM. Black points are landmarks, blue crosses are estimated landmark positions by FastSLAM. ![3](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/SLAM/FastSLAM1/animation.gif) Ref: - [PROBABILISTIC ROBOTICS](http://www.probabilistic-robotics.org/) - [SLAM simulations by Tim Bailey](http://www-personal.acfr.usyd.edu.au/tbailey/software/slam_simulations.htm) # Path Planning ## Dynamic Window Approach This is a 2D navigation sample code with Dynamic Window Approach. - [The Dynamic Window Approach to Collision Avoidance](https://www.ri.cmu.edu/pub_files/pub1/fox_dieter_1997_1/fox_dieter_1997_1.pdf) ![2](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/DynamicWindowApproach/animation.gif) ## Grid based search ### Dijkstra algorithm This is a 2D grid based the shortest path planning with Dijkstra's algorithm. ![PythonRobotics/figure_1.png at master · AtsushiSakai/PythonRobotics](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/Dijkstra/animation.gif) In the animation, cyan points are searched nodes. ### A\* algorithm This is a 2D grid based the shortest path planning with A star algorithm. ![PythonRobotics/figure_1.png at master · AtsushiSakai/PythonRobotics](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/AStar/animation.gif) In the animation, cyan points are searched nodes. Its heuristic is 2D Euclid distance. ### D\* algorithm This is a 2D grid based the shortest path planning with D star algorithm. ![figure at master · nirnayroy/intelligentrobotics](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/DStar/animation.gif) The animation shows a robot finding its path avoiding an obstacle using the D* search algorithm. Ref: - [D* Algorithm Wikipedia](https://en.wikipedia.org/wiki/D*) ### D\* Lite algorithm This algorithm finds the shortest path between two points while rerouting when obstacles are discovered. It has been implemented here for a 2D grid. ![D* Lite](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/DStarLite/animation.gif) The animation shows a robot finding its path and rerouting to avoid obstacles as they are discovered using the D* Lite search algorithm. Refs: - [D* Lite](http://idm-lab.org/bib/abstracts/papers/aaai02b.pd) - [Improved Fast Replanning for Robot Navigation in Unknown Terrain](http://www.cs.cmu.edu/~maxim/files/dlite_icra02.pdf) ### Potential Field algorithm This is a 2D grid based path planning with Potential Field algorithm. ![PotentialField](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/PotentialFieldPlanning/animation.gif) In the animation, the blue heat map shows potential value on each grid. Ref: - [Robotic Motion Planning:Potential Functions](https://www.cs.cmu.edu/~motionplanning/lecture/Chap4-Potential-Field_howie.pdf) ### Grid based coverage path planning This is a 2D grid based coverage path planning simulation. ![PotentialField](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/GridBasedSweepCPP/animation.gif) ## State Lattice Planning This script is a path planning code with state lattice planning. This code uses the model predictive trajectory generator to solve boundary problem. Ref: - [Optimal rough terrain trajectory generation for wheeled mobile robots](http://journals.sagepub.com/doi/pdf/10.1177/0278364906075328) - [State Space Sampling of Feasible Motions for High-Performance Mobile Robot Navigation in Complex Environments](http://www.frc.ri.cmu.edu/~alonzo/pubs/papers/JFR_08_SS_Sampling.pdf) ### Biased polar sampling ![PythonRobotics/figure_1.png at master · AtsushiSakai/PythonRobotics](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/StateLatticePlanner/BiasedPolarSampling.gif) ### Lane sampling ![PythonRobotics/figure_1.png at master · AtsushiSakai/PythonRobotics](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/StateLatticePlanner/LaneSampling.gif) ## Probabilistic Road-Map (PRM) planning ![PRM](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/ProbabilisticRoadMap/animation.gif) This PRM planner uses Dijkstra method for graph search. In the animation, blue points are sampled points, Cyan crosses means searched points with Dijkstra method, The red line is the final path of PRM. Ref: - [Probabilistic roadmap \- Wikipedia](https://en.wikipedia.org/wiki/Probabilistic_roadmap)    ## Rapidly-Exploring Random Trees (RRT) ### RRT\* ![PythonRobotics/figure_1.png at master · AtsushiSakai/PythonRobotics](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/RRTstar/animation.gif) This is a path planning code with RRT\* Black circles are obstacles, green line is a searched tree, red crosses are start and goal positions. Ref: - [Incremental Sampling-based Algorithms for Optimal Motion Planning](https://arxiv.org/abs/1005.0416) - [Sampling-based Algorithms for Optimal Motion Planning](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.419.5503&rep=rep1&type=pdf) ### RRT\* with reeds-shepp path ![Robotics/animation.gif at master · AtsushiSakai/PythonRobotics](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/RRTStarReedsShepp/animation.gif)) Path planning for a car robot with RRT\* and reeds shepp path planner. ### LQR-RRT\* This is a path planning simulation with LQR-RRT\*. A double integrator motion model is used for LQR local planner. ![LQR_RRT](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/LQRRRTStar/animation.gif) Ref: - [LQR\-RRT\*: Optimal Sampling\-Based Motion Planning with Automatically Derived Extension Heuristics](http://lis.csail.mit.edu/pubs/perez-icra12.pdf) - [MahanFathi/LQR\-RRTstar: LQR\-RRT\* method is used for random motion planning of a simple pendulum in its phase plot](https://github.com/MahanFathi/LQR-RRTstar) ## Quintic polynomials planning Motion planning with quintic polynomials. ![2](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/QuinticPolynomialsPlanner/animation.gif) It can calculate a 2D path, velocity, and acceleration profile based on quintic polynomials. Ref: - [Local Path Planning And Motion Control For Agv In Positioning](http://ieeexplore.ieee.org/document/637936/) ## Reeds Shepp planning A sample code with Reeds Shepp path planning. ![RSPlanning](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/ReedsSheppPath/animation.gif?raw=true) Ref: - [15.3.2 Reeds\-Shepp Curves](http://planning.cs.uiuc.edu/node822.html) - [optimal paths for a car that goes both forwards and backwards](https://pdfs.semanticscholar.org/932e/c495b1d0018fd59dee12a0bf74434fac7af4.pdf) - [ghliu/pyReedsShepp: Implementation of Reeds Shepp curve\.](https://github.com/ghliu/pyReedsShepp) ## LQR based path planning A sample code using LQR based path planning for double integrator model. ![RSPlanning](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/LQRPlanner/animation.gif?raw=true) ## Optimal Trajectory in a Frenet Frame ![3](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/FrenetOptimalTrajectory/animation.gif) This is optimal trajectory generation in a Frenet Frame. The cyan line is the target course and black crosses are obstacles. The red line is the predicted path. Ref: - [Optimal Trajectory Generation for Dynamic Street Scenarios in a Frenet Frame](https://www.researchgate.net/profile/Moritz_Werling/publication/224156269_Optimal_Trajectory_Generation_for_Dynamic_Street_Scenarios_in_a_Frenet_Frame/links/54f749df0cf210398e9277af.pdf) - [Optimal trajectory generation for dynamic street scenarios in a Frenet Frame](https://www.youtube.com/watch?v=Cj6tAQe7UCY) # Path Tracking ## move to a pose control This is a simulation of moving to a pose control ![2](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathTracking/move_to_pose/animation.gif) Ref: - [P. I. Corke, "Robotics, Vision and Control" \| SpringerLink p102](https://link.springer.com/book/10.1007/978-3-642-20144-8) ## Stanley control Path tracking simulation with Stanley steering control and PID speed control. ![2](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathTracking/stanley_controller/animation.gif) Ref: - [Stanley: The robot that won the DARPA grand challenge](http://robots.stanford.edu/papers/thrun.stanley05.pdf) - [Automatic Steering Methods for Autonomous Automobile Path Tracking](https://www.ri.cmu.edu/pub_files/2009/2/Automatic_Steering_Methods_for_Autonomous_Automobile_Path_Tracking.pdf) ## Rear wheel feedback control Path tracking simulation with rear wheel feedback steering control and PID speed control. ![PythonRobotics/figure_1.png at master · AtsushiSakai/PythonRobotics](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathTracking/rear_wheel_feedback/animation.gif) Ref: - [A Survey of Motion Planning and Control Techniques for Self-driving Urban Vehicles](https://arxiv.org/abs/1604.07446) ## Linear–quadratic regulator (LQR) speed and steering control Path tracking simulation with LQR speed and steering control. ![3](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathTracking/lqr_speed_steer_control/animation.gif) Ref: - [Towards fully autonomous driving: Systems and algorithms \- IEEE Conference Publication](http://ieeexplore.ieee.org/document/5940562/) ## Model predictive speed and steering control Path tracking simulation with iterative linear model predictive speed and steering control. <img src="https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathTracking/model_predictive_speed_and_steer_control/animation.gif" width="640" alt="MPC pic"> Ref: - [notebook](https://github.com/AtsushiSakai/PythonRobotics/blob/master/PathTracking/model_predictive_speed_and_steer_control/Model_predictive_speed_and_steering_control.ipynb) - [Real\-time Model Predictive Control \(MPC\), ACADO, Python \| Work\-is\-Playing](http://grauonline.de/wordpress/?page_id=3244) ## Nonlinear Model predictive control with C-GMRES A motion planning and path tracking simulation with NMPC of C-GMRES ![3](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathTracking/cgmres_nmpc/animation.gif) Ref: - [notebook](https://github.com/AtsushiSakai/PythonRobotics/blob/master/PathTracking/cgmres_nmpc/cgmres_nmpc.ipynb) # Arm Navigation ## N joint arm to point control N joint arm to a point control simulation. This is an interactive simulation. You can set the goal position of the end effector with left-click on the plotting area. ![3](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/ArmNavigation/n_joint_arm_to_point_control/animation.gif) In this simulation N = 10, however, you can change it. ## Arm navigation with obstacle avoidance Arm navigation with obstacle avoidance simulation. ![3](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/ArmNavigation/arm_obstacle_navigation/animation.gif) # Aerial Navigation ## drone 3d trajectory following This is a 3d trajectory following simulation for a quadrotor. ![3](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/AerialNavigation/drone_3d_trajectory_following/animation.gif) ## rocket powered landing This is a 3d trajectory generation simulation for a rocket powered landing. ![3](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/AerialNavigation/rocket_powered_landing/animation.gif) Ref: - [notebook](https://github.com/AtsushiSakai/PythonRobotics/blob/master/AerialNavigation/rocket_powered_landing/rocket_powered_landing.ipynb) # Bipedal ## bipedal planner with inverted pendulum This is a bipedal planner for modifying footsteps for an inverted pendulum. You can set the footsteps, and the planner will modify those automatically. ![3](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/Bipedal/bipedal_planner/animation.gif) # License MIT # Use-case If this project helps your robotics project, please let me know with creating an issue. Your robot's video, which is using PythonRobotics, is very welcome!! This is a list of user's comment and references:[users\_comments](https://github.com/AtsushiSakai/PythonRobotics/blob/master/users_comments.md) # Contribution Any contribution is welcome!! Please check this document:[How To Contribute — PythonRobotics documentation](https://atsushisakai.github.io/PythonRobotics/how_to_contribute.html) # Citing If you use this project's code for your academic work, we encourage you to cite [our papers](https://arxiv.org/abs/1808.10703) If you use this project's code in industry, we'd love to hear from you as well; feel free to reach out to the developers directly. # <a id="support"></a>Supporting this project If you or your company would like to support this project, please consider: - [Sponsor @AtsushiSakai on GitHub Sponsors](https://github.com/sponsors/AtsushiSakai) - [Become a backer or sponsor on Patreon](https://www.patreon.com/myenigma) - [One-time donation via PayPal](https://www.paypal.me/myenigmapay/) If you would like to support us in some other way, please contact with creating an issue. ## <a id="sponsors"></a>Sponsors ### <a id="JetBrains"></a>[JetBrains](https://www.jetbrains.com/) They are providing a free license of their IDEs for this OSS development. ### [1Password](https://github.com/1Password/1password-teams-open-source) They are providing a free license of their 1Password team license for this OSS project. # Authors - [Contributors to AtsushiSakai/PythonRobotics](https://github.com/AtsushiSakai/PythonRobotics/graphs/contributors)
37
A lightweight, accurate and robust monocular visual inertial odometry based on Multi-State Constraint Kalman Filter.
# LARVIO LARVIO is short for Lightweight, Accurate and Robust monocular Visual Inertial Odometry, which is based on hybrid EKF VIO. It is featured by augmenting features with long track length into the filter state of MSCKF by 1D IDP to provide accurate positioning results. The core algorithm of LARVIO depends on `Eigen`, `Boost`, `Suitesparse`, `Ceres` and `OpenCV`, making the algorithm of good portability. A single-thread toyish example as well as a ROS nodelet package for LARVIO is provided in this repo. Notice that Hamilton quaternion is utilized in LARVIO, which is a little bit different from the JPL quaternion used in traditional MSCKF community. The filter formulation is thus derivated from scratch. Please check our [CJA2020](https://www.sciencedirect.com/science/article/pii/S1000936120301722) and [Senors2019](https://www.mdpi.com/1424-8220/19/8/1941/htm) papers for details. ## Results #### 1) Demo on EuRoC ![LARVIO on EuRoC](https://github.com/PetWorm/LARVIO/blob/master/results/euroc_x8.gif) #### 2) Trajectories RMSEs This is the results of an earlier version of LARVIO. Due to the changes, the current repo might not reproduce the exact results as below. RMSE on EuRoC dataset are listed. Evaluations below are done using [PetWorm/sim3_evaluate_tool](https://github.com/PetWorm/sim3_evaluate_tool). In the newest update, online imu-cam extrinsic and timestamp error calibration in VINS-MONO are turned on to explore its extreme ability. While in this setup, the V102 sequence would somehow fail. The result of VINS-MONO in V102 below is of setup without online calibration. Results of our algorithm are repeatible in every run of every computer I tested so far. ![comparison](https://github.com/PetWorm/LARVIO/blob/master/results/comparison.jpg) #### 3) TUM-VI Dataset <img src="https://github.com/PetWorm/LARVIO/blob/master/results/tumvi_c_1.jpg" width="50%"> #### 4) UZH-FPV Dataset <img src="https://github.com/PetWorm/LARVIO/blob/master/results/uzhfpv_o_f_3.jpg" width="50%"> ## Cross Platform Performance This package has been successfully deployed on ARM (Jetson Nano and Jetson TX2, realtime without GPU refinement). The performances are comparable to the results on PCs. Below is the exper1ment result in our office. A TX2-based multi-thread CPU-only implementation without ROS was developed here. We used [MYNT-EYE-D](https://github.com/slightech/MYNT-EYE-D-SDK) camera SDK to collect monocular images and IMU data, and estimate the camera poses in realtime. We walk around out the office to the corridor or the neighbor room, and return to the start point (in white circle) for a couple of times. ![TX2 implementation](https://github.com/PetWorm/LARVIO/blob/master/results/TX2_result.png) ## Acknowledgement This repo is for academic use only. LARVIO is originally developed based on [MSCKF_VIO](https://github.com/KumarRobotics/msckf_vio). Tremendous changes has been made, including the interface, visualization, visual front-end and filter details. LARVIO also benefits from [VINS-MONO](https://github.com/HKUST-Aerial-Robotics/VINS-Mono) and [ORB_SLAM2](https://github.com/raulmur/ORB_SLAM2). We would like to thank the authors of repos above for their great contribution. We kept the copyright announcement of these repos. ## Introduction LARVIO is an EKF-based monocular VIO. Loop closure was not applied in our algorithm. #### 1) Hybrid EKF with 1D IDP A hybrid EKF architecture is utilized, which is based on the work of [Mingyang Li](http://roboticsproceedings.org/rss08/p31.pdf). It augments features with long track length into the filter state. In LARVIO, One-Dimensional Inverse Depth Parametrization is utilized to parametrize the augmented feature state, which is different from the original 3d solution by Li. This novelty improves the computational efficiency compare to the 3d solution. The positioning precision is also improved thanks to the utilization of complete constraints of features with long track length. #### 2) Online calibration It is capable of online imu-cam extrinsic calibration, online timestamp error calibration and online imu intrinsic calibration. #### 3) Automatic initialization LARVIO can be automatically initialized in either static or dynamic scenerios. #### 4) Robust visual front-end We applied a ORB-descriptor assisted optical flow tracking visual front-end to improve the feature tracking performances. #### 5) Closed-form ZUPT A closed-form ZUPT measurement update is proposed to cope with the static scene. ## Feasibility LARVIO is a feasible software. Users can change the settings in config file to set the VIO as MSCKF-only, 3d hybrid or 1d hybrid solutions. And all the online calibration functions can be turned on or off in each solution by the config file. ## Dependencies LARVIO depends on `Eigen`, `Boost`, `Suitesparse`, `Ceres` and `OpenCV` for the core algorithm. #### Toyish example The toyish example depends on `OpenCV` (4.1.2 on OSX and 3.4.6 on Ubuntu 16.04/18.04), `Pangolin` is needed for visualization. Notice that extra `gcc 7` installation is needed for Ubuntu 16.04. #### ROS nodelet The ROS nodelet package has been tested on `Kinetic` and `Melodic` for Ubuntu 16.04/18.04. Following ROS packages are needed: `tf`, `cv_bridge`, `message_filters` and `image_transport`. ## Usage This part show how to play LARVIO with [EuRoC dataset](https://projects.asl.ethz.ch/datasets/doku.php?id=kmavvisualinertialdatasets). #### Toyish example The toyish LARVIO example is a `CMake` based software. After install the dependencies, try commands below to compile the software: ``` cd LARVIO mkdir build cd build cmake -D CMAKE_BUILD_TYPE=Release .. make ``` An example is given in `LARVIO/run.sh` to show how to run the example. #### ROS nodelet A ROS nodelet package is provided in `LARVIO/ros_wrapper`. It has been tested on `Kinetic` and `Melodic`. Use commands below to compile the nodelet: ``` cd YOUR_PATH/LARVIO/ros_wrapper catkin_make ``` After building it, launch the LARVIO by: ``` . YOUR_PATH/LARVIO/ros_wrapper/devel/setup.bash roslaunch larvio larvio_euroc.launch ``` Open a new terminal, and launch the `rviz` for visualization by (optional): ``` . YOUR_PATH/LARVIO/ros_wrapper/devel/setup.bash roslaunch larvio larvio_rviz.launch ``` Open a new terminal to play the dataset: ``` rosbag play MH_01_easy.bag ``` ## Docker A `Dockerfile` is provided in `LARVIO/docker`. After building it, you need to load dateset and modify the `run.sh` in container to run toyish example, or use 'roslaunch' to run the ROS package. Also, GUI is needed in the host to display the Pangolin and rviz view. There is another VNC docker image which is convinent for monitoring the rviz view. Click [petworm/vnc-larvio-playground](https://hub.docker.com/r/petworm/vnc-larvio-playground) to directly pull this image, or build it from source with [PetWorm/docker-larvio-playground](https://github.com/PetWorm/docker-larvio-playground). ## Related Works Please cite our CJA paper if you use LARVIO in your research: ```txt @article{qiu2020lightweight, title={Lightweight hybrid Visual-Inertial Odometry with Closed-Form Zero Velocity Update}, author={Qiu, Xiaochen and Zhang, Hai and Fu, Wenxing}, journal={Chinese Journal of Aeronautics}, year={2020}, publisher={Elsevier} } ``` Another earlier work illustrating some parts of LARVIO is as below: ```txt @article{qiu2019monocular, title={Monocular Visual-Inertial Odometry with an Unbiased Linear System Model and Robust Feature Tracking Front-End}, author={Qiu, Xiaochen and Zhang, Hai and Fu, Wenxing and Zhao, Chenxu and Jin, Yanqiong}, journal={Sensors}, volume={19}, number={8}, pages={1941}, year={2019}, publisher={Multidisciplinary Digital Publishing Institute} } ```
38
Pluggable Ruby translation framework
Mobility ======== [![Gem Version](https://badge.fury.io/rb/mobility.svg)][gem] [![Build Status](https://github.com/shioyama/mobility/workflows/CI/badge.svg)][actions] [![Code Climate](https://api.codeclimate.com/v1/badges/72200f2b00c339ec4537/maintainability.svg)][codeclimate] [![Gitter Chat](https://badges.gitter.im/mobility-ruby/mobility.svg)](https://gitter.im/mobility-ruby/mobility) [gem]: https://rubygems.org/gems/mobility [actions]: https://github.com/shioyama/mobility/actions [codeclimate]: https://codeclimate.com/github/shioyama/mobility [docs]: http://www.rubydoc.info/gems/mobility [wiki]: https://github.com/shioyama/mobility/wiki **This is the readme for version 1.x of Mobility. If you are using an earlier version (0.8.x or earlier), you probably want the readme on the [0-8 branch](https://github.com/shioyama/mobility/tree/0-8).** Mobility is a gem for storing and retrieving translations as attributes on a class. These translations could be the content of blog posts, captions on images, tags on bookmarks, or anything else you might want to store in different languages. For examples of what Mobility can do, see the <a href="#companies-using-mobility">Companies using Mobility</a> section below. Storage of translations is handled by customizable "backends" which encapsulate different storage strategies. The default way to store translations is to put them all in a set of two shared tables, but many alternatives are also supported, including [translatable columns](http://dejimata.com/2017/3/3/translating-with-mobility#strategy-1) and [model translation tables](http://dejimata.com/2017/3/3/translating-with-mobility#strategy-2), as well as database-specific storage solutions such as [json/jsonb](https://www.postgresql.org/docs/current/static/datatype-json.html) and [Hstore](https://www.postgresql.org/docs/current/static/hstore.html) (for PostgreSQL). Mobility is a cross-platform solution, currently supporting both [ActiveRecord](http://api.rubyonrails.org/classes/ActiveRecord/Base.html) and [Sequel](http://sequel.jeremyevans.net/) ORM, with support for other platforms planned. For a detailed introduction to Mobility, see [Translating with Mobility](http://dejimata.com/2017/3/3/translating-with-mobility). See also my talk at RubyConf 2018, [Building Generic Software](https://www.youtube.com/watch?v=RZkemV_-__A), where I explain the thinking behind Mobility's design. If you're coming from Globalize, be sure to also read the [Migrating from Globalize](https://github.com/shioyama/mobility/wiki/Migrating-from-Globalize) section of the wiki. Installation ------------ Add this line to your application's Gemfile: ```ruby gem 'mobility', '~> 1.2.9' ``` ### ActiveRecord (Rails) Requirements: - ActiveRecord >= 5.0 (including 6.x) (Support for most backends and features is also supported with ActiveRecord/Rails 4.2, but there are some tests still failing. To see exactly what might not work, check pending specs in Rails 4.2 builds.) To translate attributes on a model, extend `Mobility`, then call `translates` passing in one or more attributes as well as a hash of options (see below). If using Mobility in a Rails project, you can run the generator to create an initializer and a migration to create shared translation tables for the default `KeyValue` backend: ``` rails generate mobility:install ``` (If you do not plan to use the default backend, you may want to use the `--without_tables` option here to skip the migration generation.) The generator will create an initializer file `config/initializers/mobility.rb` which looks something like this: ```ruby Mobility.configure do # PLUGINS plugins do backend :key_value active_record reader writer # ... end end ``` Each method call inside the block passed to `plugins` declares a plugin, along with an optional default. To use a different default backend, you can change the default passed to the `backend` plugin, like this: ```diff Mobility.configure do # PLUGINS plugins do - backend :key_value + backend :table ``` See other possible backends in the [backends section](#backends). You can also set defaults for backend-specific options. Below, we set the default `type` option for the KeyValue backend to `:string`. ```diff Mobility.configure do # PLUGINS plugins do - backend :key_value + backend :key_value, type: :string end end ``` We will assume the configuration above in the examples that follow. See [Getting Started](#quickstart) to get started translating your models. ### Sequel Requirements: - Sequel >= 4.0 When configuring Mobility, ensure that you include the `sequel` plugin: ```diff plugins do backend :key_value - active_record + sequel ``` You can extend `Mobility` just like in ActiveRecord, or you can use the `mobility` plugin, which does the same thing: ```ruby class Word < ::Sequel::Model plugin :mobility translates :name, :meaning end ``` Otherwise everything is (almost) identical to AR, with the exception that there is no equivalent to a Rails generator, so you will need to create the migration for any translation table(s) yourself, using Rails generators as a reference. The models in examples below all inherit from `ApplicationRecord`, but everything works exactly the same if the parent class is `Sequel::Model`. Usage ----- ### <a name="quickstart"></a>Getting Started Once the install generator has been run to generate translation tables, using Mobility is as easy as adding a few lines to any class you want to translate. Simply pass one or more attribute names to the `translates` method with a hash of options, like this: ```ruby class Word < ApplicationRecord extend Mobility translates :name, :meaning end ``` Note: When using the KeyValue backend, use the options hash to pass each attribute's type: ```ruby class Word < ApplicationRecord extend Mobility translates :name, type: :string translates :meaning, type: :text end ``` This is important because this is how Mobility knows to which of the [two translation tables](https://github.com/shioyama/mobility/wiki/KeyValue-Backend) it should save your translation. You now have translated attributes `name` and `meaning` on the model `Word`. You can set their values like you would any other attribute: ```ruby word = Word.new word.name = "mobility" word.meaning = "(noun): quality of being changeable, adaptable or versatile" word.name #=> "mobility" word.meaning #=> "(noun): quality of being changeable, adaptable or versatile" word.save word = Word.first word.name #=> "mobility" word.meaning #=> "(noun): quality of being changeable, adaptable or versatile" ``` Presence methods are also supported: ```ruby word.name? #=> true word.name = nil word.name? #=> false word.name = "" word.name? #=> false ``` What's different here is that the value of these attributes changes with the value of `I18n.locale`: ```ruby I18n.locale = :ja word.name #=> nil word.meaning #=> nil ``` The `name` and `meaning` of this word are not defined in any locale except English. Let's define them in Japanese and save the model: ```ruby word.name = "モビリティ" word.meaning = "(名詞):動きやすさ、可動性" word.name #=> "モビリティ" word.meaning #=> "(名詞):動きやすさ、可動性" word.save ``` Now our word has names and meanings in two different languages: ```ruby word = Word.first I18n.locale = :en word.name #=> "mobility" word.meaning #=> "(noun): quality of being changeable, adaptable or versatile" I18n.locale = :ja word.name #=> "モビリティ" word.meaning #=> "(名詞):動きやすさ、可動性" ``` Internally, Mobility is mapping the values in different locales to storage locations, usually database columns. By default these values are stored as keys (attribute names) and values (attribute translations) on a set of translation tables, one for strings and one for text columns, but this can be easily changed and/or customized (see the [Backends](#backends) section below). ### <a name="getset"></a> Getting and Setting Translations The easiest way to get or set a translation is to use the getter and setter methods described above (`word.name` and `word.name=`), enabled by including the `reader` and `writer` plugins. You may also want to access the value of an attribute in a specific locale, independent of the current value of `I18n.locale` (or `Mobility.locale`). There are a few ways to do this. The first way is to define locale-specific methods, one for each locale you want to access directly on a given attribute. These are called "locale accessors" in Mobility, and can be enabled by including the `locale_accessors` plugin, with a default set of accessors: ```diff plugins do # ... + locale_accessors [:en, :ja] ``` You can also override this default from `translates` in any model: ```ruby class Word < ApplicationRecord extend Mobility translates :name, locale_accessors: [:en, :ja] end ``` Since we have enabled locale accessors for English and Japanese, we can access translations for these locales with `name_en` and `name_ja`: ```ruby word.name_en #=> "mobility" word.name_ja #=> "モビリティ" word.name_en = "foo" word.name #=> "foo" ``` Other locales, however, will not work: ```ruby word.name_ru #=> NoMethodError: undefined method `name_ru' for #<Word id: ... > ``` With no plugin option (or a default of `true`), Mobility generates methods for all locales in `I18n.available_locales` at the time the model is first loaded. An alternative to using the `locale_accessors` plugin is to use the `fallthrough_accessors` plugin. This uses Ruby's [`method_missing`](http://apidock.com/ruby/BasicObject/method_missing) method to implicitly define the same methods as above, but supporting any locale without any method definitions. (Locale accessors and fallthrough locales can be used together without conflict, with locale accessors taking precedence if defined for a given locale.) Ensure the plugin is enabled: ```diff plugins do # ... + fallthrough_accessors ``` ... then we can access any locale we want, without specifying them upfront: ```ruby word = Word.new word.name_fr = "mobilité" word.name_fr #=> "mobilité" word.name_ja = "モビリティ" word.name_ja #=> "モビリティ" ``` (Note however that Mobility will complain if you have `I18n.enforce_available_locales` set to `true` and you try accessing a locale not present in `I18n.available_locales`; set it to `false` if you want to allow *any* locale.) Another way to fetch values in a locale is to pass the `locale` option to the getter method, like this: ```ruby word.name(locale: :en) #=> "mobility" word.name(locale: :fr) #=> "mobilité" ``` Note that setting the locale this way will pass an option `locale: true` to the backend and all plugins. Plugins may use this option to change their behavior (passing the locale explicitly this way, for example, disables [fallbacks](#fallbacks), see below for details). You can also *set* the value of an attribute this way; however, since the `word.name = <value>` syntax does not accept any options, the only way to do this is to use `send` (this is included mostly for consistency): ```ruby word.send(:name=, "mobiliteit", locale: :nl) word.name_nl #=> "mobiliteit" ``` Yet another way to get and set translated attributes is to call `read` and `write` on the storage backend, which can be accessed using the method `<attribute>_backend`. Without worrying too much about the details of how this works for now, the syntax for doing this is simple: ```ruby word.name_backend.read(:en) #=> "mobility" word.name_backend.read(:nl) #=> "mobiliteit" word.name_backend.write(:en, "foo") word.name_backend.read(:en) #=> "foo" ``` Internally, all methods for accessing translated attributes ultimately end up reading and writing from the backend instance this way. (The `write` methods do not call underlying backend's methods to persist the change. This is up to the user, so e.g. with ActiveRecord you should call `save` write the changes to the database). Note that accessor methods are defined in an included module, so you can wrap reads or writes in custom logic: ```ruby class Post < ApplicationRecord extend Mobility translates :title def title(*) super.reverse end end ``` ### Setting the Locale It may not always be desirable to use `I18n.locale` to set the locale for content translations. For example, a user whose interface is in English (`I18n.locale` is `:en`) may want to see content in Japanese. If you use `I18n.locale` exclusively for the locale, you will have a hard time showing stored translations in one language while showing the interface in another language. For these cases, Mobility also has its own locale, which defaults to `I18n.locale` but can be set independently: ```ruby I18n.locale = :en Mobility.locale #=> :en Mobility.locale = :fr Mobility.locale #=> :fr I18n.locale #=> :en ``` To set the Mobility locale in a block, you can use `Mobility.with_locale` (like `I18n.with_locale`): ```ruby Mobility.locale = :en Mobility.with_locale(:ja) do Mobility.locale #=> :ja end Mobility.locale #=> :en ``` Mobility uses [RequestStore](https://github.com/steveklabnik/request_store) to reset these global variables after every request, so you don't need to worry about thread safety. If you're not using Rails, consult RequestStore's [README](https://github.com/steveklabnik/request_store#no-rails-no-problem) for details on how to configure it for your use case. ### <a name="fallbacks"></a>Fallbacks Mobility offers basic support for translation fallbacks. First, enable the `fallbacks` plugin: ```diff plugins do # ... + fallbacks + locale_accessors ``` Fallbacks will require `fallthrough_accessors` to handle methods like `title_en`, which are used to track changes. For performance reasons it's generally best to also enable the `locale_accessors` plugin as shown above. Now pass a hash with fallbacks for each locale as an option when defining translated attributes on a class: ```ruby class Word < ApplicationRecord extend Mobility translates :name, fallbacks: { de: :ja, fr: :ja } translates :meaning, fallbacks: { de: :ja, fr: :ja } end ``` Internally, Mobility assigns the fallbacks hash to an instance of `I18n::Locale::Fallbacks.new`. By setting fallbacks for German and French to Japanese, values will fall through to the Japanese value if none is present for either of these locales, but not for other locales: ```ruby Mobility.locale = :ja word = Word.create(name: "モビリティ", meaning: "(名詞):動きやすさ、可動性") Mobility.locale = :de word.name #=> "モビリティ" word.meaning #=> "(名詞):動きやすさ、可動性" Mobility.locale = :fr word.name #=> "モビリティ" word.meaning #=> "(名詞):動きやすさ、可動性" Mobility.locale = :ru word.name #=> nil word.meaning #=> nil ``` You can optionally disable fallbacks to get the real value for a given locale (for example, to check if a value in a particular locale is set or not) by passing `fallback: false` (*singular*, not plural) to the getter method: ```ruby Mobility.locale = :de word.meaning(fallback: false) #=> nil Mobility.locale = :fr word.meaning(fallback: false) #=> nil Mobility.locale = :ja word.meaning(fallback: false) #=> "(名詞):動きやすさ、可動性" ``` You can also set the fallback locales for a single read by passing one or more locales: ```ruby Mobility.with_locale(:fr) do word.meaning = "(nf): aptitude à bouger, à se déplacer, à changer, à évoluer" end word.save Mobility.locale = :de word.meaning(fallback: false) #=> nil word.meaning(fallback: :fr) #=> "(nf): aptitude à bouger, à se déplacer, à changer, à évoluer" word.meaning(fallback: [:ja, :fr]) #=> "(名詞):動きやすさ、可動性" ``` Also note that passing a `locale` option into an attribute reader or writer, or using [locale accessors or fallthrough accessors](#getset) to get or set any attribute value, will disable fallbacks (just like `fallback: false`). (This will take precedence over any value of the `fallback` option.) Continuing from the last example: ```ruby word.meaning(locale: :de) #=> nil word.meaning_de #=> nil Mobility.with_locale(:de) { word.meaning } #=> "(名詞):動きやすさ、可動性" ``` For more details, see the [API documentation on fallbacks](http://www.rubydoc.info/gems/mobility/Mobility/Plugins/Fallbacks) and [this article on I18n fallbacks](https://github.com/svenfuchs/i18n/wiki/Fallbacks). ### <a name="default"></a>Default values Another option is to assign a default value, using the `default` plugin: ```diff plugins do # ... + default 'foo' ``` Here we've set a "default default" of `'foo'`, which will be returned if a fetch would otherwise return `nil`. This can be overridden from model classes: ```ruby class Word < ApplicationRecord extend Mobility translates :name, default: 'foo' end Mobility.locale = :ja word = Word.create(name: "モビリティ") word.name #=> "モビリティ" Mobility.locale = :de word.name #=> "foo" ``` You can override the default by passing a `default` option to the attribute reader: ```ruby word.name #=> 'foo' word.name(default: nil) #=> nil word.name(default: 'bar') #=> 'bar' ``` The default can also be a `Proc`, which will be called with the context as the model itself, and passed optional arguments (attribute, locale and options passed to accessor) which can be used to customize behaviour. See the [API docs][docs] for details. ### <a name="dirty"></a>Dirty Tracking Dirty tracking (tracking of changed attributes) can be enabled for models which support it. Currently this is models which include [ActiveModel::Dirty](http://api.rubyonrails.org/classes/ActiveModel/Dirty.html) (like `ActiveRecord::Base`) and Sequel models (through the [dirty](http://sequel.jeremyevans.net/rdoc-plugins/classes/Sequel/Plugins/Dirty.html) plugin). First, ensure the `dirty` plugin is enabled in your configuration, and that you have enabled an ORM plugin (either `active_record` or `sequel`), since the dirty plugin will depend on one of these being enabled. ```diff plugins do # ... active_record + dirty ``` (Once enabled globally, the dirty plugin can be selectively disabled on classes by passing `dirty: false` to `translates`.) Take this ActiveRecord class: ```ruby class Post < ApplicationRecord extend Mobility translates :title end ``` Let's assume we start with a post with a title in English and Japanese: ```ruby post = Post.create(title: "Introducing Mobility") Mobility.with_locale(:ja) { post.title = "モビリティの紹介" } post.save ``` Now let's change the title: ```ruby post = Post.first post.title #=> "Introducing Mobility" post.title = "a new title" Mobility.with_locale(:ja) do post.title #=> "モビリティの紹介" post.title = "新しいタイトル" post.title #=> "新しいタイトル" end ``` Now you can use dirty methods as you would any other (untranslated) attribute: ```ruby post.title_was #=> "Introducing Mobility" Mobility.locale = :ja post.title_was #=> "モビリティの紹介" post.changed ["title_en", "title_ja"] post.save ``` You can also access `previous_changes`: ```ruby post.previous_changes #=> { "title_en" => [ "Introducing Mobility", "a new title" ], "title_ja" => [ "モビリティの紹介", "新しいタイトル" ] } ``` Notice that Mobility uses locale suffixes to indicate which locale has changed; dirty tracking is implemented this way to ensure that it is clear what has changed in which locale, avoiding any possible ambiguity. For performance reasons, it is highly recommended that when using the Dirty plugin, you also enable [locale accessors](#getset) for all locales which will be used, so that methods like `title_en` above are defined; otherwise they will be caught by `method_missing` (using fallthrough accessors), which is much slower. For more details on dirty tracking, see the [API documentation](http://www.rubydoc.info/gems/mobility/Mobility/Plugins/Dirty). ### Cache The Mobility cache caches localized values that have been fetched once so they can be quickly retrieved again. The cache plugin is included in the default configuration created by the install generator: ```diff plugins do # ... + cache ``` It can be disabled selectively per model by passing `cache: false` when defining an attribute, like this: ```ruby class Word < ApplicationRecord extend Mobility translates :name, cache: false end ``` You can also turn off the cache for a single fetch by passing `cache: false` to the getter method, i.e. `post.title(cache: false)`. To remove the cache plugin entirely, remove the `cache` line from the global plugins configuration. The cache is normally just a hash with locale keys and string (translation) values, but some backends (e.g. KeyValue and Table backends) have slightly more complex implementations. ### <a name="querying"></a>Querying Mobility backends also support querying on translated attributes. To enable this feature, include the `query` plugin, and ensure you also have an ORM plugin enabled (`active_record` or `sequel`): ```diff plugins do # ... active_record + query ``` Querying defines a scope or dataset class method, whose default name is `i18n`. You can override this by passing a default in the configuration, like `query :t` to use a name `t`. Querying is supported in two different ways. The first is via query methods like `where` (and `not` and `find_by` in ActiveRecord, and `except` in Sequel). So for ActiveRecord, assuming a model using KeyValue as its default backend: ```ruby class Post < ApplicationRecord extend Mobility translates :title, type: :string translates :content, type: :text end ``` ... we can query for posts with title "foo" and content "bar" just as we would query on untranslated attributes, and Mobility will convert the queries to whatever the backend requires to actually return the correct results: ```ruby Post.i18n.find_by(title: "foo", content: "bar") ``` results in the SQL: ```sql SELECT "posts".* FROM "posts" INNER JOIN "mobility_string_translations" "Post_title_en_string_translations" ON "Post_title_en_string_translations"."key" = 'title' AND "Post_title_en_string_translations"."locale" = 'en' AND "Post_title_en_string_translations"."translatable_type" = 'Post' AND "Post_title_en_string_translations"."translatable_id" = "posts"."id" INNER JOIN "mobility_text_translations" "Post_content_en_text_translations" ON "Post_content_en_text_translations"."key" = 'content' AND "Post_content_en_text_translations"."locale" = 'en' AND "Post_content_en_text_translations"."translatable_type" = 'Post' AND "Post_content_en_text_translations"."translatable_id" = "posts"."id" WHERE "Post_title_en_string_translations"."value" = 'foo' AND "Post_content_en_text_translations"."value" = 'bar' ``` As can be seen in the query above, behind the scenes Mobility joins two tables, one with string translations and one with text translations, and aliases the joins for each attribute so as to match the particular model, attribute(s), locale(s) and value(s) passed in to the query. Details of how this is done can be found in the [Wiki page for the KeyValue backend](https://github.com/shioyama/mobility/wiki/KeyValue-Backend#querying). You can also use methods like `order`, `select`, `pluck` and `group` on translated attributes just as you would with normal attributes, and Mobility will handle generating the appropriate SQL: ```ruby Post.i18n.pluck(:title) #=> ["foo", "bar", ...] ``` If you would prefer to avoid the `i18n` scope everywhere, you can define it as a default scope on your model: ```ruby class Post < ApplicationRecord extend Mobility translates :title, type: :string translates :content, type: :text default_scope { i18n } end ``` Now translated attributes can be queried just like normal attributes: ```ruby Post.find_by(title: "Introducing Mobility") #=> finds post with English title "Introducing Mobility" ``` If you want more fine-grained control over your queries, you can alternatively pass a block to the query method and call attribute names from the block scope to build Arel predicates: ```ruby Post.i18n do title.matches("foo").and(content.matches("bar")) end ``` which generates the same SQL as above, except the `WHERE` clause becomes: ```sql SELECT "posts".* FROM "posts" ... WHERE "Post_title_en_string_translations"."value" ILIKE 'foo' AND "Post_content_en_text_translations"."value" ILIKE 'bar' ``` The block-format query format is very powerful and allows you to build complex backend-independent queries on translated and untranslated attributes without having to deal with the details of how these translations are stored. The same interface is supported with Sequel to build datasets. <a name="backends"></a>Backends -------- Mobility supports different storage strategies, called "backends". The default backend is the `KeyValue` backend, which stores translations in two tables, by default named `mobility_text_translations` and `mobility_string_translations`. You can set the default backend to a different value in the global configuration, or you can set it explicitly when defining a translated attribute, like this: ```ruby class Word < ApplicationRecord translates :name, backend: :table end ``` This would set the `name` attribute to use the `Table` backend (see below). The `type` option (`type: :string` or `type: :text`) is missing here because this is an option specific to the KeyValue backend (specifying which shared table to store translations on). Backends have their own specific options; see the [Wiki][wiki] and [API documentation][docs] for which options are available for each. Everything else described above (fallbacks, dirty tracking, locale accessors, caching, querying, etc) is the same regardless of which backend you use. ### Table Backend (like Globalize) The `Table` backend stores translations as columns on a model-specific table. If your model uses the table `posts`, then by default this backend will store an attribute `title` on a table `post_translations`, and join the table to retrieve the translated value. To use the table backend on a model, you will need to first create a translation table for the model, which (with Rails) you can do using the `mobility:translations` generator: ``` rails generate mobility:translations post title:string content:text ``` This will generate the `post_translations` table with columns `title` and `content`, and all other necessary columns and indices. For more details see the [Table Backend](https://github.com/shioyama/mobility/wiki/Table-Backend) page of the wiki and API documentation on the [`Mobility::Backend::Table` class](http://www.rubydoc.info/gems/mobility/Mobility/Backends/Table). ### Column Backend (like Traco) The `Column` backend stores translations as columns with locale suffixes on the model table. For an attribute `title`, these would be of the form `title_en`, `title_fr`, etc. Use the `mobility:translations` generator to add columns for locales in `I18n.available_locales` to your model: ``` rails generate mobility:translations post title:string content:text ``` For more details, see the [Column Backend](https://github.com/shioyama/mobility/wiki/Column-Backend) page of the wiki and API documentation on the [`Mobility::Backend::Column` class](http://www.rubydoc.info/gems/mobility/Mobility/Backends/Column). ### PostgreSQL-specific Backends Mobility also supports JSON and Hstore storage options, if you are using PostgreSQL as your database. To use this option, create column(s) on the model table for each translated attribute, and set your backend to `:json`, `:jsonb` or `:hstore`. If you are using Sequel, note that you will need to enable the [pg_json](http://sequel.jeremyevans.net/rdoc-plugins/files/lib/sequel/extensions/pg_json_rb.html) or [pg_hstore](http://sequel.jeremyevans.net/rdoc-plugins/files/lib/sequel/extensions/pg_hstore_rb.html) extensions with `DB.extension :pg_json` or `DB.extension :pg_hstore` (where `DB` is your database instance). Another option is to store all your translations on a single jsonb column (one per model). This is called the "container" backend. For details on these backends, see the [Postgres Backend](https://github.com/shioyama/mobility/wiki/Postgres-Backends-%28Column-Attribute%29) and [Container Backend](https://github.com/shioyama/mobility/wiki/Container-Backend) pages of the wiki and in the API documentation ([`Mobility::Backend::Jsonb`](http://www.rubydoc.info/gems/mobility/Mobility/Backends/Jsonb) and [`Mobility::Backend::Hstore`](http://www.rubydoc.info/gems/mobility/Mobility/Backends/Hstore)). *Note: The Json backend (`:json`) may also work with recent versions of MySQL with JSON column support, although this backend/db combination is not tested. See [this issue](https://github.com/shioyama/mobility/issues/226) for details.* Development ----------- ### Custom Backends Although Mobility is primarily oriented toward storing ActiveRecord model translations, it can potentially be used to handle storing translations in other formats. In particular, the features mentioned above (locale accessors, caching, fallbacks, dirty tracking to some degree) are not specific to database storage. To use a custom backend, simply pass the name of a class which includes `Mobility::Backend` to `translates`: ```ruby class MyBackend include Mobility::Backend # ... end class MyClass extend Mobility translates :foo, backend: MyBackend end ``` For details on how to define a backend class, see the [Introduction to Mobility Backends](https://github.com/shioyama/mobility/wiki/Introduction-to-Mobility-Backends) page of the wiki and the [API documentation on the `Mobility::Backend` module](http://www.rubydoc.info/gems/mobility/Mobility/Backend). ### Testing Backends All included backends are tested against a suite of shared specs which ensure they conform to the same expected behaviour. These examples can be found in: - `spec/support/shared_examples/accessor_examples.rb` (minimal specs testing translation setting/getting) - `spec/support/shared_examples/querying_examples.rb` (specs for [querying](#querying)) - `spec/support/shared_examples/serialization_examples.rb` (specialized specs for backends which store translations as a Hash: `serialized`, `hstore`, `json` and `jsonb` backends) A minimal test can simply define a model class and use helpers defined in `spec/support/helpers.rb` to run these examples, by extending either `Helpers::ActiveRecord` or `Helpers::Sequel`: ```ruby describe MyBackend do extend Helpers::ActiveRecord before do stub_const 'MyPost', Class.new(ActiveRecord::Base) MyPost.extend Mobility MyPost.translates :title, :content, backend: MyBackend end include_accessor_examples 'MyPost' include_querying_examples 'MyPost' # ... end ``` Shared examples expect the model class to have translated attributes `title` and `content`, and an untranslated boolean column `published`. These defaults can be changed, see the shared examples for details. Backends are also each tested against specialized specs targeted at their particular implementations. Integrations ------------ * [friendly_id-mobility](https://github.com/shioyama/friendly_id-mobility): Use Mobility with [FriendlyId](https://github.com/norman/friendly_id). * [mobility-ransack](https://github.com/shioyama/mobility-ransack): Search attributes translated by Mobility with [Ransack](https://github.com/activerecord-hackery/ransack). * [mobility-actiontext](https://github.com/sedubois/mobility-actiontext): Translate Rails [Action Text](https://guides.rubyonrails.org/action_text_overview.html) rich text with Mobility. Tutorials --------- - [Polyglot content in a rails app](https://revs.runtime-revolution.com/polyglot-content-in-a-rails-app-aed823854955) - [Translating with Mobility](https://dejimata.com/2017/3/3/translating-with-mobility) - [JSONify your Ruby Translations](https://dejimata.com/2018/3/20/jsonify-your-ruby-translations) More Information ---------------- - [Github repository](https://www.github.com/shioyama/mobility) - [API documentation][docs] - [Wiki][wiki] <a name="#companies-using-mobility"></a>Companies using Mobility ------------------------ <img alt="Logos of companies using Mobility" src="./img/companies-using-mobility.png" style="width: 100%" /> - [Doorkeeper](https://www.doorkeeper.jp/) - [Oreegano](https://www.oreegano.com/) - [Venuu](https://venuu.fi) - ... <sup>&#10033;</sup> <sup>&#10033;</sup> <small>Post an issue or email me to add your company's name to this list.</small> License ------- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
39
DEPRECATED: AMP by Example has been merged into amp.dev
# IMPORTANT: AMP by Example has been merged into amp.dev. All new issues and pull requests should be created [here](https://github.com/ampproject/docs). # AMP by Example ## Installation 1. Fork the repository. 2. Install [NodeJS](https://nodejs.org). You will need version 4.0.0 or above. 3. Install [Gulp](http://gulpjs.com/) via `npm`. You may need to use `sudo` depending on your Node installation. ```none $ npm install -g gulp ``` 4. Set up the repository: ```none $ git clone https://github.com/YOUR_GITHUB_NAME/amp-by-example.git $ cd amp-by-example $ npm install ``` 5. Build and run the site: ```none $ gulp ``` 6. If everything went well, `gulp` should now be running the site on <http://localhost:8000/> ## Creating a new sample Create a new example with `gulp create`. Set the title via `--name` or `-n` and add it to an existing section using `--dest` or `-d`: ```none $ gulp create --name amp-img --dest src/20_Components $ vim src/20_Components/amp-img.html ``` For more descriptive example names including whitespaces use quotes: ```none $ gulp create --name 'Hello World' --dest src/10_Introduction $ vim src/10_Introduction/Hello_World.html ``` If you want to create a new sample category, use `--category` or `-c`. Prefix the name with two digits followed by a space to define the sort order: ```none $ gulp create --name amp-awesome --category "50 More Awesomeness" $ vim src/50_More_Awesomeness/amp-awesome.html ``` Run validate to validate all examples against AMP spec: ```none $ gulp validate ``` Run build to generate all examples: ```none $ gulp build ``` While working on an example you can start a local webserver with auto-reload on <http://localhost:8000/> by running `gulp`: ```none $ gulp ``` Some components, like [amp-live-list](https://github.com/ampproject/amp-by-example/blob/master/src/20_Components/amp-live-list.html) require an additional server endpoint. ## Writing the sample Use HTML comments (`<!-- ... -->`) to document your sample code: ```html <!-- Look! Images in AMP. --> <amp-img src="img/image1.jpg" width="200" height="100" layout="responsive"></amp-img> ``` This works for elements in the header as well: ```html <head> <!-- Import the amp-youtube component --> <script async custom-element="amp-youtube" src="https://cdn.ampproject.org/v0/amp-youtube-0.1.js"></script> ... </head> ``` Every HTML comment creates a separate example section spanning the following HTML element. ```html <!-- This comment spans the whole following section including the two images --> <section> <amp-img src="img/image1.jpg" width="200" height="100" layout="responsive"></amp-img> <amp-img src="img/image2.jpg" width="200" height="100" layout="responsive"></amp-img> </section> ``` Nesting comments are not supported: ```html <!-- A comment --> <div> <!-- This does not work because the parent div has already a comment --> <amp-img src="img/image1.jpg" width="200" height="100" layout="responsive"></amp-img> </div> <div> <!-- Commenting inside nested tags works though --> <amp-img src="img/image1.jpg" width="200" height="100" layout="responsive"></amp-img> </div> ``` If your comment spans multiple elements, wrap these in an single `div` without any attributes. The enclosing `div` tag will be hidden in source code listings: ```html <!-- The enclosing `div` will be hidden in source code listings. --> <div> <button on="tap:my-lightbox" role="button" tabindex="0">Open lightbox</button> <amp-lightbox id="my-lightbox" layout="nodisplay"> <h1>Hello World!</h1> </amp-lightbox> </div> ``` #### Sample Styling Sometimes it's good to add a little bit more styling to a sample (e.g. to separate a button from an input field). To make sure that all samples have a consistent styling, please use the following CSS variables to style specific elements in your sample: ``` :root { --color-primary: #005AF0; --color-secondary: #00DCC0; --color-text-light: #fff; --color-text-dark: #000; --color-error: #B00020; --color-bg-light: #FAFAFC; --space-1: .5rem; /* 8px */ --space-2: 1rem; /* 16px */ --space-3: 1.5rem; /* 24px */ --space-4: 2rem; /* 32px */ --box-shadow-1: 0 1px 1px 0 rgba(0,0,0,.14), 0 1px 1px -1px rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12); } ``` You can use them to style your samples like this: ``` .button { margin: var(--space-2); padding: var(--space-1); background-color: var(--color-primary); color: var(--color-text-light); } ``` Only add the ones that you need to the sample. These CSS variable declarations will be added automatically to your sample, if you use `gulp create ...` to create the sample. **Colors** <img width="743" alt="screenshot 2018-11-30 at 00 22 57" src="https://user-images.githubusercontent.com/380472/49258635-6aae0180-f436-11e8-8ca0-2210fd4c0a96.png"> **Spaces** <img width="643" alt="screenshot 2018-11-30 at 00 23 08" src="https://user-images.githubusercontent.com/380472/49258634-6aae0180-f436-11e8-9716-50c69970c113.png"> #### Formatting You can use [markdown](https://help.github.com/articles/github-flavored-markdown/) to format your documentation: ```html <!-- A simple [responsive](https://www.ampproject.org/docs/guides/responsive/control_layout.html) image - *width* and *height* are used to determine the aspect ratio. --> <amp-img src="img/image1.jpg" width="200" height="100" layout="responsive"></amp-img> ``` #### Notes, Warnings & Tips There's a special markup available for callouts: ``` [tip type="default|important|note|read-on"] Tip! [/tip] ``` For example: ``` [tip type="important"] Warning! This might go wrong. [/tip] ``` #### Hints If you'd like to add additional information about a single element inside a section, use the `<!--~ hint syntax ~-->`: ```html <!-- A comment about the form. --> <form method="post" action-xhr="https://example.com/subscribe" target="_top"> <fieldset> <input type="text" name="username"> <!--~ Addition explanation about the hidden field. ~--> <input type="hidden" name="id" value="abc"> </fieldset> </form> ``` This will make the `<input>` element clickable, with the additional explanation appearing on click. #### Drafts You can mark samples as drafts if they are still work-in-progress. This means the samples won't show up in the start page. ```yaml <!--- draft: true ---> ``` #### Experimental Features If your sample is using one or more experimental features, you can add a metadata section (`<!--- ... --->`) with the variable `experiments` to specify which experiments to enable. This will skip its validation and add an experimental note with instructions to your sample: ```yaml <!--- experiments: - amp-experiment-name - amp-another-experiment ---> ``` #### Preview Mode Visually rich examples can provide a preview mode like [this](https://ampbyexample.com/samples_templates/news_article/preview/). Enable via metadata in the sample: ```yaml <!--- preview: default ---> ``` There is a special preview mode for AMP Ad samples: ```yaml <!--- preview: a4a ---> ``` #### Single Column Layout If your sample looks better with a single column layout, you can disable the code and preview columns adding the following flags to your sample file: ```yaml <!--- hideCode: true hidePreview: true ---> ``` #### Disabling the Playground If it doesn't make sense for your sample to provide a playground link, you can disable it: ```yaml <!--- disablePlayground: true ---> ``` ## Running the backend server If you need to run or write a sample that depends on the backend server, you can run a local version. 1. Install the [Google App Engine SDK for Go](https://cloud.google.com/appengine/docs/flexible/go/download). 2. Run the backend server in watch mode so it will recompile on change. ```none $ gulp backend:watch ``` If you get an error message `can't find import: "golang.org/x/net/context"`, you have to manually install and configure the GO appengine environment: ```none # install the google.goland.org/appengine package $ go get google.golang.org/appengine # explicitly set the GOROOT and APPENGINE_DEV_APPSERVER env vars $ export GOROOT=$HOME/local/google-cloud-sdk/platform/google_appengine/goroot $ export APPENGINE_DEV_APPSERVER=$(which dev_appserver.py) ``` 3. If everything went well, the full site should now be running on <http://localhost:8080/> ### Adding backend functionality Sample specific backend endpoints should be defined in their own file, e.g. for a sample `amp-my-component.html` the backend should be `backends/amp-my-component.go`. #### How to style examples You can’t reference external stylesheets when creating samples. AMP by Example provides a [default styling](https://github.com/ampproject/amp-by-example/blob/master/templates/css/styles.css) for common elements (p, h1, h2, h3, a, ...) which you should use. Sample specific styles must live in the head of the document using the tag `<style amp-custom>`. Try to keep the additional CSS for samples to a minimum and use the default styles as often as possible. If you compile a sample via Gulp and run it, the default styling will be applied. Please note: if you copy code from a sample's code section, you will not get the style that you can see in the preview section. ## Contributing Please see [the CONTRIBUTING file](CONTRIBUTING.md) for information on contributing to amp-by-example. ## License AMP by Example is made by the [AMP Project](https://www.ampproject.org/), and is licensed under the [Apache License, Version 2.0](LICENSE).
40
Highly customizable drop-in solution for introduction views.
# EAIntroView - simple iOS Introductions [![CI Status](https://github.com/ealeksandrov/EAIntroView/workflows/CI/badge.svg?branch=master)](https://github.com/ealeksandrov/EAIntroView/actions) [![Version](https://img.shields.io/cocoapods/v/EAIntroView.svg?style=flat)](http://cocoadocs.org/docsets/EAIntroView) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![License](https://img.shields.io/cocoapods/l/EAIntroView.svg?style=flat)](http://cocoadocs.org/docsets/EAIntroView) [![Platform](https://img.shields.io/cocoapods/p/EAIntroView.svg?style=flat)](http://cocoadocs.org/docsets/EAIntroView) ![ExampleImage1](https://raw.githubusercontent.com/ealeksandrov/EAIntroView/master/Screenshot01.png) ![ExampleImage2](https://raw.githubusercontent.com/ealeksandrov/EAIntroView/master/Screenshot02.png) This is highly customizable drop-in solution for introduction views. Some features (remember, most features are optional and can be turned off): * beautiful demo project to look on some examples * customizability is unlimited, one can make complex introView with animations and interactive pages, so do not limit yourself with existing examples * for each basic page: * background (with cross-dissolve transition between pages) * custom iOS7 motion effects (parallax) on background * title view (+ Y position) * title text (+ font, color and Y position) * description text (+ font, color, width and Y position) * subviews array (added to page after building default layout) * possibility to set your own custom view for page: * pageWithCustomView: * pageWithCustomViewFromNibNamed: * possibility to set block action on page events: * pageDidLoad * pageDidAppear * pageDidDisappear * many options to customize parent view: * swipe from last page to close * switching pages with one simple tap * custom background image or color * custom page control * custom skip button * pinned titleView (+ Y position, can be hidden on some pages) * delegate protocol to listen: * introDidFinish: * intro:pageAppeared:withIndex: * actions on IntroView: * setPages: * showInView:animateDuration: * hideWithFadeOutDuration: * setCurrentPageIndex:animated: * storyboard/IB support * and many more... ## Installation You can setup `EAIntroView` using [Carthage](https://github.com/Carthage/Carthage), [CocoaPods](http://github.com/CocoaPods/CocoaPods) or [completely manually](#setting-up-manually). ### Carthage 1. Add `EAIntroView` to your project's `Cartfile`: ```ruby github "ealeksandrov/EAIntroView" ``` 2. Run `carthage update` in your project directory. 3. On your application targets’ “General” settings tab, in the “Linked Frameworks and Libraries” section, drag and drop **EAIntroView.framework** and **EARestrictedScrollView.framework** from the `Carthage/Build/iOS/` folder on disk. 4. On your application targets’ “Build Phases” settings tab, click the “+” icon and choose “New Run Script Phase”. Create a Run Script with the following contents: ```shell /usr/local/bin/carthage copy-frameworks ``` add the paths to the frameworks under “Input Files”: ```shell $(SRCROOT)/Carthage/Build/iOS/EAIntroView.framework $(SRCROOT)/Carthage/Build/iOS/EARestrictedScrollView.framework ``` and the paths to the copied frameworks to the “Output Files”: ```shell $(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/EAIntroView.framework $(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/EARestrictedScrollView.framework ``` ### CocoaPods 1. Add EAIntroView to your project's `Podfile`: ```ruby pod 'EAIntroView' ``` 2. Run `pod update` or `pod install` in your project directory. ### Setting Up Manually 1. Add [EARestrictedScrollView](https://github.com/ealeksandrov/EARestrictedScrollView) header and implementation to your project (2 files total). 2. Add `EAIntroPage` and `EAIntroView` headers and implementations to your project (4 files total). 3. You can now use `EAIntroView` by adding the following import: ```swift import EAIntroView ``` ```obj-c #import <EAIntroView/EAIntroView.h> ``` ## How To Use It Sample project have many examples of customization. Here are only simple ones. ### Step 1 - Build Pages Each page created with `[EAIntroPage page]` class method. Then you can customize any property, all of them are optional. Another approach is to pass your own (can be nib), custom view in `EAIntroPage`, this way most other options are ignored. ```objc // basic EAIntroPage *page1 = [EAIntroPage page]; page1.title = @"Hello world"; page1.desc = sampleDescription1; // custom EAIntroPage *page2 = [EAIntroPage page]; page2.title = @"This is page 2"; page2.titleFont = [UIFont fontWithName:@"Georgia-BoldItalic" size:20]; page2.titlePositionY = 220; page2.desc = sampleDescription2; page2.descFont = [UIFont fontWithName:@"Georgia-Italic" size:18]; page2.descPositionY = 200; page2.titleIconView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"title2"]]; page2.titleIconPositionY = 100; // custom view from nib EAIntroPage *page3 = [EAIntroPage pageWithCustomViewFromNibNamed:@"IntroPage"]; page3.bgImage = [UIImage imageNamed:@"bg2"]; ``` ### Step 2 - Create Introduction View Once all pages have been created, you are ready to create the introduction view. Just pass them in right order in the introduction view. You can also pass array of pages after IntroView's initialization, it will rebuild its contents. ```objc EAIntroView *intro = [[EAIntroView alloc] initWithFrame:self.view.bounds andPages:@[page1,page2,page3,page4]]; ``` Don't forget to set the delegate if you want to use any callbacks. ```objc [intro setDelegate:self]; ``` ### Step 3 - Show Introduction View ```objc [intro showInView:self.view animateDuration:0.0]; ``` ### Storyboard/IB Since 1.3.0 `EAIntroView` supports init from IB. Since 2.0.0 `EAIntroPage` supports it too. 1. Drop `UIView` to your IB document. 2. Set its class to `EAIntroView`. 3. Create `IBOutlet` property in your view controller: `@property(nonatomic,weak) IBOutlet EAIntroView *introView;`. 4. Connect `IBOutlet` with `EAIntroView` in IB. 5. Build array of pages (you can use `pageWithCustomViewFromNibNamed:` here with separate nibs for each page). 6. Pass pages array to `EAIntroView` property in `setPages:`. ## Author Created and maintained by Evgeny Aleksandrov ([@ealeksandrov](https://twitter.com/ealeksandrov)). ## License `EAIntroView` is available under the MIT license. See the [LICENSE.md](LICENSE.md) file for more info.
41
iOS Debugging Tool 🚀
| <img alt="logo" src="https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/pic/logo.png" width="250"/> | <ul align="left"><li><a href="#introduction">Introduction</a><li><a href="#installation">Installation</a><li><a href="#usage">Usage</a><li><a href="#parameters">Parameters</a></ul> | | -------------- | -------------- | | Version | [![CocoaPods Compatible](https://img.shields.io/cocoapods/v/CocoaDebug.svg)](https://img.shields.io/cocoapods/v/CocoaDebug.svg) | | Platform | ![Platform](https://img.shields.io/badge/platforms-iOS%208.0+-blue.svg) | | Languages | ![Languages](https://img.shields.io/badge/languages-Swift%20%7C%20ObjC-blue.svg) | <span style="float:none" /> ## Screenshot <img src="https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/pic/a1.png" width="250"> <img src="https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/pic/a2.png" width="250"> <img src="https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/pic/a3.png" width="250"> <img src="https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/pic/a4.png" width="250"> <img src="https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/pic/a5.png" width="250"> <img src="https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/pic/a6.png" width="250"> ## Introduction - [x] Shake to hide or show the black bubble. (Support iPhone device and simulator) - [x] Share network details via email or copy to clipboard when you are in the *Network Details* page. - [x] Copy logs. (Long press the text, then select all or select copy) - [x] Search logs by keyword. - [x] Long press the black bubble to clean all network logs. - [x] Detect *UI Blocking*. - [x] List crash errors. - [x] List application and device informations, including: *version*, *build*, *bundle name*, *bundle id*, *screen resolution*, *device*, *iOS version* - [x] List all network requests sent by the application. (Support *JSON* and Google's *Protocol buffers*) - [x] List all sandbox folders and files, supporting to preview and edit. - [x] List all *WKWebView* consoles. - [x] List all *React Native* JavaScript consoles and Native logs. - [x] List all *print()* and *NSLog()* messages which have been written by developer in Xcode. ## Installation ### *CocoaPods* *(Preferred)* ```ruby target 'YourTargetName' do use_frameworks! pod 'CocoaDebug', :configurations => ['Debug'] end ``` ### *Carthage* ```ruby github "CocoaDebug/CocoaDebug" ``` ### *Framework* *[CocoaDebug.framework](https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/CocoaDebug.framework.zip) (Version 1.7.2)* > WARNING: Never ship a product which has been linked with the CocoaDebug framework. The [Integration Guide](https://github.com/CocoaDebug/CocoaDebug/wiki/Integration-Guide) outline a way to use build configurations to isolate linking the framework to Debug builds. > [Xcode12 build error solution](https://stackoverflow.com/questions/63267897/building-for-ios-simulator-but-the-linked-framework-framework-was-built) ## Usage - Don't need to do anything. CocoaDebug will start automatically. - To capture logs from Xcode with codes: (You can also set this in *CocoaDebug->App->Monitor->Applogs* without any codes.) ```swift CocoaDebugSettings.shared.enableLogMonitoring = true //The default value is false ``` - Check [AppDelegate.m](https://github.com/CocoaDebug/CocoaDebug/blob/master/Example_Objc/Example_Objc/AppDelegate.m) OR [AppDelegate.swift](https://github.com/CocoaDebug/CocoaDebug/blob/master/Example_Swift/Example_Swift/AppDelegate.swift) for more advanced usage. ## Parameters When you initialize CocoaDebug, you can customize the following parameter values before `CocoaDebug.enable()`. - `serverURL` - If the captured URLs contain server URL, CocoaDebug set server URL bold font to be marked. Not mark when this value is nil. Default value is **nil**. - `ignoredURLs` - Set the URLs which should not been captured, CocoaDebug capture all URLs when the value is nil. Default value is **nil**. - `onlyURLs` - Set the URLs which are only been captured, CocoaDebug capture all URLs when the value is nil. Default value is **nil**. - `ignoredPrefixLogs` - Set the prefix Logs which should not been captured, CocoaDebug capture all Logs when the value is nil. Default value is **nil**. - `onlyPrefixLogs` - Set the prefix Logs which are only been captured, CocoaDebug capture all Logs when the value is nil. Default value is **nil**. - `additionalViewController` - Add an additional UIViewController as child controller of CocoaDebug's main UITabBarController. Default value is **nil**. - `emailToRecipients` - Set the initial recipients to include in the email’s “To” field when share via email. Default value is **nil**. - `emailCcRecipients` - Set the initial recipients to include in the email’s “Cc” field when share via email. Default value is **nil**. - `mainColor` - Set CocoaDebug's main color with hexadecimal format. Default value is **#42d459**. - `protobufTransferMap` - Protobuf data transfer to JSON map. Default value is **nil**. ## Thanks Special thanks to [remirobert](https://github.com/remirobert). ## Reference [https://developer.apple.com/library/archive/samplecode/CustomHTTPProtocol/Introduction/Intro.html](https://developer.apple.com/library/archive/samplecode/CustomHTTPProtocol/Introduction/Intro.html)
42
Promises is a modern framework that provides a synchronization construct for Swift and Objective-C.
[![Apache License](https://img.shields.io/github/license/google/promises.svg)](LICENSE) [![Travis](https://api.travis-ci.org/google/promises.svg?branch=master)](https://travis-ci.org/google/promises) [![Gitter Chat](https://badges.gitter.im/google/promises.svg)](https://gitter.im/google/promises) ![Platforms](https://img.shields.io/badge/platforms-macOS%20%7C%20iOS%20%7C%20tvOS%20%7C%20watchOS-blue.svg?longCache=true&style=flat) ![Languages](https://img.shields.io/badge/languages-Swift%20%7C%20ObjC-orange.svg?longCache=true&style=flat) ![Package Managers](https://img.shields.io/badge/supports-Bazel%20%7C%20SwiftPM%20%7C%20CocoaPods%20%7C%20Carthage-yellow.svg?longCache=true&style=flat) # Promises Promises is a modern framework that provides a synchronization construct for Objective-C and Swift to facilitate writing asynchronous code. * [Introduction](g3doc/index.md) * [The problem with async code](g3doc/index.md#the-problem-with-async-code) * [Promises to the rescue](g3doc/index.md#promises-to-the-rescue) * [What is a promise?](g3doc/index.md#what-is-a-promise) * [Framework](g3doc/index.md#framework) * [Features](g3doc/index.md#features) * [Benchmark](g3doc/index.md#benchmark) * [Getting started](g3doc/index.md#getting-started) * [Add dependency](g3doc/index.md#add-dependency) * [Import](g3doc/index.md#import) * [Adopt](g3doc/index.md#adopt) * [Basics](g3doc/index.md#basics) * [Creating promises](g3doc/index.md#creating-promises) * [Async](g3doc/index.md#async) * [Do](g3doc/index.md#do) * [Pending](g3doc/index.md#pending) * [Resolved](g3doc/index.md#create-a-resolved-promise) * [Observing fulfillment](g3doc/index.md#observing-fulfillment) * [Then](g3doc/index.md#then) * [Observing rejection](g3doc/index.md#observing-rejection) * [Catch](g3doc/index.md#catch) * [Extensions](g3doc/index.md#extensions) * [All](g3doc/index.md#all) * [Always](g3doc/index.md#always) * [Any](g3doc/index.md#any) * [AwaitPromise](g3doc/index.md#awaitpromise) * [Delay](g3doc/index.md#delay) * [Race](g3doc/index.md#race) * [Recover](g3doc/index.md#recover) * [Reduce](g3doc/index.md#reduce) * [Retry](g3doc/index.md#retry) * [Timeout](g3doc/index.md#timeout) * [Validate](g3doc/index.md#validate) * [Wrap](g3doc/index.md#wrap) * [Advanced topics](g3doc/index.md#advanced-topics) * [Default dispatch queue](g3doc/index.md#default-dispatch-queue) * [Ownership and retain cycles](g3doc/index.md#ownership-and-retain-cycles) * [Testing](g3doc/index.md#testing) * [Objective-C <-> Swift interoperability](g3doc/index.md#objective-c---swift-interoperability) * [Dot-syntax in Objective-C](g3doc/index.md#dot-syntax-in-objective-c) * [Anti-patterns](g3doc/index.md#anti-patterns) * [Broken chain](g3doc/index.md#broken-chain) * [Nested promises](g3doc/index.md#nested-promises)
43
✍🏻 这里是写博客的地方 —— Halfrost-Field 冰霜之地
# Halfrost-Field 冰霜之地 <p align='center'> <img src='contents/images/background-cover_.png'> </p> <p align='center'> <img src="https://img.shields.io/badge/Total%20Reading-3.18M-success"> <img src="https://img.shields.io/badge/Total%20Word%20Count-578129-success"> <img src="https://img.shields.io/badge/build-passing-brightgreen.svg"> <img src="https://img.shields.io/badge/platform-%20iOS | Android | Mac | Web%20-ff69b4.svg"> <img src="https://img.shields.io/badge/language-Objective--C-orange.svg"> <img src="https://img.shields.io/badge/language-Swift-abcdef.svg"> <img src="https://img.shields.io/badge/language-JavaScript-yellow.svg"> <img src="https://img.shields.io/badge/language-Golang-26C2F0.svg"> <img src="https://visitor-badge.laobi.icu/badge?page_id=halfrost.Halfrost-Field" alt="visitor badge"/> </p> <p align='center'> <a href="https://github.com/halfrost/Halfrost-Field/blob/master/LICENSE"><img alt="GitHub" src="https://img.shields.io/github/license/halfrost/Halfrost-Field?label=License"></a> <a href="https://halfrost.com"><img src="https://img.shields.io/badge/Blog-Halfrost--Field-80d4f9.svg?style=flat"></a> <a href="http://weibo.com/halfrost"><img src="https://img.shields.io/badge/[email protected]?style=flat&colorA=f4292e"></a> <a href="https://twitter.com/halffrost"><img src="https://img.shields.io/badge/[email protected]?style=flat&colorA=009df2"></a> <a href="https://www.zhihu.com/people/halfrost/activities"><img src="https://img.shields.io/badge/%E7%9F%A5%E4%B9%[email protected]?style=flat&colorA=0083ea"></a> <img src="https://img.shields.io/badge/made%20with-=1-blue.svg"> <a href="https://github.com/halfrost/Halfrost-Field/pulls"><img src="https://img.shields.io/badge/PR-Welcome-brightgreen.svg"></a> </p> ## ⭐️ 为什么要建这个仓库 世人都说阅读开源框架的源代码对于功力有显著的提升,所以我也尝试阅读开源框架的源代码,并对其内容进行详细地分析和理解。在这里将自己阅读开源框架源代码的心得记录下来,希望能对各位开发者有所帮助。我会不断更新这个仓库中的文章,如果想要关注可以点 `star`。 ## 📖 目录 # 🐳 Go | Project | Version | Article | |:-------:|:-------:|:------| |Go|1.16 darwin/amd64| [Go 初学者的成长之路](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/new_gopher_tips.md)<br>[初探 Go 的编译命令执行过程](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/go_command.md)<br>[深入解析 Go Slice 底层实现](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/go_slice.md)<br>[如何设计并实现一个线程安全的 Map ?(上篇)](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/go_map_chapter_one.md)<br>[如何设计并实现一个线程安全的 Map ?(下篇)](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/go_map_chapter_two.md)<br>[面试中 LRU / LFU 的青铜与王者](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/LRU:LFU_interview.md)<br>[深入研究 Go interface 底层实现](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/go_interface.md)<br>[Go reflection 三定律与最佳实践](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/go_reflection.md)<br>[深入 Go 并发原语 — Channel 底层实现](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/go_channel.md)<br>| |空间搜索|golang/geo|[如何理解 n 维空间和 n 维时空](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/n-dimensional_space_and_n-dimensional_space-time.md)<br>[高效的多维空间点索引算法 — Geohash 和 Google S2](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/go_spatial_search.md)<br>[Google S2 中的 CellID 是如何生成的 ?](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/go_s2_CellID.md)<br>[Google S2 中的四叉树求 LCA 最近公共祖先](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/go_s2_lowest_common_ancestor.md)<br>[神奇的德布鲁因序列](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/go_s2_De_Bruijn.md)<br>[四叉树上如何求希尔伯特曲线的邻居 ?](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/go_s2_Hilbert_neighbor.md)<br>[Google S2 是如何解决空间覆盖最优解问题的?](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/go_s2_regionCoverer.md)<br>-----------------------------------------------------------------------------<br> [Code \<T\> share keynote](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Go/T_Salon_share.pdf)| ---------------------------- # 🍉 Machine Learning | Project | Version | Article | |:-------:|:-------:|:------| |机器学习|Andrew Ng Stanford University|[目录](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/contents.md)<br>-----------------------------------------------------------------<br>[Week1 —— What is Machine Learning](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/What_is_Machine_Learning.md)<br>[Week1 —— Linear Regression with One Variable (Gradient Descent)](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Gradient_descent.ipynb)<br>[Week2 —— Multivariate Linear Regression](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Multivariate_Linear_Regression.ipynb) <br>[Week2 —— Computing Parameters Analytically](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Computing_Parameters_Analytically.ipynb)<br>[Week2 —— Octave Matlab Tutorial](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Octave_Matlab_Tutorial.ipynb)<br>[Week3 —— Logistic Regression](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Logistic_Regression.ipynb)<br>[Week3 —— Regularization](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Regularization.ipynb)<br>[Week4 —— Neural Networks Representation](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Neural_Networks_Representation.ipynb)<br>[Week5 —— Neural Networks Learning](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Neural_Networks_Learning.ipynb)<br>[Week5 —— Backpropagation in Practice](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Backpropagation_in_Practice.ipynb)<br>[Week6 —— Advice for Applying Machine Learning](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Advice_for_Applying_Machine_Learning.ipynb)<br>[Week6 —— Machine Learning System Design](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Machine_Learning_System_Design.ipynb)<br>[Week7 —— Support Vector Machines](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Support_Vector_Machines.ipynb)<br>[Week8 —— Unsupervised Learning](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Unsupervised_Learning.ipynb)<br>[Week8 —— Dimensionality Reduction](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Dimensionality_Reduction.ipynb)<br>[Week9 —— Anomaly Detection](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Anomaly_Detection.ipynb)<br>[Week9 —— Recommender Systems](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Recommender_Systems.ipynb)<br>[Week10 —— Large Scale Machine Learning](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Large_Scale_Machine_Learning.ipynb)<br>[Week11 —— Application Example: Photo OCR](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Machine_Learning/Application_Photo_OCR.ipynb)| --------------------------- # 🚀 JavaScript | Project | Version | Article | |:-------:|:-------:|:------| | JavaScript | ECMAScript 6 | [JavaScript 新手的踩坑日记](https://github.com/halfrost/Halfrost-Field/blob/master/contents/JavaScript/lost_in_javascript.md) <br> [从 JavaScript 作用域说开去](https://github.com/halfrost/Halfrost-Field/blob/master/contents/JavaScript/javascript_scope.md)<br> [揭开 this & that 之迷](https://github.com/halfrost/Halfrost-Field/blob/master/contents/JavaScript/%E6%8F%AD%E5%BC%80%20this%20%26%20that%20%E4%B9%8B%E8%BF%B7.md)<br>[JSConf China 2017 Day One — JavaScript Change The World](https://github.com/halfrost/Halfrost-Field/blob/master/contents/JavaScript/JSConf%20China%202017%20Day%20One%20%E2%80%94%20JavaScript%20Change%20The%20World.md) <br> [JSConf China 2017 Day Two — End And Beginning](https://github.com/halfrost/Halfrost-Field/blob/master/contents/JavaScript/jsconf_china_2017_final.md)| | Vue.js | 2.3.4 | [Vue 全家桶 + Electron 开发的一个跨三端的应用](https://github.com/halfrost/vue-objccn/blob/master/README.md) <br> [大话大前端时代(一) —— Vue 与 iOS 的组件化](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Vue/%E5%A4%A7%E8%AF%9D%E5%A4%A7%E5%89%8D%E7%AB%AF%E6%97%B6%E4%BB%A3(%E4%B8%80)%20%E2%80%94%E2%80%94%20Vue%20%E4%B8%8E%20iOS%20%E7%9A%84%E7%BB%84%E4%BB%B6%E5%8C%96.md) <br>| | Ghost | 1.24.8 | [Ghost 博客搭建日记](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Ghost/ghost_build.md)<br> [Ghost 博客升级指南](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Ghost/ghost_update.md) <br>[Ghost 博客炫技"新"玩法](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Ghost/ghost_feature.md) <br>[博客跑分优化](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Ghost/ghost_fast.md)<br>--------------------------------------------------------------------------------<br>| ------- # 📱 iOS | Project | Version | Article | |:-------:|:-------:|:------| | Weex | 0.10.0 | [Weex 是如何在 iOS 客户端上跑起来的](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Weex/Weex_how_to_work_in_iOS.md)<br> [由 FlexBox 算法强力驱动的 Weex 布局引擎](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Weex/Weex_layout_engine_powered_by_Flexbox's_algorithm.md)<br> [Weex 事件传递的那些事儿](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Weex/Weex_events.md) <br>[Weex 中别具匠心的 JS Framework](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Weex/Weex_ingenuity_JS_framework.md)<br>[iOS 开发者的 Weex 伪最佳实践指北](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Weex/Weex_pseudo-best_practices_for_iOS_developers.md)<br> | | BeeHive | v1.2.0 | [BeeHive —— 一个优雅但还在完善中的解耦框架](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/beehive.md)<br>| | 组件化 | 路由与解耦 | [iOS 组件化 —— 路由设计思路分析](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/iOSRouter/iOS_Router.md)<br>| | ReactiveObjC | 2.1.2 |[函数响应式编程 (FRP) 从入门到 "放弃"—— 基础概念篇](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/RAC/functional_reactive_programming_concept.md) <br> [函数响应式编程 (FRP) 从入门到 "放弃"—— 图解 RACSignal 篇](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/RAC/ios_rac_racsignal.md) <br> [ReactiveCocoa 中 RACSignal 是如何发送信号的](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/RAC/reactivecocoa_racsignal.md) <br> [ReactiveCocoa 中 RACSignal 所有变换操作底层实现分析(上)](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/RAC/reactivecocoa_racsignal_operations1.md)<br>[ReactiveCocoa 中 RACSignal 所有变换操作底层实现分析(中)](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/RAC/reactivecocoa_racsignal_operations2.md) <br> [ReactiveCocoa 中 RACSignal 所有变换操作底层实现分析(下)](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/RAC/reactivecocoa_racsignal_operations3.md) <br> [ReactiveCocoa 中 RACSignal 冷信号和热信号底层实现分析](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/RAC/reactivecocoa_hot_cold_signal.md)<br> [ReactiveCocoa 中 集合类 RACSequence 和 RACTuple 底层实现分析](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/RAC/reactivecocoa_racsequence_ractuple.md) <br> [ReactiveCocoa 中 RACScheduler 是如何封装 GCD 的](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/RAC/reactivecocoa_racscheduler.md) <br> [ReactiveCocoa 中 RACCommand 底层实现分析](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/RAC/reactivecocoa_raccommand.md)<br> [ReactiveCocoa 中 奇妙无比的“宏”魔法](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/RAC/reactivecocoa_macro.md)| | Aspect | | [iOS 如何实现Aspect Oriented Programming (上)](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Aspect/ios_aspect.md)<br>[iOS 如何实现Aspect Oriented Programming (下)](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Aspect/ios_aspect.md)<br> | | ObjC | objc runtime 680 | [神经病院 Objective-C Runtime 入院第一天—— isa 和 Class](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/ObjC/objc_runtime_isa_class.md)<br>[神经病院 Objective-C Runtime 住院第二天——消息发送与转发](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/ObjC/objc_runtime_objc_msgsend.md) <br>[神经病院 Objective-C Runtime 出院第三天——如何正确使用 Runtime](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/ObjC/how_to_use_runtime.md) <br> [ObjC 对象的今生今世](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/ObjC/objc_life.md)<br>| | iOS Block | | [深入研究 Block 捕获外部变量和 __block 实现原理](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Block/ios_block.md) <br> [深入研究 Block 用 weakSelf、strongSelf、@weakify、@strongify 解决循环引用](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Block/ios_block_retain_circle.md)<br> | | iOS Simulator | | [给iOS 模拟器“安装”app文件](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/ios_simulator_ios_sim.md) <br> [Remote debugging on iOS with Safari Web Inspector](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/remote_debugging_on_ios_with_safari_web_inspector.md) | | xcconfig | | [手把手教你给一个 iOS app 配置多个环境变量](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/ios_multienvironments.md) <br> | | Jenkins | Weekly Release 2.15 | [手把手教你利用 Jenkins 持续集成 iOS 项目](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/ios_jenkins.md) <br> | | StoryBoard | | [关于 IB_DESIGNABLE / IBInspectable 的那些需要注意的事](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/ios_ib_designable_ibinspectable.md) <br> | | WWDC 2016 | | [WWDC2016 Session 笔记 - Xcode 8 Auto Layout 新特性](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/WWDC%202016/WWDC_2016_iOS10_Xcode8_AutoLayout.md) <br>[WWDC2016 Session 笔记 - iOS 10 UICollectionView 新特性](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/WWDC%202016/WWDC_2016_iOS10_UICollectionView.md) <br>[WWDC2016 Session 笔记 - iOS 10 推送 Notification 新特性](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/WWDC%202016/WWDC_2016_iOS10_Notification.md) <br> | | Jekyll | | [如何快速给自己构建一个温馨的"家"——用 Jekyll 搭建静态博客](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Jekyll/Jekyll.md) <br>| | Swift | 2.2 | [iOS如何优雅的处理“回调地狱Callback hell”(二)——使用Swift](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Swift/iOS_Callback_Hell_Swift.md) <br> | | PromiseKit | | [iOS如何优雅的处理“回调地狱Callback hell”(一)——使用PromiseKit](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/PromiseKit/iOS_Callback_Hell_PromiseKit.md) <br> | | WebSocket | | [微信,QQ 这类 IM app 怎么做——谈谈 Websocket](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/WebSocket/iOS_WebSocket.md) <br>| | Realm | | [Realm 数据库 从入门到“放弃”](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Realm/Realm%E6%95%B0%E6%8D%AE%E5%BA%93%20%E4%BB%8E%E5%85%A5%E9%97%A8%E5%88%B0%E2%80%9C%E6%94%BE%E5%BC%83%E2%80%9D.md) <br>[手把手教你从 Core Data 迁移到 Realm](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Realm/%E6%89%8B%E6%8A%8A%E6%89%8B%E6%95%99%E4%BD%A0%E4%BB%8ECore%20Data%E8%BF%81%E7%A7%BB%E5%88%B0Realm.md) <br> | | Core Data | | [iOS Core Data 数据迁移 指南](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/CoreData/iOS_Core_Data.md) <br> | | Cordova | | [iOS Hybrid 框架 ——PhoneGap](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Cordova/iOS%20Hybrid%20%E6%A1%86%E6%9E%B6%20%E2%80%94%E2%80%94PhoneGap.md)<br> [Remote debugging on iOS with Safari Web Inspector](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Cordova/Remote_debug.md) <br>| | Animation | | [iOS app 旧貌换新颜(一) — Launch Page 让 Logo "飞"出屏幕](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Launchpage/iOS_launchpage_logo_fly.md) <br> | | Interview | | [iOS 面试总结](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/ios_interview.md) <br> | | Phabricator | | [搭建Phabricator我遇到的那些坑](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Phabricator/%E6%90%AD%E5%BB%BAPhabricator%E6%88%91%E9%81%87%E5%88%B0%E7%9A%84%E9%82%A3%E4%BA%9B%E5%9D%91.md)<br> [Code review - Phabricator Use guide introduce](https://github.com/halfrost/Halfrost-Field/blob/master/contents/iOS/Phabricator/Code%20review%20-%20Phabricator%20Use%20guide%20introduce.md)<br>-----------------------------------------------------------------------<br>| ---------------------------- # 📝 Protocol | Project | Version | Article | |:-------:|:-------:|:------| |HTTP|1.1|[HTTP 基础概述](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTP.md)<br>| |HTTP|2|[[RFC 7540] Hypertext Transfer Protocol Version 2 (HTTP/2)](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTP:2_RFC7540.md)<br>[解开 HTTP/2 的面纱:HTTP/2 是如何建立连接的](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTP:2-begin.md)<br>[HTTP/2 中的 HTTP 帧和流的多路复用](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTP:2-HTTP-Frames.md)<br>[HTTP/2 中的帧定义](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTP:2-HTTP-Frames-Definitions.md)<br>[HTTP/2 中的 HTTP 语义](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTP:2-HTTP-Semantics.md)<br>[HTTP/2 中的注意事项](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTP:2-Considerations.md)<br>[HTTP/2 中的常见问题](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTP:2-Frequently-Asked-Questions.md)<br>[[RFC 7541] HPACK: Header Compression for HTTP/2](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTP:2_RFC7541.md)<br>[详解 HTTP/2 头压缩算法 —— HPACK](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTP:2_Header-Compression.md)<br>[HTTP/2 HPACK 实际应用举例](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTP:2_HPACK-Example.md)<br>[[RFC 7301] TLS Application-Layer Protocol Negotiation Extension](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TLS_ALPN.md)| |WebSocket|Version 13|[全双工通信的 WebSocket](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/WebSocket.md)<br>| |Protocol-buffers|proto3|[高效的数据压缩编码方式 Protobuf](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/Protocol-buffers-encode.md)<br>[高效的序列化/反序列化数据方式 Protobuf](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/Protocol-buffers-decode.md)| | FlatBuffers |1.9.0|[深入浅出 FlatBuffers 之 Schema](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/FlatBuffers-schema.md)<br>[深入浅出 FlatBuffers 之 Encode](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/FlatBuffers-encode.md)<br>[深入浅出 FlatBuffers 之 FlexBuffers](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/FlatBuffers-flexBuffers.md)| |TCP||[TCP/IP 基础概述](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TCP:IP.md)<br>[Advance\_TCP](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/Advance_TCP.md)| |TLS|Cryptography<br>|[密码学概述](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTPS-cryptography-overview.md)<br>[漫游对称加密算法](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTPS-symmetric-encryption.md)<br>[翱游公钥密码算法](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTPS-asymmetric-encryption.md)<br>[消息的“指纹”是什么?](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTPS-one-way-hash.md)<br>[消息认证码是怎么一回事?](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTPS-message-authentication-code.md)<br>[无处不在的数字签名](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTPS-digital-signature.md)<br>[随处可见的公钥证书](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTPS-digital-certificate.md)<br>[秘密的实质——密钥](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTPS-cipherkey.md)<br>[无法预测的根源——随机数](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTPS-random-number.md) |TLS|TLS 1.3<br>|[如何部署 TLS 1.3 ?](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TLS1.3_start.md)<br>[[RFC 6520] TLS & DTLS Heartbeat Extension](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TLS_Heartbeat.md)<br>[[RFC 8446] The Transport Layer Security (TLS) Protocol Version 1.3](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TLS_1.3_RFC8446.md)<br>[TLS 1.3 Introduction](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TLS_1.3_Introduction.md)<br>[TLS 1.3 Handshake Protocol](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TLS_1.3_Handshake_Protocol.md)<br>[TLS 1.3 Record Protocol](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TLS_1.3_Record_Protocol.md)<br>[TLS 1.3 Alert Protocol](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TLS_1.3_Alert_Protocol.md)<br>[TLS 1.3 Cryptographic Computations](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TLS_1.3_Cryptographic_Computations.md)<br>[TLS 1.3 0-RTT and Anti-Replay](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TLS_1.3_0-RTT.md)<br>[TLS 1.3 Compliance Requirements](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TLS_1.3_Compliance_Requirements.md)<br>[TLS 1.3 Implementation Notes](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TLS_1.3_Implementation_Notes.md)<br>[TLS 1.3 Backward Compatibility](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TLS_1.3_Backward_Compatibility.md)<br>[TLS 1.3 Overview of Security Properties](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TLS_1.3_Security_Properties.md)| |HTTPS|TLS 1.2/TLS 1.3|[HTTPS 温故知新(一) —— 开篇](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTPS-begin.md)<br>[HTTPS 温故知新(二) —— TLS 记录层协议](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTPS-record-layer.md)<br>[HTTPS 温故知新(三) —— 直观感受 TLS 握手流程(上)](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTPS-TLS1.2_handshake.md)<br>[HTTPS 温故知新(四) —— 直观感受 TLS 握手流程(下)](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTPS-TLS1.3_handshake.md)<br>[HTTPS 温故知新(五) —— TLS 中的密钥计算](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTPS-key-cipher.md)<br>[HTTPS 温故知新(六) —— TLS 中的 Extensions](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/HTTPS-extensions.md)<br>| |QUIC|v44|[如何部署 QUIC ?](https://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/QUIC_start.md)<br>------------------------------------------------------------------------<br>| ---------------------------- # ❄️ 星霜荏苒 | Project | Version | Article | |:-------:|:-------:|:------| | 开篇 | | [开篇](https://github.com/halfrost/Halfrost-Field/blob/master/contents/TimeElapse/start.md)| | 2017 | |[【星霜荏苒】 - 程序员如何在技术浪潮的更迭中保持较高的成长速度 ?](https://github.com/halfrost/Halfrost-Field/blob/master/contents/TimeElapse/2017.md)| | 2018 | |[【星霜荏苒】 - 如何看待软件开发 ?](https://github.com/halfrost/Halfrost-Field/blob/master/contents/TimeElapse/2018.md)| | 2019 | |[【星霜荏苒】 - 不甘当学渣,努力作学霸,最终是学民](https://github.com/halfrost/Halfrost-Field/blob/master/contents/TimeElapse/2019.md)| | 2020 | |[【星霜荏苒】 - 下一个五年计划起航 !](https://github.com/halfrost/Halfrost-Field/blob/master/contents/TimeElapse/2020.md)| | 2021 | |[后疫情时代下美国留学 CS Master 申请纪实](https://github.com/halfrost/Halfrost-Field/blob/master/contents/TimeElapse/2021.md)<br>-----------------------------------------------------------------------------------------<br>| ## ❗️ 勘误 + 如果在文章中发现了问题,欢迎提交 PR 或者 issue,欢迎大神们多多指点🙏🙏🙏 ## ♥️ 感谢 感谢Star! [![Stargazers over time](https://starchart.cc/halfrost/Halfrost-Field.svg)](https://starchart.cc/halfrost/Halfrost-Field) ## 🌈 公众号 ![](./contents/images/wechat-qr-code.png) ## ©️ 转载 <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="知识共享许可协议" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />本<span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" rel="dct:type">作品</span>由 <a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/halfrost/Halfrost-Field" property="cc:attributionName" rel="cc:attributionURL">halfrost</a> 创作,采用<a rel="license" href="http://creativecommons.org/licenses/by/4.0/">知识共享署名 4.0 国际许可协议</a>进行许可。
44
Execute Objective-C code as script. AST Interpreter. iOS hotfix SDK.
**OCRunner QQ群: 860147790** [中文介绍](https://github.com/SilverFruity/OCRunner/blob/master/README-CN.md) [相关文章](https://github.com/SilverFruity/OCRunner/issues/11) [Wiki](https://github.com/SilverFruity/OCRunner/wiki) ## Introduction ### The work flow of using [OCRunner](https://github.com/SilverFruity/OCRunner) to generate a patch ![image](https://raw.githubusercontent.com/SilverFruity/silverfruity.github.io/9a371dcb9cece8deefa4fe05b155ae7cbd5834b5/source/_posts/OCRunner/OCRunner_EN_0.jpeg) ### Responsibilities of all parties * [oc2mangoLib](https://github.com/SilverFruity/oc2mango/tree/master/oc2mangoLib) is equivalent to a simple compiler, responsible for generating the abstract syntax tree. * [ORPatchFile](https://github.com/SilverFruity/oc2mango/tree/master/oc2mangoLib/PatchFile) is responsible for serializing and deserializing the abstract syntax tree and determining whether the version is available. * [PatchGenerator](https://github.com/SilverFruity/oc2mango/tree/master/PatchGenerator) is responsible for integrating the functions of oc2mangoLib and ORPatchFile. (All the above tools are in the [oc2mango](https://github.com/SilverFruity/oc2mango) project). * [OCRunner](https://github.com/SilverFruity/OCRunner) is responsible for executing the abstract syntax tree. ### Difference from other hotfix libraries * Use binary patch files. Increase security, reduce patch size, optimize startup time, and can be optimized in the PatchGenerator stage. * Custom Arm64 ABI (You can also choose to use libffi) * Complete Objective-C syntax support, but does not support pre-compilation and partial syntax. ## Run patches locally using OCRunnerDemo [OCRunnerDemo](https://github.com/SilverFruity/OCRunner/tree/master/OCRunnerDemo) can be used as a reference for the entire process. You can't run it successlly with downloading zip file. You must using the below shell commands to tour OCRunnerDemo. ``` git clone --recursive https://github.com/SilverFruity/OCRunner.git ``` ### Cocoapods ```ruby pod 'OCRunner' #Support all architectures, including libffi.a # or pod 'OCRunnerArm64' #Only supports arm64 and arm64e, does not include libffi.a ``` ### Download [PatchGenerator](https://github.com/SilverFruity/oc2mango/releases) Unzip PatchGenerato.zip, then save **PatchGenerator** to /usr/local/bin/ or the project directory. ### add `Run Script` of PatchGenerator 1. **Project Setting** -> **Build Phases** -> click `+` in the upper left corner -> `New Run Script Phase` 2. [Path to PatchGenerator file] **-files** [Objective-C source files or diretory] **-refs** [Objective-C header files or diretory] **-output** [Path to save the patch] 3. for example: `Run Script` in OCRunnerDemo ```shell $SRCROOT/OCRunnerDemo/PatchGenerator -files $SRCROOT/OCRunnerDemo/ViewController1 -refs $SRCROOT/OCRunnerDemo/Scripts.bundle -output $SRCROOT/OCRunnerDemo/binarypatch ``` ### Development environment: Execute patch file 1. Add the generated patch file as a resource file to the project. 2. Appdelegate.m ```objc - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { #if DEBUG NSString *patchFilePath = [[NSBundle mainBundle] pathForResource:@"PatchFileName" ofType:nil]; #else // download from server #endif [ORInterpreter excuteBinaryPatchFile:patchFilePath]; return YES; } ``` 3. Every time you modify the file, remember to use **Command+B**, call `Run Scrip` to regenerate the patch file. ### Online environment 1. Upload the patch to the resource server. 2. Download and save the patch file in the App. 3. Use **[ORInterpreter excuteBinaryPatchFile:PatchFilePath]** to execute the patch. ## Use introduction ### Structure, Enum, Typedef You can run the following code by modifying **ViewController1** in **OCRunnerDemo**. ```objc // A new type called dispatch_once_t will be added typedef NSInteger dispatch_once_t; // link NSLog void NSLog(NSString *format, ...); typedef enum: NSUInteger{ UIControlEventTouchDown = 1 << 0, UIControlEventTouchDownRepeat = 1 << 1, UIControlEventTouchDragInside = 1 << 2, UIControlEventTouchDragOutside = 1 << 3, UIControlEventTouchDragEnter = 1 << 4 }UIControlEvents; int main(){ UIControlEvents events = UIControlEventTouchDown | UIControlEventTouchDownRepeat; if (events & UIControlEventTouchDown){ NSLog(@"UIControlEventTouchDown"); } NSLog(@"enum test: %lu",events); return events; } main(); ``` **Tips:** It is recommended to create a new file to place the above code, similar to the UIKitRefrence and GCDRefrence files in OCRunnerDemo, and then add the patch generation in the form of **-links**. ### Use system built-in C functions ```objc //you only need to add the C function declaration in Script. //link NSLog void NSLog(NSString *format, ...); //then you can use it in Scrtips. NSLog(@"test for link function %@", @"xixi"); ``` You can run the code by changing the content of **ViewController1** in OCRunnerDemo. When you add this code in scripts. OCRunner will use `ORSearchedFunction` to search the pointer of function name. It's core is `SymbolSearch` (edit from fishhook). If the searched result of function name is NULL,OCRunner will notice you in console like this: ```objc |----------------------------------------------| |❕you need add ⬇️ code in the application file | |----------------------------------------------| [ORSystemFunctionTable reg:@"dispatch_source_set_timer" pointer:&dispatch_source_set_timer]; ``` ### Fix Objective-C 's object (class) method and add attributes If you want to fix a method, you can reimplement the method without implementing other methods. ```objc @interface ORTestClassProperty:NSObject @property (nonatomic,copy)NSString *strTypeProperty; @property (nonatomic,weak)id weakObjectProperty; @end @implementation ORTestClassProperty - (void)otherMethod{ self.strTypeProperty = @"Mango"; } - (NSString *)testObjectPropertyTest{ [self ORGtestObjectPropertyTest] // Add'ORG' before the method name to call the original method [self otherMethod]; return self.strTypeProperty; } @end ``` ### Use of Block and solve circular references ```objc __weak id object = [NSObject new]; // Minimal block void (^a)(void) = ^{ int b = 0; }; a(); ``` ### Use GCD Its essence is **Use system built-in C functions**. It is added through the **GCDRefrences** file in OCRunnerDemo. The GCD related function declaration and typedef are all included in it. For Example: ```objc // link dispatch_sync void dispatch_sync(dispatch_queue_t queue, dispatch_block_t block); void main(){ dispatch_queue_t queue = dispatch_queue_create("com.plliang19.mango",DISPATCH_QUEUE_SERIAL); dispatch_async(queue, ^{ completion(@"success"); }); } main(); ``` ### Use inline functions, precompiled functions ```objc // Inline function: just add a global function in the patch, such as `CGRectMake` in UIKitRefrences CGRect CGRectMake(CGFloat x, CGFloat y, CGFloat width, CGFloat height) { CGRect rect; rect.origin.x = x; rect.origin.y = y; rect.size.width = width; rect.size.height = height; return rect; } // Pre-compiled function: you need to add the following code in the App [[MFScopeChain top] setValue:[MFValue valueWithBlock:^void(dispatch_once_t *onceTokenPtr, dispatch_block_t _Nullable handler){ dispatch_once(onceTokenPtr,handler); }] withIndentifier:@"dispatch_once"]; ``` ### How to determine if source files are included in a patch ![image](https://raw.githubusercontent.com/SilverFruity/silverfruity.github.io/9a371dcb9cece8deefa4fe05b155ae7cbd5834b5/source/_posts/OCRunner/OCRunner_2.jpeg) ## Performance Testing ### Loading time ![2](https://raw.githubusercontent.com/SilverFruity/silverfruity.github.io/9a371dcb9cece8deefa4fe05b155ae7cbd5834b5/source/_posts/OCRunner/OCRunner_1.jpeg) ### Execution speed and memory usage Device: iPhone SE2 , iOS 14.2, Xcode 12.1. Take the classic Fibonacci sequence function as an example, find the test result of the value of the 25th term #### JSPatch * Execution time, the average time is 0.169s ![](./ImageSource/JSPatchTimes.png) * Memory usage has been stable at around 12MB ![](./ImageSource/JSPatchMemory.png) #### OCRunner * Execution time, the average time is 1.05s ![](./ImageSource/OCRunnerTimes.png) * Memory usage, peak value is about 60MB ![](./ImageSource/OCRunnerMemory.png) #### Mango * Execution time, the average time is 2.38s ![](./ImageSource/MangoTimes.png) * The memory usage continues to rise, reaching about 350MB at the highest point. ![](./ImageSource/MangoMemory.png) * When testing with recursive functions, the performance of OCRunner is 1/5 times JSPatch's, and is 2.5 times Mango's. * OCRunner's patch loading speed is about 20 times + that of Mango, and this value increases as the patch size increases. and the result of JSPatch is unknown. * Regarding the memory usage of recursive method calls, there is currently a problem of excessive usage. When finding the 30th item of the Fibonacci sequence, Mango will burst the memory, and the peak memory usage of OCRunner is about 600MB. ## Current problems 1. Pointer and multiplication sign identification conflicts, derived problems: type conversion, etc. 2. Not support static、inline function declaration 3. Not support C array declaration: type a[]、type a[2]、value = { 0 , 0 , 0 , 0 } 4. Not support '->' operation symbol... 5. Not support fix C function ## Support grammar 1. Class declaration and implementation, support Category 2. Protocol 3. Block 4. struct、enum、typedef 5. Use function declarations to link system function pointers 6. Global function 7. Multi-parameter call (methods and functions) 8. **\***、**&** (Pointer operation) 9. Variable static keyword 10. NSArray: @[value1, value2],NSDictionary: @{ key: value }, NSNumer: @(value) 11. NSArray, NSDictionary value and assignment syntax: id value = a[var]; a[var] = value; 12. [Operator, except for'->' all have been implemented](https://en.cppreference.com/w/c/language/operator_precedence) etc. ### Thanks for * [Mango](https://github.com/YPLiang19/Mango) * [libffi](https://github.com/libffi/libffi) * Procedure Call Standard for the ARM 64-bit Architecture. * [@jokerwking](https://github.com/jokerwking)
45
Call hidden/private API in style! The Swift way.
![image](https://user-images.githubusercontent.com/121827/79637117-4961c880-8185-11ea-9014-5eb7fc9dc211.png) ![Swift](https://img.shields.io/badge/Swift-5.2-orange?logo=Swift&logoColor=white) [![SwiftPM compatible](https://img.shields.io/badge/SwiftPM-compatible-brightgreen.svg)](https://swift.org/package-manager/) ![Build](https://github.com/mhdhejazi/Dynamic/workflows/Build/badge.svg) ![Tests](https://github.com/mhdhejazi/Dynamic/workflows/Tests/badge.svg) A library that uses `@dynamicMemberLookup` and `@dynamicCallable` to access Objective-C API the Swifty way. ## Table of contents * [Introduction](#introduction) * [Examples](#examples) * [Installation](#installation) * [How to use](#how-to-use) * [Requirements](#requirements) * [Contribution](#contribution) * [Author](#author) ## Introduction Assume we have the following private Objective-C class that we want to access in Swift: ```objectivec @interface Toolbar : NSObject - (NSString *)titleForItem:(NSString *)item withTag:(NSString *)tag; @end ``` There are three ways to dynamically call the method in this class: **1. Using `performSelector()`** ```swift let selector = NSSelectorFromString("titleForItem:withTag:") let unmanaged = toolbar.perform(selector, with: "foo", with: "bar") let result = unmanaged?.takeRetainedValue() as? String ``` **2. Using `methodForSelector()` with `@convention(c)`** ```swift typealias titleForItemMethod = @convention(c) (NSObject, Selector, NSString, NSString) -> NSString let selector = NSSelectorFromString("titleForItem:withTag:") let methodIMP = toolbar.method(for: selector) let method = unsafeBitCast(methodIMP, to: titleForItemMethod.self) let result = method(toolbar, selector, "foo", "bar") ``` **3. Using `NSInvocation`** <details> <summary>It's only available in Objective-C.</summary> ```objectivec SEL selector = @selector(titleForItem:withTag:); NSMethodSignature *signature = [toolbar methodSignatureForSelector:selector]; NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:signature]; invocation.target = toolbar; invocation.selector = selector; NSString *argument1 = @"foo"; NSString *argument2 = @"bar"; [invocation setArgument:&argument1 atIndex:2]; [invocation setArgument:&argument2 atIndex:3]; [invocation invoke]; NSString *result; [invocation getReturnValue:&result]; ``` </details> **Or, we can use Dynamic** 🎉 ```swift let result = Dynamic(toolbar) // Wrap the object with Dynamic .titleForItem("foo", withTag: "bar") // Call the method directly! ``` > More details on how the library is designed and how it works [here](https://medium.com/swlh/calling-ios-and-macos-hidden-api-in-style-1a924f244ad1). ## Examples The main use cases for `Dynamic` is accessing private/hidden iOS and macOS API in Swift. And with the introduction of Mac Catalyst, the need to access hidden API arose as Apple only made a very small portion of the macOS AppKit API visible to Catalyst apps. What follows are examples of how easy it is to access AppKit API in a Mac Catalyst with the help of Dynamic. #### 1. Get the `NSWindow` from a `UIWindow` in a MacCatalyst app ```swift extension UIWindow { var nsWindow: NSObject? { var nsWindow = Dynamic.NSApplication.sharedApplication.delegate.hostWindowForUIWindow(self) if #available(macOS 11, *) { nsWindow = nsWindow.attachedWindow } return nsWindow.asObject } } ``` #### 2. Enter fullscreen in a MacCatalyst app ```swift // macOS App window.toggleFullScreen(nil) // Mac Catalyst (with Dynamic) window.nsWindow.toggleFullScreen(nil) ``` #### 3. Using `NSOpenPanel` in a MacCatalyst app ```swift // macOS App let panel = NSOpenPanel() panel.beginSheetModal(for: view.window!, completionHandler: { response in if let url: URL = panel.urls.first { print("url: ", url) } }) // Mac Catalyst (with Dynamic) let panel = Dynamic.NSOpenPanel() panel.beginSheetModalForWindow(self.view.window!.nsWindow, completionHandler: { response in if let url: URL = panel.URLs.firstObject { print("url: ", url) } } as ResponseBlock) typealias ResponseBlock = @convention(block) (_ response: Int) -> Void ``` #### 4. Change the window scale factor in MacCatalyst apps iOS views in Mac Catalyst apps are automatically scaled down to 77%. To change the scale factor we need to access a hidden property: ```swift override func viewDidAppear(_ animated: Bool) { view.window?.scaleFactor = 1.0 // Default value is 0.77 } extension UIWindow { var scaleFactor: CGFloat { get { Dynamic(view.window?.nsWindow).contentView .subviews.firstObject.scaleFactor ?? 1.0 } set { Dynamic(view.window?.nsWindow).contentView .subviews.firstObject.scaleFactor = newValue } } } ``` ## Installation You can use [Swift Package Manager](https://swift.org/package-manager) to install `Dynamic` by adding it in your `Package.swift` : ```swift let package = Package( dependencies: [ .package(url: "https://github.com/mhdhejazi/Dynamic.git", branch: "master") ] ) ``` ## How to use The following diagram shows how we use Dynamic to access private properties and methods from the Objective-C object `obj`: ![Diagram](https://user-images.githubusercontent.com/121827/83970645-7312b280-a8df-11ea-87bf-d69682f8627d.png) ### 1. Wrap Objective-C objects To work with Objective-C classes and instances, we need to wrap them with Dynamic first #### Wrapping an existing object If we have a reference for an existing Objective-C object, we can simply wrap it with `Dynamic`: ```swift let dynamicObject = Dynamic(objcObject) ``` #### Creating new instances To create a new instance from a hidden class, we prepend its name with `Dynamic` (or `ObjC`): ```swift // Objective-C: [[NSDateFormatter alloc] init]; // Swift: let formatter = Dynamic.NSDateFormatter() // Or maybe: let formatter = ObjC.NSDateFormatter() // Or the longer form: let formatter = ObjC.NSDateFormatter.`init`() ``` > **Note 1**: The `formatter` is an instance of `Dynamic` that wraps the new instance of `NSDateFormatter` > **Note 2**: `ObjC` is just a typealias for `Dynamic`. Whatever you choose to use, stay consistent. If the initializer takes parameters, we can pass them directly: ```swift // Objective-C: [[NSProgress alloc] initWithParent:foo userInfo:bar]; // Swift: let progress = Dynamic.NSProgress(parent: foo, userInfo: bar) // Or the longer form: let progress = Dynamic.NSProgress.initWithParent(foo, userInfo: bar) ``` > Both forms are equivalent because the library adds the prefix `initWith` to the method selector in the first case. > If you choose to use the shorter form, remember that you can only drop the prefix `initWith` from the original initializer name. Whatever comes after `initWith` should be the label of the first parameter. #### Singletons Accessing singletons is also straightforward: ```swift // Objective-C: [NSApplication sharedApplication]; // Swift: let app = Dynamic.NSApplication.sharedApplication() // Or we can drop the parenthesizes, as if `sharedApplication` was a static property: let app = Dynamic.NSApplication.sharedApplication ``` > **Important Note**: Although the syntax looks very similar to the Swift API, it's not always identical to the Swift version of the used API. For instance, the name of the above singleton in Swift is [`shared`](https://developer.apple.com/documentation/appkit/nsapplication/1428360-shared) not `sharedApplication`, but we can only use [`sharedApplicaton`](https://developer.apple.com/documentation/appkit/nsapplication/1428360-sharedapplication) here as we're internally taking with the Objective-C classes. > Always refer to the Objective-C documentation of the method you're trying to call to make sure you're using the right name. ### 2. Call the private API After wrapping the Objective-C object, we can now access its properties and methods directly from the Dynamic object. #### Accessing properties ```swift // Objective-C: @interface NSDateFormatter { @property(copy) NSString *dateFormat; } // Swift: let formatter = Dynamic.NSDateFormatter() // Getting the property value: let format = formatter.dateFormat // `format` is now a Dynamic object // Setting the property value: formatter.dateFormat = "yyyy-MM-dd" // Or the longer version: formatter.dateFormat = NSString("yyyy-MM-dd") ``` > **Note 1**: The variable `format` above is now a `Dynamic` object that wraps the actual property value. The reason for returning a `Dynamic` object and not the actual value is to allow call chaining. We'll see later how we can unwrap the actual value from a `Dynamic` object. > **Note 2**: Although the property `NSDateFormatter.dataFormat` is of the type `NSString`, we can set it to a Swift `String` and the library will convert it to `NSString` automatically. #### Calling methods ```swift let formatter = Dynamic.NSDateFormatter() let date = formatter.dateFromString("2020 Mar 30") // `date` is now a Dynamic object ``` ```swift // Objective-C: [view resizeSubviewsWithOldSize:size]; [view beginPageInRect:rect atPlacement:point]; // Swift: view.resizeSubviewsWithOldSize(size) // OR ⤸ view.resizeSubviews(withOldSize: size) view.beginPageInRect(rect, atPlacement: point) // OR ⤸ view.beginPage(inRect: rect, atPlacement: point) ``` > Calling the same method in different forms is possible because the library combines the method name (e.g. `resizeSubviews`) with the first parameter label (e.g. `withOldSize`) to form the method selector (e.g. `resizeSubviewsWithOldSize:`). This means you can also call: `view.re(sizeSubviewsWithOldSize: size)`, but please don't. #### Objective-C block arguments To pass a Swift closure for a block argument, we need to add `@convention(block)` to the closure type, and then cast the passed closure to this type. ```swift // Objective-C: - (void)beginSheetModalForWindow:(NSWindow *)sheetWindow completionHandler:(void (^)(NSModalResponse returnCode))handler; // Swift: let panel = Dynamic.NSOpenPanel.openPanel() panel.beginSheetModal(forWindow: window, completionHandler: { result in print("result: ", result) } as ResultBlock) typealias ResultBlock = @convention(block) (_ result: Int) -> Void ``` ### 3. Unwrap the result Methods and properties return `Dynamic` objects by default to make it possible to chain calls. When the actual value is needed it can be unwrapped in multiple ways: #### Implicit unwrapping A value can be implicitly unwrapped by simply specifying the type of the variable we're assigning the result to. ```swift let formatter = Dynamic.NSDateFormatter() let date: Date? = formatter.dateFromString("2020 Mar 30") // Implicitly unwrapped as Date? let format: String? = formatter.dateFormat // Implicitly unwrapped as String? let progress = Dynamic.NSProgress() let total: Int? = progress.totalUnitCount // Implicitly unwrapped as Int? ``` Note that we should always use a nullable type (`Optional`) for the variable type or we may see a compiler error: ```swift let total = progress.totalUnitCount // No unwrapping. `total` is a Dynamic object let total: Int? = progress.totalUnitCount // Implicit unwrapping as Int? let total: Int = progress.totalUnitCount // Compiler error let total: Int = progress.totalUnitCount! // Okay, but dangerous ``` > Assigning to a variable of an optional type isn't the only way for implicitly unwrapping a value. Other ways include returning the result of a method call or comparing it with a variable of an optional type. Note that the implicit unwrapping only works with properties and method calls since the compiler can choose the proper overloading method based on the expected type. This isn't the case when we simply return a Dynamic variable or assign it to another variable: ```swift // This is okay: let format: Date? = formatter.dateFromString("2020 Mar 30") // But this is not: let dynamicObj = formatter.dateFromString("2020 Mar 30") let format: Date? = dynamicObj // Compiler error ``` #### Explicit unwrapping We can also explicitly unwrap values by calling one of the `as<Type>` properties: ```swift Dynamic.NSDateFormatter().asObject // Returns the wrapped value as NSObject? formatter.dateFormat.asString // Returns the wrapped value as String? progress.totalUnitCount.asInt // Returns the wrapped value as Int? ``` And there are many properties for different kinds of values: ```swift var asAnyObject: AnyObject? { get } var asValue: NSValue? { get } var asObject: NSObject? { get } var asArray: NSArray? { get } var asDictionary: NSDictionary? { get } var asString: String? { get } var asFloat: Float? { get } var asDouble: Double? { get } var asBool: Bool? { get } var asInt: Int? { get } var asSelector: Selector? { get } var asCGPoint: CGPoint? { get } var asCGVector: CGVector? { get } var asCGSize: CGSize? { get } var asCGRect: CGRect? { get } var asCGAffineTransform: CGAffineTransform? { get } var asUIEdgeInsets: UIEdgeInsets? { get } var asUIOffset: UIOffset? { get } var asCATransform3D: CATransform3D? { get } ``` ### Edge cases #### Unrecognized methods and properties If you try to access undefined properties or methods the app won't crash, but you'll get `InvocationError.unrecognizedSelector` wrapped with a `Dynamic` object. You can use `Dynamic.isError` to check for such an error. ```swift let result = Dynamic.NSDateFormatter().undefinedMethod() result.isError // -> true ``` And you'll also see a warning in the console: ```nasm WARNING: Trying to access an unrecognized member: NSDateFormatter.undefinedMethod ``` > Note that a crash may expectedly happen if you pass random parameters of unexpected types to a method that doesn't expect them. #### Setting a property to `nil` You can use one the following ways to set a property to `nil`: ```swift formatter.dateFormat = .nil // The custom Dynamic.nil constant formatter.dateFormat = nil as String? // A "typed" nil formatter.dateFormat = String?.none // The Optional.none case ``` ### Logging It's always good to understand what's happening under the hood - be it to debug a problem or just out of curiosity. To enable extensive logging, simply change the `loggingEnabled` property to `true`: ```swift Dynamic.loggingEnabled = true ``` ## Requirements #### Swift: 5.0 `Dynamic` uses the `@dynamicCallable` attribute which was introduced in Swift 5. ## Contribution Please feel free to contribute pull requests, or create issues for bugs and feature requests. ## Author Mhd Hejazi <a href="https://twitter.com/intent/follow?screen_name=Hejazi"><img src="https://img.shields.io/badge/@hejazi-x?color=08a0e9&logo=twitter&logoColor=white" valign="middle" /></a>
46
A curated list of awesome ARKit projects and resources. Feel free to contribute!
# Awesome ARKit [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) [![Build Status](https://api.travis-ci.org/olucurious/Awesome-ARKit.svg?branch=master)](https://travis-ci.com/olucurious/Awesome-ARKit) ![Banner](https://raw.githubusercontent.com/olucurious/awesome-arkit/master/banner.png) A curated list of awesome ARKit projects and resources. Feel free to contribute! ARKit is a new framework that allows you to easily create unparalleled augmented reality experiences for iPhone and iPad. By blending digital objects and information with the environment around you, ARKit takes apps beyond the screen, freeing them to interact with the real world in entirely new ways. - [Projects](#projects) - [AppStore](#appstore) - [Tutorials](#tutorials) - [Resources](#resources) - - - # Projects * [Baraba](https://github.com/nsoojin/baraba) - Make your UIScrollView scroll automatically when user is looking 👀 by tracking face using ARKit * [Robust-Measurement-Tool](https://github.com/vhanagwal/ARRuler) - ARKit-based measurement tool, which has easy-to-follow and fully documented code. * [ARMultiuser](https://github.com/szt243660543/ARMultiuser) - This demo use arkit 2.0, realize multiplayer play together! The project refers to the official demo! * [ARKit2.0-Prototype](https://github.com/simformsolutions/ARKit2.0-Prototype) - Bluetoothed ARKit 2.0 with ARWorldMap * [ARBrush](https://github.com/laanlabs/ARBrush) - Quick demo of 3d drawing in ARKit using metal + SceneKit * [ARuler](https://github.com/duzexu/ARuler) - ARKit demo ruler app * [Apple ARKit example app](https://github.com/markdaws/arkit-by-example) - Apple ARKit example app * [ARKit-FloorIsLava](https://github.com/arirawr/ARKit-FloorIsLava) - Basic ARKit example that detects planes and makes them lava. * [ARKit-line-drawing](https://github.com/lapfelix/ARKit-line-drawing) - Changed the default ARKit project to draw a line where the camera is positioned * [ARKit-tictactoe](https://github.com/bjarnel/arkit-tictactoe) - ARKit based tic-tac-toe with a decent AI opponent * [ARShooter](https://github.com/farice/ARShooter) - A basic Augmented Reality shooter made with ARKit in Swift (iOS 11) * [ARStack](https://github.com/XanderXu/ARStack) - AR version Stack game with ARKit in Swift * [ARRubiks](https://github.com/Nicholas714/ARRubiks) - A Rubik's Cube that you can put on a table * [ARTetris](https://github.com/exyte/ARTetris) - Augmented Reality Tetris made with ARKit and SceneKit * [ARText](https://github.com/markz-nyc/ARText) - ARText render 3D Text/caption in real world by using ARKit * [Boxify](https://github.com/alunbestor/Boxify) - An ARKit box-drawing demo * [iOS11 ARKit (3D of Wolf 🐺 狼)](https://github.com/yx79/ARKit-Wolf) - iOS11 ARKit (3D of Wolf 🐺 狼) * [iOS-11-by-Examples](https://github.com/artemnovichkov/iOS-11-by-Examples) - Examples of new iOS 11 APIs * [MeasureARKit](https://github.com/DroidsOnRoids/MeasureARKit) - Simple app measuring real objects with ARKit (tutorial in articles) * [ARKitGameSpriteKit](https://github.com/eh3rrera/ARKitGameSpriteKit) - A game inspired by Pokemon Go build with ARKit and SpriteKit * [MeasureThings](https://github.com/whitesmith/MeasureThings) - ARKit introduction: measure the distance between two points * [ARCharts](https://github.com/Boris-Em/ARCharts) - 3D charts in AR * [3DSnakeAR](https://github.com/PGSSoft/3DSnakeAR) - Snake 3D game 🐍 * [ARSolarPlay](https://github.com/miliPolo/ARSolarPlay) - Solar system in AR * [ARKit-CoreLocation](https://github.com/ProjectDent/ARKit-CoreLocation) - Combines the high accuracy of AR with the scale of GPS data * [ARKitPlusVR](https://github.com/WorkerAmo/ARKitPlusVR) - Make VR with SceneKit & ARKit * [ARKitDemoPlayground](https://github.com/mhanlon/ARKitDemoPlayground) - A demo of the ARKit Demo project from Xcode 9 as a Swift Playground * [ARGitHubCommits](https://github.com/songkuixi/ARGitHubCommits) - Show your GitHub commit records in 3D with ARKit and SceneKit * [Virtual Objects](https://github.com/ignacio-chiazzo/ARKit) - Placing Virtual Objects in Augmented Reality * [CoreML-in-ARKit](https://github.com/hanleyweng/CoreML-in-ARKit) - Simple project to detect objects and display 3D labels above them in AR. * [ARPaint](https://github.com/oabdelkarim/ARPaint) - Draw with bare fingers in the air using ARKit * [arkit-smb-homage](https://github.com/bjarnel/arkit-smb-homage) - This project is a homage to Super Mario Bros. * [ARShellGame](https://github.com/handsomecode/arkit-shell-game) - Augmented Reality Shell game made with ARKit and SceneKit. * [Occlusion](https://github.com/bjarnel/arkit-occlusion) - "Tracking" vertical planes and occluding virtual objects with real world geometry. * [ARKit-Sample-ObjC](https://github.com/rajubd49/ARKit-Sample-ObjC) - Sample ARKit Objective-C implementation with features of Add, Remove, Scale, Move single or multiple objects along with plane detection. * [ARBalloons](https://github.com/nagam11/ARBalloons) - Sample ARKit Demo using SpriteKit to simulate balloons🎈 * [cARd](https://github.com/artemnovichkov/cARd) - Simple demo of animated card made with ARKit + SceneKit. * [FaceRecognition-in-ARKit](https://github.com/NovaTecConsulting/FaceRecognition-in-ARKit) - Detects faces using the Vision-API and runs the extracted face through a CoreML-model to identiy the specific persons. * [pARtfolio](https://github.com/rosberry/pARtfolio) - Rosberry Portfolio app made with Apple ARKit. * [SceneKitVideoRecorder](https://github.com/svtek/SceneKitVideoRecorder) - Video and Audio recorder for ARKit projects. * [ARKit Navigation Demo](https://github.com/chriswebb09/ARKitNavigationDemo) * [ARKit-Sampler](https://github.com/shu223/ARKit-Sampler) - A collection of ARKit samples, including a custom rendering sample using Metal. * [Measure](https://github.com/levantAJ/Measure) - Using ARKit to make calculate distance of real world objects * [Ruler](https://github.com/TBXark/Ruler) - An AR ruler app can measure length & area * [Twilio Video chat w/ AR](https://github.com/twilio/video-quickstart-swift/tree/master/ARKitExample) - Twilio Video chat with AR in scene * [ARPlayer](https://github.com/MaximAlien/ARPlayer) - Playback videos using ARKit and AVFoundation📺 * [ARVoxelKit](https://github.com/VoxxxelAR/ARVoxelKit) - Lightweight Framework for Voxel graphic. * [ARKitSpitfire](https://github.com/chriswebb09/ARKitSpitfire) - AR Spitfire that can orient itself towards then fly to geocoordinates. * [ARInvaders](https://github.com/aivantg/ar-invaders) - A port of Space Invaders using ARKit. Aliens will fly and chase you around your home. Can you shoot them before they shoot you? * [ARKitAirport](https://github.com/chriswebb09/ARKitAirport) - Tap on map, plane will take off from an AR runway and fly to location you tapped. * [AR-FlatWeatherDiplay](https://github.com/nagam11/ARKit-Projects/tree/master/Project%2002%20-%20ARFlatWeather) - A live flat Weather Dashboard based on the user's location. ☀️⛈ * [AR-Planes](https://github.com/Hack-the-North-2017/AR-Planes) - Visualize and discover the planes flying around you ✈️ * [ARVideoKit](https://github.com/AFathi/ARVideoKit) - Record and capture videos 📹, photos 🌄, Live Photos 🎇, and GIFs 🎆 with ARKit content. * [uARKit](https://github.com/mustafaatalar/uARKit) - Framework to simplify and improve usage of ARKit for non-AR developers * [NextLevel](https://github.com/nextlevel/NextLevel) – Open Source ARKit Media Capture in Swift. * [Findme](https://github.com/mmoaay/Findme) – Using ARKit to find me. * [SmileToUnlock](https://github.com/rsrbk/SmileToUnlock) – This library uses ARKit Face Tracking in order to catch a user's smile. * [ARKitEnvironmentMapper](https://github.com/svtek/ARKitEnvironmentMapper) - Create an environment map from the camera feed to achieve realistic lighting and reflections. * [ARBottleJump](https://github.com/songkuixi/ARBottleJump) - An ARKit version of WeChat Bottle Jump game. * [ARKit-Virtual-Backdrop](https://github.com/montaguegabe/arkit-virtual-backdrop) - Superimpose your image into a 3D rendered world using Metal. * [Mokapp2017_World](https://github.com/gali8/Mokapp2017_World) - With Mokapp2017 World you can explore the world around you, play a video, put objects in front of you or to a plane (with gravity), play Space Invaders 3D. * [Mokapp2017_Face](https://github.com/gali8/Mokapp2017_Face) - With Mokapp2017 Face you can put objects and particles on your face. * [ARBubble-blower](https://github.com/AppPear/bubbleblower) - For creating stunning soap bubbles in your AR app, nothing is more fun than to pop bubbles in AR. * [WallStreaming](https://github.com/Bersaelor/WallStreaming) - Project demonstrating vertical surface detection and streaming/playing video on a virtual surface. * [Poly](https://github.com/piemonte/Poly) - Unofficial Googly Poly SDK. A library for searching and displaying 3D models. * [ARbusters](https://github.com/pedrommcarrasco/ARbusters) - AR game in a pixel/billboard style. Created as a first steps project for newcorners. * [HeavenMemoirs](https://github.com/SherlockQi/HeavenMemoirs) - AR相册 Photo Album For AR * [SceneKit PortalMask](https://github.com/maxxfrazer/SceneKit-PortalMask) - Pod to create a space that is occluded from the outside except through a rectangular or circular frame * [AR Drawing](https://github.com/Rageeni/AR-Drawing) - Drawing in real world. * [AR Sections](https://github.com/Rageeni/AR-Sections) 1. Plane Detection 2. Put object on the floor 3. Draw Planets 4. AR Hit Game * [ARBlockTower](https://github.com/Nicholas714/ARBlockTower) - Show a Block Tower to see how you can stack up against gravity * [ARKit-Emperor](https://github.com/kboy-silvergym/ARKit-Emperor) - Power! Unlimited power for ARKit 2.0! (Samples) * [iOS-Depth-Sampler](https://github.com/shu223/iOS-Depth-Sampler) - A collection of samples for Depth APIs, including ARKit+Depth sample. * [ARTrailer](https://github.com/waitingcheung/ARTrailer) - Augmented Reality Movie Trailer made with ARKit and SceneKit. * [ARBusinessCard](https://github.com/BlackMirrorz/ARKitBusinessCard) - Create and view fully interactive business cards. * [ARStarter](https://github.com/codePrincess/ARStarter) - get started with ARKit - a little exercise for beginners. * [MarvelAR](https://github.com/hadiidbouk/MarvelAR) - MarvelAR is an iOS application that present Marvel Heroes 3D Models Using ARKit. * [AR-Quick-Look](https://github.com/anand2nigam/AR-Quick-Look) - Rendering any 3d model in Augmented Reality using AR-Quick-Look, recently launched by Apple to view or share your 3d model. * [ARInstagram](https://github.com/nativ18/ARInstagram) - Placing 2D images on walls and applying Instagram-like filters on them. * [Reality Shaders](https://github.com/mattbierner/reality-shaders-example) - Apply metal vertex and fragment shaders to real world surfaces. * [SCNRecorder](https://github.com/gorastudio/SCNRecorder) - Capture Video and Photo from SceneKit, ARKit and RealityKit projects at 60 fps. * [ARCarGuidePoC](https://github.com/eldare/ARCarGuidePoC) - Detects parts under a hood of a motor vehicle, and tracks the detected parts in AR. # AppStore * [Snake.AR](https://itunes.apple.com/us/app/snake-ar/id1412559766?ls=1&mt=8) - Classic Snake game in Augmented Reality! You can move around the snake by moving your phone. Be careful of the obstacles and have fun! * [ARPiano](https://itunes.apple.com/us/app/arpiano/id1287013036?l=zh&ls=1&mt=8) - A augmented reality fine-tuned and professional piano app with 61 keys or 88 keys, which you can place every plane to play. * [Sky Guide AR](https://itunes.apple.com/us/app/sky-guide-view-stars-night-or-day/id576588894?mt=8) - A star app has never been more beautiful and easy to use. * [StroodleDoodle AR](https://itunes.apple.com/us/app/stroodledoodle-ar/id1290383778) - Digital Play-Dough. Fast and fun 3D sculpting on any surface, anywhere. Share directly to sketchfab. * [Night Sky](https://itunes.apple.com/app/the-night-sky/id475772902?mt=8) - Night Sky is a powerful augmented reality personal planetarium. * [AR Dragon](https://itunes.apple.com/us/app/ar-dragon/id1270046606?mt=8) - Augmented Reality Virtual Pet Simulator! * [MyTools · My AR Light & Ruler](https://itunes.apple.com/us/app/%E6%88%91%E7%9A%84%E6%89%8B%E7%94%B5%E5%92%8C%E5%B0%BA%E5%AD%90-my-light-ruler/id557839389?mt=8) - 「My Ruler and Light」is a useful and delicately designed toolbox App for you. * [Thomas & Friends Minis](https://itunes.apple.com/us/app/thomas-friends-minis/id1216643761?mt=8) - Create your very own train set piece by piece and bring it to life with Thomas and all his friends. * [Stack AR](https://itunes.apple.com/app/stack-ar/id1269638287) - Stack up the blocks as high as you can! * [Euclidean Lands](https://itunes.apple.com/us/app/euclidean-lands/id1181212221?mt=8) - A beautiful puzzle game with unique mechanics that blends isometric architecture and turn-based movement into an exciting medieval game world. * [Homebrew Club](https://itunes.apple.com/us/app/homebrew-club/id1278615967?mt=8) - In augmented reality, you can always place the computer on your desk, floor or even bed. Then the computer can be observed in any orientations and distances. Anyway, this is just like a real computer! * [Stik AR](https://itunes.apple.com/us/app/stik-ar/id1072055511?mt=8) - People can stick stickers at where iPhone at in real space. * [Zombie Gunship Revenant AR](https://itunes.apple.com/us/app/zombie-gunship-revenant-ar/id1254976492?mt=8) - ZOMBIE GUNSHIP REVENANT is the ultimate augmented reality zombie shooter where you take control of a heavily-armed helicopter gunship and obliterate zombies from the sky. * [Human Anatomy Atlas 2018](https://itunes.apple.com/app/id1117998129) - Human Anatomy Atlas 2018 Edition is the go-to 3D anatomy reference app for healthcare professionals, students, and professors. * [Conduct AR!](https://itunes.apple.com/us/app/conduct-ar/id1256506674?mt=8&ign-mpt=uo%3D4) - Conduct AR! is an epic augmented reality game of explosive railway action. * [AirMeasure AR](https://itunes.apple.com/app/apple-store/id1251282152?mt=8) - This app lets you place virtual objects in augmented reality. * [IKEA Place](https://itunes.apple.com/us/app/ikea-place/id1279244498?mt=8) - IKEA Place lets you virtually 'place' IKEA products in your space. * [CARROT Weather](https://itunes.apple.com/app/id961390574) - CARROT Weather is a crazy-powerful weather app that delivers hilariously twisted forecasts. * [Holo](https://itunes.apple.com/us/app/holo/id1194175772?mt=8) - Holo lets you add holograms of real people and animals into your world and take photos & videos to share with friends. * [Surreal](https://itunes.apple.com/app/id1286981298) - People can customize any surrounding environment into their wildest dreams: expressing themselves in a new mixed reality space, as well as sharing with family, friends and other social outlets. * [Wallr](https://itunes.apple.com/us/app/wallr/id1278372745) - Add pictures from your phone to the wall and pan and scale to find the best size and position. * [Magic Sudoku](https://itunes.apple.com/us/app/magic-sudoku/id1286979959) - Solve Sudoku puzzles in realtime (uses CoreML, Vision, and ARKit to create a seamless experience). * [Arcane Maze](https://itunes.apple.com/app/id1278819229) - Find your way out of maze. * [Wavy Music](https://itunes.apple.com/us/app/wavy-music/id1366917156?ls=1&mt=8) - Experience music in augmented reality. * [Waazy](https://itunes.apple.com/us/app/waazy-magic-ar-video-maker/id1286992749) - Waazy is an augmented reality short video clips shooting and sharing app, making it possible to bring virtual characters and objects to the real world * [Gruesome Gotham](https://itunes.apple.com/us/app/gruesome-gotham/id1299224537) - Murder! Mystery! Intrigue! Get a glimpse at New York City’s 19th century crime scenes using augmented reality. Travel between six murderous moments on the map and see the deadly deeds unfold right before your eyes. * [Floto](https://itunes.apple.com/us/app/flotogram/id1300137329) - Flotogram is a fully featured AR Photography and Video app that places your photos directly into an Augmented Reality scene around you. * [Horizon Explorer](https://itunes.apple.com/gb/app/horizon-explorer/id1326860431) - Point your camera at a hill, village or landmark on the horizon and Horizon Explorer tells you its name, distance and altitude. * [Imagipets AR](https://itunes.apple.com/app/id1286345361) - Play, feed and talk with imaginary dragon pets. * [Pocket Balloon](https://itunes.apple.com/app/apple-store/id1368660677?pt=454172&ct=website&mt=8) - Fly an air balloon by blowing on the screen of your phone. Search for landing zones in flat surfaces around you and land on them to earn points and compete with your friends. * [AR Candle](https://itunes.apple.com/us/app/ar%E7%A5%88%E7%A6%8F/id1346647915?mt=8) - AR Candle is an augmented reality candle blessing app. * [Hotstepper](https://itunes.apple.com/us/app/hotstepper/id1287586495?ls=1&mt=8) - Augmented Reality Animated Wayfinder using Mapkit * [BBC Civilisations](https://itunes.apple.com/us/app/civilisations-ar/id1350792208?mt=8) - AR Museum in your house * [AR Label Maker](https://itunes.apple.com/us/app/ar-label-maker/id1435728649?mt=8&ign-mpt=uo%3D2) - place text labels in the real world. Supports saving, loading, and sharing * [Pemoji](https://itunes.apple.com/app/id1410639096?mt=8) - AR video app which lets you place your Bitmoji in real space * [Climbing AR](https://itunes.apple.com/us/app/climbing-ar/id1438579200?mt=8) - Augmented Reality climbing planner for climbers that pre-plan before ascending the rock climb. * [Rikskit](https://itunes.apple.com/us/app/riksroom/id1443213388?mt=8) - Multiplayer AR space. Draw, place 3D models from Google Poly, add images, add text, and play a mini-game in Riksroom. * [AR Search](https://itunes.apple.com/us/app/ar-search/id1460715687) - This app lets you search in your physical surroundings for any printed text and track the results in real-time, to give you the best search experience possible. * [In The Walls](https://apps.apple.com/us/app/id1522257130) - Uses real time face tracking and AR to put your face in any real world wall. * [ThingstAR](https://apps.apple.com/us/app/id1547199958) - An iPad app to explore Thingiverse using AR. You can also share AR models as usdz files. * [watAR](https://apps.apple.com/us/app/watar/id1546980861) - Distort any real world surface with wave and raindrop effects. * [Paint the City](https://apps.apple.com/us/app/paint-the-city/id1535585612) - Create street art in augmented reality and see it appear on the map. * [AR MultiPendulum](https://apps.apple.com/app/ar-multipendulum/id1583322801) - Transforms an iPhone into an affordable AR headset. # Tutorials * [Apple ARKit by Example](https://blog.markdaws.net/apple-arkit-by-example-ef1c8578fb59) * [Getting started with ARKit](https://medium.com/@hilmarbirgir/getting-started-with-arkit-fd44fa4eecec) * [How to Create a Measuring App With ARKit](https://www.thedroidsonroids.com/blog/how-to-create-a-measuring-app-with-arkit-in-ios-11) * [ARKit introduction](https://www.whitesmith.co/blog/arkit-introduction/) * [Building an AR game with ARKit and Spritekit](https://blog.pusher.com/building-ar-game-arkit-spritekit/) * [ARKit + Vision: An intriguing combination](https://dev.to/osterbergjordan/arkit--vision-an-intriguing-combination) * [Using ARKit with Metal](http://metalkit.org/2017/07/29/using-arkit-with-metal.html) * [Augmented Reality With ARKit For IOS](https://digitalleaves.com/blog/2017/08/augmented-reality-arkit/) * [Bike ride with ARKit: How I built it](https://blog.mapbox.com/bike-ride-with-arkit-mapbox-unity-9a66f91d91b2) * [iOS ARKit Tutorial: Drawing in the Air with Bare Fingers](https://www.toptal.com/swift/ios-arkit-tutorial-drawing-in-air-with-fingers) * [ARKit and CoreLocation: Part One - Navigation With Linear Algebra and Trig](https://medium.com/journey-of-one-thousand-apps/arkit-and-corelocation-part-one-fc7cb2fa0150) * [ARKit and CoreLocation: Part Two - Navigation With Linear Algebra and Trig](https://medium.com/journey-of-one-thousand-apps/arkit-and-corelocation-part-two-7b045fb1d7a1) * [ARKit Adventures Making A Remote Control Drone](https://medium.com/journey-of-one-thousand-apps/aarkit-adventures-697dfbe7779e) * [Building an AR app with ARKit and Scenekit](https://blog.pusher.com/building-an-ar-app-with-arkit-and-scenekit/) * [Build ARKit Application with Unity](https://medium.com/@davidguandev/build-arkit-application-with-unity-10af4a5e3b05) * [Augmented Reality With ARKit: Detecting Planes](https://digitalleaves.com/blog/2017/10/augmented-reality-with-arkit-detecting-planes/) * [Behind the Magic: How we built the ARKit Sudoku Solver](https://blog.prototypr.io/behind-the-magic-how-we-built-the-arkit-sudoku-solver-e586e5b685b0) * [Place Objects In Augmented Reality Via ARKit](https://digitalleaves.com/blog/2017/11/augmented-reality-arkit-placing-objects/) * [Importing 3D Models for ARKit](https://medium.com/bpxl-craft/importing-3d-models-for-arkit-aa1728697e2) * [Building an iPhone AR Museum App in iOS 11 with Apple’s ARKit Image Recognition](https://medium.com/@codeandco/building-an-iphone-ar-museum-app-in-ios-11-with-apples-arkit-image-recognition-b07febd90a91) * [How to implement Apple AR-Quick-Look by Example](https://medium.com/better-programming/how-to-implement-ar-quicklook-in-your-app-18d513a13b9f) * [What is USDZ, Apple's 3d model format for ARKit and how to convert your existing model into usdz by Example](https://medium.com/better-programming/what-is-usdz-and-how-to-convert-your-3d-model-to-usdz-dac2e6205036) * [iOS&Swift AR tutorials on raywenderlich.com](https://www.raywenderlich.com/library?domain_ids%5B%5D=1&q=AR&sort_order=relevance) # Resources * [Official ARKit Documentation](https://developer.apple.com/documentation/arkit) * [Made With ARKit](http://www.madewitharkit.com) * [React Native Binding](https://github.com/HippoAR/react-native-arkit) - React Native binding for ARKit * [Udemy Courses](https://www.udemy.com/courses/search/?q=arkit) - ARKit courses on Udemy * [Adobe AIR Binding](https://github.com/tuarua/AR-ANE) - Adobe AIR Native Extension binding for ARKit * [ARHeadsetKit](https://github.com/philipturner/ARHeadsetKit) - High-level framework for experimenting with AR and replicating Microsoft Hololens. # Contributing Your contributions are always welcome! To add, remove, or change things on the list: Submit a pull request. See `contribution.md` for guidelines.
47
Folding Tab Bar and Tab Bar Controller
# FoldingTabBar.iOS [![CocoaPods Compatible](https://img.shields.io/cocoapods/v/FoldingTabBar.svg)](https://img.shields.io/cocoapods/v/FoldingTabBar.svg) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) Folding Tab Bar and Tab Bar Controller Inspired by [this project on Dribbble](https://dribbble.com/shots/2003376-Tab-Bar-Animation) Also, read how it was done in our [blog](https://yalantis.com/blog/how_we_created_tab_bar_animation_for_ios/?utm_source=github) ![Preview](https://d13yacurqjgara.cloudfront.net/users/495792/screenshots/2003376/tab_bar_animation_fin-02.gif) ## Requirements iOS 7.0 ## Installation #### [CocoaPods](http://cocoapods.org) ```ruby pod 'FoldingTabBar', '~> 1.2.1' ``` #### [Carthage](https://github.com/Carthage/Carthage) ``` github "Yalantis/FoldingTabBar.iOS" ~> 1.2.1 ``` #### Manual Installation Alternatively you can directly add all the source files from FoldingTabBar folder to your project. 1. Download the [latest code version](https://github.com/Yalantis/FoldingTabBar.iOS/archive/master.zip) or add the repository as a git submodule to your git-tracked project. 2. Open your project in Xcode, then drag and drop all the folder directories in FoldingTabBar folder onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project. ## Introduction #### YALFoldingTabBarController `YALFoldingTabBarController` is a subclass of `UITabBarController` with custom animating `YALFoldingTabBar`. #### YALFoldingTabBar YALFoldingTabBar is a subclass of a standard UIView. We wanted to make this component expand and contract in response to a user tapping. When the component is closed you can only see a central button (“+”). When tapping on it, our custom Tab Bar expands letting other tabBarItems appear, so that the user can switch the controllers. Each separate tabBarItem can have two additional buttons on the left and right. These buttons can be used to let a user interact with a selected screen on the YALFoldingTabBarController without even having to leave it. #### YALTabBarItem `YALTabBarItem` is a model to configure your tab bar items with images. ## Usage Option 1: The simplest way is to use `YALFoldingTabBarController` as it is. You can also subclass it if you indend to change the default behaviour. Option 2: You can write your own implementation of `UITabBarController `and use `YALFoldingTabBar` or its subclass. Here is an instruction of how to use `YALFoldingTabBarController` in the Storyboard. 1. Add native `UITabBarController` to the storyboard, establish relationships with its view controllers. 2. Choose `YALFoldingTabBarController` as custom class for `UITabBarController`. 3. Choose `YALCustomHeightTabBar` as custom class for `UITabBar` inside `YALFoldingTabBarController` 3. In AppDelegate method take out an instance of `YALFoldingTabBarController` from the window.rootViewController and supply it with images for the left and right tabBarItems respectively. Also you can add your own image for the center button of `YALFoldingTabBar`. ## Objective-C ```objective-c YALFoldingTabBarController *tabBarController = (YALFoldingTabBarController *) self.window.rootViewController; //prepare leftBarItems YALTabBarItem *item1 = [[YALTabBarItem alloc] initWithItemImage:[UIImage imageNamed:@"nearby_icon"] leftItemImage:nil rightItemImage:nil]; YALTabBarItem *item2 = [[YALTabBarItem alloc] initWithItemImage:[UIImage imageNamed:@"profile_icon"] leftItemImage:[UIImage imageNamed:@"edit_icon"] rightItemImage:nil]; tabBarController.leftBarItems = @[item1, item2]; //prepare rightBarItems YALTabBarItem *item3 = [[YALTabBarItem alloc] initWithItemImage:[UIImage imageNamed:@"chats_icon"] leftItemImage:[UIImage imageNamed:@"search_icon"] rightItemImage:[UIImage imageNamed:@"new_chat_icon"]]; YALTabBarItem *item4 = [[YALTabBarItem alloc] initWithItemImage:[UIImage imageNamed:@"settings_icon"] leftItemImage:nil rightItemImage:nil]; tabBarController.rightBarItems = @[item3, item4]; ``` ## Swift ```swift if let tabBarController = window?.rootViewController as? YALFoldingTabBarController { //leftBarItems let firstItem = YALTabBarItem( itemImage: UIImage(named: "nearby_icon")!, leftItemImage: nil, rightItemImage: nil ) let secondItem = YALTabBarItem( itemImage: UIImage(named: "profile_icon")!, leftItemImage: UIImage(named: "edit_icon")!, rightItemImage: nil ) tabBarController.leftBarItems = [firstItem, secondItem] //rightBarItems let thirdItem = YALTabBarItem( itemImage: UIImage(named: "chats_icon")!, leftItemImage: UIImage(named: "search_icon")!, rightItemImage: UIImage(named: "new_chat_icon")! ) let forthItem = YALTabBarItem( itemImage: UIImage(named: "settings_icon")!, leftItemImage: nil, rightItemImage: nil ) tabBarController.rightBarItems = [thirdItem, forthItem] } ``` If you want to handle touches on extra tabBarItems import `YALTabBarDelegate` protocol to the subclass of the proper `UIVIewController` and implement these methods: ##Objective-C ```objective-c - (void)tabBarDidSelectExtraLeftItem:(YALFoldingTabBar *)tabBar; - (void)tabBarDidSelectExtraRightItem:(YALFoldingTabBar *)tabBar; ``` ## Swift ```swift func tabBarDidSelectExtraLeftItem(tabBar: YALFoldingTabBar!) func tabBarDidSelectExtraRightItem(tabBar: YALFoldingTabBar!) ``` If you want to handle touches on tabBarItems by indexes import `YALTabBarDelegate` protocol to the subclass of the proper `UIVIewController` and implement these methods: ## Objective-C ```objective-c - (void)tabBar:(YALFoldingTabBar *)tabBar didSelectItemAtIndex:(NSUInteger)index; - (BOOL)tabBar:(YALFoldingTabBar *)tabBar shouldSelectItemAtIndex:(NSUInteger)index; ``` ## Swift ```swift func tabBar(tabBar: YALFoldingTabBar!, didSelectItemAtIndex index: UInt) func tabBar(tabBar: YALFoldingTabBar!, shouldSelectItemAtIndex index: UInt) -> Bool ``` If you want to observe contracting and expanding animation states in `YALFoldingTabBar` the following methods of `YALTabBarDelegate` protocol can be implemented: ## Objective-C ```objective-c - (void)tabBarWillCollapse:(YALFoldingTabBar *)tabBar; - (void)tabBarWillExpand:(YALFoldingTabBar *)tabBar; - (void)tabBarDidCollapse:(YALFoldingTabBar *)tabBar; - (void)tabBarDidExpand:(YALFoldingTabBar *)tabBar; ``` ## Swift ```swift func tabBarWillCollapse(tabBar: YALFoldingTabBar!) func tabBarWillExpand(tabBar: YALFoldingTabBar!) func tabBarDidCollapse(tabBar: YALFoldingTabBar!) func tabBarDidExpand(tabBar: YALFoldingTabBar!) ``` ## Important notes Because we changed the height of the default `UITabBar` you should adjust your content to the bottom of viewcontroller's superview, and ignore Bottom Layout Guide. You should also uncheck 'Under bottom bars' !['](http://i.stack.imgur.com/Owlcz.png) You can see how we did it on the example project. ## Tips for customization You can make the following configurations for custom tabBar: 1) Specify height ## Objective-C ```objective-c tabBarController.tabBarViewHeight = YALTabBarViewDefaultHeight; ``` ## Swift ```swift tabBarController.tabBarViewHeight = YALTabBarViewDefaultHeight ``` 2) Specify insets and offsets ## Objective-C ```objective-c tabBarController.tabBarView.tabBarViewEdgeInsets = YALTabBarViewHDefaultEdgeInsets; tabBarController.tabBarView.tabBarItemsEdgeInsets = YALTabBarViewItemsDefaultEdgeInsets; tabBarController.tabBarView.offsetForExtraTabBarItems = YALForExtraTabBarItemsDefaultOffset; ``` ## Swift ```swift tabBarController.tabBarView.tabBarViewEdgeInsets = YALTabBarViewHDefaultEdgeInsets tabBarController.tabBarView.tabBarItemsEdgeInsets = YALTabBarViewItemsDefaultEdgeInsets tabBarController.tabBarView.offsetForExtraTabBarItems = YALForExtraTabBarItemsDefaultOffset ``` 3) Specify colors ## Objective-C ```objective-c tabBarController.tabBarView.backgroundColor = [UIColor colorWithRed:94.0/255.0 green:91.0/255.0 blue:149.0/255.0 alpha:1]; tabBarController.tabBarView.tabBarColor = [UIColor colorWithRed:72.0/255.0 green:211.0/255.0 blue:178.0/255.0 alpha:1]; tabBarController.tabBarView.dotColor = [UIColor colorWithRed:94.0/255.0 green:91.0/255.0 blue:149.0/255.0 alpha:1]; ``` ## Swift ```swift tabBarController.tabBarView.backgroundColor = UIColor( red: 94.0/255.0, green: 91.0/255.0, blue: 149.0/255.0, alpha: 1 ) tabBarController.tabBarView.tabBarColor = UIColor( red: 72.0/255.0, green: 211.0/255.0, blue: 178.0/255.0, alpha: 1 ) tabBarController.tabBarView.dotColor = UIColor( red: 94.0/255.0, green: 91.0/255.0, blue: 149.0/255.0, alpha: 1 ) ``` 4) Specify height for additional left and right buttons ## Objective-C ```objective-c tabBarController.tabBarView.extraTabBarItemHeight = YALExtraTabBarItemsDefaultHeight; ``` ## Swift ```swift tabBarController.tabBarView.extraTabBarItemHeight = YALExtraTabBarItemsDefaultHeight ``` ## Let us know! We’d be really happy if you sent us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding the animation. P.S. We’re going to publish more awesomeness wrapped in code and a tutorial on how to make UI for iOS (Android) better than better. Stay tuned! ## License The MIT License (MIT) Copyright © 2017 Yalantis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
48
Generate types and converters from JSON, Schema, and GraphQL
![](https://raw.githubusercontent.com/quicktype/quicktype/master/media/quicktype-logo.svg?sanitize=true) [![npm version](https://badge.fury.io/js/quicktype.svg)](https://badge.fury.io/js/quicktype) ![Build status](https://github.com/quicktype/quicktype/actions/workflows/master.yaml/badge.svg) `quicktype` generates strongly-typed models and serializers from JSON, JSON Schema, TypeScript, and [GraphQL queries](https://blog.quicktype.io/graphql-with-quicktype/), making it a breeze to work with JSON type-safely in many programming languages. - [Try `quicktype` in your browser](https://app.quicktype.io). - Read ['A first look at quicktype'](http://blog.quicktype.io/first-look/) for more introduction. - If you have any questions, check out the [FAQ](FAQ.md) first. ### Supported Inputs | JSON | JSON API URLs | [JSON Schema](https://app.quicktype.io/#s=coordinate) | | ---- | ------------- | ----------------------------------------------------- | | TypeScript | GraphQL queries | | ---------- | --------------- | ### Target Languages | [Ruby](https://app.quicktype.io/#l=ruby) | [JavaScript](https://app.quicktype.io/#l=js) | [Flow](https://app.quicktype.io/#l=flow) | [Rust](https://app.quicktype.io/#l=rust) | [Kotlin](https://app.quicktype.io/#l=kotlin) | | ---------------------------------------- | -------------------------------------------- | ---------------------------------------- | ---------------------------------------- | -------------------------------------------- | | [Dart](https://app.quicktype.io/#l=dart) | [Python](https://app.quicktype.io/#l=python) | [C#](https://app.quicktype.io/#l=cs) | [Go](https://app.quicktype.io/#l=go) | [C++](https://app.quicktype.io/#l=cpp) | | ---------------------------------------- | -------------------------------------------- | ------------------------------------ | ------------------------------------ | -------------------------------------- | | [Java](https://app.quicktype.io/#l=java) | [TypeScript](https://app.quicktype.io/#l=ts) | [Swift](https://app.quicktype.io/#l=swift) | [Objective-C](https://app.quicktype.io/#l=objc) | [Elm](https://app.quicktype.io/#l=elm) | | ---------------------------------------- | -------------------------------------------- | ------------------------------------------ | ----------------------------------------------- | -------------------------------------- | | [JSON Schema](https://app.quicktype.io/#l=schema) | [Pike](https://app.quicktype.io/#l=pike) | [Prop-Types](https://app.quicktype.io/#l=javascript-prop-types) | [Haskell](https://app.quicktype.io/#l=haskell) | | | ------------------------------------------------- | ---------------------------------------- | --------------------------------------------------------------- | ---------------------------------------------- | --- | _Missing your favorite language? Please implement it!_ ## Installation There are many ways to use `quicktype`. [app.quicktype.io](https://app.quicktype.io) is the most powerful and complete UI. The web app also works offline and doesn't send your sample data over the Internet, so paste away! For the best CLI, we recommend installing `quicktype` globally via `npm`: ```bash npm install -g quicktype ``` Other options: - [Homebrew](http://formulae.brew.sh/formula/quicktype) _(infrequently updated)_ - [Xcode extension](https://itunes.apple.com/us/app/paste-json-as-code-quicktype/id1330801220?mt=12)\* - [VSCode extension](https://marketplace.visualstudio.com/items/quicktype.quicktype)\* - [Visual Studio extension](https://marketplace.visualstudio.com/items?itemName=typeguard.quicktype-vs)\* <small>\* limited functionality</small> ## Using `quicktype` ```bash # Run quicktype without arguments for help and options quicktype # quicktype a simple JSON object in C# echo '{ "name": "David" }' | quicktype -l csharp # quicktype a top-level array and save as Go source echo '[1, 2, 3]' | quicktype -o ints.go # quicktype a sample JSON file in Swift quicktype person.json -o Person.swift # A verbose way to do the same thing quicktype \ --src person.json \ --src-lang json \ --lang swift \ --top-level Person \ --out Person.swift # quicktype a directory of samples as a C++ program # Suppose ./blockchain is a directory with files: # latest-block.json transactions.json marketcap.json quicktype ./blockchain -o blockchain-api.cpp # quicktype a live JSON API as a Java program quicktype https://api.somewhere.com/data -o Data.java ``` ### Generating code from JSON schema The recommended way to use `quicktype` is to generate a JSON schema from sample data, review and edit the schema, commit the schema to your project repo, then generate code from the schema as part of your build process: ```bash # First, infer a JSON schema from a sample. quicktype pokedex.json -l schema -o schema.json # Review the schema, make changes, # and commit it to your project repo. # Finally, generate model code from schema in your # build process for whatever languages you need: quicktype -s schema schema.json -o src/ios/models.swift quicktype -s schema schema.json -o src/android/Models.java quicktype -s schema schema.json -o src/nodejs/Models.ts # All of these models will serialize to and from the same # JSON, so different programs in your stack can communicate # seamlessly. ``` ### Generating code from TypeScript (Experimental) You can achieve a similar result by writing or generating a [TypeScript](http://www.typescriptlang.org/) file, then quicktyping it. TypeScript is a typed superset of JavaScript with simple, succinct syntax for defining types: ```typescript interface Person { name: string; nickname?: string; // an optional property luckyNumber: number; } ``` You can use TypeScript just like JSON schema was used in the last example: ```bash # First, infer a TypeScript file from a sample (or just write one!) quicktype pokedex.json -o pokedex.ts --just-types # Review the TypeScript, make changes, etc. quicktype pokedex.ts -o src/ios/models.swift ``` ### Calling `quicktype` from JavaScript You can use `quicktype` as a JavaScript function within `node` or browsers. First add the `quicktype-core` package: ```bash $ npm install quicktype-core ``` In general, first you create an `InputData` value with one or more JSON samples, JSON schemas, TypeScript sources, or other supported input types. Then you call `quicktype`, passing that `InputData` value and any options you want. ```javascript import { quicktype, InputData, jsonInputForTargetLanguage, JSONSchemaInput, FetchingJSONSchemaStore } from "quicktype-core"; async function quicktypeJSON(targetLanguage, typeName, jsonString) { const jsonInput = jsonInputForTargetLanguage(targetLanguage); // We could add multiple samples for the same desired // type, or many sources for other types. Here we're // just making one type from one piece of sample JSON. await jsonInput.addSource({ name: typeName, samples: [jsonString] }); const inputData = new InputData(); inputData.addInput(jsonInput); return await quicktype({ inputData, lang: targetLanguage }); } async function quicktypeJSONSchema(targetLanguage, typeName, jsonSchemaString) { const schemaInput = new JSONSchemaInput(new FetchingJSONSchemaStore()); // We could add multiple schemas for multiple types, // but here we're just making one type from JSON schema. await schemaInput.addSource({ name: typeName, schema: jsonSchemaString }); const inputData = new InputData(); inputData.addInput(schemaInput); return await quicktype({ inputData, lang: targetLanguage }); } async function main() { const { lines: swiftPerson } = await quicktypeJSON("swift", "Person", jsonString); console.log(swiftPerson.join("\n")); const { lines: pythonPerson } = await quicktypeJSONSchema("python", "Person", jsonSchemaString); console.log(pythonPerson.join("\n")); } main(); ``` The argument to `quicktype` is a complex object with many optional properties. [Explore its definition](https://github.com/quicktype/quicktype/blob/master/src/quicktype-core/Run.ts#L119) to understand what options are allowed. ## Contributing `quicktype` is [Open Source](LICENSE) and we love contributors! In fact, we have a [list of issues](https://github.com/quicktype/quicktype/issues?utf8=✓&q=is%3Aissue+is%3Aopen+label%3Ahelp-wanted) that are low-priority for us, but for which we'd happily accept contributions. Support for new target languages is also strongly desired. If you'd like to contribute, need help with anything at all, or would just like to talk things over, come [join us on Slack](http://slack.quicktype.io/). ### Setup, Build, Run `quicktype` is implemented in TypeScript and requires `nodejs` and `npm` to build and run. First, install `typescript` globally via `npm`: Clone this repo and do: #### macOS / Linux ```bash nvm use npm install script/quicktype # rebuild (slow) and run (fast) ``` #### Windows ```bash npm install --ignore-scripts # Install dependencies npm install -g typescript # Install typescript globally tsc --project src/cli # Rebuild node dist\cli\index.js # Run ``` ### Edit Install [Visual Studio Code](https://code.visualstudio.com/), open this workspace, and install the recommended extensions: ```bash code . # opens in VS Code ``` ### Live-reloading for quick feedback When working on an output language, you'll want to view generated output as you edit. Use `npm start` to watch for changes and recompile and rerun `quicktype` for live feedback. For example, if you're developing a new renderer for `fortran`, you could use the following command to rebuild and reinvoke `quicktype` as you implement your renderer: ```bash npm start -- "--lang fortran pokedex.json" ``` The command in quotes is passed to `quicktype`, so you can render local `.json` files, URLs, or add other options. ### Test ```bash # Run full test suite npm run test # Test a specific language (see test/languages.ts) FIXTURE=golang npm test # Test a single sample or directory FIXTURE=swift npm test -- pokedex.json FIXTURE=swift npm test -- test/inputs/json/samples ```
49
AppDevKit is an iOS development library that provides developers with useful features to fulfill their everyday iOS app development needs.
# AppDevKit [![Build Status](https://travis-ci.org/yahoo/AppDevKit.svg?branch=master)](https://travis-ci.org/yahoo/AppDevKit) [![codecov](https://codecov.io/gh/yahoo/AppDevKit/branch/master/graph/badge.svg)](https://codecov.io/gh/yahoo/AppDevKit) [![CocoaPods](https://img.shields.io/cocoapods/v/AppDevKit.svg?maxAge=2592000?style=flat-square)](https://cocoapods.org/?q=appdevkit) AppDevKit is an iOS development library that provides developers with useful features to fulfill their everyday iOS app development needs. Yahoo’s Taiwan based iOS app development team has been using this development kit for the past three years, and we plan future apps to use AppDevKit as well. Our use of this code in many apps helped improve its stability and utility. We find these libraries help address some incompatibility issues found in different iOS versions, and overall make app development easier and our apps operate more consistently. AppDevKit has five major parts that include command, user interfaces, animations, image view, and list view support libraries. AppDevKit could be installed by CocoaPods. Please feel welcome to use AppDevKit in your iOS projects as it is licensed under the permissive open source BSD license. You can help contribute improvements to this project too. If you have suggestions, corrections, or enhancements, please send us a pull request. If you have questions for the team, you can contact **[email protected]** directly, or the core team at **[email protected]**. Thank you for checking this out. <img src="img/AppDevKit-Sticker.png"> ## Usage ### Installation with CocoaPods The easiest way to leverage AppDevKit is using CocoaPods. Please edit your **Podfile** like this: <pre> source 'https://github.com/CocoaPods/Specs.git' pod 'AppDevKit' </pre> AppDevKit has 5 sub-pods. They're **AppDevCommonKit**, **AppDevUIKit**, **AppDevAnimateKit**, **AppDevImageKit** and **AppDevListViewKit**. If you don't want to install whole package, you could pick sub-library and use CocoaPods to install it. For example: <pre> source 'https://github.com/CocoaPods/Specs.git' # Only insatll image kit in AppDevKit pod 'AppDevKit/AppDevImageKit' </pre> ### Basic Usage Using this develop kit is very simple. First at all, import it in your any code file or just put it in prefix file (`.pch`). Then you will enjoy this develop kit. #import <AppDevKit.h> ### Common Tools - **ADKAppUtil** > The foundational tools to support common tasks. - **ADKStringHelper** > The string formatter that will generate formatted strings form date, number and etc for you. - **ADKCalculatorHelper** > The calculation set including distance, size, width, height, etc. - **ADKNibCacheManager** > The manager to cache different instances in memory and keep it as a singleton. - **UIView+ADKGetUIViewController** > Supports get any view's UIViewController. - **UIColor+ADKHexPresentation** > Supports HEX color format and color shift. - **ADKViewExclusiveTouch** > Supports exclusive touch on each sub views. ### UI Tools - **UIView+ADKAutoLayoutSupport** > Supports command autolayout features.  - **UIScrollView+ADKPullToRefreshView** > Supports pull to refresh feature on scrollable view. For example: `UIScrollView`, `UITableView` and `UICollectionView`.  - **UIScrollView+ADKInfiniteScrollingView** > Supports infinite scrolling feature on scrollable view. For example: `UIScrollView`, `UITableView` and `UICollectionView`. - **ADKModalMaskView** > Providing a way to create a modal view for presenting specific view. - **ADKGradientView** > Creating a simple linear gradient view with orientations for you. - **ADKMultiGradientView** > Creating a complicated linear gradient view with orientations for you. - **ADKDashedLineView** > Creates a dashed line around your view. ### Animation Tools  - **UIView+ADKAnimationMacro** > Gives some simple animation behavior for specific `UIView`. ### Image Tools  - **UIImage+ADKColorReplacement** > Supports color changing / replacement feature on `UIImage`.  - **UIImage+ADKImageFilter** > Supports image FX, resize, crop, etc. on `UIImage`. - **UIImage+ADKDrawingTemplate** > Supports loss less image from a PDF source. ### ListView Tools - **UICollectionView+ADKOperation** > Supports force stop scrolling in collection view. - **ADKNibSizeCalculator** > Provides correct cell size for different devices effectively.  - **ADKCellDynamicSizeCalculator** > Calculates dynamic cell with and height for `UICollectionViewCell` and `UITableViewCell`.  - **ADKCollectionViewDynamicSizeCell** > Base `UICollectionViewCell` supports dynamic width and height features.  - **ADKTableViewDynamicSizeCell** > Base `UITableViewCell` supports dynamic width and height features. ### Camera Tools - **ADKCamera** > Allows you to use advanced manual camera features and customize your camera view in few steps. - **ADKOpenGLImageView** > It provides an OpenGL ES soltion for rendering a core image on the screen by using GPU. - **ADKMetalImageView** > It provides an Metal framework soltion for rendering a core image on the screen by using GPU. ### Instruction - **Introduction of AppDevKit** > http://www.slideshare.net/anistarsung/appdevkit-for-ios-development - **Tutorial materials** > https://github.com/anistarsung/AppDevKitLearning (It includes templates and tutorials that you can use them for training purpose) - **Presenting YDevelopKit (AppDevKit) in YMDC 2016** > https://youtu.be/I9QDYDGcn8M - **Sample Codes** has been written in AppDevKit project. You can read code to know about "How to implement these features in your project". Just use git to clone AppDevKit to your local disk. It should run well with your XCode. - **API Reference Documents** > Please refer the [gh-pages](https://yahoo.github.io/AppDevKit/) in AppDevKit project. <img width="100%" src="img/DocScreenShot.png"> ### License This software is free to use under the Yahoo! Inc. BSD license. See the [LICENSE] for license text and copyright information. [LICENSE]: https://github.com/yahoo/AppDevKit/blob/master/LICENSE.md
50
Mirror of Apache Weinre
<!-- * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. --> # cordova-weinre ## Deprecation Notice This project is being deprecated. No more work will be done on this project by the Cordova development community. You can continue to use this project and it should work as-is, but issues will not be fixed by the Cordova community. weinre was built in an age when there were no remote debuggers available for mobile devices. Since then, some platforms are starting to provide remote debugger capabilities, as part of their platform tool set. 1. Android: [Get Started with Remote Debugging Android Devices](https://developers.google.com/web/tools/chrome-devtools/remote-debugging/) 1. iOS: [Safari Developer Tools overview](https://support.apple.com/guide/safari-developer/safari-developer-tools-overview-dev073038698/mac) 1. Windows: [Debug Store apps in Visual Studio](https://msdn.microsoft.com/library/hh441472.aspx) ⚠ **IMPORTANT NOTE**, some of weinre dependencies have security issues. Use on your own risk. ## Introduction weinre is WEb INspector REmote. Pronounced like the word "winery". Or maybe like the word "weiner". Who knows, really. weinre is a debugger for web pages, like FireBug (for FireFox) and Web Inspector (for WebKit-based browsers), except it's designed to work remotely, and in particular, to allow you debug web pages on a mobile device such as a phone. weinre is part of the [Apache Cordova project](http://cordova.io/). For descriptive information, and links to downloads, installable things, etc see: [http://people.apache.org/~pmuellr/weinre/](http://people.apache.org/~pmuellr/weinre/) weinre source ------------- The weinre source is contained in 4 subdirectories: * `weinre.build` - contains the tools to build weinre, the 3rd party libraries that weinre uses, and holds the output of the build * `weinre.doc` - source for the HTML manual for weinre * `weinre.server` - code for the node.js-based weinre server * `weinre.web` - code for the client and target pieces of weinre building weinre --------------- The weinre build is currently run on a Mac OS X 10.7 laptop. It also runs on Apache continuous integration servers running Linux. The build is not typically run on Windows, so if you have problems with that, please log an issue. The weinre build pre-req's the following tools: * node.js - [http://nodejs.org/](http://nodejs.org/) * ant - [http://ant.apache.org/](http://ant.apache.org/) To update the npm-based pre-reqs, you will also need: * npm - should be shipped with node.js, on Linux may need to be installed as a separate package Before doing a weinre build, you will need to create the file `weinre.build/personal.properties`. Use the `sample.personal.properties` as a template. The build should fail if this file is not available. To update the version label of weinre, edit the file `weinre.build/build.properties`. If the version has a `-pre` suffix, this triggers the build to artifacts with timestamped names. For an 'official' build, do not use the `-pre` suffix. There are two ways to build weinre: * full build * development build The full build creates all the artifacts needed for an 'official' build. The development build just creates enough artifacts to test the code. ### the first time you run any build: ### Some semi-transient artifacts are created the first time you run a build. These will be stored in the `weinre.build/cached` directory. ### to perform the full build: ### * run: `cd weinre.build` * run: `ant build-archives` This will run the development build (see below), and then create zip archives of the build in the `weinre.build/out/archives` directory. ### to perform the development build: ### * run: `cd weinre.build` * run: `ant` This will populate a number of resources in the `weinre.server` directory, so that you can run weinre directly from that directory for testing. It does not build the archives. ### performing a clean build: ### * run: `cd weinre.build` * run: `ant clean` * perform the build as usual ### other ant goodies: ### * run: `cd weinre.build` * run: `ant help` ### to run the output of the development build: ### * run: `cd weinre.server` * run: `./weinre [your flavorite options]` ### other fun development-time hacks ### If you have the [wr tool](https://npmjs.org/package/wr) installed, there is a `.wr` file available to run the development builds when a source file changes. The build is growl-enabled, so you can see a quick message when the build completes, as long as the `USE_GROWL` property is set in the `weinre.build/personal.properties` file. The command `weinre.server/weinre-hot` makes use of [node-supervisor](https://github.com/isaacs/node-supervisor) to re-launch the weinre server generated by the development build, whenever a weinre build completes. Putting this altogether, you can open two terminal windows, run `wr` in the main directory to have a development build run whenever you change the source, and then run `weinre-hot` in the `weinre.server` directory to have the weinre server restart whenever a build completes, getting a growl notification at that time. updating 3rd party libraries ----------------------------- > **IMPORTANT** - All 3rd party libraries are stored in the SCM, so that the build does not require 3rd party packages to be downloaded. As such, these files need to be ok to use and store in the SCM, given their licenses. If you're adding or updating a 3rd party library, make sure the license is acceptable, and add/update the license in the top-level `LICENSE` file. All of the 3rd party dependencies used with weinre are stored in one of two directories: * `weinre.build/vendor` - contains libraries used in the client and/or target, as well as libraries used by the build itself * `weinre.server/node_modules` - contains npm packages used by the weinre server To update the files in `weinre.build/vendor`: * edit the file `weinre.build/vendor.properties` as appropriate * run: `cd weinre.build` * run: `rm -rf vendor` * run: `ant -f update.vendor.xml` To update the files in `weinre.server/node_modules`: * edit the file `weinre.build/package.json.template` as appropriate * run a build (see above), so that the file `weinre.server/package.json` file is created from the template you edited above * run: `cd weinre.server` * run: `rm -rf node_modules` * run: `npm install`
51
Custom Label to apply animations on whole text or letters.
# Ophiuchus ![Yalantis](https://raw.githubusercontent.com/Yalantis/Ophiuchus/master/Example/Ophiuchus/Resources/yalantistwodirections.gif) ![Preview](https://raw.githubusercontent.com/Yalantis/Ophiuchus/master/Example/Ophiuchus/Resources/animation.gif) ![The Green Horse](https://raw.githubusercontent.com/Yalantis/Ophiuchus/master/Example/Ophiuchus/Resources/thegreenhorse.gif) Custom Label to apply animations on whole text or letters. [![Yalantis](https://raw.githubusercontent.com/Yalantis/Ophiuchus/master/yalantis.png)](https://yalantis.com/?utm_source=github) Check an [article on our blog](https://yalantis.com/blog/animated-preloader-ios/?utm_source=github) Inspired by [this project on Dribble](https://dribbble.com/shots/1938357-Preloader-For-Yalantis?list=users&offset=3) ## Installation #### [CocoaPods](http://cocoapods.org) ```ruby pod 'Ophiuchus', '~> 1.0.3' ``` #### Manual Installation Alternatively you can directly add all the source files from Ophiuchus to your project. 1. Download the [latest code version](https://github.com/Yalantis/Ophiuchus/archive/master.zip) or add the repository as a git submodule to your git-tracked project. 2. Open your project in Xcode, then drag and drop all folders directories in Pods/Classes/ onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project. 3. Include YALLabel wherever you need it with `#import "YALLabel.h"`. ## Introduction #### YALProgressAnimatingLayer `YALProgressAnimatingLayer` is a subclass of `CAShapeLayer` designed to control animations with progress. This feature is disabled until you invoke `[layer allowProgressToControlAnimations]`, after that `duration` and `timeOffset` properties of the layer will be passed to any animation added to the layer. Thus you gain control over animations added to the layer by passing values to `progress` property (varies from 0.f to 1.f). `YALProgressAnimatingLayer` mask is of same type as the layer. #### YALTextLayer `YALTextLayer` is a subclass of `YALProgressAnimatingLayer` designed to display array of `UIBezierPath` instances as `YALProgressAnimatingLayer` sublayers. You can access and manipulate each letter sublayer. `YALTextLayer` constructs sublayers with mask of bounding box of shapes they have by default. #### YALLabel `YALLabel` is a custom label consisting of three `YALTextLayer` instances to draw background fill, stroke and fill of text. ## Usage Drop a `UIView` on a storyboard and set it's class to `YALLabel` and configure `fontName`, `fontSize`, `text`, `strokeWidth` and colors. You can `#import "YALLabel.h"` in your view controller and create it from code : ```objective-c self.yalLabel = [[YALLabel alloc] initWithFrame:frame]; self.yalLabel.text = @"AnyText"; self.yalLabel.fontName = @"FontName"; self.yalLabel.fontSize = 60.f; self.yalLabel.fillColor = [UIColor redColor]; self.yalLabel.backgroundFillColor = [UIColor blackColor]; self.yalLabel.strokeColor = [UIColor blackColor]; self.yalLabel.strokeWidth = 1.2f; ``` After `self.yalLabel` is drawn you can add any animations to any sublayer you want. Example: add fill animation to mask as in example but only to first letter: Don't forget to import `YALPathFillAnimation.h`. ```objective-c YALProgressAnimatingLayer *firstLetter = [self.yalLabel.fillLayer.sublayers firstObject]; CABasicAnimation *fillAnimation = [YALPathFillAnimation animationWithPath:fillLayer.mask.path andDirectionAngle:0]; fillAnimation.duration = 3.0; [firstLetter.mask addAnimation:fillAnimation forKey:@"fillAnimation"]; ``` You can also animate layer with progress: ``` YALProgressAnimatingLayer *secondLetter = self.yalLabel.fillLayer.sublayers[1]; CABasicAnimation *colorAnimation = [CABasicAnimation animationWithKeyPath:@"fillColor"]; colorAnimation.fromValue = (id)[UIColor redColor].CGColor; colorAnimation.toValue = (id)[UIColor blueColor].CGColor; [secondLetter allowProgressToControlAnimations]; [secondLetter addAnimation:colorAnimation forKey:@"colorAnimation"]; secondLetter.progress = 0.f; ``` And then when you need to update progress: ``` YALProgressAnimatingLayer *secondLetter = self.yalLabel.fillLayer.sublayers[1]; secondLetter.progress = value; ``` ## Let us know! We’d be really happy if you senв us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding the animation. P.S. We’re going to publish more awesomeness wrapped in code and a tutorial on how to make UI for iOS (Android) better than better. Stay tuned! ## License The MIT License (MIT) Copyright © 2017 Yalantis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
52
Apache Cordova Plugin inappbrowser
--- title: Inappbrowser description: Open an in-app browser window. --- <!-- # license: Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. --> # cordova-plugin-inappbrowser [![Android Testsuite](https://github.com/apache/cordova-plugin-inappbrowser/actions/workflows/android.yml/badge.svg)](https://github.com/apache/cordova-plugin-inappbrowser/actions/workflows/android.yml) [![Chrome Testsuite](https://github.com/apache/cordova-plugin-inappbrowser/actions/workflows/chrome.yml/badge.svg)](https://github.com/apache/cordova-plugin-inappbrowser/actions/workflows/chrome.yml) [![iOS Testsuite](https://github.com/apache/cordova-plugin-inappbrowser/actions/workflows/ios.yml/badge.svg)](https://github.com/apache/cordova-plugin-inappbrowser/actions/workflows/ios.yml) [![Lint Test](https://github.com/apache/cordova-plugin-inappbrowser/actions/workflows/lint.yml/badge.svg)](https://github.com/apache/cordova-plugin-inappbrowser/actions/workflows/lint.yml) You can show helpful articles, videos, and web resources inside of your app. Users can view web pages without leaving your app. > To get a few ideas, check out the [sample](#sample) at the bottom of this page or go straight to the [reference](#reference) content. This plugin provides a web browser view that displays when calling `cordova.InAppBrowser.open()`. var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes'); ### `window.open` The `cordova.InAppBrowser.open()` function is defined to be a drop-in replacement for the `window.open()` function. Existing `window.open()` calls can use the InAppBrowser window, by replacing window.open: window.open = cordova.InAppBrowser.open; If you change the browsers `window.open` function this way, it can have unintended side effects (especially if this plugin is included only as a dependency of another plugin). The InAppBrowser window behaves like a standard web browser, and can't access Cordova APIs. For this reason, the InAppBrowser is recommended if you need to load third-party (untrusted) content, instead of loading that into the main Cordova webview. The InAppBrowser is not subject to the whitelist, nor is opening links in the system browser. The InAppBrowser provides by default its own GUI controls for the user (back, forward, done). ## Installation cordova plugin add cordova-plugin-inappbrowser If you want all page loads in your app to go through the InAppBrowser, you can simply hook `window.open` during initialization. For example: document.addEventListener("deviceready", onDeviceReady, false); function onDeviceReady() { window.open = cordova.InAppBrowser.open; } ### Preferences #### <b>config.xml</b> - <b>InAppBrowserStatusBarStyle [iOS only]</b>: (string, options 'lightcontent', 'darkcontent' or 'default'. Defaults to 'default') set text color style for iOS. 'lightcontent' is intended for use on dark backgrounds. 'darkcontent' is only available since iOS 13 and intended for use on light backgrounds. ```xml <preference name="InAppBrowserStatusBarStyle" value="lightcontent" /> ``` ## cordova.InAppBrowser.open Opens a URL in a new `InAppBrowser` instance, the current browser instance, or the system browser. var ref = cordova.InAppBrowser.open(url, target, options); - __ref__: Reference to the `InAppBrowser` window when the target is set to `'_blank'`. _(InAppBrowser)_ - __url__: The URL to load _(String)_. Call `encodeURI()` on this if the URL contains Unicode characters. - __target__: The target in which to load the URL, an optional parameter that defaults to `_self`. _(String)_ - `_self`: Opens in the Cordova WebView if the URL is in the white list, otherwise it opens in the `InAppBrowser`. - `_blank`: Opens in the `InAppBrowser`. - `_system`: Opens in the system's web browser. - __options__: Options for the `InAppBrowser`. Optional, defaulting to: `location=yes`. _(String)_ The `options` string must not contain any blank space, and each feature's name/value pairs must be separated by a comma. Feature names are case insensitive. All platforms support: - __location__: Set to `yes` or `no` to turn the `InAppBrowser`'s location bar on or off. Android supports these additional options: - __hidden__: set to `yes` to create the browser and load the page, but not show it. The loadstop event fires when loading is complete. Omit or set to `no` (default) to have the browser open and load normally. - __beforeload__: set to enable the `beforeload` event to modify which pages are actually loaded in the browser. Accepted values are `get` to intercept only GET requests, `post` to intercept on POST requests or `yes` to intercept both GET & POST requests. Note that POST requests are not currently supported and will be ignored (if you set `beforeload=post` it will raise an error). - __clearcache__: set to `yes` to have the browser's cookie cache cleared before the new window is opened - __clearsessioncache__: set to `yes` to have the session cookie cache cleared before the new window is opened - __closebuttoncaption__: set to a string to use as the close button's caption instead of a X. Note that you need to localize this value yourself. - __closebuttoncolor__: set to a valid hex color string, for example: `#00ff00`, and it will change the close button color from default, regardless of being a text or default X. Only has effect if user has location set to `yes`. - __footer__: set to `yes` to show a close button in the footer similar to the iOS __Done__ button. The close button will appear the same as for the header hence use __closebuttoncaption__ and __closebuttoncolor__ to set its properties. - __footercolor__: set to a valid hex color string, for example `#00ff00` or `#CC00ff00` (`#aarrggbb`) , and it will change the footer color from default. Only has effect if user has __footer__ set to `yes`. - __hardwareback__: set to `yes` to use the hardware back button to navigate backwards through the `InAppBrowser`'s history. If there is no previous page, the `InAppBrowser` will close. The default value is `yes`, so you must set it to `no` if you want the back button to simply close the InAppBrowser. - __hidenavigationbuttons__: set to `yes` to hide the navigation buttons on the location toolbar, only has effect if user has location set to `yes`. The default value is `no`. - __hideurlbar__: set to `yes` to hide the url bar on the location toolbar, only has effect if user has location set to `yes`. The default value is `no`. - __navigationbuttoncolor__: set to a valid hex color string, for example: `#00ff00`, and it will change the color of both navigation buttons from default. Only has effect if user has location set to `yes` and not hidenavigationbuttons set to `yes`. - __toolbarcolor__: set to a valid hex color string, for example: `#00ff00`, and it will change the color the toolbar from default. Only has effect if user has location set to `yes`. - __lefttoright__: Set to `yes` to swap positions of the navigation buttons and the close button. Specifically, navigation buttons go to the right and close button to the left. Default value is `no`. - __zoom__: set to `yes` to show Android browser's zoom controls, set to `no` to hide them. Default value is `yes`. - __mediaPlaybackRequiresUserAction__: Set to `yes` to prevent HTML5 audio or video from autoplaying (defaults to `no`). - __shouldPauseOnSuspend__: Set to `yes` to make InAppBrowser WebView to pause/resume with the app to stop background audio (this may be required to avoid Google Play issues like described in [CB-11013](https://issues.apache.org/jira/browse/CB-11013)). - __useWideViewPort__: Sets whether the WebView should enable support for the "viewport" HTML meta tag or should use a wide viewport. When the value of the setting is `no`, the layout width is always set to the width of the WebView control in device-independent (CSS) pixels. When the value is `yes` and the page contains the viewport meta tag, the value of the width specified in the tag is used. If the page does not contain the tag or does not provide a width, then a wide viewport will be used. (defaults to `yes`). - __fullscreen__: Sets whether the InappBrowser WebView is displayed fullscreen or not. In fullscreen mode, the status bar is hidden. Default value is `yes`. iOS supports these additional options: - __hidden__: set to `yes` to create the browser and load the page, but not show it. The loadstop event fires when loading is complete. Omit or set to `no` (default) to have the browser open and load normally. - __beforeload__: set to enable the `beforeload` event to modify which pages are actually loaded in the browser. Accepted values are `get` to intercept only GET requests, `post` to intercept on POST requests or `yes` to intercept both GET & POST requests. Note that POST requests are not currently supported and will be ignored (if you set `beforeload=post` it will raise an error). - __clearcache__: set to `yes` to have the browser's cookie cache cleared before the new window is opened - __clearsessioncache__: set to `yes` to have the session cookie cache cleared before the new window is opened. For WKWebView, requires iOS 11+ on target device. - __cleardata__: set to `yes` to have the browser's entire local storage cleared (cookies, HTML5 local storage, IndexedDB, etc.) before the new window is opened - __closebuttoncolor__: set as a valid hex color string, for example: `#00ff00`, to change from the default __Done__ button's color. Only applicable if toolbar is not disabled. - __closebuttoncaption__: set to a string to use as the __Done__ button's caption. Note that you need to localize this value yourself. - __disallowoverscroll__: Set to `yes` or `no` (default is `no`). Turns on/off the the bounce of the WKWebView's UIScrollView. - __hidenavigationbuttons__: set to `yes` or `no` to turn the toolbar navigation buttons on or off (defaults to `no`). Only applicable if toolbar is not disabled. - __navigationbuttoncolor__: set as a valid hex color string, for example: `#00ff00`, to change from the default color. Only applicable if navigation buttons are visible. - __toolbar__: set to `yes` or `no` to turn the toolbar on or off for the InAppBrowser (defaults to `yes`) - __toolbarcolor__: set as a valid hex color string, for example: `#00ff00`, to change from the default color of the toolbar. Only applicable if toolbar is not disabled. - __toolbartranslucent__: set to `yes` or `no` to make the toolbar translucent(semi-transparent) (defaults to `yes`). Only applicable if toolbar is not disabled. - __lefttoright__: Set to `yes` to swap positions of the navigation buttons and the close button. Specifically, close button goes to the right and navigation buttons to the left. - __enableViewportScale__: Set to `yes` or `no` to prevent viewport scaling through a meta tag (defaults to `no`). - __mediaPlaybackRequiresUserAction__: Set to `yes` to prevent HTML5 audio or video from autoplaying (defaults to `no`). - __allowInlineMediaPlayback__: Set to `yes` or `no` to allow in-line HTML5 media playback, displaying within the browser window rather than a device-specific playback interface. The HTML's `video` element must also include the `webkit-playsinline` attribute (defaults to `no`). - __presentationstyle__: Set to `pagesheet`, `formsheet` or `fullscreen` to set the [presentation style](https://developer.apple.com/documentation/uikit/uimodalpresentationstyle) (defaults to `fullscreen`). - __transitionstyle__: Set to `fliphorizontal`, `crossdissolve` or `coververtical` to set the [transition style](https://developer.apple.com/documentation/uikit/uimodaltransitionstyle) (defaults to `coververtical`). - __toolbarposition__: Set to `top` or `bottom` (default is `bottom`). Causes the toolbar to be at the top or bottom of the window. - __hidespinner__: Set to `yes` or `no` to change the visibility of the loading indicator (defaults to `no`). Windows supports these additional options: - __hidden__: set to `yes` to create the browser and load the page, but not show it. The loadstop event fires when loading is complete. Omit or set to `no` (default) to have the browser open and load normally. - __hardwareback__: works the same way as on Android platform. - __fullscreen__: set to `yes` to create the browser control without a border around it. Please note that if __location=no__ is also specified, there will be no control presented to user to close IAB window. ### Supported Platforms - Android - Browser - iOS - OSX - Windows ### Example var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes'); var ref2 = cordova.InAppBrowser.open(encodeURI('http://ja.m.wikipedia.org/wiki/ハングル'), '_blank', 'location=yes'); ### OSX Quirks At the moment the only supported target in OSX is `_system`. `_blank` and `_self` targets are not yet implemented and are ignored silently. Pull requests and patches to get these to work are greatly appreciated. ### iOS Quirks Since the introduction of iPadOS 13, iPads try to adapt their content mode / user agent for the optimal browsing experience. This may result in iPads having their user agent set to Macintosh, making it hard to detect them as mobile devices using user agent string sniffing. You can change this with the `PreferredContentMode` preference in `config.xml`. ```xml <preference name="PreferredContentMode" value="mobile" /> ``` The example above forces the user agent to contain `iPad`. The other option is to use the value `desktop` to turn the user agent to `Macintosh`. ### Browser Quirks - Plugin is implemented via iframe, - Navigation history (`back` and `forward` buttons in LocationBar) is not implemented. ## InAppBrowser The object returned from a call to `cordova.InAppBrowser.open` when the target is set to `'_blank'`. ### Methods - addEventListener - removeEventListener - close - show - hide - executeScript - insertCSS ## InAppBrowser.addEventListener > Adds a listener for an event from the `InAppBrowser`. (Only available when the target is set to `'_blank'`) ref.addEventListener(eventname, callback); - __ref__: reference to the `InAppBrowser` window _(InAppBrowser)_ - __eventname__: the event to listen for _(String)_ - __loadstart__: event fires when the `InAppBrowser` starts to load a URL. - __loadstop__: event fires when the `InAppBrowser` finishes loading a URL. - __loaderror__: event fires when the `InAppBrowser` encounters an error when loading a URL. - __exit__: event fires when the `InAppBrowser` window is closed. - __beforeload__: event fires when the `InAppBrowser` decides whether to load an URL or not (only with option `beforeload` set). - __message__: event fires when the `InAppBrowser` receives a message posted from the page loaded inside the `InAppBrowser` Webview. - __callback__: the function that executes when the event fires. The function is passed an `InAppBrowserEvent` object as a parameter. ## Example ```javascript var inAppBrowserRef; function showHelp(url) { var target = "_blank"; var options = "location=yes,hidden=yes,beforeload=yes"; inAppBrowserRef = cordova.InAppBrowser.open(url, target, options); inAppBrowserRef.addEventListener('loadstart', loadStartCallBack); inAppBrowserRef.addEventListener('loadstop', loadStopCallBack); inAppBrowserRef.addEventListener('loaderror', loadErrorCallBack); inAppBrowserRef.addEventListener('beforeload', beforeloadCallBack); inAppBrowserRef.addEventListener('message', messageCallBack); } function loadStartCallBack() { $('#status-message').text("loading please wait ..."); } function loadStopCallBack() { if (inAppBrowserRef != undefined) { inAppBrowserRef.insertCSS({ code: "body{font-size: 25px;}" }); inAppBrowserRef.executeScript({ code: "\ var message = 'this is the message';\ var messageObj = {my_message: message};\ var stringifiedMessageObj = JSON.stringify(messageObj);\ webkit.messageHandlers.cordova_iab.postMessage(stringifiedMessageObj);" }); $('#status-message').text(""); inAppBrowserRef.show(); } } function loadErrorCallBack(params) { $('#status-message').text(""); var scriptErrorMesssage = "alert('Sorry we cannot open that page. Message from the server is : " + params.message + "');" inAppBrowserRef.executeScript({ code: scriptErrorMesssage }, executeScriptCallBack); inAppBrowserRef.close(); inAppBrowserRef = undefined; } function executeScriptCallBack(params) { if (params[0] == null) { $('#status-message').text( "Sorry we couldn't open that page. Message from the server is : '" + params.message + "'"); } } function beforeloadCallBack(params, callback) { if (params.url.startsWith("http://www.example.com/")) { // Load this URL in the inAppBrowser. callback(params.url); } else { // The callback is not invoked, so the page will not be loaded. $('#status-message').text("This browser only opens pages on http://www.example.com/"); } } function messageCallBack(params){ $('#status-message').text("message received: "+params.data.my_message); } ``` ### InAppBrowserEvent Properties - __type__: the eventname, either `loadstart`, `loadstop`, `loaderror`, `message` or `exit`. _(String)_ - __url__: the URL that was loaded. _(String)_ - __code__: the error code, only in the case of `loaderror`. _(Number)_ - __message__: the error message, only in the case of `loaderror`. _(String)_ - __data__: the message contents , only in the case of `message`. A stringified JSON object. _(String)_ ### Supported Platforms - Android - Browser - iOS - Windows - OSX ### Browser Quirks `loadstart`, `loaderror`, `message` events are not fired. ### Windows Quirks `message` event is not fired. ### Quick Example var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes'); ref.addEventListener('loadstart', function(event) { alert(event.url); }); ## InAppBrowser.removeEventListener > Removes a listener for an event from the `InAppBrowser`. (Only available when the target is set to `'_blank'`) ref.removeEventListener(eventname, callback); - __ref__: reference to the `InAppBrowser` window. _(InAppBrowser)_ - __eventname__: the event to stop listening for. _(String)_ - __loadstart__: event fires when the `InAppBrowser` starts to load a URL. - __loadstop__: event fires when the `InAppBrowser` finishes loading a URL. - __loaderror__: event fires when the `InAppBrowser` encounters an error loading a URL. - __exit__: event fires when the `InAppBrowser` window is closed. - __message__: event fires when the `InAppBrowser` receives a message posted from the page loaded inside the `InAppBrowser` Webview. - __callback__: the function to execute when the event fires. The function is passed an `InAppBrowserEvent` object. ### Supported Platforms - Android - Browser - iOS - Windows ### Quick Example var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes'); var myCallback = function(event) { alert(event.url); } ref.addEventListener('loadstart', myCallback); ref.removeEventListener('loadstart', myCallback); ## InAppBrowser.close > Closes the `InAppBrowser` window. ref.close(); - __ref__: reference to the `InAppBrowser` window _(InAppBrowser)_ ### Supported Platforms - Android - Browser - iOS - Windows ### Quick Example var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes'); ref.close(); ## InAppBrowser.show > Displays an InAppBrowser window that was opened hidden. Calling this has no effect if the InAppBrowser was already visible. ref.show(); - __ref__: reference to the InAppBrowser window (`InAppBrowser`) ### Supported Platforms - Android - Browser - iOS - Windows ### Quick Example var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'hidden=yes'); // some time later... ref.show(); ## InAppBrowser.hide > Hides the InAppBrowser window. Calling this has no effect if the InAppBrowser was already hidden. ref.hide(); - __ref__: reference to the InAppBrowser window (`InAppBrowser`) ### Supported Platforms - Android - iOS - Windows ### Quick Example var ref = cordova.InAppBrowser.open('http://apache.org', '_blank'); // some time later... ref.hide(); ## InAppBrowser.executeScript > Injects JavaScript code into the `InAppBrowser` window. (Only available when the target is set to `'_blank'`) ref.executeScript(details, callback); - __ref__: reference to the `InAppBrowser` window. _(InAppBrowser)_ - __injectDetails__: details of the script to run, specifying either a `file` or `code` key. _(Object)_ - __file__: URL of the script to inject. - __code__: Text of the script to inject. - __callback__: the function that executes after the JavaScript code is injected. - If the injected script is of type `code`, the callback executes with a single parameter, which is the return value of the script, wrapped in an `Array`. For multi-line scripts, this is the return value of the last statement, or the last expression evaluated. ### Supported Platforms - Android - Browser - iOS - Windows ### Quick Example var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes'); ref.addEventListener('loadstop', function() { ref.executeScript({file: "myscript.js"}); }); ### Browser Quirks - only __code__ key is supported. ### Windows Quirks Due to [MSDN docs](https://msdn.microsoft.com/en-us/library/windows.ui.xaml.controls.webview.invokescriptasync.aspx) the invoked script can return only string values, otherwise the parameter, passed to __callback__ will be `[null]`. ## InAppBrowser.insertCSS > Injects CSS into the `InAppBrowser` window. (Only available when the target is set to `'_blank'`) ref.insertCSS(details, callback); - __ref__: reference to the `InAppBrowser` window _(InAppBrowser)_ - __injectDetails__: details of the script to run, specifying either a `file` or `code` key. _(Object)_ - __file__: URL of the stylesheet to inject. - __code__: Text of the stylesheet to inject. - __callback__: the function that executes after the CSS is injected. ### Supported Platforms - Android - iOS - Windows ### Quick Example var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes'); ref.addEventListener('loadstop', function() { ref.insertCSS({file: "mystyles.css"}); }); __ ## <a id="sample"></a>Sample: Show help pages with an InAppBrowser You can use this plugin to show helpful documentation pages within your app. Users can view online help documents and then close them without leaving the app. Here's a few snippets that show how you do this. * [Give users a way to ask for help](#give). * [Load a help page](#load). * [Let users know that you're getting their page ready](#let). * [Show the help page](#show). * [Handle page errors](#handle). ### <a id="give"></a>Give users a way to ask for help There's lots of ways to do this in your app. A drop down list is a simple way to do that. ```html <select id="help-select"> <option value="default">Need help?</option> <option value="article">Show me a helpful article</option> <option value="video">Show me a helpful video</option> <option value="search">Search for other topics</option> </select> ``` Gather the users choice in the ``onDeviceReady`` function of the page and then send an appropriate URL to a helper function in some shared library file. Our helper function is named ``showHelp()`` and we'll write that function next. ```javascript $('#help-select').on('change', function (e) { var url; switch (this.value) { case "article": url = "https://cordova.apache.org/docs/en/latest/" + "reference/cordova-plugin-inappbrowser/index.html"; break; case "video": url = "https://youtu.be/F-GlVrTaeH0"; break; case "search": url = "https://www.google.com/#q=inAppBrowser+plugin"; break; } showHelp(url); }); ``` ### <a id="load"></a>Load a help page We'll use the ``open`` function to load the help page. We're setting the ``hidden`` property to ``yes`` so that we can show the browser only after the page content has loaded. That way, users don't see a blank browser while they wait for content to appear. When the ``loadstop`` event is raised, we'll know when the content has loaded. We'll handle that event shortly. ```javascript function showHelp(url) { var target = "_blank"; var options = "location=yes,hidden=yes"; inAppBrowserRef = cordova.InAppBrowser.open(url, target, options); inAppBrowserRef.addEventListener('loadstart', loadStartCallBack); inAppBrowserRef.addEventListener('loadstop', loadStopCallBack); inAppBrowserRef.addEventListener('loaderror', loadErrorCallBack); } ``` ### <a id="let"></a>Let users know that you're getting their page ready Because the browser doesn't immediately appear, we can use the ``loadstart`` event to show a status message, progress bar, or other indicator. This assures users that content is on the way. ```javascript function loadStartCallBack() { $('#status-message').text("loading please wait ..."); } ``` ### <a id="show"></a>Show the help page When the ``loadstopcallback`` event is raised, we know that the content has loaded and we can make the browser visible. This sort of trick can create the impression of better performance. The truth is that whether you show the browser before content loads or not, the load times are exactly the same. ```javascript function loadStopCallBack() { if (inAppBrowserRef != undefined) { inAppBrowserRef.insertCSS({ code: "body{font-size: 25px;}" }); $('#status-message').text(""); inAppBrowserRef.show(); } } ``` You might have noticed the call to the ``insertCSS`` function. This serves no particular purpose in our scenario. But it gives you an idea of why you might use it. In this case, we're just making sure that the font size of your pages have a certain size. You can use this function to insert any CSS style elements. You can even point to a CSS file in your project. ### <a id="handle"></a>Handle page errors Sometimes a page no longer exists, a script error occurs, or a user lacks permission to view the resource. How or if you handle that situation is completely up to you and your design. You can let the browser show that message or you can present it in another way. We'll try to show that error in a message box. We can do that by injecting a script that calls the ``alert`` function. That said, this won't work in browsers on Windows devices so we'll have to look at the parameter of the ``executeScript`` callback function to see if our attempt worked. If it didn't work out for us, we'll just show the error message in a ``<div>`` on the page. ```javascript function loadErrorCallBack(params) { $('#status-message').text(""); var scriptErrorMesssage = "alert('Sorry we cannot open that page. Message from the server is : " + params.message + "');" inAppBrowserRef.executeScript({ code: scriptErrorMesssage }, executeScriptCallBack); inAppBrowserRef.close(); inAppBrowserRef = undefined; } function executeScriptCallBack(params) { if (params[0] == null) { $('#status-message').text( "Sorry we couldn't open that page. Message from the server is : '" + params.message + "'"); } } ``` ## More Usage Info ### Local Urls ( source is in the app package ) ``` var iab = cordova.InAppBrowser; iab.open('local-url.html'); // loads in the Cordova WebView iab.open('local-url.html', '_self'); // loads in the Cordova WebView iab.open('local-url.html', '_system'); // Security error: system browser, but url will not load (iOS) iab.open('local-url.html', '_blank'); // loads in the InAppBrowser iab.open('local-url.html', 'random_string'); // loads in the InAppBrowser iab.open('local-url.html', 'random_string', 'location=no'); // loads in the InAppBrowser, no location bar ``` ### Whitelisted Content ``` var iab = cordova.InAppBrowser; iab.open('http://whitelisted-url.com'); // loads in the Cordova WebView iab.open('http://whitelisted-url.com', '_self'); // loads in the Cordova WebView iab.open('http://whitelisted-url.com', '_system'); // loads in the system browser iab.open('http://whitelisted-url.com', '_blank'); // loads in the InAppBrowser iab.open('http://whitelisted-url.com', 'random_string'); // loads in the InAppBrowser iab.open('http://whitelisted-url.com', 'random_string', 'location=no'); // loads in the InAppBrowser, no location bar ``` ### Urls that are not white-listed ``` var iab = cordova.InAppBrowser; iab.open('http://url-that-fails-whitelist.com'); // loads in the InAppBrowser iab.open('http://url-that-fails-whitelist.com', '_self'); // loads in the InAppBrowser iab.open('http://url-that-fails-whitelist.com', '_system'); // loads in the system browser iab.open('http://url-that-fails-whitelist.com', '_blank'); // loads in the InAppBrowser iab.open('http://url-that-fails-whitelist.com', 'random_string'); // loads in the InAppBrowser iab.open('http://url-that-fails-whitelist.com', 'random_string', 'location=no'); // loads in the InAppBrowser, no location bar ```
53
🔥 A cross-platform build utility based on Lua
<div align="center"> <a href="https://xmake.io"> <img width="160" heigth="160" src="https://tboox.org/static/img/xmake/logo256c.png"> </a> <h1>xmake</h1> <div> <a href="https://github.com/xmake-io/xmake/actions?query=workflow%3AWindows"> <img src="https://img.shields.io/github/actions/workflow/status/xmake-io/xmake/windows.yml?branch=master&style=flat-square&logo=windows" alt="github-ci" /> </a> <a href="https://github.com/xmake-io/xmake/actions?query=workflow%3ALinux"> <img src="https://img.shields.io/github/actions/workflow/status/xmake-io/xmake/linux.yml?branch=master&style=flat-square&logo=linux" alt="github-ci" /> </a> <a href="https://github.com/xmake-io/xmake/actions?query=workflow%3AmacOS"> <img src="https://img.shields.io/github/actions/workflow/status/xmake-io/xmake/macos.yml?branch=master&style=flat-square&logo=apple" alt="github-ci" /> </a> <a href="https://github.com/xmake-io/xmake/releases"> <img src="https://img.shields.io/github/release/xmake-io/xmake.svg?style=flat-square" alt="Github All Releases" /> </a> </div> <div> <a href="https://github.com/xmake-io/xmake/blob/master/LICENSE.md"> <img src="https://img.shields.io/github/license/xmake-io/xmake.svg?colorB=f48041&style=flat-square" alt="license" /> </a> <a href="https://www.reddit.com/r/xmake/"> <img src="https://img.shields.io/badge/chat-on%20reddit-ff3f34.svg?style=flat-square" alt="Reddit" /> </a> <a href="https://gitter.im/xmake-io/xmake?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"> <img src="https://img.shields.io/gitter/room/xmake-io/xmake.svg?style=flat-square&colorB=96c312" alt="Gitter" /> </a> <a href="https://t.me/tbooxorg"> <img src="https://img.shields.io/badge/chat-on%20telegram-blue.svg?style=flat-square" alt="Telegram" /> </a> <a href="https://jq.qq.com/?_wv=1027&k=5hpwWFv"> <img src="https://img.shields.io/badge/chat-on%20QQ-ff69b4.svg?style=flat-square" alt="QQ" /> </a> <a href="https://discord.gg/xmake"> <img src="https://img.shields.io/badge/chat-on%20discord-7289da.svg?style=flat-square" alt="Discord" /> </a> <a href="https://xmake.io/#/sponsor"> <img src="https://img.shields.io/badge/donate-us-orange.svg?style=flat-square" alt="Donate" /> </a> </div> <b>A cross-platform build utility based on Lua</b><br/> <i>Modern C/C++ build tool: Simple, Fast, Powerful dependency package integration</i><br/> </div> ## Support this project Support this project by [becoming a sponsor](https://xmake.io/#/about/sponsor). Your logo will show up here with a link to your website. 🙏 <a href="https://opencollective.com/xmake#sponsors" target="_blank"><img src="https://opencollective.com/xmake/sponsors.svg?width=890"></a> <a href="https://opencollective.com/xmake#backers" target="_blank"><img src="https://opencollective.com/xmake/backers.svg?width=890"></a> ## Technical Support You can also consider sponsoring us to get extra technical support services via the [Github sponsor program](https://github.com/sponsors/waruqi), This gives you access to the [xmake-io/technical-support](https://github.com/xmake-io/technical-support) repository, where you can get more information on consulting. - [x] Handling Issues with higher priority - [x] One-to-one technical consulting service - [x] Review your xmake.lua and provide suggestions for improvement ## Introduction ([中文](/README_zh.md)) Xmake is a lightweight, cross-platform build utility based on Lua. It is very lightweight and has no dependencies due to the integration of the Lua runtime. It uses xmake.lua to maintain project builds with a very simple and readable syntax. We can use it to build projects directly like Make/Ninja or generate project files like CMake/Meson. It also has a built-in package management system to help users integrate C/C++ dependencies. ``` Xmake = Build backend + Project Generator + Package Manager + [Remote|Distributed] Build + Cache ``` Although not very precise, we can still understand Xmake in the following way: ``` Xmake ≈ Make/Ninja + CMake/Meson + Vcpkg/Conan + distcc + ccache/sccache ``` If you want to know more, please refer to: [Documents](https://xmake.io/#/getting_started), [Github](https://github.com/xmake-io/xmake) and [Gitee](https://gitee.com/tboox/xmake). You are also welcome to join our [community](https://xmake.io/#/about/contact). ![](https://github.com/xmake-io/xmake-docs/raw/master/assets/img/index/xmake-basic-render.gif) ## Installation #### via curl ```bash bash <(curl -fsSL https://xmake.io/shget.text) ``` #### via wget ```bash bash <(wget https://xmake.io/shget.text -O -) ``` #### via powershell ```powershell Invoke-Expression (Invoke-Webrequest 'https://xmake.io/psget.text' -UseBasicParsing).Content ``` #### Other installation methods If you don't want to use the script to install xmake, see [Installation Guide](https://xmake.io/#/guide/installation) for other installation methods. ## Simple description ```lua target("hello") set_kind("binary") add_files("src/*.cpp") ``` ## Package dependences ```lua add_requires("tbox 1.6.*", "zlib", "libpng ~1.6") ``` An official xmake package repository exists at: [xmake-repo](https://github.com/xmake-io/xmake-repo) <img src="https://github.com/xmake-io/xmake-docs/raw/master/assets/img/index/package.gif" width="650px" /> ## Create project ```bash $ xmake create hello $ cd hello ``` ## Build project ```bash $ xmake ``` ## Run target ```bash $ xmake run console ``` ## Debug target ```bash $ xmake run -d console ``` ## Configure platform ```bash $ xmake f -p [windows|linux|macosx|android|iphoneos ..] -a [x86|arm64 ..] -m [debug|release] $ xmake ``` ## Menu configuration ```bash $ xmake f --menu ``` <img src="https://xmake.io/assets/img/index/menuconf.png" width="650px" /> ## Build as fast as ninja The test project: [xmake-core](https://github.com/xmake-io/xmake/tree/master/core) ### Multi-task parallel compilation | buildsystem | Termux (8core/-j12) | buildsystem | MacOS (8core/-j12) | |----- | ---- | --- | --- | |xmake | 24.890s | xmake | 12.264s | |ninja | 25.682s | ninja | 11.327s | |cmake(gen+make) | 5.416s+28.473s | cmake(gen+make) | 1.203s+14.030s | |cmake(gen+ninja) | 4.458s+24.842s | cmake(gen+ninja) | 0.988s+11.644s | ### Single task compilation | buildsystem | Termux (-j1) | buildsystem | MacOS (-j1) | |----- | ---- | --- | --- | |xmake | 1m57.707s | xmake | 39.937s | |ninja | 1m52.845s | ninja | 38.995s | |cmake(gen+make) | 5.416s+2m10.539s | cmake(gen+make) | 1.203s+41.737s | |cmake(gen+ninja) | 4.458s+1m54.868s | cmake(gen+ninja) | 0.988s+38.022s | ## Package management ### Processing architecture <img src="https://xmake.io/assets/img/index/package_arch.png" width="650px" /> ### Supported package repositories * Official package repository [xmake-repo](https://github.com/xmake-io/xmake-repo) (tbox >1.6.1) * Official package manager [Xrepo](https://github.com/xmake-io/xrepo) * [User-built repositories](https://xmake.io/#/package/remote_package?id=using-self-built-private-package-repository) * Conan (conan::openssl/1.1.1g) * Conda (conda::libpng 1.3.67) * Vcpkg (vcpkg::ffmpeg) * Homebrew/Linuxbrew (brew::pcre2/libpcre2-8) * Pacman on archlinux/msys2 (pacman::libcurl) * Apt on ubuntu/debian (apt::zlib1g-dev) * Clib (clib::clibs/[email protected]) * Dub (dub::log 0.4.3) * Portage on Gentoo/Linux (portage::libhandy) * Nimble for nimlang (nimble::zip >1.3) * Cargo for rust (cargo::base64 0.13.0) ### Package management features * The official repository provides nearly 700+ packages with one-click compilation on all platforms * Full platform package support, support for cross-compiled dependent packages * Support package virtual environment using `xrepo env shell` * Precompiled package acceleration for Windows * Support self-built package repositories and private repository deployment * Third-party package repository support for repositories such as: vcpkg, conan, conda, etc. * Supports automatic pulling of remote toolchains * Supports dependency version locking ## Supported platforms * Windows (x86, x64) * macOS (i386, x86_64, arm64) * Linux (i386, x86_64, cross-toolchains ..) * *BSD (i386, x86_64) * Android (x86, x86_64, armeabi, armeabi-v7a, arm64-v8a) * iOS (armv7, armv7s, arm64, i386, x86_64) * WatchOS (armv7k, i386) * AppleTVOS (armv7, arm64, i386, x86_64) * MSYS (i386, x86_64) * MinGW (i386, x86_64, arm, arm64) * Cygwin (i386, x86_64) * Wasm (wasm32) * Haiku (i386, x86_64) * Cross (cross-toolchains ..) ## Supported toolchains ```bash $ xmake show -l toolchains xcode Xcode IDE msvc Microsoft Visual C/C++ Compiler clang-cl LLVM Clang C/C++ Compiler compatible with msvc yasm The Yasm Modular Assembler clang A C language family frontend for LLVM go Go Programming Language Compiler dlang D Programming Language Compiler (Auto) dmd D Programming Language Compiler ldc The LLVM-based D Compiler gdc The GNU D Compiler (GDC) gfortran GNU Fortran Programming Language Compiler zig Zig Programming Language Compiler sdcc Small Device C Compiler cuda CUDA Toolkit (nvcc, nvc, nvc++, nvfortran) ndk Android NDK rust Rust Programming Language Compiler swift Swift Programming Language Compiler llvm A collection of modular and reusable compiler and toolchain technologies cross Common cross compilation toolchain nasm NASM Assembler gcc GNU Compiler Collection mingw Minimalist GNU for Windows gnu-rm GNU Arm Embedded Toolchain envs Environment variables toolchain fasm Flat Assembler tinycc Tiny C Compiler emcc A toolchain for compiling to asm.js and WebAssembly icc Intel C/C++ Compiler ifort Intel Fortran Compiler muslcc The musl-based cross-compilation toolchain fpc Free Pascal Programming Language Compiler wasi WASI-enabled WebAssembly C/C++ toolchain nim Nim Programming Language Compiler circle A new C++20 compiler armcc ARM Compiler Version 5 of Keil MDK armclang ARM Compiler Version 6 of Keil MDK c51 Keil development tools for the 8051 Microcontroller Architecture icx Intel LLVM C/C++ Compiler dpcpp Intel LLVM C++ Compiler for data parallel programming model based on Khronos SYCL masm32 The MASM32 SDK iverilog Icarus Verilog verilator Verilator open-source SystemVerilog simulator and lint system ``` ## Supported Languages * C * C++ * Objective-C and Objective-C++ * Swift * Assembly * Golang * Rust * Dlang * Fortran * Cuda * Zig * Vala * Pascal * Nim * Verilog ## Supported Features * The configuration grammar is simple and easy to use * Quick, dependency-free installation * One-click compilation for all platforms * Supports cross compilation with intelligent analysis of cross toolchain information * Extremely fast parallel compilation support * C++20 module support * Supports cross-platform C/C++ dependencies with built-in package manager * Multi-language compilation support including mixed-language projects. * Rich plug-in support with various project generators (ex. vs/makefile/cmakelists/compile_commands) * REPL interactive execution support * Incremental compilation support with automatic analysis of header files * Quick toolchain management * A large number of expansion modules * Remote compilation support * Distributed compilation support * Local and remote build cache support ## Supported Projects * Static library * Shared library * Console * Cuda program * Qt application * WDK driver (umdf/kmdf/wdm) * WinSDK application * MFC application * iOS/MacOS application (support .metal) * Framework and bundle program (iOS/MacOS) * SWIG/Pybind11 modules (lua, python, ...) * Luarocks modules * Protobuf program * Lex/yacc Program * C++20 modules * Linux kernel driver modules * Keil MDK/C51 embed program * Verilog simulator program ## Distributed Compilation - [x] Cross-platform support - [x] Support for msvc, clang, gcc and cross-compilation toolchain - [x] Support for building android, ios, linux, win, macOS programs - [x] No dependencies other than the compilation toolchain - [x] Support for build server load balancing scheduling - [x] Support for real time compressed transfer of large files (lz4) - [x] Almost zero configuration cost, no shared filesystem required, more convenience and security About distributed compilation and build cache, you can see: - [Distributed Compilation](https://xmake.io/#/features/distcc_build) - [Build Cache](https://xmake.io/#/features/build_cache) ## Remote Compilation For more details see: [Remote Compilation](https://xmake.io/#/features/remote_build) ## More Examples #### Debug and release profiles ```lua add_rules("mode.debug", "mode.release") target("console") set_kind("binary") add_files("src/*.c") if is_mode("debug") then add_defines("DEBUG") end ``` #### Custom scripts ```lua target("test") set_kind("binary") add_files("src/*.c") after_build(function (target) print("hello: %s", target:name()) os.exec("echo %s", target:targetfile()) end) ``` #### Automatic integration of dependent packages Download and use packages in [xmake-repo](https://github.com/xmake-io/xmake-repo) or third-party repositories: ```lua add_requires("tbox >1.6.1", "libuv master", "vcpkg::ffmpeg", "brew::pcre2/libpcre2-8") add_requires("conan::openssl/1.1.1g", {alias = "openssl", optional = true, debug = true}) target("test") set_kind("binary") add_files("src/*.c") add_packages("tbox", "libuv", "vcpkg::ffmpeg", "brew::pcre2/libpcre2-8", "openssl") ``` In addition, we can also use the [xrepo](https://github.com/xmake-io/xrepo) command to quickly install dependencies. #### Qt QuickApp Program ```lua target("test") add_rules("qt.quickapp") add_files("src/*.cpp") add_files("src/qml.qrc") ``` #### Cuda Program ```lua target("test") set_kind("binary") add_files("src/*.cu") add_cugencodes("native") add_cugencodes("compute_35") ``` #### WDK/UMDF Driver Program ```lua target("echo") add_rules("wdk.driver", "wdk.env.umdf") add_files("driver/*.c") add_files("driver/*.inx") add_includedirs("exe") target("app") add_rules("wdk.binary", "wdk.env.umdf") add_files("exe/*.cpp") ``` More wdk driver program examples exist (umdf/kmdf/wdm), please see [WDK Program Examples](https://xmake.io/#/guide/project_examples?id=wdk-driver-program) #### iOS/MacOS Application ```lua target("test") add_rules("xcode.application") add_files("src/*.m", "src/**.storyboard", "src/*.xcassets") add_files("src/Info.plist") ``` #### Framework and Bundle Program (iOS/MacOS) ```lua target("test") add_rules("xcode.framework") -- or xcode.bundle add_files("src/*.m") add_files("src/Info.plist") ``` #### OpenMP Program ```lua add_requires("libomp", {optional = true}) target("loop") set_kind("binary") add_files("src/*.cpp") add_rules("c++.openmp") add_packages("libomp") ``` #### Zig Program ```lua target("test") set_kind("binary") add_files("src/main.zig") ``` ### Automatically fetch remote toolchain #### fetch a special version of llvm We use Clang in `llvm-10` to compile the project. ```lua add_requires("llvm 10.x", {alias = "llvm-10"}) target("test") set_kind("binary") add_files("src/*.c") set_toolchains("llvm@llvm-10") ```` #### Fetch cross-compilation toolchain We can also pull a specified cross-compilation toolchain to compile the project. ```lua add_requires("muslcc") target("test") set_kind("binary") add_files("src/*.c") set_toolchains("@muslcc") ``` #### Fetch toolchain and packages We can also use the specified `muslcc` cross-compilation toolchain to compile and integrate all dependent packages ```lua add_requires("muslcc") add_requires("zlib", "libogg", {system = false}) set_toolchains("@muslcc") target("test") set_kind("binary") add_files("src/*.c") add_packages("zlib", "libogg") ``` ## Plugins #### Generate IDE project file plugin(makefile, vs2002 - vs2022 .. ) ```bash $ xmake project -k vsxmake -m "debug,release" # New vsproj generator (Recommended) $ xmake project -k vs -m "debug,release" $ xmake project -k cmake $ xmake project -k ninja $ xmake project -k compile_commands ``` #### Run a custom lua script plugin ```bash $ xmake l ./test.lua $ xmake l -c "print('hello xmake!')" $ xmake l lib.detect.find_tool gcc $ xmake l > print("hello xmake!") > {1, 2, 3} < { 1, 2, 3 } ``` More builtin plugins exist, please see: [Builtin plugins](https://xmake.io/#/plugin/builtin_plugins) Please download and install other plugins from the plugins repository [xmake-plugins](https://github.com/xmake-io/xmake-plugins). ## IDE/Editor Integration * [xmake-vscode](https://github.com/xmake-io/xmake-vscode) <img src="https://raw.githubusercontent.com/xmake-io/xmake-vscode/master/res/problem.gif" width="650px" /> * [xmake-sublime](https://github.com/xmake-io/xmake-sublime) <img src="https://raw.githubusercontent.com/xmake-io/xmake-sublime/master/res/problem.gif" width="650px" /> * [xmake-idea](https://github.com/xmake-io/xmake-idea) <img src="https://raw.githubusercontent.com/xmake-io/xmake-idea/master/res/problem.gif" width="650px" /> * [xmake.vim](https://github.com/luzhlon/xmake.vim) (third-party, thanks [@luzhlon](https://github.com/luzhlon)) * [xmake-visualstudio](https://github.com/HelloWorld886/xmake-visualstudio) (third-party, thanks [@HelloWorld886](https://github.com/HelloWorld886)) * [xmake-qtcreator](https://github.com/Arthapz/xmake-project-manager) (third-party, thanks [@Arthapz](https://github.com/Arthapz)) ### XMake Gradle Plugin (JNI) We can use the [xmake-gradle](https://github.com/xmake-io/xmake-gradle) plugin to compile JNI libraries via gradle. ``` plugins { id 'org.tboox.gradle-xmake-plugin' version '1.1.5' } android { externalNativeBuild { xmake { path "jni/xmake.lua" } } } ``` The `xmakeBuild` task will be injected into the `assemble` task automatically if the `gradle-xmake-plugin` has been applied. ```console $ ./gradlew app:assembleDebug > Task :nativelib:xmakeConfigureForArm64 > Task :nativelib:xmakeBuildForArm64 >> xmake build [ 50%]: ccache compiling.debug nativelib.cc [ 75%]: linking.debug libnativelib.so [100%]: build ok! >> install artifacts to /Users/ruki/projects/personal/xmake-gradle/nativelib/libs/arm64-v8a > Task :nativelib:xmakeConfigureForArmv7 > Task :nativelib:xmakeBuildForArmv7 >> xmake build [ 50%]: ccache compiling.debug nativelib.cc [ 75%]: linking.debug libnativelib.so [100%]: build ok! >> install artifacts to /Users/ruki/projects/personal/xmake-gradle/nativelib/libs/armeabi-v7a > Task :nativelib:preBuild > Task :nativelib:assemble > Task :app:assembleDebug ``` ## CI Integration ### GitHub Action We can use [github-action-setup-xmake](https://github.com/xmake-io/github-action-setup-xmake) to setup Xmake in Github Actions. ``` uses: xmake-io/github-action-setup-xmake@v1 with: xmake-version: latest ``` ## Who is using Xmake? The user list is available [here](https://xmake.io/#/about/who_is_using_xmake) If you are using xmake, you are welcome to submit your information to the above list through a PR, so that others can know how many users are using it. This also let users use xmake more confidently and give us motivation to continue to maintain it. This will help the xmake project and it's community to grow stronger. ## Contacts * Email:[[email protected]](mailto:[email protected]) * Homepage:[xmake.io](https://xmake.io) * Community - [Chat on reddit](https://www.reddit.com/r/xmake/) - [Chat on telegram](https://t.me/tbooxorg) - [Chat on gitter](https://gitter.im/xmake-io/xmake?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) - [Chat on discord](https://discord.gg/xmake) - Chat on QQ Group: 343118190, 662147501 * Source Code:[Github](https://github.com/xmake-io/xmake), [Gitee](https://gitee.com/tboox/xmake) * Wechat Public: tboox-os ## Thanks This project exists thanks to all the people who have [contributed](CONTRIBUTING.md): <a href="https://github.com/xmake-io/xmake/graphs/contributors"><img src="https://opencollective.com/xmake/contributors.svg?width=890&button=false" /></a> * [TitanSnow](https://github.com/TitanSnow): provide the xmake [logo](https://github.com/TitanSnow/ts-xmake-logo) and install scripts * [uael](https://github.com/uael): provide the semantic versioning library [sv](https://github.com/uael/sv) * [OpportunityLiu](https://github.com/OpportunityLiu): improve cuda, tests and ci * [xq144](https://github.com/xq114): Improve `xrepo env shell`, and contribute a lot of packages to the [xmake-repo](https://github.com/xmake-io/xmake-repo) repository. * `enderger`: Helped smooth out the edges on the English translation of the README
54
coobjc provides coroutine support for Objective-C and Swift. We added await method、generator and actor model like C#、Javascript and Kotlin. For convenience, we added coroutine categories for some Foundation and UIKit API in cokit framework like NSFileManager, JSON, NSData, UIImage etc. We also add tuple support in coobjc.
<p align="center" > <img src="coobjc_icon.png" alt="coobjc" title="coobjc"> </p> This library provides coroutine support for Objective-C and Swift. We added await method、generator and actor model like C#、Javascript and Kotlin. For convenience, we added coroutine categories for some Foundation and UIKit API in [cokit framework](cokit/README.md) like NSFileManager, JSON, NSData, UIImage etc. We also add tuple support in coobjc. [cooobjc 中文文档](README_cn.md) ## 0x0 iOS Asynchronous programming problem Block-based asynchronous programming callback is currently the most widely used asynchronous programming method for iOS. The GCD library provided by iOS system makes asynchronous development very simple and convenient, but there are many disadvantages based on this programming method: * get into Callback hell Sequence of simple operations is unnaturally composed in the nested blocks. This "Callback hell" makes it difficult to keep track of code that is running, and the stack of closures leads to many second order effects. * Handling errors becomes difficult and very verbose * Conditional execution is hard and error-prone * forget to call the completion block * Because completion handlers are awkward, too many APIs are defined synchronously This is hard to quantify, but the authors believe that the awkwardness of defining and using asynchronous APIs (using completion handlers) has led to many APIs being defined with apparently synchronous behavior, even when they can block. This can lead to problematic performance and responsiveness problems in UI applications - e.g. spinning cursor. It can also lead to the definition of APIs that cannot be used when asynchrony is critical to achieve scale, e.g. on the server. * Multi-threaded crashes that are difficult to locate * Locks and semaphore abuse caused by blocking ## 0x1 Solution These problem have been faced in many systems and many languages, and the abstraction of coroutines is a standard way to address them. Without delving too much into theory, coroutines are an extension of basic functions that allow a function to return a value or be suspended. They can be used to implement generators, asynchronous models, and other capabilities - there is a large body of work on the theory, implementation, and optimization of them. Kotlin is a static programming language supported by JetBrains that supports modern multi-platform applications. It has been quite hot in the developer community for the past two years. In the Kotlin language, async/await based on coroutine, generator/yield and other asynchronous technologies have become syntactic standard, Kotlin coroutine related introduction, you can refer to:[https://www.kotlincn.net/docs/reference/coroutines/basics.html](https://www.kotlincn.net/docs/reference/coroutines/basics.html) ## 0x2 Coroutine > **Coroutines are computer program components that generalize subroutines for non-preemptive multitasking, by allowing execution to be suspended and resumed. Coroutines are well-suited for implementing familiar program components such as cooperative tasks, exceptions, event loops, iterators, infinite lists and pipes** The concept of coroutine has been proposed in the 1960s. It is widely used in the server. It is extremely suitable for use in high concurrency scenarios. It can greatly reduce the number of threads in a single machine and improve the connection and processing capabilities of a single machine. In the meantime, iOS currently does not support the use of coroutines(That's why we want to support it.) ## 0x3 coobjc framework coobjc is a coroutine development framework that can be used on the iOS by the Alibaba Taobao-Mobile architecture team. Currently it supports the use of Objective-C and Swift. We use the assembly and C language for development, and the upper layer provides the interface between Objective-C and Swift. Currently, It's open source here under Apache open source license. ### 0x31 Install * cocoapods for objective-c:  pod 'coobjc' * cocoapods for swift: pod 'coswift' * cocoapods for cokit: pod 'cokit' * source code: All the code is in the ./coobjc directory ### 0x32 Documents * Read the [Coroutine framework design](docs/arch_design.md) document. * Read the [coobjc Objective-C Guide](docs/usage.md) document. * Read the [coobjc Swift Guide](docs/usage_swift.md) document. * Read the [cokit framework](cokit/README.md) document, learn how to use the wrapper api of System Interface. * We have provided [coobjcBaseExample](Examples/coobjcBaseExample) demos for coobjc, [coSwiftDemo](Examples/coSwiftDemo) for coswift, [coKitExamples](cokit/Examples/coKitExamples) for cokit ### 0x33 Features #### async/await * create coroutine Create a coroutine using the co_launch method ```objc co_launch(^{ ... }); ``` The coroutine created by co_launch is scheduled by default in the current thread. * await asynchronous method In the coroutine we use the await method to wait for the asynchronous method to execute, get the asynchronous execution result ```objc - (void)viewDidLoad { ... co_launch(^{ // async downloadDataFromUrl NSData *data = await(downloadDataFromUrl(url)); // async transform data to image UIImage *image = await(imageFromData(data)); // set image to imageView self.imageView.image = image; }); } ``` The above code turns the code that originally needs dispatch_async twice into sequential execution, and the code is more concise. * error handling In the coroutine, all our methods are directly returning the value, and no error is returned. Our error in the execution process is obtained by co_getError(). For example, we have the following interface to obtain data from the network. When the promise will reject: error ```objc - (COPromise*)co_GET:(NSString*)url parameters:(NSDictionary*)parameters{ COPromise *promise = [COPromise promise]; [self GET:url parameters:parameters progress:nil success:^(NSURLSessionDataTask * _Nonnull task, id _Nullable responseObject) { [promise fulfill:responseObject]; } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) { [promise reject:error]; }]; return promise; } ``` Then we can use the method in the coroutine: ```objc co_launch(^{ id response = await([self co_GET:feedModel.feedUrl parameters:nil]); if(co_getError()){ //handle error message } ... }); ``` #### Generator * create generator We use co_sequence to create the generator ```objc COCoroutine *co1 = co_sequence(^{ int index = 0; while(co_isActive()){ yield_val(@(index)); index++; } }); ``` In other coroutines, we can call the next method to get the data in the generator. ```objc co_launch(^{ for(int i = 0; i < 10; i++){ val = [[co1 next] intValue]; } }); ``` * use case The generator can be used in many scenarios, such as message queues, batch download files, bulk load caches, etc.: ```objc int unreadMessageCount = 10; NSString *userId = @"xxx"; COSequence *messageSequence = co_sequence_onqueue(background_queue, ^{ //thread execution in the background while(1){ yield(queryOneNewMessageForUserWithId(userId)); } }); //Main thread update UI co_launch(^{ for(int i = 0; i < unreadMessageCount; i++){ if(!isQuitCurrentView()){ displayMessage([messageSequence next]); } } }); ``` Through the generator, we can load the data from the traditional producer--notifying the consumer model, turning the consumer into the data-->telling the producer to load the pattern, avoiding the need to use many shared variables for the state in multi-threaded computing. Synchronization eliminates the use of locks in certain scenarios. #### Actor > **_The concept of Actor comes from Erlang. In AKKA, an Actor can be thought of as a container for storing state, behavior, Mailbox, and child Actor and Supervisor policies. Actors do not communicate directly, but use Mail to communicate with each other._** * create actor We can use co_actor_onqueue to create an actor in the specified thread. ```objc COActor *actor = co_actor_onqueue(q, ^(COActorChan *channel) { ... //Define the state variable of the actor for(COActorMessage *message in channel){ ...//handle message } }); ``` * send a message to the actor The actor's send method can send a message to the actor ```objc COActor *actor = co_actor_onqueue(q, ^(COActorChan *channel) { ... //Define the state variable of the actor for(COActorMessage *message in channel){ ...//handle message } }); // send a message to the actor [actor send:@"sadf"]; [actor send:@(1)]; ``` #### tuple * create tuple we provide co_tuple method to create tuple ```objc COTuple *tup = co_tuple(nil, @10, @"abc"); NSAssert(tup[0] == nil, @"tup[0] is wrong"); NSAssert([tup[1] intValue] == 10, @"tup[1] is wrong"); NSAssert([tup[2] isEqualToString:@"abc"], @"tup[2] is wrong"); ``` you can store any value in tuple * unpack tuple we provide co_unpack method to unpack tuple ```objc id val0; NSNumber *number = nil; NSString *str = nil; co_unpack(&val0, &number, &str) = co_tuple(nil, @10, @"abc"); NSAssert(val0 == nil, @"val0 is wrong"); NSAssert([number intValue] == 10, @"number is wrong"); NSAssert([str isEqualToString:@"abc"], @"str is wrong"); co_unpack(&val0, &number, &str) = co_tuple(nil, @10, @"abc", @10, @"abc"); NSAssert(val0 == nil, @"val0 is wrong"); NSAssert([number intValue] == 10, @"number is wrong"); NSAssert([str isEqualToString:@"abc"], @"str is wrong"); co_unpack(&val0, &number, &str, &number, &str) = co_tuple(nil, @10, @"abc"); NSAssert(val0 == nil, @"val0 is wrong"); NSAssert([number intValue] == 10, @"number is wrong"); NSAssert([str isEqualToString:@"abc"], @"str is wrong"); NSString *str1; co_unpack(nil, nil, &str1) = co_tuple(nil, @10, @"abc"); NSAssert([str1 isEqualToString:@"abc"], @"str1 is wrong"); ``` * use tuple in coroutine first create a promise that resolve tuple value ```objc COPromise<COTuple*>* cotest_loadContentFromFile(NSString *filePath){ return [COPromise promise:^(COPromiseFullfill _Nonnull resolve, COPromiseReject _Nonnull reject) { if ([[NSFileManager defaultManager] fileExistsAtPath:filePath]) { NSData *data = [[NSData alloc] initWithContentsOfFile:filePath]; resolve(co_tuple(filePath, data, nil)); } else{ NSError *error = [NSError errorWithDomain:@"fileNotFound" code:-1 userInfo:nil]; resolve(co_tuple(filePath, nil, error)); } }]; } ``` then you can fetch the value like this: ```objc co_launch(^{ NSString *tmpFilePath = nil; NSData *data = nil; NSError *error = nil; co_unpack(&tmpFilePath, &data, &error) = await(cotest_loadContentFromFile(filePath)); XCTAssert([tmpFilePath isEqualToString:filePath], @"file path is wrong"); XCTAssert(data.length > 0, @"data is wrong"); XCTAssert(error == nil, @"error is wrong"); }); ``` use tuple you can get multiple values from await return #### Actual case using coobjc Let's take the code of the Feeds stream update in the GCDFetchFeed open source project as an example to demonstrate the actual usage scenarios and advantages of the coroutine. The following is the original implementation of not using coroutine: ```objc - (RACSignal *)fetchAllFeedWithModelArray:(NSMutableArray *)modelArray { @weakify(self); return [RACSignal createSignal:^RACDisposable *(id<RACSubscriber> subscriber) { @strongify(self); //Create a parallel queue dispatch_queue_t fetchFeedQueue = dispatch_queue_create("com.starming.fetchfeed.fetchfeed", DISPATCH_QUEUE_CONCURRENT); dispatch_group_t group = dispatch_group_create(); self.feeds = modelArray; for (int i = 0; i < modelArray.count; i++) { dispatch_group_enter(group); SMFeedModel *feedModel = modelArray[i]; feedModel.isSync = NO; [self GET:feedModel.feedUrl parameters:nil progress:nil success:^(NSURLSessionTask *task, id responseObject) { dispatch_async(fetchFeedQueue, ^{ @strongify(self); //parse feed self.feeds[i] = [self.feedStore updateFeedModelWithData:responseObject preModel:feedModel]; //save to db SMDB *db = [SMDB shareInstance]; @weakify(db); [[db insertWithFeedModel:self.feeds[i]] subscribeNext:^(NSNumber *x) { @strongify(db); SMFeedModel *model = (SMFeedModel *)self.feeds[i]; model.fid = [x integerValue]; if (model.imageUrl.length > 0) { NSString *fidStr = [x stringValue]; db.feedIcons[fidStr] = model.imageUrl; } //sendNext [subscriber sendNext:@(i)]; //Notification single completion dispatch_group_leave(group); }]; });//end dispatch async } failure:^(NSURLSessionTask *operation, NSError *error) { NSLog(@"Error: %@", error); dispatch_async(fetchFeedQueue, ^{ @strongify(self); [[[SMDB shareInstance] insertWithFeedModel:self.feeds[i]] subscribeNext:^(NSNumber *x) { SMFeedModel *model = (SMFeedModel *)self.feeds[i]; model.fid = [x integerValue]; dispatch_group_leave(group); }]; });//end dispatch async }]; }//end for //Execution event after all is completed dispatch_group_notify(group, dispatch_get_main_queue(), ^{ [subscriber sendCompleted]; }); return nil; }]; } ``` The following is the call to the above method in viewDidLoad: ```objc [UIApplication sharedApplication].networkActivityIndicatorVisible = YES; self.fetchingCount = 0; @weakify(self); [[[[[[SMNetManager shareInstance] fetchAllFeedWithModelArray:self.feeds] map:^id(NSNumber *value) { @strongify(self); NSUInteger index = [value integerValue]; self.feeds[index] = [SMNetManager shareInstance].feeds[index]; return self.feeds[index]; }] doCompleted:^{ @strongify(self); NSLog(@"fetch complete"); self.tbHeaderLabel.text = @""; self.tableView.tableHeaderView = [[UIView alloc] init]; self.fetchingCount = 0; [self.tableView.mj_header endRefreshing]; [self.tableView reloadData]; if ([SMFeedStore defaultFeeds].count > self.feeds.count) { self.feeds = [SMFeedStore defaultFeeds]; [self fetchAllFeeds]; } [self cacheFeedItems]; }] deliverOn:[RACScheduler mainThreadScheduler]] subscribeNext:^(SMFeedModel *feedModel) { @strongify(self); self.tableView.tableHeaderView = self.tbHeaderView; self.fetchingCount += 1; self.tbHeaderLabel.text = [NSString stringWithFormat:@"正在获取%@...(%lu/%lu)",feedModel.title,(unsigned long)self.fetchingCount,(unsigned long)self.feeds.count]; feedModel.isSync = YES; [self.tableView reloadData]; }]; ``` The above code is relatively poor in terms of readability and simplicity. Let's take a look at the code after using the coroutine transformation: ```objc - (SMFeedModel*)co_fetchFeedModelWithUrl:(SMFeedModel*)feedModel{ feedModel.isSync = NO; id response = await([self co_GET:feedModel.feedUrl parameters:nil]); if (response) { SMFeedModel *resultModel = await([self co_updateFeedModelWithData:response preModel:feedModel]); int fid = [[SMDB shareInstance] co_insertWithFeedModel:resultModel]; resultModel.fid = fid; if (resultModel.imageUrl.length > 0) { NSString *fidStr = [@(fid) stringValue]; [SMDB shareInstance].feedIcons[fidStr] = resultModel.imageUrl; } return resultModel; } int fid = [[SMDB shareInstance] co_insertWithFeedModel:feedModel]; feedModel.fid = fid; return nil; } ``` Here is the place in viewDidLoad that uses the coroutine to call the interface: ```objc co_launch(^{ for (NSUInteger index = 0; index < self.feeds.count; index++) { SMFeedModel *model = self.feeds[index]; self.tableView.tableHeaderView = self.tbHeaderView; self.tbHeaderLabel.text = [NSString stringWithFormat:@"正在获取%@...(%lu/%lu)",model.title,(unsigned long)(index + 1),(unsigned long)self.feeds.count]; model.isSync = YES; SMFeedModel *resultMode = [[SMNetManager shareInstance] co_fetchFeedModelWithUrl:model]; if (resultMode) { self.feeds[index] = resultMode; [self.tableView reloadData]; } } self.tbHeaderLabel.text = @""; self.tableView.tableHeaderView = [[UIView alloc] init]; self.fetchingCount = 0; [self.tableView.mj_header endRefreshing]; [self.tableView reloadData]; [self cacheFeedItems]; }); ``` The code after the coroutine transformation has become easier to understand and less error-prone. #### Swift coobjc fully supports Swift through top-level encapsulation, enabling us to enjoy the coroutine ahead of time in Swift. Because Swift has richer and more advanced syntax support, coobjc is more elegant in Swift, for example: ```swift func test() { co_launch {//create coroutine //fetch data asynchronous let resultStr = try await(channel: co_fetchSomething()) print("result: \(resultStr)") } co_launch {//create coroutine //fetch data asynchronous let result = try await(promise: co_fetchSomethingAsynchronous()) switch result { case .fulfilled(let data): print("data: \(String(describing: data))") break case .rejected(let error): print("error: \(error)") } } } ``` ## 0x4 Advantages of the coroutine * Concise * Less concept: there are only a few operators, compared to dozens of operators in response, it can't be simpler. * The principle is simple: the implementation principle of the coroutine is very simple, the entire coroutine library has only a few thousand lines of code * Easy to use * Simple to use: it is easier to use than GCD, with few interfaces * Easy to retrofit: existing code can be corouted with only a few changes, and we have a large number of coroutine interfaces for the system library. * Clear * Synchronous write asynchronous logic: Synchronous sequential way of writing code is the most acceptable way for humans, which can greatly reduce the probability of error * High readability: Code written in coroutine mode is much more readable than block nested code * High performance * Faster scheduling performance: The coroutine itself does not need to switch between kernel-level threads, scheduling performance is fast, Even if you create tens of thousands of coroutines, there is no pressure. * Reduce app block: The use of coroutines to help reduce the abuse of locks and semaphores, and to reduce the number of stalls and jams from the root cause by encapsulating the coroutine interfaces such as IOs that cause blocking, and improve the overall performance of the application. ## 0x5 Communication * If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/coobjc). (Tag 'coobjc') * If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/coobjc). * If you **found a bug**, _and can provide steps to reliably reproduce it_, open an issue. * If you **have a feature request**, open an issue. * If you **want to contribute**, submit a pull request. * If you are interested in **joining Alibaba Taobao-Mobile architecture team**, please send your resume to [junzhan](mailto:[email protected]) ## 0x6 Unit Tests coobjc includes a suite of unit tests within the Tests subdirectory. These tests can be run simply be executed the test action on the platform framework you would like to test. You can find coobjc's unit tests in Examples/coobjcBaseExample/coobjcBaseExampleTests. You can find cokit's unit tests in cokit/Examples/coKitExamples/coKitExamplesTests. ## 0x7 Credits coobjc couldn't exist without: * [Promises](https://github.com/google/promises) - Google's Objective-C and Swift Promises framework. * [libtask](https://swtch.com/libtask/) - A simple coroutine library. * [movies](https://github.com/KMindeguia/movies) - a ios demo app, we use the code in coobjc examples * [v2ex](https://github.com/singro/v2ex) - An iOS client for v2ex.com, we use the code in coobjc examples * [tuples](https://github.com/atg/tuples) - Objective-C tuples. * [fishhook](https://github.com/facebook/fishhook) - Rebinding symbols in Mach-O binaries * [Sol](https://github.com/comyar/Sol) - Sol° beautifully displays weather information so you can plan your day accordingly. Check the weather in your current location or any city around the world. Implemented in Objective-C. * [Swift](https://github.com/apple/swift) - The Swift Programming Language * [libdispatch](https://github.com/apple/swift-corelibs-libdispatch) - The libdispatch Project, (a.k.a. Grand Central Dispatch), for concurrency on multicore hardware * [objc4](https://opensource.apple.com/source/objc4/objc4-750.1/) - apple objc framework * https://blog.csdn.net/qq910894904/article/details/41911175 * http://www.voidcn.com/article/p-fwlohnnc-gc.html * https://blog.csdn.net/shenlei19911210/article/details/61194617 ## 0x8 Authors * [pengyutang125](https://github.com/pengyutang125) * [NianJi](https://github.com/NianJi) * [intheway](https://github.com/intheway) * [ValiantCat](https://github.com/ValiantCat) * [jmpews](https://github.com/jmpews) ## 0x9 Contributing * [Contributing](./CONTRIBUTING.md) ## 0xA License coobjc is released under the Apache 2.0 license. See [LICENSE](LICENSE) for details.
55
Good ideas for iOS development, by Futurice developers.
iOS Good Practices ================== _Just like software, this document will rot unless we take care of it. We encourage everyone to help us on that – just open an issue or send a pull request!_ Interested in other mobile platforms? Our [Best Practices in Android Development][android-best-practices] and [Windows App Development Best Practices][windows-app-development-best-practices] documents have got you covered. [android-best-practices]: https://github.com/futurice/android-best-practices [windows-app-development-best-practices]: https://github.com/futurice/windows-app-development-best-practices ## Why? Getting on board with iOS can be intimidating. Neither Swift nor Objective-C are widely used elsewhere, the platform has its own names for almost everything, and it's a bumpy road for your code to actually make it onto a physical device. This living document is here to help you, whether you're taking your first steps in Cocoaland or you're curious about doing things "the right way". Everything below is just suggestions, so if you have a good reason to do something differently, by all means go for it! ## Contents If you are looking for something specific, you can jump right into the relevant section from here. 1. [Getting Started](#getting-started) 1. [Common Libraries](#common-libraries) 1. [Architecture](#architecture) 1. [Stores](#stores) 1. [Assets](#assets) 1. [Coding Style](#coding-style) 1. [Security](#security) 1. [Diagnostics](#diagnostics) 1. [Analytics](#analytics) 1. [Building](#building) 1. [Deployment](#deployment) 1. [In-App Purchases (IAP)](#in-app-purchases-iap) 1. [License](#license) ## Getting Started ### Human Interface Guidelines If you're coming from another platform, do take some time to familiarize yourself with Apple's [Human Interface Guidelines][ios-hig] for the platform. There is a strong emphasis on good design in the iOS world, and your app should be no exception. The guidelines also provide a handy overview of native UI elements, technologies such as 3D Touch or Wallet, and icon dimensions for designers. [ios-hig]: https://developer.apple.com/ios/human-interface-guidelines/ ### Xcode [Xcode][xcode] is the IDE of choice for most iOS developers, and the only one officially supported by Apple. There are some alternatives, of which [AppCode][appcode] is arguably the most famous, but unless you're already a seasoned iOS person, go with Xcode. Despite its shortcomings, it's actually quite usable nowadays! To install, simply download [Xcode on the Mac App Store][xcode-app-store]. It comes with the newest SDK and simulators, and you can install more stuff under _Preferences > Downloads_. [xcode]: https://developer.apple.com/xcode/ [appcode]: https://www.jetbrains.com/objc/ [xcode-app-store]: https://itunes.apple.com/us/app/xcode/id497799835 ### Project Setup A common question when beginning an iOS project is whether to write all views in code or use Interface Builder with Storyboards or XIB files. Both are known to occasionally result in working software. However, there are a few considerations: #### Why code? * Storyboards are more prone to version conflicts due to their complex XML structure. This makes merging much harder than with code. * It's easier to structure and reuse views in code, thereby keeping your codebase [DRY][dry]. * All information is in one place. In Interface Builder you have to click through all the inspectors to find what you're looking for. * Storyboards introduce coupling between your code and UI, which can lead to crashes e.g. when an outlet or action is not set up correctly. These issues are not detected by the compiler. [dry]: https://en.wikipedia.org/wiki/Don%27t_repeat_yourself #### Why Storyboards? * For the less technically inclined, Storyboards can be a great way to contribute to the project directly, e.g. by tweaking colors or layout constraints. However, this requires a working project setup and some time to learn the basics. * Iteration is often faster since you can preview certain changes without building the project. * Custom fonts and UI elements are represented visually in Storyboards, giving you a much better idea of the final appearance while designing. * For [size classes][size-classes], Interface Builder gives you a live layout preview for the devices of your choice, including iPad split-screen multitasking. [size-classes]: http://futurice.com/blog/adaptive-views-in-ios-8 #### Why not both? To get the best of both worlds, you can also take a hybrid approach: Start off by sketching the initial design with Storyboards, which are great for tinkering and quick changes. You can even invite designers to participate in this process. As the UI matures and reliability becomes more important, you then transition into a code-based setup that's easier to maintain and collaborate on. ### Ignores A good first step when putting a project under version control is to have a decent `.gitignore` file. That way, unwanted files (user settings, temporary files, etc.) will never even make it into your repository. Luckily, GitHub has us covered for both [Swift][swift-gitignore] and [Objective-C][objc-gitignore]. [swift-gitignore]: https://github.com/github/gitignore/blob/master/Swift.gitignore [objc-gitignore]: https://github.com/github/gitignore/blob/master/Objective-C.gitignore ### Dependency Management #### CocoaPods If you're planning on including external dependencies (e.g. third-party libraries) in your project, [CocoaPods][cocoapods] offers easy and fast integration. Install it like so: sudo gem install cocoapods To get started, move inside your iOS project folder and run pod init This creates a Podfile, which will hold all your dependencies in one place. After adding your dependencies to the Podfile, you run pod install to install the libraries and include them as part of a workspace which also holds your own project. For reasons stated [here][committing-pods-cocoapods] and [here][committing-pods], we recommend committing the installed dependencies to your own repo, instead of relying on having each developer run `pod install` after a fresh checkout. Note that from now on, you'll need to open the `.xcworkspace` file instead of `.xcproject`, or your code will not compile. The command pod update will update all pods to the newest versions permitted by the Podfile. You can use a wealth of [operators][cocoapods-pod-syntax] to specify your exact version requirements. [cocoapods]: https://cocoapods.org/ [cocoapods-pod-syntax]: http://guides.cocoapods.org/syntax/podfile.html#pod [committing-pods]: https://www.dzombak.com/blog/2014/03/including-pods-in-source-control.html [committing-pods-cocoapods]: https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control #### Carthage [Carthage][carthage] takes the ["simple, not easy"][simple-made-easy] approach by building your dependencies into binary frameworks, without magically integrating them with your project in any way. This also greatly reduces build times, because your dependencies have already been compiled by the time you start building. There is no centralized repository of projects, which means any library that can be compiled into a framework supports Carthage out of the box. To get started, follow the [instructions][carthage-instructions] in Carthage's documentation. [carthage]: https://github.com/Carthage/Carthage [simple-made-easy]: http://www.infoq.com/presentations/Simple-Made-Easy [carthage-instructions]: https://github.com/Carthage/Carthage#installing-carthage ### Project Structure To keep all those hundreds of source files from ending up in the same directory, it's a good idea to set up some folder structure depending on your architecture. For instance, you can use the following: ├─ Models ├─ Views ├─ Controllers (or ViewModels, if your architecture is MVVM) ├─ Stores ├─ Helpers First, create them as groups (little yellow "folders") within the group with your project's name in Xcode's Project Navigator. Then, for each of the groups, link them to an actual directory in your project path by opening their File Inspector on the right, hitting the little gray folder icon, and creating a new subfolder with the name of the group in your project directory. #### Localization Keep all user strings in localization files right from the beginning. This is good not only for translations, but also for finding user-facing text quickly. You can add a launch argument to your build scheme to launch the app in a certain language, e.g. -AppleLanguages (Finnish) For more complex translations such as plural forms that depending on a number of items (e.g. "1 person" vs. "3 people"), you should use the [`.stringsdict` format][stringsdict-format] instead of a regular `localizable.strings` file. As soon as you've wrapped your head around the crazy syntax, you have a powerful tool that knows how to make plurals for "one", some", "few" and "many" items, as needed [e.g. in Russian or Arabic][language-plural-rules]. Find more information about localization in [these presentation slides][l10n-slides] from the February 2012 HelsinkiOS meetup. Most of the talk is still relevant. [stringsdict-format]: https://developer.apple.com/library/prerelease/ios/documentation/MacOSX/Conceptual/BPInternational/StringsdictFileFormat/StringsdictFileFormat.html [language-plural-rules]: http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html [l10n-slides]: https://speakerdeck.com/hasseg/localization-practicum #### Constants Keep your constants' scope as small as possible. For instance, when you only need it inside a class, it should live in that class. Those constants that need to be truly app-wide should be kept in one place. In Swift, you can use enums defined in a `Constants.swift` file to group, store and access your app-wide constants in a clean way: ```swift enum Config { static let baseURL = NSURL(string: "http://www.example.org/")! static let splineReticulatorName = "foobar" } enum Color { static let primaryColor = UIColor(red: 0.22, green: 0.58, blue: 0.29, alpha: 1.0) static let secondaryColor = UIColor.lightGray // A visual way to define colours within code files is to use #colorLiteral // This syntax will present you with colour picker component right on the code line static let tertiaryColor = #colorLiteral(red: 0.22, green: 0.58, blue: 0.29, alpha: 1.0) } ``` When using Objective-C, keep app-wide constants in a `Constants.h` file that is included in the prefix header. Instead of preprocessor macro definitions (via `#define`), use actual constants: static CGFloat const XYZBrandingFontSizeSmall = 12.0f; static NSString * const XYZAwesomenessDeliveredNotificationName = @"foo"; Actual constants are type-safe, have more explicit scope (they’re not available in all imported/included files until undefined), cannot be redefined or undefined in later parts of the code, and are available in the debugger. ### Branching Model Especially when distributing an app to the public (e.g. through the App Store), it's a good idea to isolate releases to their own branch with proper tags. Also, feature work that involves a lot of commits should be done on its own branch. [`git-flow`][gitflow-github] is a tool that helps you follow these conventions. It is simply a convenience wrapper around Git's branching and tagging commands, but can help maintain a proper branching structure especially for teams. Do all development on feature branches (or on `develop` for smaller work), tag releases with the app version, and commit to master only via git flow release finish <version> [gitflow-github]: https://github.com/nvie/gitflow ### Minimum iOS Version Requirement It’s useful to make an early decision on the minimum iOS version you want to support in your project: knowing which OS versions you need to develop and test against, and which system APIs you can rely on, helps you estimate your workload, and enables you to determine what’s possible and what’s not. Use these resources to gather the data necessary for making this choice: * Official “first-party” resources: * [Apple’s world-wide iOS version penetration statistics](https://developer.apple.com/support/app-store/): The primary public source for version penetration stats. Prefer more localized and domain-specific statistics, if available. * Third-party resources: * [iOS Support Matrix](http://iossupportmatrix.com): Useful for determining which specific device models are ruled out by a given minimum OS version requirement. * [DavidSmith: iOS Version Stats](https://david-smith.org/iosversionstats/): Version penetration stats for David Smith’s Audiobooks apps. * [Mixpanel Trends: iOS versions](https://mixpanel.com/trends/#report/ios_frag): Version penetration stats from Mixpanel. ## Common Libraries Generally speaking, make it a conscious decision to add an external dependency to your project. Sure, this one neat library solves your problem now, but maybe later gets stuck in maintenance limbo, with the next OS version that breaks everything being just around the corner. Another scenario is that a feature only achievable with external libraries suddenly becomes part of the official APIs. In a well-designed codebase, switching out the implementation is a small effort that pays off quickly. Always consider solving the problem using Apple's extensive (and mostly excellent) frameworks first! Therefore this section has been deliberately kept rather short. The libraries featured here tend to reduce boilerplate code (e.g. Auto Layout) or solve complex problems that require extensive testing, such as date calculations. As you become more proficient with iOS, be sure to dive into the source here and there, and acquaint yourself with their underlying Apple frameworks. You'll find that those alone can do a lot of the heavy lifting. ### AFNetworking/Alamofire The majority of iOS developers use one of these network libraries. While `NSURLSession` is surprisingly powerful by itself, [AFNetworking][afnetworking-github] and [Alamofire][alamofire-github] remain unbeaten when it comes to actually managing queues of requests, which is pretty much a requirement of any modern app. We recommend AFNetworking for Objective-C projects and Alamofire for Swift projects. While the two frameworks have subtle differences, they share the same ideology and are published by the same foundation. [afnetworking-github]: https://github.com/AFNetworking/AFNetworking [alamofire-github]: https://github.com/Alamofire/Alamofire ### DateTools As a general rule, [don't write your date calculations yourself][timezones-youtube]. Luckily, in [DateTools][datetools-github] you get an MIT-licensed, thoroughly tested library that covers pretty much all your calendar needs. [timezones-youtube]: https://www.youtube.com/watch?v=-5wpm-gesOY [datetools-github]: https://github.com/MatthewYork/DateTools ### Auto Layout Libraries If you prefer to write your views in code, chances are you've heard of either Apple's awkward syntaxes – the regular `NSLayoutConstraint` factory or the so-called [Visual Format Language][visual-format-language]. The former is extremely verbose and the latter based on strings, which effectively prevents compile-time checking. Fortunately, they've addressed the issue in iOS 9, allowing [a more concise specification of constraints][nslayoutanchor]. If you're stuck with an earlier iOS version, [Masonry/SnapKit][snapkit-github] remedies the problem by introducing its own [DSL][dsl-wikipedia] to make, update and replace constraints. [PureLayout][purelayout-github] solves the same problem using Cocoa API style. For Swift, there is also [Cartography][cartography-github], which builds on the language's powerful operator overloading features. For the more conservative, [FLKAutoLayout][flkautolayout-github] offers a clean, but rather non-magical wrapper around the native APIs. [visual-format-language]: https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/AutolayoutPG/VisualFormatLanguage.html [nslayoutanchor]: https://developer.apple.com/library/prerelease/ios/documentation/AppKit/Reference/NSLayoutAnchor_ClassReference/index.html [snapkit-github]: https://github.com/SnapKit/ [purelayout-github]: https://github.com/PureLayout/PureLayout [dsl-wikipedia]: https://en.wikipedia.org/wiki/Domain-specific_language [cartography-github]: https://github.com/robb/Cartography [flkautolayout-github]: https://github.com/floriankugler/FLKAutoLayout ## Architecture * [Model-View-Controller-Store (MVCS)][mvcs] * This is the default Apple architecture (MVC), extended by a Store layer that vends Model instances and handles the networking, caching etc. * Every Store exposes to the view controllers either `signals` or `void` methods with custom completion blocks. * [Model-View-ViewModel (MVVM)][mvvm] * Motivated by "massive view controllers": MVVM considers `UIViewController` subclasses part of the View and keeps them slim by maintaining all state in the ViewModel. * To learn more about it, check out Bob Spryn's [fantastic introduction][sprynthesis-mvvm]. * [View-Interactor-Presenter-Entity-Routing (VIPER)][viper] * Rather exotic architecture that might be worth looking into in larger projects, where even MVVM feels too cluttered and testability is a major concern. [mvcs]: http://programmers.stackexchange.com/questions/184396/mvcs-model-view-controller-store [mvvm]: https://www.objc.io/issues/13-architecture/mvvm/ [sprynthesis-mvvm]: http://www.sprynthesis.com/2014/12/06/reactivecocoa-mvvm-introduction/ [viper]: https://www.objc.io/issues/13-architecture/viper/ ### “Event” Patterns These are the idiomatic ways for components to notify others about things: * __Delegation:__ _(one-to-one)_ Apple uses this a lot (some would say, too much). Use when you want to communicate stuff back e.g. from a modal view. * __Callback blocks:__ _(one-to-one)_ Allow for a more loose coupling, while keeping related code sections close to each other. Also scales better than delegation when there are many senders. * __Notification Center:__ _(one-to-many)_ Possibly the most common way for objects to emit “events” to multiple observers. Very loose coupling — notifications can even be observed globally without reference to the dispatching object. * __Key-Value Observing (KVO):__ _(one-to-many)_ Does not require the observed object to explicitly “emit events” as long as it is _Key-Value Coding (KVC)_ compliant for the observed keys (properties). Usually not recommended due to its implicit nature and the cumbersome standard library API. * __Signals:__ _(one-to-many)_ The centerpiece of [ReactiveCocoa][reactivecocoa-github], they allow chaining and combining to your heart's content, thereby offering a way out of "callback hell". ### Models Keep your models immutable, and use them to translate the remote API's semantics and types to your app. For Objective-C projects, Github's [Mantle](https://github.com/Mantle/Mantle) is a good choice. In Swift, you can use structs instead of classes to ensure immutability, and use Swift's [Codable][codableLink] to do the JSON-to-model mapping. There are also few third party libraries available. [SwiftyJSON][swiftyjson] and [Argo][argo] are the popular among them. [swiftyjson]: https://github.com/SwiftyJSON/SwiftyJSON [argo]: https://github.com/thoughtbot/Argo [codableLink]: https://developer.apple.com/documentation/foundation/archives_and_serialization/encoding_and_decoding_custom_types ### Views With today's wealth of screen sizes in the Apple ecosystem and the advent of split-screen multitasking on iPad, the boundaries between devices and form factors become increasingly blurred. Much like today's websites are expected to adapt to different browser window sizes, your app should handle changes in available screen real estate in a graceful way. This can happen e.g. if the user rotates the device or swipes in a secondary iPad app next to your own. Instead of manipulating view frames directly, you should use [size classes][size-classes] and Auto Layout to declare constraints on your views. The system will then calculate the appropriate frames based on these rules, and re-evaluate them when the environment changes. Apple's [recommended approach][wwdc-autolayout-mysteries] for setting up your layout constraints is to create and activate them once during initialization. If you need to change your constraints dynamically, hold references to them and then deactivate/activate them as required. The main use case for `UIView`'s `updateConstraints` (or its `UIViewController` counterpart, `updateViewConstraints`) is when you want the system to perform batch updates for better performance. However, this comes at the cost of having to call `setNeedsUpdateConstraints` elsewhere in your code, increasing its complexity. If you override `updateConstraints` in a custom view, you should explicitly state that your view requires a constraint-based layout: Swift: ```swift override class var requiresConstraintBasedLayout: Bool { return true } ``` Objective-C: ```objective-c + (BOOL)requiresConstraintBasedLayout { return YES } ``` Otherwise, you may encounter strange bugs when the system doesn't call `updateConstraints()` as you would expect it to. [This blog post][edward-huynh-requiresconstraintbasedlayout] by Edward Huynh offers a more detailed explanation. [wwdc-autolayout-mysteries]: https://developer.apple.com/videos/wwdc/2015/?id=219 [edward-huynh-requiresconstraintbasedlayout]: http://www.edwardhuynh.com/blog/2013/11/24/the-mystery-of-the-requiresconstraintbasedlayout/ ### Controllers Use dependency injection, i.e. pass any required objects in as parameters, instead of keeping all state around in singletons. The latter is okay only if the state _really_ is global. Swift: ```swift let fooViewController = FooViewController(withViewModel: fooViewModel) ``` Objective-C: ```objective-c FooViewController *fooViewController = [[FooViewController alloc] initWithViewModel:fooViewModel]; ``` Try to avoid bloating your view controllers with logic that can safely reside in other places. Soroush Khanlou has a [good writeup][khanlou-destroy-massive-vc] of how to achieve this, and architectures like [MVVM](#architecture) treat view controllers as views, thereby greatly reducing their complexity. [khanlou-destroy-massive-vc]: http://khanlou.com/2014/09/8-patterns-to-help-you-destroy-massive-view-controller/ ## Stores At the "ground level" of a mobile app is usually some kind of model storage, that keeps its data in places such as on disk, in a local database, or on a remote server. This layer is also useful to abstract away any activities related to the vending of model objects, such as caching. Whether it means kicking off a backend request or deserializing a large file from disk, fetching data is often asynchronous in nature. Your store's API should reflect this by offering some kind of deferral mechanism, as synchronously returning the data would cause the rest of your app to stall. If you're using [ReactiveCocoa][reactivecocoa-github], `SignalProducer` is a natural choice for the return type. For instance, fetching gigs for a given artist would yield the following signature: Swift + ReactiveSwift: ```swift func fetchGigs(for artist: Artist) -> SignalProducer<[Gig], Error> { // ... } ``` ObjectiveC + ReactiveObjC: ```objective-c - (RACSignal<NSArray<Gig *> *> *)fetchGigsForArtist:(Artist *)artist { // ... } ``` Here, the returned `SignalProducer` is merely a "recipe" for getting a list of gigs. Only when started by the subscriber, e.g. a view model, will it perform the actual work of fetching the gigs. Unsubscribing before the data has arrived would then cancel the network request. If you don't want to use signals, futures or similar mechanisms to represent your future data, you can also use a regular callback block. Keep in mind that chaining or nesting such blocks, e.g. in the case where one network request depends on the outcome of another, can quickly become very unwieldy – a condition generally known as "callback hell". ## Assets [Asset catalogs][asset-catalogs] are the best way to manage all your project's visual assets. They can hold both universal and device-specific (iPhone 4-inch, iPhone Retina, iPad, etc.) assets and will automatically serve the correct ones for a given name. Teaching your designer(s) how to add and commit things there (Xcode has its own built-in Git client) can save a lot of time that would otherwise be spent copying stuff from emails or other channels to the codebase. It also allows them to instantly try out their changes and iterate if needed. [asset-catalogs]: http://help.apple.com/xcode/mac/8.0/#/dev10510b1f7 ### Using Bitmap Images Asset catalogs expose only the names of image sets, abstracting away the actual file names within the set. This nicely prevents asset name conflicts, as files such as `[email protected]` are now namespaced inside their image sets. Appending the modifiers `-568h`, `@2x`, `~iphone` and `~ipad` are not required per se, but having them in the file name when dragging the file to an image set will automatically place them in the right "slot", thereby preventing assignment mistakes that can be hard to hunt down. ### Using Vector Images You can include the original [vector graphics (PDFs)][vector-assets] produced by designers into the asset catalogs, and have Xcode automatically generate the bitmaps from that. This reduces the complexity of your project (the number of files to manage.) [vector-assets]: http://martiancraft.com/blog/2014/09/vector-images-xcode6/ ### Image optimisation Xcode automatically tries to optimise resources living in asset catalogs (yet another reason to use them). Developers can choose from lossless and lossy compression algorithms. App icons are an exception: Apps with large or unoptimised app icons are known to be rejected by Apple. For app icons and more advanced optimisation of PNG files we recommend using [pngcrush][pngcrush-website] or [ImageOptim][imageoptim-website], its GUI counterpart. [pngcrush-website]: http://pmt.sourceforge.net/pngcrush/ [imageoptim-website]:https://imageoptim.com/mac ## Coding Style ### Naming Apple pays great attention to keeping naming consistent. Adhering to their [coding guidelines for Objective-C][cocoa-coding-guidelines] and [API design guidelines for Swift][swift-api-design-guidelines] makes it much easier for new people to join the project. [cocoa-coding-guidelines]: https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CodingGuidelines/CodingGuidelines.html [swift-api-design-guidelines]: https://swift.org/documentation/api-design-guidelines/ Here are some basic takeaways you can start using right away: A method beginning with a _verb_ indicates that it performs some side effects, but won't return anything: `- (void)loadView;` `- (void)startAnimating;` Any method starting with a _noun_, however, returns that object and should do so without side effects: `- (UINavigationItem *)navigationItem;` `+ (UILabel *)labelWithText:(NSString *)text;` It pays off to keep these two as separated as possible, i.e. not perform side effects when you transform data, and vice versa. That will keep your side effects contained to smaller sections of the code, which makes it more understandable and facilitates debugging. ### Structure `MARK:` comments (Swift) and [pragma marks][nshipster-pragma-marks] (Objective-C) are a great way to group your methods, especially in view controllers. Here is a Swift example for a common structure that works with almost any view controller: ```swift import SomeExternalFramework class FooViewController : UIViewController, FoobarDelegate { let foo: Foo private let fooStringConstant = "FooConstant" private let floatConstant = 1234.5 // MARK: Lifecycle // Custom initializers go here // MARK: View Lifecycle override func viewDidLoad() { super.viewDidLoad() // ... } // MARK: Layout private func makeViewConstraints() { // ... } // MARK: User Interaction func foobarButtonTapped() { // ... } // MARK: FoobarDelegate func foobar(foobar: Foobar, didSomethingWithFoo foo: Foo) { // ... } // MARK: Additional Helpers private func displayNameForFoo(foo: Foo) { // ... } } ``` The most important point is to keep these consistent across your project's classes. [nshipster-pragma-marks]: http://nshipster.com/pragma/ ### External Style Guides Futurice does not have company-level guidelines for coding style. It can however be useful to peruse the style guides of other software companies, even if some bits can be quite company-specific or opinionated. * GitHub: [Swift](https://github.com/github/swift-style-guide) and [Objective-C](https://github.com/github/objective-c-style-guide) * Ray Wenderlich: [Swift](https://github.com/raywenderlich/swift-style-guide) and [Objective-C](https://github.com/raywenderlich/objective-c-style-guide) * Google: [Objective-C](https://google.github.io/styleguide/objcguide.xml) * The New York Times: [Objective-C](https://github.com/NYTimes/objective-c-style-guide) * Sam Soffes: [Objective-C](https://gist.github.com/soffes/812796) * Luke Redpath: [Objective-C](http://lukeredpath.co.uk/blog/2011/06/28/my-objective-c-style-guide/) ## Security Even in an age where we trust our portable devices with the most private data, app security remains an often-overlooked subject. Try to find a good trade-off given the nature of your data; following just a few simple rules can go a long way here. A good resource to get started is Apple's own [iOS Security Guide][apple-security-guide]. ### Data Storage If your app needs to store sensitive data, such as a username and password, an authentication token or some personal user details, you need to keep these in a location where they cannot be accessed from outside the app. Never use `NSUserDefaults`, other plist files on disk or Core Data for this, as they are not encrypted! In most such cases, the iOS Keychain is your friend. If you're uncomfortable working with the C APIs directly, you can use a wrapper library such as [SSKeychain][sskeychain] or [UICKeyChainStore][uickeychainstore]. When storing files and passwords, be sure to set the correct protection level, and choose it conservatively. If you need access while the device is locked (e.g. for background tasks), use the "accessible after first unlock" variety. In other cases, you should probably require that the device is unlocked to access the data. Only keep sensitive data around while you need it. ### Networking Keep any HTTP traffic to remote servers encrypted with TLS at all times. To avoid man-in-the-middle attacks that intercept your encrypted traffic, you can set up [certificate pinning][certificate-pinning]. Popular networking libraries such as [AFNetworking][afnetworking-github] and [Alamofire][alamofire-github] support this out of the box. ### Logging Take extra care to set up proper log levels before releasing your app. Production builds should never log passwords, API tokens and the like, as this can easily cause them to leak to the public. On the other hand, logging the basic control flow can help you pinpoint issues that your users are experiencing. ### User Interface When using `UITextField`s for password entry, remember to set their `secureTextEntry` property to `true` to avoid showing the password in cleartext. You should also disable auto-correction for the password field, and clear the field whenever appropriate, such as when your app enters the background. When this happens, it's also good practice to clear the Pasteboard to avoid passwords and other sensitive data from leaking. As iOS may take screenshots of your app for display in the app switcher, make sure to clear any sensitive data from the UI _before_ returning from `applicationDidEnterBackground`. [apple-security-guide]: https://www.apple.com/business/docs/iOS_Security_Guide.pdf [sskeychain]: https://github.com/soffes/sskeychain [uickeychainstore]: https://github.com/kishikawakatsumi/UICKeyChainStore [certificate-pinning]: https://possiblemobile.com/2013/03/ssl-pinning-for-increased-app-security/ [alamofire-github]: https://github.com/Alamofire/Alamofire ## Diagnostics ### Compiler warnings Enable as many compiler warnings as possible and treat those warnings as errors -- [it will be worth it in the long run][warnings-slides]. For Objective-C code, add these values to the _“Other Warning Flags”_ build setting: - `-Wall` _(enables lots of additional warnings)_ - `-Wextra` _(enables more additional warnings)_ and then enable the _“Treat warnings as errors”_ build setting. To treat warnings as errors for Swift code, add `-warnings-as-errors` to the _"Other Swift Flags"_ build setting. [warnings-slides]: https://speakerdeck.com/hasseg/the-compiler-is-your-friend ### Clang Static Analyzer The Clang compiler (which Xcode uses) has a _static analyzer_ that performs control and data flow analysis on your code and checks for lots of errors that the compiler cannot. You can manually run the analyzer from the _Product → Analyze_ menu item in Xcode. The analyzer can work in either “shallow” or “deep” mode. The latter is much slower but may find more issues due to cross-function control and data flow analysis. Recommendations: - Enable _all_ of the checks in the analyzer (by enabling all of the options in the “Static Analyzer” build setting sections). - Enable the _“Analyze during ‘Build’”_ build setting for your release build configuration to have the analyzer run automatically during release builds. (Seriously, do this — you’re not going to remember to run it manually.) - Set the _“Mode of Analysis for ‘Analyze’”_ build setting to _Shallow (faster)_. - Set the _“Mode of Analysis for ‘Build’”_ build setting to _Deep_. ### [Faux Pas](http://fauxpasapp.com/) Created by our very own [Ali Rantakari][ali-rantakari-twitter], Faux Pas is a fabulous static error detection tool. It analyzes your codebase and finds issues you had no idea even existed. There is no Swift support yet, but the tool also offers plenty of language-agnostic rules. Be sure to run it before shipping any iOS (or Mac) app! _(Note: all Futurice employees get a free license to this — just ask Ali.)_ [ali-rantakari-twitter]: https://twitter.com/AliRantakari ### Debugging When your app crashes, Xcode does not break into the debugger by default. To achieve this, add an exception breakpoint (click the "+" at the bottom of Xcode's Breakpoint Navigator) to halt execution whenever an exception is raised. In many cases, you will then see the line of code responsible for the exception. This catches any exception, even handled ones. If Xcode keeps breaking on benign exceptions in third party libraries e.g., you might be able to mitigate this by choosing _Edit Breakpoint_ and setting the _Exception_ drop-down to _Objective-C_. For view debugging, [Reveal][reveal] and [Spark Inspector][spark-inspector] are two powerful visual inspectors that can save you hours of time, especially if you're using Auto Layout and want to locate views that are collapsed or off-screen. Xcode also has integrated [view debugger][xcode-view-debugging] which is good enough and free to use. [reveal]: http://revealapp.com/ [spark-inspector]: http://sparkinspector.com [xcode-view-debugging]: https://developer.apple.com/library/prerelease/content/documentation/DeveloperTools/Conceptual/debugging_with_xcode/chapters/special_debugging_workflows.html ### Profiling Xcode comes with a profiling suite called Instruments. It contains a myriad of tools for profiling memory usage, CPU, network communications, graphics and much more. It's a complex beast, but one of its more straight-forward use cases is tracking down memory leaks with the Allocations instrument. Simply choose _Product_ > _Profile_ in Xcode, select the Allocations instrument, hit the Record button and filter the Allocation Summary on some useful string, like the prefix of your own app's class names. The count in the Persistent column then tells you how many instances of each object you have. Any class for which the instance count increases indiscriminately indicates a memory leak. Pay extra attention to how and where you create expensive classes. `NSDateFormatter`, for instance, is very expensive to create and doing so in rapid succession, e.g. inside a `tableView:cellForRowAtIndexPath:` method, can really slow down your app. Instead, keep a static instance of it around for each date format that you need. ## Analytics Including some analytics framework in your app is strongly recommended, as it allows you to gain insights on how people actually use it. Does feature X add value? Is button Y too hard to find? To answer these, you can send events, timings and other measurable information to a service that aggregates and visualizes them – for instance, [Google Tag Manager][google-tag-manager]. The latter is more versatile than Google Analytics in that it inserts a data layer between app and Analytics, so that the data logic can be modified through a web service without having to update the app. [google-tag-manager]: https://www.google.com/analytics/tag-manager/ A good practice is to create a slim helper class, e.g. `AnalyticsHelper`, that handles the translation from app-internal models and data formats (`FooModel`, `NSTimeInterval`, …) to the mostly string-based data layer: ```swift func pushAddItemEvent(with item: Item, editMode: EditMode) { let editModeString = name(for: editMode) pushToDataLayer([ "event": "addItem", "itemIdentifier": item.identifier, "editMode": editModeString ]) } ``` This has the additional advantage of allowing you to swap out the entire Analytics framework behind the scenes if needed, without the rest of the app noticing. ### Crash Logs First you should make your app send crash logs onto a server somewhere so that you can access them. You can implement this manually (using [PLCrashReporter][plcrashreporter] and your own backend) but it’s recommended that you use an existing service instead — for example one of the following: * [Fabric](https://get.fabric.io) * [HockeyApp](http://hockeyapp.net) * [Crittercism](https://www.crittercism.com) * [Splunk MINTexpress](https://mint.splunk.com) * [Instabug](https://instabug.com/) [plcrashreporter]: https://www.plcrashreporter.org Once you have this set up, ensure that you _save the Xcode archive (`.xcarchive`)_ of every build you release. The archive contains the built app binary and the debug symbols (`dSYM`) which you will need to symbolicate crash reports from that particular version of your app. ## Building This section contains an overview of this topic — please refer here for more comprehensive information: - [iOS Developer Library: Xcode Concepts][apple-xcode-concepts] - [Samantha Marshall: Managing Xcode][pewpew-managing-xcode] [apple-xcode-concepts]: https://developer.apple.com/library/ios/featuredarticles/XcodeConcepts/ [pewpew-managing-xcode]: http://pewpewthespells.com/blog/managing_xcode.html ### Build Configurations Even simple apps can be built in different ways. The most basic separation that Xcode gives you is that between _debug_ and _release_ builds. For the latter, there is a lot more optimization going on at compile time, at the expense of debugging possibilities. Apple suggests that you use the _debug_ build configuration for development, and create your App Store packages using the _release_ build configuration. This is codified in the default scheme (the dropdown next to the Play and Stop buttons in Xcode), which commands that _debug_ be used for Run and _release_ for Archive. However, this is a bit too simple for real-world applications. You might – no, [_should!_][futurice-environments] – have different environments for testing, staging and other activities related to your service. Each might have its own base URL, log level, bundle identifier (so you can install them side-by-side), provisioning profile and so on. Therefore a simple debug/release distinction won't cut it. You can add more build configurations on the "Info" tab of your project settings in Xcode. [futurice-environments]: http://futurice.com/blog/five-environments-you-cannot-develop-without #### `xcconfig` files for build settings Typically build settings are specified in the Xcode GUI, but you can also use _configuration settings files_ (“`.xcconfig` files”) for them. The benefits of using these are: - You can add comments to explain things. - You can `#include` other build settings files, which helps you avoid repeating yourself: - If you have some settings that apply to all build configurations, add a `Common.xcconfig` and `#include` it in all the other files. - If you e.g. want to have a “Debug” build configuration that enables compiler optimizations, you can just `#include "MyApp_Debug.xcconfig"` and override one of the settings. - Conflict resolution and merging becomes easier. Find more information about this topic in [these presentation slides][xcconfig-slides]. [xcconfig-slides]: https://speakerdeck.com/hasseg/xcode-configuration-files ### Targets A target resides conceptually below the project level, i.e. a project can have several targets that may override its project settings. Roughly, each target corresponds to "an app" within the context of your codebase. For instance, you could have country-specific apps (built from the same codebase) for different countries' App Stores. Each of these will need development/staging/release builds, so it's better to handle those through build configurations, not targets. It's not uncommon at all for an app to only have a single target. ### Schemes Schemes tell Xcode what should happen when you hit the Run, Test, Profile, Analyze or Archive action. Basically, they map each of these actions to a target and a build configuration. You can also pass launch arguments, such as the language the app should run in (handy for testing your localizations!) or set some diagnostic flags for debugging. A suggested naming convention for schemes is `MyApp (<Language>) [Environment]`: MyApp (English) [Development] MyApp (German) [Development] MyApp [Testing] MyApp [Staging] MyApp [App Store] For most environments the language is not needed, as the app will probably be installed through other means than Xcode, e.g. TestFlight, and the launch argument thus be ignored anyway. In that case, the device language should be set manually to test localization. ## Deployment Deploying software on iOS devices isn't exactly straightforward. That being said, here are some central concepts that, once understood, will help you tremendously with it. ### Signing Whenever you want to run software on an actual device (as opposed to the simulator), you will need to sign your build with a __certificate__ issued by Apple. Each certificate is linked to a private/public keypair, the private half of which resides in your Mac's Keychain. There are two types of certificates: * __Development certificate:__ Every developer on a team has their own, and it is generated upon request. Xcode might do this for you, but it's better not to press the magic "Fix issue" button and understand what is actually going on. This certificate is needed to deploy development builds to devices. * __Distribution certificate:__ There can be several, but it's best to keep it to one per organization, and share its associated key through some internal channel. This certificate is needed to ship to the App Store, or your organization's internal "enterprise app store". ### Provisioning Besides certificates, there are also __provisioning profiles__, which are basically the missing link between devices and certificates. Again, there are two types to distinguish between development and distribution purposes: * __Development provisioning profile:__ It contains a list of all devices that are authorized to install and run the software. It is also linked to one or more development certificates, one for each developer that is allowed to use the profile. The profile can be tied to a specific app or use a wildcard App ID (*). The latter is [discouraged][jared-sinclair-signing-tips], because Xcode is notoriously bad at picking the correct files for signing unless guided in the right direction. Also, certain capabilities like Push Notifications or App Groups require an explicit App ID. * __Distribution provisioning profile:__ There are three different ways of distribution, each for a different use case. Each distribution profile is linked to a distribution certificate, and will be invalid when the certificate expires. * __Ad-Hoc:__ Just like development profiles, it contains a whitelist of devices the app can be installed to. This type of profile can be used for beta testing on 100 devices per year. For a smoother experience and up to 1000 distinct users, you can use Apple's newly acquired [TestFlight][testflight] service. Supertop offers a good [summary of its advantages and issues][testflight-discussion]. * __App Store:__ This profile has no list of allowed devices, as anyone can install it through Apple's official distribution channel. This profile is required for all App Store releases. * __Enterprise:__ Just like App Store, there is no device whitelist, and the app can be installed by anyone with access to the enterprise's internal "app store", which can be just a website with links. This profile is available only on Enterprise accounts. [jared-sinclair-signing-tips]: http://blog.jaredsinclair.com/post/116436789850/ [testflight]: https://developer.apple.com/testflight/ [testflight-discussion]: http://blog.supertop.co/post/108759935377/app-developer-friends-try-testflight To sync all certificates and profiles to your machine, go to Accounts in Xcode's Preferences, add your Apple ID if needed, and double-click your team name. There is a refresh button at the bottom, but sometimes you just need to restart Xcode to make everything show up. #### Debugging Provisioning Sometimes you need to debug a provisioning issue. For instance, Xcode may refuse to install the build to an attached device, because the latter is not on the (development or ad-hoc) profile's device list. In those cases, you can use Craig Hockenberry's excellent [Provisioning][provisioning] plugin by browsing to `~/Library/MobileDevice/Provisioning Profiles`, selecting a `.mobileprovision` file and hitting Space to launch Finder's Quick Look feature. It will show you a wealth of information such as devices, entitlements, certificates, and the App ID. When dealing with an existing app archive (`.ipa`), you can inspect its provisioning profile in a similar fashion: Simply rename the `*.ipa` to `*.zip`, unpack it and find the `.app` package within. From its Finder context menu, choose "Show Package Contents" to see a file called `embedded.mobileprovision` that you can examine with the above method. [provisioning]: https://github.com/chockenberry/Provisioning ### Uploading [App Store Connect][appstore-connect] is Apple's portal for managing your apps on the App Store. To upload a build, Xcode requires an Apple ID that is part of the developer account used for signing. Nowadays Apple has allowed for single Apple IDs to be part of multiple App Store Connect accounts (i.e. client organizations) in both Apple's developer portal as well as App Store Connect. After uploading the build, be patient as it can take up to an hour for it to show up under the Builds section of your app version. When it appears, you can link it to the app version and submit your app for review. [appstore-connect]: https://appstoreconnect.apple.com ## In-App Purchases (IAP) When validating in-app purchase receipts, remember to perform the following checks: - __Authenticity:__ That the receipt comes from Apple - __Integrity:__ That the receipt has not been tampered with - __App match:__ That the app bundle ID in the receipt matches your app’s bundle identifier - __Product match:__ That the product ID in the receipt matches your expected product identifier - __Freshness:__ That you haven’t seen the same receipt ID before. Whenever possible, design your IAP system to store the content for sale server-side, and provide it to the client only in exchange for a valid receipt that passes all of the above checks. This kind of a design thwarts common piracy mechanisms, and — since the validation is performed on the server — allows you to use Apple’s HTTP receipt validation service instead of interpreting the receipt `PKCS #7` / `ASN.1` format yourself. For more information on this topic, check out the [Futurice blog: Validating in-app purchases in your iOS app][futu-blog-iap]. [futu-blog-iap]: http://futurice.com/blog/validating-in-app-purchases-in-your-ios-app ## License [Futurice][futurice] • Creative Commons Attribution 4.0 International (CC BY 4.0) [futurice]: http://futurice.com/ ## More Ideas - Add list of suggested compiler warnings - Ask IT about automated Jenkins build machine - Add section on Testing - Add "proven don'ts" [reactivecocoa-github]: https://github.com/ReactiveCocoa/ReactiveCocoa
56
A curated list of awesome iOS ecosystem, including Objective-C and Swift Projects
<div align="center"> <img src="https://github.com/vsouza/awesome-ios/blob/master/header.png" alt="Awesome"> </div> <p align="center"> <img alt="awesome" src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" /> <a href="https://travis-ci.org/vsouza/awesome-ios"><img alt="Build Status" src="https://api.travis-ci.org/vsouza/awesome-ios.svg?branch=master" /></a> <a href="https://ko-fi.com/M4M3WPRD"><img width="110" alt="Buy Me a Coffee" src="buy_me_a_coffee.png" /></a> </p> ## Contents - [Accessibility](#accessibility) - [Alexa](#alexa) - [Analytics](#analytics) - [App Routing](#app-routing) - [Apple TV](#apple-tv) - [Architecture Patterns](#architecture-patterns) - [ARKit](#arkit) - [Authentication](#authentication) - [Blockchain](#blockchain) - [Bridging](#bridging) - [Cache](#cache) - [Charts](#charts) - [Code Quality](#code-quality) - [Linter](#linter) - [Color](#color) - [Command Line](#command-line) - [Concurrency](#concurrency) - [Core Data](#core-data) - [Courses](#courses) - [Database](#database) - [Data Structures / Algorithms](#data-structures--algorithms) - [Date & Time](#date--time) - [Debugging](#debugging) - [EventBus](#eventbus) - [Files](#files) - [Functional Programming](#functional-programming) - [Games](#games) - [GCD](#gcd) - [Gesture](#gesture) - [Graphics](#graphics) - [Hardware](#hardware) - [Bluetooth](#bluetooth) - [Camera](#camera) - [Force Touch](#force-touch) - [iBeacon](#ibeacon) - [Location](#location) - [Other Hardware](#other-hardware) - [Layout](#layout) - [Logging](#logging) - [Localization](#localization) - [Machine Learning](#machine-learning) - [Maps](#maps) - [Math](#math) - [Media](#media) - [Audio](#audio) - [GIF](#gif) - [Image](#image) - [Media Processing](#media-processing) - [PDF](#pdf) - [Streaming](#streaming) - [Video](#video) - [Messaging](#messaging) - [Networking](#networking) - [Notifications](#notifications) - [Push Notifications](#push-notifications) - [Push Notification Providers](#push-notification-providers) - [Local Notifications](#local-notifications) - [Objective-C Runtime](#objective-c-runtime) - [Optimization](#optimization) - [Parsing](#parsing) - [CSV](#csv) - [JSON](#json) - [XML & HTML](#xml--html) - [Other Parsing](#other-parsing) - [Passbook](#passbook) - [Payments](#payments) - [Permissions](#permissions) - [Products](#products) - [Reactive Programming](#reactive-programming) - [React-Like](#react-like) - [Reflection](#reflection) - [Regex](#regex) - [SDK](#sdk) - [Official](#official) - [Unofficial](#unofficial) - [Security](#security) - [Encryption](#encryption) - [Keychain](#keychain) - [Server](#server) - [Testing](#testing) - [TDD / BDD](#tdd--bdd) - [A/B Testing](#ab-testing) - [UI Testing](#ui-testing) - [Other Testing](#other-testing) - [Text](#text) - [Font](#font) - [UI](#ui) - [Activity Indicator](#activity-indicator) - [Alert & Action Sheet](#alert--action-sheet) - [Animation](#animation) - [Transition](#transition) - [Badge](#badge) - [Button](#button) - [Calendar](#calendar) - [Cards](#cards) - [Form & Settings](#form--settings) - [Keyboard](#keyboard) - [Label](#label) - [Login](#login) - [Menu](#menu) - [Navigation Bar](#navigation-bar) - [PickerView](#pickerview) - [Popup](#popup) - [Pull to Refresh](#pull-to-refresh) - [Rating Stars](#rating-stars) - [ScrollView](#scrollview) - [Segmented Control](#segmented-control) - [Slider](#slider) - [Splash View](#splash-view) - [Status Bar](#status-bar) - [Stepper](#stepper) - [Switch](#switch) - [Tab Bar](#tab-bar) - [Table View / Collection View](#table-view--collection-view) - [Table View](#table-view) - [Collection View](#collection-view) - [Expandable Cell](#expandable-cell) - [Header](#header) - [Placeholder](#placeholder) - [Collection View Layout](#collection-view-layout) - [Tag](#tag) - [TextField & TextView](#textfield--textview) - [UIPageControl](#uipagecontrol) - [Web View](#web-view) - [Utility](#utility) - [User Consent](#user-consent) - [VR](#vr) - [Walkthrough / Intro / Tutorial](#walkthrough--intro--tutorial) - [Websocket](#websocket) - [Project setup](#project-setup) - [Dependency / Package Manager](#dependency--package-manager) - [Tools](#tools) - [Rapid Development](#rapid-development) - [Injection](#injection) - [Deployment / Distribution](#deployment--distribution) - [App Store](#app-store) - [Xcode](#xcode) - [Extensions (Xcode 8+)](#extensions-xcode-8) - [Themes](#themes) - [Other Xcode](#other-xcode) - [Reference](#reference) - [Style Guides](#style-guides) - [Good Websites](#good-websites) - [News, Blogs and more](#news-blogs-and-more) - [UIKit references](#uikit-references) - [Forums and discuss lists](#forums-and-discuss-lists) - [Tutorials and Keynotes](#tutorials-and-keynotes) - [Prototyping](#prototyping) - [Newsletters](#newsletters) - [Medium](#medium) - [Social Media](#social-media) - [Twitter](#twitter) - [Facebook Groups](#facebook-groups) - [Podcasts](#podcasts) - [Books](#books) - [Other Awesome Lists](#other-awesome-lists) - [Contributing](#contributing-and-license) ## Accessibility *Frameworks that help to support accessibility features and enable people with disabilities to use your app* - [Capable](https://github.com/chrs1885/Capable) - Track accessibility features to improve your app for people with certain disabilities. **[back to top](#contents)** ## Alexa *Frameworks that help to support writing custom alexa skills in swift* - [AlexaSkillsKit](https://github.com/choefele/AlexaSkillsKit) - Swift library to develop custom Alexa Skills. **[back to top](#contents)** ## Analytics *Analytics platforms, SDK's, error tracking and real-time answers about your app* - [Abbi](https://github.com/abbiio/iosdk) - A Simple SDK for developers to manage and maximise conversions of all in-app promotions. - [Answers by Fabric](https://get.fabric.io) - Answers gives you real-time insight into people’s experience in your app. - [ARAnalytics](https://github.com/orta/ARAnalytics) - Analytics abstraction library offering a sane API for tracking events and user data. - [Bugsnag](https://www.bugsnag.com/platforms/ios-crash-reporting) - Error tracking with a free tier. Error reports include data on device, release, user, and allows arbitrary data. - [Countly](https://count.ly) - Open source, mobile & web analytics, crash reports and push notifications platform for iOS & Android. - [devtodev](https://www.devtodev.com/) - Comprehensive analytics service that improves your project and saves time for product development. - [Inapptics](https://inapptics.com) - Helps analyze and visualize user behavior in mobile apps. Provides visual user journeys, heatmaps and crash replays. - [Instabug](https://instabug.com) - In-app feedback, Bug and Crash reporting, Fix Bugs Faster through user-steps, video recordings, screen annotation, network requests logging. - [Localytics](https://www.localytics.com/) - Brings app marketing and analytics together. - [Matomo](https://github.com/matomo-org/matomo-sdk-ios) - The MatomoTracker is an iOS, tvOS and macOS SDK for sending app analytics to a Matomo server. - [Mixpanel](https://mixpanel.com/) - Advanced analytics platform. - [MOCA Analytics](https://www.mocaplatform.com/features) - Paid cross-platform analytics backend. - [Segment](https://github.com/segmentio/analytics-ios) - The hassle-free way to integrate analytics into any iOS application. - [Sentry](https://sentry.io/) - Sentry provides self-hosted and cloud-based error monitoring that helps all software teams discover, triage, and prioritize errors in real-time. - [Shake](https://www.shakebugs.com/) - In-app feedback and bug reporting tool. Fix app bugs up to 50x faster with detailed device data, repro steps, video recording, black box data, network requests and custom logging. **[back to top](#contents)** ## App Routing *Elegant URL routing, navigation frameworks, deep links and more* - [ApplicationCoordinator](https://github.com/AndreyPanov/ApplicationCoordinator) - Coordinator is an object that handles navigation flow and shares flow’s handling for the next coordinator after switching on the next chain. - [Appz](https://github.com/SwiftKitz/Appz) - Easily launch and deeplink into external applications, falling back to web if not installed. - [Composable Navigator](https://github.com/Bahn-X/swift-composable-navigator) - An open source library for building deep-linkable SwiftUI applications with composition, testing and ergonomics in mind - [CoreNavigation](https://github.com/aronbalog/CoreNavigation) - Navigate between view controllers with ease. - [Crossroad](https://github.com/giginet/Crossroad) - Crossroad is an URL router focused on handling Custom URL Schemes. Using this, you can route multiple URL schemes and fetch arguments and parameters easily. - [DeepLinkKit](https://github.com/button/DeepLinkKit) - A splendid route-matching, block-based way to handle your deep links. - [DZURLRoute](https://github.com/yishuiliunian/DZURLRoute) - Universal route engine for iOS app, it can handle URLScheme between applications and page route between UIViewController. - [IKRouter](https://github.com/IanKeen/IKRouter) - URLScheme router than supports auto creation of UIViewControllers for associated url parameters to allow creation of navigation stacks - [IntentKit](https://github.com/intentkit/IntentKit) - An easier way to handle third-party URL schemes in iOS apps. - [JLRoutes](https://github.com/joeldev/JLRoutes) - URL routing library for iOS with a simple block-based API. - [Linker](https://github.com/MaksimKurpa/Linker) - Lightweight way to handle internal and external deeplinks for iOS. - [LiteRoute](https://github.com/SpectralDragon/LiteRoute) - Easy transition between VIPER modules, implemented on pure Swift. - [Marshroute](https://github.com/avito-tech/Marshroute) - Marshroute is an iOS Library for making your Routers simple but extremely powerful. - [RouteComposer](https://github.com/ekazaev/route-composer) - Library that helps to handle view controllers composition, routing and deeplinking tasks. - [Router](https://github.com/freshOS/Router) - Simple Navigation for iOS. - [RxFlow](https://github.com/RxSwiftCommunity/RxFlow) - Navigation framework for iOS applications based on a Reactive Flow Coordinator pattern. - [SwiftCurrent](https://github.com/wwt/SwiftCurrent) - A library for managing complex workflows. - [SwiftRouter](https://github.com/skyline75489/SwiftRouter) - A URL Router for iOS. - [URLNavigator](https://github.com/devxoul/URLNavigator) - Elegant URL Routing for Swift - [WAAppRouting](https://github.com/Wasappli/WAAppRouting) - iOS routing done right. Handles both URL recognition and controller displaying with parsed parameters. All in one line, controller stack preserved automatically! - [ZIKRouter](https://github.com/Zuikyo/ZIKRouter) - An interface-oriented router for discovering modules and injecting dependencies with protocol in OC & Swift, iOS & macOS. Handles route in a type safe way. **[back to top](#contents)** ## Apple TV *tvOS view controllers, wrappers, template managers and video players.* - [FocusTvButton](https://github.com/dcordero/FocusTvButton) - Light wrapper of UIButton that allows extra customization for tvOS - [ParallaxView](https://github.com/PGSSoft/ParallaxView) - iOS controls and extensions that add parallax effect to your application. - [Swift-GA-Tracker-for-Apple-tvOS](https://github.com/adswerve/Swift-GA-Tracker-for-Apple-tvOS) - Google Analytics tracker for Apple tvOS provides an easy integration of Google Analytics’ measurement protocol for Apple TV. - [TvOSCustomizableTableViewCell](https://github.com/zattoo/TvOSCustomizableTableViewCell) - Light wrapper of UITableViewCell that allows extra customization for tvOS. - [TvOSMoreButton](https://github.com/cgoldsby/TvOSMoreButton) - A basic tvOS button which truncates long text with '... More'. - [TvOSPinKeyboard](https://github.com/zattoo/TvOSPinKeyboard) - PIN keyboard for tvOS. - [TvOSScribble](https://github.com/dcordero/TvOSScribble) - Handwriting numbers recognizer for Siri Remote. - [TvOSSlider](https://github.com/zattoo/TvOSSlider) - TvOSSlider is an implementation of UISlider for tvOS. - [TvOSTextViewer](https://github.com/dcordero/TvOSTextViewer) - Light and scrollable view controller for tvOS to present blocks of text - [XCDYouTubeKit](https://github.com/0xced/XCDYouTubeKit) - YouTube video player for iOS, tvOS and macOS. **[back to top](#contents)** ## Architecture Patterns *Clean architecture, Viper, MVVM, Reactive... choose your weapon.* - [Clean Architecture for SwiftUI + Combine](https://github.com/nalexn/clean-architecture-swiftui) - A demo project showcasing the production setup of the SwiftUI app with Clean Architecture. - [CleanArchitectureRxSwift](https://github.com/sergdort/CleanArchitectureRxSwift) - Example of Clean Architecture of iOS app using RxSwift. - [ios-architecture](https://github.com/tailec/ios-architecture) - A collection of iOS architectures - MVC, MVVM, MVVM+RxSwift, VIPER, RIBs and many others. - [iOS-Viper-Architecture](https://github.com/MindorksOpenSource/iOS-Viper-Architecture) - This repository contains a detailed sample app that implements VIPER architecture in iOS using libraries and frameworks like Alamofire, AlamofireImage, PKHUD, CoreData etc. - [Reactant](https://github.com/Brightify/Reactant) - Reactant is a reactive architecture for iOS. - [Spin](https://github.com/Spinners/Spin.Swift) - A universal implementation of a Feedback Loop system for RxSwift, ReactiveSwift and Combine - [SwiftyVIPER](https://github.com/codytwinton/SwiftyVIPER) - Makes implementing VIPER architecture much easier and cleaner. - [Tempura](https://github.com/BendingSpoons/tempura-swift) - A holistic approach to iOS development, inspired by Redux and MVVM. - [VIPER Module Generator](https://github.com/Kaakati/VIPER-Module-Generator) - A Clean VIPER Modules Generator with comments and predfined functions. - [Viperit](https://github.com/ferranabello/Viperit) - Viper Framework for iOS. Develop an app following VIPER architecture in an easy way. Written and tested in Swift. **[back to top](#contents)** ## ARKit *Library and tools to help you build unparalleled augmented reality experiences* - [ARKit-CoreLocation](https://github.com/ProjectDent/ARKit-CoreLocation) - Combines the high accuracy of AR with the scale of GPS data. - [Virtual Objects](https://github.com/ignacio-chiazzo/ARKit) - Placing Virtual Objects in Augmented Reality. - [ARVideoKit](https://github.com/AFathi/ARVideoKit) - Record and capture ARKit videos, photos, Live Photos, and GIFs. - [ARKitEnvironmentMapper](https://github.com/svhawks/ARKitEnvironmentMapper) - A library that allows you to generate and update environment maps in real-time using the camera feed and ARKit's tracking capabilities. - [SmileToUnlock](https://github.com/rsrbk/SmileToUnlock) - This library uses ARKit Face Tracking in order to catch a user's smile. - [Placenote](https://github.com/Placenote/PlacenoteSDK-iOS) - A library that makes ARKit sessions persistent to a location using advanced computer vision. - [Poly](https://github.com/piemonte/Poly) - Unofficial Google Poly SDK – search and display 3D models. - [ARKit Emperor](https://github.com/kboy-silvergym/ARKit-Emperor) - The Emperor give you the most practical ARKit samples ever. - [ARHeadsetKit](https://github.com/philipturner/ARHeadsetKit) - High-level framework for using $5 Google Cardboard to replicate Microsoft Hololens. **[back to top](#contents)** ## Authentication *Oauth and Oauth2 libraries, social logins and captcha tools.* - [Heimdallr.swift](https://github.com/trivago/Heimdallr.swift) - Easy to use OAuth 2 library for iOS, written in Swift. - [OhMyAuth](https://github.com/hyperoslo/OhMyAuth) - Simple OAuth2 library with a support of multiple services. - [AuthenticationViewController](https://github.com/raulriera/AuthenticationViewController) - A simple to use, standard interface for authenticating to oauth 2.0 protected endpoints via SFSafariViewController. - [OAuth2](https://github.com/p2/OAuth2) - OAuth2 framework for macOS and iOS, written in Swift. - [OAuthSwift](https://github.com/OAuthSwift/OAuthSwift) - Swift based OAuth library for iOS - [SimpleAuth](https://github.com/calebd/SimpleAuth) - Simple social authentication for iOS. - [AlamofireOauth2](https://github.com/evermeer/AlamofireOauth2) - A swift implementation of OAuth2. - [SwiftyOAuth](https://github.com/delba/SwiftyOAuth) - A simple OAuth library for iOS with a built-in set of providers. - [Simplicity](https://github.com/SimplicityMobile/Simplicity) - A simple way to implement Facebook and Google login in your iOS and macOS apps. - [InstagramAuthViewController](https://github.com/Isuru-Nanayakkara/InstagramAuthViewController) - A ViewController for Instagram authentication. - [InstagramSimpleOAuth](https://github.com/rbaumbach/InstagramSimpleOAuth) - A quick and simple way to authenticate an Instagram user in your iPhone or iPad app. - [DropboxSimpleOAuth](https://github.com/rbaumbach/DropboxSimpleOAuth) - A quick and simple way to authenticate a Dropbox user in your iPhone or iPad app. - [BoxSimpleOAuth](https://github.com/rbaumbach/BoxSimpleOAuth) - A quick and simple way to authenticate a Box user in your iPhone or iPad app. - [InstagramLogin](https://github.com/AnderGoig/InstagramLogin) - A simple way to authenticate Instagram accounts on iOS. - [ReCaptcha](https://github.com/fjcaetano/ReCaptcha) - (In)visible ReCaptcha for iOS. - [LinkedInSignIn](https://github.com/serhii-londar/LinkedInSignIn) - Simple view controller to login and retrieve access token from LinkedIn. **[back to top](#contents)** ## Blockchain *Tool for smart contract interactions. Bitcoin protocol implementations and Frameworks for interacting with cryptocurrencies.* - [Web3.swift](https://github.com/Boilertalk/Web3.swift) - Web3 library for interacting with the Ethereum blockchain. - [web3swift](https://github.com/BANKEX/web3swift) - Elegant Web3js functionality in Swift. Native ABI parsing and smart contract interactions. - [EthereumKit](https://github.com/yuzushioh/EthereumKit) - EthereumKit is a free, open-source Swift framework for easily interacting with the Ethereum. - [BitcoinKit](https://github.com/yenom/BitcoinKit) - Bitcoin protocol toolkit for Swift, BitcoinKit implements Bitcoin protocol in Swift. It is an implementation of the Bitcoin SPV protocol written (almost) entirely in swift. - [EtherWalletKit](https://github.com/SteadyAction/EtherWalletKit) - Ethereum Wallet Toolkit for iOS - You can implement Ethereum wallet without a server and blockchain knowledge. - [CoinpaprikaAPI](https://github.com/coinpaprika/coinpaprika-api-swift-client) - Coinpaprika API client with free & frequently updated market data from the world of crypto: coin prices, volumes, market caps, ATHs, return rates and more. - [Bitcoin-Swift-Kit](https://github.com/horizontalsystems/bitcoin-kit-ios) - Full Bitcoin library written on Swift. Complete SPV wallet implementation for Bitcoin, Bitcoin Cash and Dash blockchains. **[back to top](#contents)** ## Bridging *Sharing code between Objective-C and Swift, iOS and macOS, Javascript and Objective-C.* - [RubyMotion](http://www.rubymotion.com/) - RubyMotion is a revolutionary toolchain that lets you quickly develop and test native iOS and macOS applications for iPhone, iPad and Mac, all using the Ruby language. - [JSPatch](https://github.com/bang590/JSPatch) - JSPatch bridge Objective-C and Javascript using the Objective-C runtime. You can call any Objective-C class and method in JavaScript by just including a small engine. JSPatch is generally use for hotfix iOS App. - [WebViewJavascriptBridge](https://github.com/marcuswestin/WebViewJavascriptBridge) - An iOS/macOS bridge for sending messages between Obj-C and JavaScript in UIWebViews/WebViews. - [MAIKit](https://github.com/MichaelBuckley/MAIKit) - A framework for sharing code between iOS and macOS. - [Xamarin](https://xamarin.com/) - Xamarin is a free, cross-platform, open-source platform that lets you quickly develop and test native iOS, watchOS and macOS applications for iPhone, iPad, Watch and Mac, all using the C# language. **[back to top](#contents)** ## Cache *Thread safe, offline and high performance cache libs and frameworks.* - [Awesome Cache](https://github.com/aschuch/AwesomeCache) - Delightful on-disk cache (written in Swift). - [mattress](https://github.com/buzzfeed/mattress) - iOS Offline Caching for Web Content. - [Carlos](https://github.com/spring-media/Carlos) - A simple but flexible cache. - [HanekeSwift](https://github.com/Haneke/HanekeSwift) - A lightweight generic cache for iOS written in Swift with extra love for images. - [YYCache](https://github.com/ibireme/YYCache) - High performance cache framework for iOS. - [Cache](https://github.com/hyperoslo/Cache) - Nothing but Cache. - [MGCacheManager](https://github.com/Mortgy/MGCacheManager) - A delightful iOS Networking Cache Managing Class. - [SPTPersistentCache](https://github.com/spotify/SPTPersistentCache) - Everyone tries to implement a cache at some point in their iOS app’s lifecycle, and this is ours. By Spotify. - [Track](https://github.com/maquannene/Track) - Track is a thread safe cache write by Swift. Composed of DiskCache and MemoryCache which support LRU. - [UITableView Cache](https://github.com/Kilograpp/UITableView-Cache) - UITableView cell cache that cures scroll-lags on a cell instantiating. - [RocketData](https://github.com/plivesey/RocketData) - A caching and consistency solution for immutable models. - [PINCache](https://github.com/pinterest/PINCache) - Fast, non-deadlocking parallel object cache for iOS and macOS. - [Johnny](https://github.com/zolomatok/Johnny) - Melodic Caching for Swift. - [Disk](https://github.com/saoudrizwan/Disk) - Delightful framework for iOS to easily persist structs, images, and data. - [Cachyr](https://github.com/nrkno/yr-cachyr) - A small key-value data cache for iOS, macOS and tvOS, written in Swift. - [Cache](https://github.com/soffes/Cache) - Swift caching library. - [MemoryCache](https://github.com/yysskk/MemoryCache) - MemoryCache is type-safe memory cache. **[back to top](#contents)** ## Charts *Beautiful, Easy and Fully customized charts* - [Charts](https://github.com/danielgindi/Charts) - A powerful chart / graph framework, the iOS equivalent to [MPAndroidChart](https://github.com/PhilJay/MPAndroidChart). - [PNChart](https://github.com/kevinzhow/PNChart) - A simple and beautiful chart lib used in Piner and CoinsMan for iOS. - [XJYChart](https://github.com/JunyiXie/XJYChart) - A Beautiful chart for iOS. Support animation, click, slide, area highlight. - [JBChartView](https://github.com/Jawbone/JBChartView) - iOS-based charting library for both line and bar graphs. - [XYPieChart](https://github.com/xyfeng/XYPieChart) - A simple and animated Pie Chart for your iOS app. - [TEAChart](https://github.com/xhacker/TEAChart) - Simple and intuitive iOS chart library. Contribution graph, clock chart, and bar chart. - [EChart](https://github.com/zhuhuihuihui/EChart) - iOS/iPhone/iPad Chart, Graph. Event handling and animation supported. - [FSLineChart](https://github.com/ArthurGuibert/FSLineChart) - A line chart library for iOS. - [chartee](https://github.com/zhiyu/chartee) - A charting library for mobile platforms. - [ANDLineChartView](https://github.com/anaglik/ANDLineChartView) - ANDLineChartView is easy to use view-based class for displaying animated line chart. - [TWRCharts](https://github.com/chasseurmic/TWRCharts) - An iOS wrapper for ChartJS. Easily build animated charts by leveraging the power of native Obj-C code. - [SwiftCharts](https://github.com/i-schuetz/SwiftCharts) - Easy to use and highly customizable charts library for iOS. - [FlowerChart](https://github.com/drinkius/flowerchart) - Flower-shaped chart with custom appearance animation, fully vector. - [Scrollable-GraphView](https://github.com/philackm/ScrollableGraphView) - An adaptive scrollable graph view for iOS to visualise simple discrete datasets. Written in Swift. - [Dr-Charts](https://github.com/Zomato/DR-charts) - Dr-Charts is a highly customisable, easy to use and interactive chart / graph framework in Objective-C. - [Graphs](https://github.com/recruit-mtl/Graphs) - Light weight charts view generator for iOS. - [FSInteractiveMap](https://github.com/ArthurGuibert/FSInteractiveMap) - A charting library to visualize and interact with a vector map on iOS. It's like Geochart but for iOS. - [JYRadarChart](https://github.com/johnnywjy/JYRadarChart) - An iOS open source Radar Chart implementation. - [TKRadarChart](https://github.com/TBXark/TKRadarChart) - A customizable radar chart in Swift. - [MagicPie](https://github.com/AlexandrGraschenkov/MagicPie) - Awesome layer based pie chart. Fantastically fast and fully customizable. Amazing animations available with MagicPie. - [PieCharts](https://github.com/i-schuetz/PieCharts) - Easy to use and highly customizable pie charts library for iOS. - [CSPieChart](https://github.com/youkchansim/CSPieChart) - iOS PieChart Opensource. This is very easy to use and customizable. - [DDSpiderChart](https://github.com/dadalar/DDSpiderChart) - Easy to use and customizable Spider (Radar) Chart library for iOS written in Swift. - [core-plot](https://github.com/core-plot/core-plot) - a 2D plotting lib which is highly customizable and capable of drawing many types of plots. - [ChartProgressBar](https://github.com/hadiidbouk/ChartProgressBar-iOS) - Draw a chart with progress bar style. - [SMDiagramViewSwift](https://github.com/VRGsoftUA/SMDiagramView) - Meet cute and very flexibility library for iOS application for different data view in one circle diagram. - [Swift LineChart](https://github.com/zemirco/swift-linechart) - Line Chart library for iOS written in Swift. - [SwiftChart](https://github.com/gpbl/SwiftChart) - Line and area chart library for iOS. - [EatFit](https://github.com/Yalantis/EatFit) - Eat fit is a component for attractive data representation inspired by Google Fit. - [CoreCharts](https://github.com/cagricolak/CoreCharts) - CoreCharts is a simple powerful yet Charts library for apple products. ## Code Quality *Quality always matters. Code checkers, memory vigilants, syntastic sugars and more.* - [Bootstrap](https://github.com/krzysztofzablocki/Bootstrap) - iOS project bootstrap aimed at high quality coding. - [KZAsserts](https://github.com/krzysztofzablocki/KZAsserts) - Set of custom assertions that automatically generate NSError's, allow for both Assertions in Debug and Error handling in Release builds, with beautiful DSL. - [PSPDFUIKitMainThreadGuard](https://gist.github.com/steipete/5664345) - Simple snippet generating assertions when UIKit is used on background threads. - [ocstyle](https://github.com/Cue/ocstyle) - Objective-C style checker. - [spacecommander](https://github.com/square/spacecommander) - Commit fully-formatted Objective-C code as a team without even trying. - [DWURecyclingAlert](https://github.com/diwu/DWURecyclingAlert) - Optimizing UITableViewCell For Fast Scrolling. - [Tailor](https://github.com/sleekbyte/tailor) - Cross-platform static analyzer for Swift that helps you to write cleaner code and avoid bugs. - [SwiftCop](https://github.com/andresinaka/SwiftCop) - SwiftCop is a validation library fully written in Swift and inspired by the clarity of Ruby On Rails Active Record validations. - [Trackable](https://github.com/VojtaStavik/Trackable) - Trackable is a simple analytics integration helper library. It’s especially designed for easy and comfortable integration with existing projects. - [MLeaksFinder](https://github.com/Tencent/MLeaksFinder) - Find memory leaks in your iOS app at develop time. - [HeapInspector-for-iOS](https://github.com/tapwork/HeapInspector-for-iOS) - Find memory issues & leaks in your iOS app without instruments. - [FBMemoryProfiler](https://github.com/facebook/FBMemoryProfiler) - iOS tool that helps with profiling iOS Memory usage. - [FBRetainCycleDetector](https://github.com/facebook/FBRetainCycleDetector) - iOS library to help detecting retain cycles in runtime. - [Buglife](https://github.com/Buglife/Buglife-iOS) - Awesome bug reporting for iOS apps. - [Warnings-xcconfig](https://github.com/boredzo/Warnings-xcconfig) - An xcconfig (Xcode configuration) file for easily turning on a boatload of warnings in your project or its targets. - [Aardvark](https://github.com/square/Aardvark) - Aardvark is a library that makes it dead simple to create actionable bug reports. - [Stats](https://github.com/shu223/Stats) - In-app memory usage monitoring. - [GlueKit](https://github.com/attaswift/GlueKit) - A type-safe observer framework for Swift. - [SwiftFormat](https://github.com/nicklockwood/SwiftFormat) - A code library and command-line formatting tool for reformatting Swift code. - [PSTModernizer](https://github.com/PSPDFKit-labs/PSTModernizer) - Makes it easier to support older versions of iOS by fixing things and adding missing methods. - [Bugsee](https://www.bugsee.com) - In-app bug and crash reporting with video, logs, network traffic and traces. - [Fallback](https://github.com/devxoul/Fallback) - Syntactic sugar for nested do-try-catch. - [ODUIThreadGuard](https://github.com/olddonkey/ODUIThreadGuard) - A guard to help you check if you make UI changes not in main thread. - [IBAnalyzer](https://github.com/fastred/IBAnalyzer) - Find common xib and storyboard-related problems without running your app or writing unit tests. - [DecouplingKit](https://github.com/coderyi/DecouplingKit) - decoupling between modules in your iOS Project. - [Clue](https://github.com/Geek-1001/Clue) - Flexible bug report framework for iOS with screencast, networking, interactions and view structure. - [WeakableSelf](https://github.com/vincent-pradeilles/weakable-self) - A Swift micro-framework to encapsulate `[weak self]` and `guard` statements within closures. ### Linter *Static code analyzers to enforce style and conventions.* - [OCLint](https://github.com/oclint/oclint) - Static code analysis tool for improving quality and reducing defects. - [Taylor](https://github.com/yopeso/Taylor) - Measure Swift code metrics and get reports in Xcode, Jenkins and other CI platforms. - [Swiftlint](https://github.com/realm/SwiftLint) - A tool to enforce Swift style and conventions. - [IBLinter](https://github.com/IBDecodable/IBLinter) - A linter tool for Interface Builder. - [SwiftLinter](https://github.com/muyexi/SwiftLinter) - Share lint rules between projects and lint changed files with SwiftLint. - [AnyLint](https://github.com/Flinesoft/AnyLint) - Lint anything by combining the power of Swift & regular expressions. ## Color *Hex color extensions, theming, color pickers and other awesome color tools.* - [DynamicColor](https://github.com/yannickl/DynamicColor) - Yet another extension to manipulate colors easily in Swift. - [SwiftHEXColors](https://github.com/thii/SwiftHEXColors) - HEX color handling as an extension for UIColor. - [Colours](https://github.com/bennyguitar/Colours) - A beautiful set of predefined colors and a set of color methods to make your iOS/macOS development life easier. - [UIColor-Hex-Swift](https://github.com/yeahdongcn/UIColor-Hex-Swift) - Convenience method for creating autoreleased color using RGBA hex string. - [Hue](https://github.com/zenangst/Hue) - Hue is the all-in-one coloring utility that you'll ever need. - [FlatUIColors](https://github.com/brynbellomy/FlatUIColors) - Flat UI color palette helpers written in Swift. - [RandomColorSwift](https://github.com/onevcat/RandomColorSwift) - An attractive color generator for Swift. Ported from `randomColor.js`. - [PFColorHash](https://github.com/PerfectFreeze/PFColorHash) - Generate color based on the given string. - [BCColor](https://github.com/boycechang/BCColor) - A lightweight but powerful color kit (Swift). - [DKNightVersion](https://github.com/Draveness/DKNightVersion) - Manage Colors, Integrate Night/Multiple Themes. - [PrettyColors](https://github.com/jdhealy/PrettyColors) - PrettyColors is a Swift library for styling and coloring text in the Terminal. The library outputs [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) and conforms to ECMA Standard 48. - [TFTColor](https://github.com/burhanuddin353/TFTColor) - Simple Extension for RGB and CMKY Hex Strings and Hex Values (ObjC & Swift). - [CostumeKit](https://github.com/jakemarsh/CostumeKit) - Base types for theming an app. - [CSS3ColorsSwift](https://github.com/WorldDownTown/CSS3ColorsSwift) - A UIColor extension with CSS3 Colors name. - [ChromaColorPicker](https://github.com/joncardasis/ChromaColorPicker) - An intuitive iOS color picker built in Swift. - [Lorikeet](https://github.com/valdirunars/Lorikeet) - A lightweight Swift framework for aesthetically pleasing color-scheme generation and CIE color-difference calculation. - [Gestalt](https://github.com/regexident/Gestalt) - An unintrusive & light-weight iOS app-theming library with support for animated theme switching. - [SheetyColors](https://github.com/chrs1885/SheetyColors) - An action sheet styled color picker for iOS. ## Command Line *Smart, beautiful and elegant tools to help you create command line applications.* - [Swiftline](https://github.com/nsomar/Swiftline) - Swiftline is a set of tools to help you create command line applications. - [Commander](https://github.com/kylef/Commander) - Compose beautiful command line interfaces in Swift. - [ColorizeSwift](https://github.com/mtynior/ColorizeSwift) - Terminal string styling for Swift. - [Guaka](https://github.com/nsomar/Guaka) - The smartest and most beautiful (POSIX compliant) Command line framework for Swift. - [Marathon](https://github.com/JohnSundell/Marathon) - Marathon makes it easy to write, run and manage your Swift scripts. - [CommandCougar](https://github.com/surfandneptune/CommandCougar) - An elegant pure Swift library for building command line applications. - [Crayon](https://github.com/luoxiu/Crayon) - Terminal string styling with expressive api and 256/TrueColor support. - [SwiftShell](https://github.com/kareman/SwiftShell) - A Swift framework for shell scripting and running shell commands. - [SourceDocs](https://github.com/eneko/SourceDocs) - Command Line Tool that generates Markdown documentation from inline source code comments. - [ModuleInterface](https://github.com/minuscorp/ModuleInterface) - Command Line Tool that generates the Module's Interface from a Swift project. ## Concurrency *Job schedulers, Coroutines, Asynchronous and Type safe threads libs and frameworks written in Swift* - [Venice](https://github.com/Zewo/Venice) - CSP (Coroutines, Channels, Select) for Swift. - [Concurrent](https://github.com/typelift/Concurrent) - Functional Concurrency Primitives. - [Flow](https://github.com/JohnSundell/Flow) - Operation Oriented Programming in Swift. - [Brisk](https://github.com/jmfieldman/Brisk) - A Swift DSL that allows concise and effective concurrency manipulation. - [Aojet](https://github.com/aojet/Aojet) - An actor model library for swift. - [Overdrive](https://github.com/saidsikira/Overdrive) - Fast async task based Swift framework with focus on type safety, concurrency and multi threading. - [AsyncNinja](https://github.com/AsyncNinja/AsyncNinja) - A complete set of concurrency and reactive programming primitives. - [Kommander](https://github.com/intelygenz/Kommander-iOS) - Kommander is a Swift library to manage the task execution in different threads. Through the definition a simple but powerful concept, Kommand. - [Threadly](https://github.com/nvzqz/Threadly) - Type-safe thread-local storage in Swift. - [Flow-iOS](https://github.com/roytornado/Flow-iOS) - Make your logic flow and data flow clean and human readable. - [Queuer](https://github.com/FabrizioBrancati/Queuer) - A queue manager, built on top of OperationQueue and Dispatch (aka GCD). - [SwiftQueue](https://github.com/lucas34/SwiftQueue) - Job Scheduler with Concurrent run, failure/retry, persistence, repeat, delay and more. - [GroupWork](https://github.com/quanvo87/GroupWork) - Easy concurrent, asynchronous tasks in Swift. - [StickyLocking](https://github.com/stickytools/sticky-locking) - A general purpose embedded hierarchical lock manager used to build highly concurrent applications of all types. - [SwiftCoroutine](https://github.com/belozierov/SwiftCoroutine) - Swift coroutines library for iOS and macOS. ## Core Data *Core data Frameworks, wrappers, generators and boilerplates.* - [Ensembles](https://github.com/drewmccormack/ensembles) - A synchronization framework for Core Data. - [Mogenerator](https://github.com/rentzsch/mogenerator) - Automatic Core Data code generation. - [MagicalRecord](https://github.com/magicalpanda/MagicalRecord) - Super Awesome Easy Fetching for Core Data. - [CoreStore](https://github.com/JohnEstropia/CoreStore) - Powerful Core Data framework for Incremental Migrations, Fetching, Observering, etc. - [Core Data Query Interface](https://github.com/prosumma/CoreDataQueryInterface) A type-safe, fluent query framework for Core Data. - [Graph](https://github.com/CosmicMind/Graph) - An elegant data-driven framework for CoreData in Swift. - [CoreDataDandy](https://github.com/fuzz-productions/CoreDataDandy) - A feature-light wrapper around Core Data that simplifies common database operations. - [Sync](https://github.com/3lvis/Sync) - Modern Swift JSON synchronization to Core Data. - [AlecrimCoreData](https://github.com/Alecrim/AlecrimCoreData) - A powerful and simple Core Data wrapper framework written in Swift. - [AERecord](https://github.com/tadija/AERecord) - Super awesome Core Data wrapper in Swift. - [CoreDataStack](https://github.com/bignerdranch/CoreDataStack) - The Big Nerd Ranch Core Data Stack. - [JSQCoreDataKit](https://github.com/jessesquires/JSQCoreDataKit) - A swifter Core Data stack. - [Skopelos](https://github.com/albertodebortoli/Skopelos) - A minimalistic, thread safe, non-boilerplate and super easy to use version of Active Record on Core Data. Simply all you need for doing Core Data. - [Cadmium](https://github.com/jmfieldman/cadmium) - A complete swift framework that wraps CoreData and helps facilitate best practices. - [DataKernel](https://github.com/mrdekk/DataKernel) - Simple CoreData wrapper to ease operations. - [DATAStack](https://github.com/3lvis/DATAStack) - 100% Swift Simple Boilerplate Free Core Data Stack. NSPersistentContainer. - [JustPersist](https://github.com/justeat/JustPersist) - JustPersist is the easiest and safest way to do persistence on iOS with Core Data support out of the box. - [PrediKit](https://github.com/KrakenDev/PrediKit) - An NSPredicate DSL for iOS, macOS, tvOS, & watchOS. Inspired by SnapKit and lovingly written in Swift. - [PredicateFlow](https://github.com/andreadelfante/PredicateFlow) - Write amazing, strong-typed and easy-to-read NSPredicate, allowing you to write flowable NSPredicate, without guessing attribution names, predicate operation or writing wrong arguments type. - [CloudCore](https://github.com/deeje/CloudCore) - Robust CloudKit synchronization: offline editing, relationships, shared and public databases, field-level deltas, and more. ## Courses ### Getting Started *Courses, tutorials, guides and bootcamps* - [Apple - Object-Oriented Programming with Objective-C](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/OOP_ObjC/Introduction/Introduction.html) - [ARHeadsetKit Tutorials](https://github.com/philipturner/ARHeadsetKit) - Interactive guides to a high-level framework for experimenting with AR. - [ARStarter](https://github.com/codePrincess/ARStarter) - Get started with ARKit - A little exercise for beginners. - [Classpert - A list of 500 iOS Development courses (free and paid), from top e-learning platforms](https://classpert.com/ios-development) - Complete catalog of courses from Udacity, Pluralsight, Coursera, Edx, Treehouse and Skillshare. - [iOS & Swift - The Complete iOS App Development Bootcamp](https://www.udemy.com/course/ios-13-app-development-bootcamp/) - [Ray Wenderlich](https://www.raywenderlich.com/2690-learn-to-code-ios-apps-1-welcome-to-programming) - Learn to code iOS Apps. - [Stanford - Developing apps for iOS](https://itunes.apple.com/us/itunes-u/developing-apps-for-ios-hd/id395605774) - Stanford's iTunes U course. - [Udacity - Intro to iOS App Development with Swift](https://www.udacity.com/course/intro-to-ios-app-development-with-swift--ud585) - Udacity free course. Make Your First iPhone App. - [100 Days of SwiftUI](https://www.hackingwithswift.com/100/swiftui) - Free collection of videos and tutorials updated for iOS 15 and Swift 5.5. **[back to top](#contents)** ## Database *Wrappers, clients, Parse alternatives and safe tools to deal with ephemeral and persistent data.* - [Realm](https://github.com/realm/realm-cocoa) - The alternative to CoreData and SQLite: Simple, modern and fast. - [YapDatabase](https://github.com/yapstudios/YapDatabase) - YapDatabase is an extensible database for iOS & Mac. - [Couchbase Mobile](https://www.couchbase.com/products/mobile/) - Couchbase document store for mobile with cloud sync. - [FMDB](https://github.com/ccgus/fmdb) - A Cocoa / Objective-C wrapper around SQLite. - [FCModel](https://github.com/marcoarment/FCModel) - An alternative to Core Data for people who like having direct SQL access. - [Zephyr](https://github.com/ArtSabintsev/Zephyr) - Effortlessly synchronize NSUserDefaults over iCloud. - [Prephirences](https://github.com/phimage/Prephirences) - Prephirences is a Swift library that provides useful protocols and convenience methods to manage application preferences, configurations and app-state. - [Storez](https://github.com/SwiftKitz/Storez) - Safe, statically-typed, store-agnostic key-value storage (with namespace support). - [SwiftyUserDefaults](https://github.com/sunshinejr/SwiftyUserDefaults) - Statically-typed NSUserDefaults. - [SugarRecord](https://github.com/modo-studio/SugarRecord) - Data persistence management library. - [SQLite.swift](https://github.com/stephencelis/SQLite.swift) - A type-safe, Swift-language layer over SQLite3. - [GRDB.swift](https://github.com/groue/GRDB.swift) - A versatile SQLite toolkit for Swift, with WAL mode support. - [Fluent](https://github.com/vapor/fluent) - Simple ActiveRecord implementation for working with your database in Swift. - [ParseAlternatives](https://github.com/relatedcode/ParseAlternatives) - A collaborative list of Parse alternative backend service providers. - [TypedDefaults](https://github.com/tasanobu/TypedDefaults) - TypedDefaults is a utility library to type-safely use NSUserDefaults. - [realm-cocoa-converter](https://github.com/realm/realm-cocoa-converter) - A library that provides the ability to import/export Realm files from a variety of data container formats. - [YapDatabaseExtensions](https://github.com/danthorpe/YapDatabaseExtensions) - YapDatabase extensions for use with Swift. - [RealmGeoQueries](https://github.com/mhergon/RealmGeoQueries) - RealmGeoQueries simplifies spatial queries with Realm Cocoa. In the absence of and official functions, this library provide the possibility to do proximity search. - [SwiftMongoDB](https://github.com/Danappelxx/SwiftMongoDB) - A MongoDB interface for Swift. - [ObjectiveRocks](https://github.com/iabudiab/ObjectiveRocks) - An Objective-C wrapper of Facebook's RocksDB - A Persistent Key-Value Store for Flash and RAM Storage. - [OHMySQL](https://github.com/oleghnidets/OHMySQL) - An Objective-C wrapper of MySQL C API. - [SwiftStore](https://github.com/hemantasapkota/SwiftStore) - Key-Value store for Swift backed by LevelDB. - [OneStore](https://github.com/muukii/OneStore) - A single value proxy for NSUserDefaults, with clean API. - [MongoDB](https://github.com/PerfectlySoft/Perfect-MongoDB) - A Swift wrapper around the mongo-c client library, enabling access to MongoDB servers. - [MySQL](https://github.com/PerfectlySoft/Perfect-MySQL) - A Swift wrapper around the MySQL client library, enabling access to MySQL servers. - [Redis](https://github.com/PerfectlySoft/Perfect-Redis) - A Swift wrapper around the Redis client library, enabling access to Redis. - [PostgreSQL](https://github.com/PerfectlySoft/Perfect-PostgreSQL) - A Swift wrapper around the libpq client library, enabling access to PostgreSQL servers. - [FileMaker](https://github.com/PerfectlySoft/Perfect-FileMaker) - A Swift wrapper around the FileMaker XML Web publishing interface, enabling access to FileMaker servers. - [Nora](https://github.com/SD10/Nora) - Nora is a Firebase abstraction layer for working with FirebaseDatabase and FirebaseStorage. - [PersistentStorageSerializable](https://github.com/IvanRublev/PersistentStorageSerializable) - Swift library that makes easier to serialize the user's preferences (app's settings) with system User Defaults or Property List file on disk. - [WCDB](https://github.com/Tencent/wcdb) - WCDB is an efficient, complete, easy-to-use mobile database framework for iOS, macOS. - [StorageKit](https://github.com/StorageKit/StorageKit) - Your Data Storage Troubleshooter. - [UserDefaults](https://github.com/nmdias/DefaultsKit) - Simple, Strongly Typed UserDefaults for iOS, macOS and tvOS. - [Default](https://github.com/Nirma/Default) - Modern interface to UserDefaults + Codable support. - [IceCream](https://github.com/caiyue1993/IceCream) - Sync Realm Database with CloudKit. - [FirebaseHelper](https://github.com/quanvo87/FirebaseHelper) - Safe and easy wrappers for common Firebase Realtime Database functions. - [Shallows](https://github.com/dreymonde/Shallows) - Your lightweight persistence toolbox. - [StorageManager](https://github.com/iAmrSalman/StorageManager) - Safe and easy way to use FileManager as Database. - [RealmWrapper](https://github.com/k-lpmg/RealmWrapper) - Safe and easy wrappers for RealmSwift. - [UserDefaultsStore](https://github.com/omaralbeik/UserDefaultsStore) - An easy and very light way to store and retrieve -reasonable amount- of Codable objects, in a couple lines of code. - [PropertyKit](https://github.com/metasmile/PropertyKit) - Protocol-First, Type and Key-Safe Swift Property for iOS, macOS and tvOS. - [PersistenceKit](https://github.com/Teknasyon-Teknoloji/PersistenceKit) - Store and retrieve Codable objects to various persistence layers, in a couple lines of code. - [ModelAssistant](https://github.com/ssamadgh/ModelAssistant) - Elegant library to manage the interactions between view and model in Swift. - [MMKV](https://github.com/Tencent/MMKV) - An efficient, small mobile key-value storage framework developed by WeChat. Works on iOS, Android, macOS and Windows. - [Defaults](https://github.com/sindresorhus/Defaults) - Swifty and modern UserDefaults. - [MongoKitten](https://github.com/OpenKitten/MongoKitten) - A pure Swift MongoDB client implementation with support for embedded databases. - [SecureDefaults](https://github.com/vpeschenkov/SecureDefaults) - A lightweight wrapper over UserDefaults/NSUserDefaults with an extra AES-256 encryption layer. - [Unrealm](https://github.com/arturdev/Unrealm) - Unrealm enables you to easily store Swift native Classes, Structs and Enums into Realm. - [QuickDB](https://github.com/behrad-kzm/QuickDB) - Save and Retrieve any `Codable` in JUST ONE line of code + more easy usecases. - [ObjectBox](https://github.com/objectbox/objectbox-swift) - ObjectBox is a superfast, light-weight object persistence framework. ## Data Structures / Algorithms *Diffs, keypaths, sorted lists and other amazing data structures wrappers and libraries.* - [Changeset](https://github.com/osteslag/Changeset) - Minimal edits from one collection to another. - [BTree](https://github.com/attaswift/BTree) - Fast ordered collections for Swift using in-memory B-trees. - [SwiftStructures](https://github.com/waynewbishop/SwiftStructures) - Examples of commonly used data structures and algorithms in Swift. - [diff](https://github.com/soffes/diff) - Simple diff library in pure Swift. - [Brick](https://github.com/hyperoslo/Brick) - A generic view model for both basic and complex scenarios. - [Algorithm](https://github.com/CosmicMind/Algorithm) - Algorithm is a collection of data structures that are empowered by a probability toolset. - [AnyObjectConvertible](https://github.com/tarunon/AnyObjectConvertible) - Convert your own struct/enum to AnyObject easily. - [Dollar](https://github.com/ankurp/Dollar) - A functional tool-belt for Swift Language similar to Lo-Dash or Underscore.js in Javascript https://www.dollarswift.org/. - [Result](https://github.com/antitypical/Result) - Swift type modeling the success/failure of arbitrary operations. - [EKAlgorithms](https://github.com/EvgenyKarkan/EKAlgorithms) - Some well known CS algorithms & data structures in Objective-C. - [Monaka](https://github.com/naru-jpn/Monaka) - Convert custom struct and fundamental values to NSData. - [Buffer](https://github.com/alexdrone/Buffer) - Swift μ-framework for efficient array diffs, collection observation and cell configuration. - [SwiftGraph](https://github.com/davecom/SwiftGraph) - Graph data structure and utility functions in pure Swift. - [SwiftPriorityQueue](https://github.com/davecom/SwiftPriorityQueue) - A priority queue with a classic binary heap implementation in pure Swift. - [Pencil](https://github.com/naru-jpn/pencil) - Write values to file and read it more easily. - [HeckelDiff](https://github.com/mcudich/HeckelDiff) - A fast Swift diffing library. - [Dekoter](https://github.com/artemstepanenko/Dekoter) - `NSCoding`'s counterpart for Swift structs. - [swift-algorithm-club](https://github.com/raywenderlich/swift-algorithm-club) - Algorithms and data structures in Swift, with explanations! - [Impeller](https://github.com/david-coyle-sjc/impeller) - A Distributed Value Store in Swift. - [Dispatch](https://github.com/alexdrone/Store) - Multi-store Flux implementation in Swift. - [DeepDiff](https://github.com/onmyway133/DeepDiff) - Diff in Swift. - [Differ](https://github.com/tonyarnold/Differ) - Swift library to generate differences and patches between collections. - [Probably](https://github.com/harlanhaskins/Probably) - A Swift probability and statistics library. - [RandMyMod](https://github.com/jamesdouble/RandMyMod) - RandMyMod base on your own struct or class create one or a set of randomized instance. - [KeyPathKit](https://github.com/vincent-pradeilles/KeyPathKit) - KeyPathKit provides a seamless syntax to manipulate data using typed keypaths. - [Differific](https://github.com/zenangst/Differific) - A fast and convenient diffing framework. - [OneWaySynchronizer](https://github.com/ladeiko/OneWaySynchronizer) - The simplest abstraction to synchronize local data with remote source. - [DifferenceKit](https://github.com/ra1028/DifferenceKit) - A fast and flexible O(n) difference algorithm framework for Swift collection. ## Date & Time *Time and NSCalendar libraries. Also contains Sunrise and Sunset time generators, time pickers and NSTimer interfaces.* - [Timepiece](https://github.com/naoty/Timepiece) - Intuitive NSDate extensions in Swift. - [SwiftDate](https://github.com/malcommac/SwiftDate) - The best way to manage Dates and Timezones in Swift. - [SwiftMoment](https://github.com/akosma/SwiftMoment) - A time and calendar manipulation library. - [DateTools](https://github.com/MatthewYork/DateTools) - Dates and times made easy in Objective-C. - [SwiftyTimer](https://github.com/radex/SwiftyTimer) - Swifty API for NSTimer. - [DateHelper](https://github.com/melvitax/DateHelper) - Convenience extension for NSDate in Swift. - [iso-8601-date-formatter](https://github.com/boredzo/iso-8601-date-formatter) - A Cocoa NSFormatter subclass to convert dates to and from ISO-8601-formatted strings. Supports calendar, week, and ordinal formats. - [EmojiTimeFormatter](https://github.com/thomaspaulmann/EmojiTimeFormatter) - Format your dates/times as emojis. - [Kronos](https://github.com/lyft/Kronos) - Elegant NTP date library in Swift. - [TrueTime](https://github.com/instacart/TrueTime.swift) - Get the true current time impervious to device clock time changes. - [10Clock](https://github.com/joedaniels29/10Clock) - This Control is a beautiful time-of-day picker heavily inspired by the iOS 10 "Bedtime" timer. - [NSDate-TimeAgo](https://github.com/kevinlawler/NSDate-TimeAgo) - A "time ago", "time since", "relative date", or "fuzzy date" category for NSDate and iOS, Objective-C, Cocoa Touch, iPhone, iPad. - [AnyDate](https://github.com/Kawoou/AnyDate) - Swifty Date & Time API inspired from Java 8 DateTime API. - [TimeZonePicker](https://github.com/gligorkot/TimeZonePicker) - A TimeZonePicker UIViewController similar to the iOS Settings app. - [Time](https://github.com/dreymonde/Time) - Type-safe time calculations in Swift, powered by generics. - [Chronology](https://github.com/davedelong/Chronology) - Building a better date/time library. - [Solar](https://github.com/ceeK/Solar) - A Swift micro library for generating Sunrise and Sunset times. - [TimePicker](https://github.com/Endore8/TimePicker) - Configurable time picker component based on a pan gesture and its velocity. - [LFTimePicker](https://github.com/awesome-labs/LFTimePicker) - Custom Time Picker ViewController with Selection of start and end times in Swift. - [NVDate](https://github.com/novalagung/nvdate) - Swift4 Date extension library. - [Schedule](https://github.com/luoxiu/Schedule) - ⏳ A missing lightweight task scheduler for Swift with an incredibly human-friendly syntax. ## Debugging *Debugging tools, crash reports, logs and console UI's.* - [Xniffer](https://github.com/xmartlabs/Xniffer) - A swift network profiler built on top of URLSession. - [Netfox](https://github.com/kasketis/netfox) - A lightweight, one line setup, iOS / macOS network debugging library! - [PonyDebugger](https://github.com/square/PonyDebugger) - Remote network and data debugging for your native iOS app using Chrome Developer Tools. - [DBDebugToolkit](https://github.com/dbukowski/DBDebugToolkit) - Set of easy to use debugging tools for iOS developers & QA engineers. - [Flex](https://github.com/Flipboard/FLEX) - An in-app debugging and exploration tool for iOS. - [chisel](https://github.com/facebook/chisel) - Collection of LLDB commands to assist debugging iOS apps. - [Alpha](https://github.com/Legoless/Alpha) - Next generation debugging framework for iOS. - [AEConsole](https://github.com/tadija/AEConsole) - Customizable Console UI overlay with debug log on top of your iOS App. - [GodEye](https://github.com/zixun/GodEye) - Automatically display Log,Crash,Network,ANR,Leak,CPU,RAM,FPS,NetFlow,Folder and etc with one line of code based on Swift. - [NetworkEye](https://github.com/coderyi/NetworkEye) - a iOS network debug library, It can monitor HTTP requests within the App and displays information related to the request. - [Dotzu](https://github.com/remirobert/Dotzu) - iOS app debugger while using the app. Crash report, logs, network. - [Hyperion](https://github.com/willowtreeapps/Hyperion-iOS) - In-app design review tool to inspect measurements, attributes, and animations. - [Httper-iOS](https://github.com/MuShare/Httper-iOS) - App for developers to test REST API. - [Droar](https://github.com/myriadmobile/Droar) - Droar is a modular, single-line installation debugging window. - [Wormholy](https://github.com/pmusolino/Wormholy) - iOS network debugging, like a wizard. - [AppSpector](https://appspector.com) - Remote iOS and Android debugging and data collection service. You can debug networking, logs, CoreData, SQLite, NSNotificationCenter and mock device's geo location. - [Woodpecker](http://www.woodpeck.cn) - View sandbox files, UserDefaults, network request from Mac. - [LayoutInspector](https://github.com/isavynskyi/LayoutInspector) - Debug app layouts directly on iOS device: inspect layers in 3D and debug each visible view attributes. - [MTHawkeye](https://github.com/meitu/MTHawkeye) - Profiling / Debugging assist tools for iOS, include tools: UITimeProfiler, Memory Allocations, Living ObjC Objects Sniffer, Network Transaction Waterfall, etc. - [Playbook](https://github.com/playbook-ui/playbook-ios) - A library for isolated developing UI components and automatically snapshots of them. - [DoraemonKit](https://github.com/didi/DoraemonKit) - A full-featured iOS App development assistant,30+ tools included. You deserve it. - [Atlantis](https://github.com/ProxymanApp/atlantis) - A little and powerful iOS framework for intercepting HTTP/HTTPS Traffic from your iOS app. No more messing around with proxy and certificate config. Inspect Traffic Log with Proxyman app. - [NetShears](https://github.com/divar-ir/NetShears.git) - Allows developers to intercept and monitor HTTP/HTTPS requests and responses. It also could be configured to show gRPC calls. - [Scyther](https://github.com/bstillitano/Scyther) - A full-featured, in-app debugging menu packed full of useful tools including network logging, layout inspection, location spoofing, console logging and so much more. ## EventBus *Promises and Futures libraries to help you write better async code in Swift.* - [SwiftEventBus](https://github.com/cesarferreira/SwiftEventBus) - A publish/subscribe event bus optimized for iOS. - [PromiseKit](https://github.com/mxcl/PromiseKit) - Promises for iOS and macOS. - [Bolts](https://github.com/BoltsFramework/Bolts-ObjC) - Bolts is a collection of low-level libraries designed to make developing mobile apps easier, including tasks (promises) and app links (deep links). - [SwiftTask](https://github.com/ReactKit/SwiftTask) - Promise + progress + pause + cancel + retry for Swift. - [When](https://github.com/vadymmarkov/When) - A lightweight implementation of Promises in Swift. - [then🎬](https://github.com/freshOS/then) - Elegant Async code in Swift. - [Bolts-Swift](https://github.com/BoltsFramework/Bolts-Swift) - Bolts is a collection of low-level libraries designed to make developing mobile apps easier. - [RWPromiseKit](https://github.com/deput/RWPromiseKit) - A light-weighted Promise library for Objective-C. - [FutureLib](https://github.com/couchdeveloper/FutureLib) - FutureLib is a pure Swift 2 library implementing Futures & Promises inspired by Scala. - [SwiftNotificationCenter](https://github.com/100mango/SwiftNotificationCenter) - A Protocol-Oriented NotificationCenter which is type safe, thread safe and with memory safety. - [FutureKit](https://github.com/FutureKit/FutureKit) - A Swift based Future/Promises Library for iOS and macOS. - [signals-ios](https://github.com/uber/signals-ios) - Typeful eventing. - [BrightFutures](https://github.com/Thomvis/BrightFutures) - Write great asynchronous code in Swift using futures and promises. - [NoticeObserveKit](https://github.com/marty-suzuki/NoticeObserveKit) - NoticeObserveKit is type-safe NotificationCenter wrapper that associates notice type with info type. - [Hydra](https://github.com/malcommac/Hydra) - Promises & Await - Write better async code in Swift. - [Promis](https://github.com/albertodebortoli/Promis) - The easiest Future and Promises framework in Swift. No magic. No boilerplate. - [Bluebird.swift](https://github.com/AndrewBarba/Bluebird.swift) - Promise/A+, Bluebird inspired, implementation in Swift 4. - [Promise](https://github.com/khanlou/Promise) - A Promise library for Swift, based partially on Javascript's A+ spec. - [promises](https://github.com/google/promises) - Google provides a synchronization construct for Objective-C and Swift to facilitate writing asynchronous code. - [Continuum](https://github.com/marty-suzuki/Continuum) - NotificationCenter based Lightweight UI / AnyObject binder. - [Futures](https://github.com/formbound/Futures) - Lightweight promises for iOS, macOS, tvOS, watchOS, and server-side Swift. - [EasyFutures](https://github.com/DimaMishchenko/EasyFutures) - 🔗 Swift Futures & Promises. Easy to use. Highly combinable. - [TopicEventBus](https://github.com/mcmatan/topicEventBus) - Publish–subscribe design pattern implementation framework, with ability to publish events by topic. (NotificationCenter extended alternative). ## Files *File management, file browser, zip handling and file observers.* - [FileKit](https://github.com/nvzqz/FileKit) - Simple and expressive file management in Swift. - [Zip](https://github.com/marmelroy/Zip) - Swift framework for zipping and unzipping files. - [FileBrowser](https://github.com/marmelroy/FileBrowser) - Powerful Swift file browser for iOS. - [Ares](https://github.com/indragiek/Ares) - Zero-setup P2P file transfer between Macs and iOS devices. - [FileProvider](https://github.com/amosavian/FileProvider) - FileManager replacement for Local, iCloud and Remote (WebDAV/FTP/Dropbox/OneDrive/SMB2) files on iOS/tvOS and macOS. - [KZFileWatchers](https://github.com/krzysztofzablocki/KZFileWatchers) - A micro-framework for observing file changes, both local and remote. Helpful in building developer tools. - [ZipArchive](https://github.com/ZipArchive/ZipArchive) - ZipArchive is a simple utility class for zipping and unzipping files on iOS and Mac. - [FileExplorer](https://github.com/Augustyniak/FileExplorer) - Powerful file browser for iOS that allows its users to choose and remove files and/or directories. - [ZIPFoundation](https://github.com/weichsel/ZIPFoundation) - Effortless ZIP Handling in Swift. - [AppFolder](https://github.com/dreymonde/AppFolder) - AppFolder is a lightweight framework that lets you design a friendly, strongly-typed representation of a directories inside your app's container. - [ZipZap](https://github.com/pixelglow/ZipZap) - zip file I/O library for iOS, macOS and tvOS. - [AMSMB2](https://github.com/amosavian/AMSMB2) - Swift framework to connect SMB 2/3 shares for iOS. ## Functional Programming *Collection of Swift functional programming tools.* - [Forbind](https://github.com/ulrikdamm/Forbind) - Functional chaining and promises in Swift. - [Funky](https://github.com/brynbellomy/Funky) - Functional programming tools and experiments in Swift. - [LlamaKit](https://github.com/LlamaKit/LlamaKit) - Collection of must-have functional Swift tools. - [Oriole](https://github.com/tptee/Oriole) - A functional utility belt implemented as Swift protocol extensions. - [Prelude](https://github.com/robrix/Prelude) - Swift µframework of simple functional programming tools. - [Swiftx](https://github.com/typelift/Swiftx) - Functional data types and functions for any project. - [Swiftz](https://github.com/typelift/Swiftz) - Functional programming in Swift. - [OptionalExtensions](https://github.com/RuiAAPeres/OptionalExtensions) - Swift µframework with extensions for the Optional Type. - [Argo](https://github.com/thoughtbot/Argo) - Functional JSON parsing library for Swift. - [Runes](https://github.com/thoughtbot/Runes) - Infix operators for monadic functions in Swift. - [Bow](https://github.com/bow-swift/bow) - Typed Functional Programming companion library for Swift. ## Games - [AssetImportKit](https://github.com/eugenebokhan/AssetImportKit) - Swifty cross platform library (macOS, iOS) that converts Assimp supported models to SceneKit scenes. - [CollectionNode](https://github.com/bwide/CollectionNode) - A swift framework for a collectionView in SpriteKit. - [glide engine](https://github.com/cocoatoucher/Glide) - SpriteKit and GameplayKit based engine for making 2d games, with practical examples and tutorials. - [Lichess mobile](https://github.com/lichess-org/lichobile) - A mobile client for lichess.org. - [Sage](https://github.com/nvzqz/Sage) - A cross-platform chess library for Swift. - [ShogibanKit](https://github.com/codelynx/ShogibanKit) - ShogibanKit is a framework for implementing complex Japanese Chess (Shogii) in Swift. No UI, nor AI. - [SKTiled](https://github.com/mfessenden/SKTiled) - Swift framework for working with Tiled assets in SpriteKit. - [SwiftFortuneWheel](https://github.com/sh-khashimov/SwiftFortuneWheel) - A cross-platform framework for games like a Wheel of Fortune. ## GCD *Grand Central Dispatch syntax sugars, tools and timers.* - [GCDKit](https://github.com/JohnEstropia/GCDKit) - Grand Central Dispatch simplified with Swift. - [Async](https://github.com/duemunk/Async) - Syntactic sugar in Swift for asynchronous dispatches in Grand Central Dispatch. - [SwiftSafe](https://github.com/nodes-ios/SwiftSafe) - Thread synchronization made easy. - [YYDispatchQueuePool](https://github.com/ibireme/YYDispatchQueuePool) - iOS utility class to manage global dispatch queue. - [AlecrimAsyncKit](https://github.com/Alecrim/AlecrimAsyncKit) - Bringing async and await to Swift world with some flavouring. - [GrandSugarDispatch](https://github.com/jessesquires/GrandSugarDispatch) - Syntactic sugar for Grand Central Dispatch (GCD). - [Threader](https://github.com/mitchtreece/Threader) - Pretty GCD calls and easier code execution. - [Dispatch](https://github.com/JARMourato/Dispatch) - Just a tiny library to make using GCD easier and intuitive. - [GCDTimer](https://github.com/hemantasapkota/GCDTimer) - Well tested Grand Central Dispatch (GCD) Timer in Swift. - [Chronos-Swift](https://github.com/comyar/Chronos-Swift) - Grand Central Dispatch Utilities. - [Me](https://github.com/pascalbros/Me) - A super slim solution to the nested asynchronous computations. - [SwiftyTask](https://github.com/Albinzr/SwiftyTask) - An extreme queuing system with high performance for managing all task in app with closure. ## Gesture *Libraries and tools to handle gestures.* - [Tactile](https://github.com/delba/Tactile) - A better way to handle gestures on iOS. - [SwiftyGestureRecognition](https://github.com/b3ll/SwiftyGestureRecognition) - Aids with prototyping UIGestureRecognizers in Xcode Playgrounds. - [DBPathRecognizer](https://github.com/didierbrun/DBPathRecognizer) - Gesture recognizer tool. - [Sensitive](https://github.com/hellowizman/Sensitive) - Special way to work with gestures in iOS. - [SplitViewDragAndDrop](https://github.com/MarioIannotta/SplitViewDragAndDrop) - Easily add drag and drop to pass data between your apps in split view mode. - [FDFullscreenPopGesture](https://github.com/forkingdog/FDFullscreenPopGesture) - An UINavigationController's category to enable fullscreen pop gesture in an iOS7+ system style with AOP. ## Graphics *CoreGraphics, CoreAnimation, SVG, CGContext libraries, helpers and tools.* - [Graphicz](https://github.com/SwiftKitz/Graphicz) - Light-weight, operator-overloading-free complements to CoreGraphics! - [PKCoreTechniques](https://github.com/pkluz/PKCoreTechniques) - The code for my CoreGraphics+CoreAnimation talk, held during the 2012 iOS Game Design Seminar at the Technical University Munich. - [MPWDrawingContext](https://github.com/mpw/MPWDrawingContext) - An Objective-C wrapper for CoreGraphics CGContext. - [DePict](https://github.com/davidcairns/DePict) - A simple, declarative, functional drawing framework, in Swift! - [SwiftSVG](https://github.com/mchoe/SwiftSVG) - A single pass SVG parser with multiple interface options (String, NS/UIBezierPath, CAShapeLayer, and NS/UIView). - [InkKit](https://github.com/shaps80/InkKit) - Write-Once, Draw-Everywhere for iOS and macOS. - [YYAsyncLayer](https://github.com/ibireme/YYAsyncLayer) - iOS utility classes for asynchronous rendering and display. - [NXDrawKit](https://github.com/Nicejinux/NXDrawKit) - NXDrawKit is a simple and easy but useful drawing kit for iPhone. - [jot](https://github.com/IFTTT/jot) - An iOS framework for easily adding drawings and text to images. - [SVGKit](https://github.com/SVGKit/SVGKit) - Display and interact with SVG Images on iOS / macOS, using native rendering (CoreAnimation) (currently only supported for iOS - macOS code needs updating). - [Snowflake](https://github.com/onmyway133/Snowflake) - SVG in Swift. - [HxSTLParser](https://github.com/victorgama/HxSTLParser) - Basic STL loader for SceneKit. - [ProcessingKit](https://github.com/natmark/ProcessingKit) - Visual designing library for iOS & OSX. - [EZYGradientView](https://github.com/shashankpali/EZYGradientView) - Create gradients and blur gradients without a single line of code. - [AEConicalGradient](https://github.com/tadija/AEConicalGradient) - Conical (angular) gradient layer written in Swift. - [MKGradientView](https://github.com/maxkonovalov/MKGradientView) - Core Graphics based gradient view capable of producing Linear (Axial), Radial (Circular), Conical (Angular), Bilinear (Four Point) gradients, written in Swift. - [EPShapes](https://github.com/ipraba/EPShapes) - Design shapes in Interface Builder. - [Macaw](https://github.com/exyte/macaw) - Powerful and easy-to-use vector graphics library with SVG support written in Swift. - [BlockiesSwift](https://github.com/Boilertalk/BlockiesSwift) - Unique blocky identicons/profile picture generator. - [Rough](https://github.com/bakhtiyork/Rough) - lets you draw in a sketchy, hand-drawn-like, style. - [GraphLayout](https://github.com/bakhtiyork/GraphLayout) - UI controls for graph visualization. It is powered by Graphviz. - [Drawsana](https://github.com/Asana/Drawsana) - iOS framework for building raster drawing and image markup views. - [AnimatedGradientView](https://github.com/rwbutler/AnimatedGradientView) - A simple framework to add animated gradients to your iOS app. ## Hardware ### Bluetooth *Libraries to deal with nearby devices, BLE tools and MultipeerConnectivity wrappers.* - [Discovery](https://github.com/omergul/Discovery) - A very simple library to discover and retrieve data from nearby devices (even if the peer app works at background). - [LGBluetooth](https://github.com/LGBluetooth/LGBluetooth) - Simple, block-based, lightweight library over CoreBluetooth. Will clean up your Core Bluetooth related code. - [PeerKit](https://github.com/jpsim/PeerKit) An open-source Swift framework for building event-driven, zero-config Multipeer Connectivity apps. - [BluetoothKit](https://github.com/rhummelmose/BluetoothKit) - Easily communicate between iOS/macOS devices using BLE. - [Bluetonium](https://github.com/e-sites/Bluetonium) - Bluetooth mapping in Swift. - [BlueCap](https://github.com/troystribling/BlueCap) - iOS Bluetooth LE framework. - [Apple Family](https://github.com/kirankunigiri/Apple-Family) - Quickly connect Apple devices together with Bluetooth, wifi, and USB. - [Bleu](https://github.com/1amageek/Bleu) - BLE (Bluetooth LE) for U. - [Bluejay](https://github.com/steamclock/bluejay) - A simple Swift framework for building reliable Bluetooth LE apps. - [BabyBluetooth](https://github.com/coolnameismy/BabyBluetooth) - The easiest way to use Bluetooth (BLE) in iOS/MacOS. - [ExtendaBLE](https://github.com/AntonTheDev/ExtendaBLE) - Simple Blocks-Based BLE Client for iOS/tvOS/watchOS/OSX/Android. Quickly configuration for centrals/peripherals, perform packet based read/write operations, and callbacks for characteristic updates. - [PeerConnectivity](https://github.com/rchatham/PeerConnectivity) - Functional wrapper for Apple's MultipeerConnectivity framework. - [AZPeerToPeerConnection](https://github.com/AfrozZaheer/AZPeerToPeerConnection) - AZPeerToPeerConnectivity is a wrapper on top of Apple iOS Multipeer Connectivity framework. It provides an easier way to create and manage sessions. Easy to integrate. - [MultiPeer](https://github.com/dingwilson/MultiPeer) - Multipeer is a wrapper for Apple's MultipeerConnectivity framework for offline data transmission between Apple devices. It makes easy to automatically connect to multiple nearby devices and share information using either bluetooth or wifi. - [BerkananSDK](https://github.com/zssz/BerkananSDK) - Mesh messaging SDK with the goal to create a decentralized mesh network for the people, powered by their device's Bluetooth antenna. ### Camera *Mocks, ImagePickers, and multiple options of customizable camera implementation* - [TGCameraViewController](https://github.com/tdginternet/TGCameraViewController) - Custom camera with AVFoundation. Beautiful, light and easy to integrate with iOS projects. - [PBJVision](https://github.com/piemonte/PBJVision) - iOS camera engine, features touch-to-record video, slow motion video, and photo capture. - [Cool-iOS-Camera](https://github.com/GabrielAlva/Cool-iOS-Camera) - A fully customisable and modern camera implementation for iOS made with AVFoundation. - [SCRecorder](https://github.com/rFlex/SCRecorder) - Camera engine with Vine-like tap to record, animatable filters, slow motion, segments editing. - [ALCameraViewController](https://github.com/AlexLittlejohn/ALCameraViewController) - A camera view controller with custom image picker and image cropping. Written in Swift. - [CameraManager](https://github.com/imaginary-cloud/CameraManager) - Simple Swift class to provide all the configurations you need to create custom camera view in your app. - [RSBarcodes_Swift](https://github.com/yeahdongcn/RSBarcodes_Swift) - 1D and 2D barcodes reader and generators for iOS 8 with delightful controls. Now Swift. - [LLSimpleCamera](https://github.com/omergul/LLSimpleCamera) - A simple, customizable camera control - video recorder for iOS. - [Fusuma](https://github.com/ytakzk/Fusuma) - Instagram-like photo browser and a camera feature with a few line of code in Swift. - [BarcodeScanner](https://github.com/hyperoslo/BarcodeScanner) - Simple and beautiful barcode scanner. - [HorizonSDK-iOS](https://github.com/HorizonCamera/HorizonSDK-iOS) - State of the art real-time video recording / photo shooting iOS library. - [FastttCamera](https://github.com/IFTTT/FastttCamera) - Fasttt and easy camera framework for iOS with customizable filters. - [DKCamera](https://github.com/zhangao0086/DKCamera) - A lightweight & simple camera framework for iOS. Written in Swift. - [NextLevel](https://github.com/NextLevel/NextLevel) - Next Level is a media capture camera library for iOS. - [CameraEngine](https://github.com/remirobert/CameraEngine) - Camera engine for iOS, written in Swift, above AVFoundation. - [SwiftyCam](https://github.com/Awalz/SwiftyCam) - A Snapchat Inspired iOS Camera Framework written in Swift. - [CameraBackground](https://github.com/yonat/CameraBackground) - Show camera layer as a background to any UIView. - [Lumina](https://github.com/dokun1/Lumina) - Full service camera that takes photos, videos, streams frames, detects metadata, and streams CoreML predictions. - [RAImagePicker](https://github.com/rallahaseh/RAImagePicker) - RAImagePicker is a protocol-oriented framework that provides custom features from the built-in Image Picker Edit. - [FDTake](https://github.com/fulldecent/FDTake) - Easily take a photo or video or choose from library. - [YPImagePicker](https://github.com/Yummypets/YPImagePicker) - Instagram-like image picker & filters for iOS. - [MockImagePicker](https://github.com/yonat/MockImagePicker) - Mock UIImagePickerController for testing camera based UI in simulator. - [iOS-Depth-Sampler](https://github.com/shu223/iOS-Depth-Sampler) - A collection of code examples for Depth APIs. - [TakeASelfie](https://github.com/abdullahselek/TakeASelfie) - An iOS framework that uses the front camera, detects your face and takes a selfie. - [HybridCamera](https://github.com/eonist/HybridCamera) - Video and photo camera for iOS, similar to the SnapChat camera. - [CameraKit-iOS](https://github.com/CameraKit/camerakit-ios) - Massively increase camera performance and ease of use in your next iOS project. - [ExyteMediaPicker](https://github.com/exyte/mediapicker) - Customizable media picker ### Force Touch *Quick actions and peek and pop interactions* - [QuickActions](https://github.com/ricardopereira/QuickActions) - Swift wrapper for iOS Home Screen Quick Actions (App Icon Shortcuts). - [JustPeek](https://github.com/justeat/JustPeek) - JustPeek is an iOS Library that adds support for Force Touch-like Peek and Pop interactions on devices that do not natively support this kind of interaction. - [PeekView](https://github.com/itsmeichigo/PeekView) - PeekView supports peek, pop and preview actions for iOS devices without 3D Touch capibility. ### iBeacon *Device detect libraries and iBeacon helpers* - [Proxitee](https://github.com/Proxitee/iOS-SDK) - Allows developers to create proximity aware applications utilizing iBeacons & geo fences. - [OWUProximityManager](https://github.com/ohayon/OWUProximityManager) - iBeacons + CoreBluetooth. - [Vicinity](https://github.com/Instrument/Vicinity) - Vicinity replicates iBeacons (by analyzing RSSI) and supports broadcasting and detecting low-energy Bluetooth devices in the background. - [BeaconEmitter](https://github.com/lgaches/BeaconEmitter) - Turn your Mac as an iBeacon. - [MOCA Proximity](https://www.mocaplatform.com/features) - Paid proximity marketing platform that lets you add amazing proximity experiences to your app. - [JMCBeaconManager](https://github.com/izotx/JMCBeaconManager) - An iBeacon Manager class that is responsible for detecting beacons nearby. ### Location *Location monitoring, detect motion and geofencing libraries* - [AsyncLocationKit](https://github.com/AsyncSwift/AsyncLocationKit) - Wrapper for Apple CoreLocation framework with Modern Concurrency Swift (async/await). - [IngeoSDK](https://github.com/IngeoSDK/ingeo-ios-sdk) - Always-On Location monitoring framework for iOS. - [LocationManager](https://github.com/intuit/LocationManager) - Provides a block-based asynchronous API to request the current location, either once or continuously. - [SwiftLocation](https://github.com/malcommac/SwiftLocation) - Location & Beacon Monitoring in Swift. - [SOMotionDetector](https://github.com/arturdev/SOMotionDetector) - Simple library to detect motion. Based on location updates and acceleration. - [LocationPicker](https://github.com/ZhuoranTan/LocationPicker) - A ready for use and fully customizable location picker for your app. - [BBLocationManager](https://github.com/benzamin/BBLocationManager) - A Location Manager for easily implementing location services & geofencing in iOS. - [set-simulator-location](https://github.com/lyft/set-simulator-location) - CLI for setting location in the iOS simulator. - [NominatimKit](https://github.com/caloon/NominatimKit) - A Swift wrapper for (reverse) geocoding of OpenStreetMap data. ### Other Hardware - [MotionKit](https://github.com/MHaroonBaig/MotionKit) - Get the data from Accelerometer, Gyroscope and Magnetometer in only Two or a few lines of code. CoreMotion now made insanely simple. - [DarkLightning](https://github.com/jensmeder/DarkLightning) - Simply the fastest way to transmit data between iOS/tvOS and macOS. - [Deviice](https://github.com/andrealufino/Deviice) - Simply library to detect the device on which the app is running (and some properties). - [DeviceKit](https://github.com/devicekit/DeviceKit) - DeviceKit is a value-type replacement of UIDevice. - [Luminous](https://github.com/andrealufino/Luminous) - Luminous is a big framework which can give you a lot of information (more than 50) about the current system. - [Device](https://github.com/Ekhoo/Device) - Light weight tool for detecting the current device and screen size written in swift. - [WatchShaker](https://github.com/ezefranca/WatchShaker) - WatchShaker is a watchOS helper to get your shake movement written in swift. - [WatchCon](https://github.com/abdullahselek/WatchCon) - WatchCon is a tool which enables creating easy connectivity between iOS and WatchOS. - [TapticEngine](https://github.com/WorldDownTown/TapticEngine) - TapticEngine generates iOS Device vibrations. - [UIDeviceComplete](https://github.com/Nirma/UIDeviceComplete) - UIDevice extensions that fill in the missing pieces. - [NFCNDEFParse](https://github.com/jvk75/NFCNDEFParse) - NFC Forum Well Known Type Data Parser for iOS11 and Core NFC. - [Device.swift](https://github.com/schickling/Device.swift) - Super-lightweight library to detect used device. - [SDVersion](https://github.com/sebyddd/SDVersion) - Lightweight Cocoa library for detecting the running device's model and screen size. - [Haptico](https://github.com/iSapozhnik/Haptico) - Easy to use haptic feedback generator with pattern-play support. - [NFCPassportReader](https://github.com/AndyQ/NFCPassportReader) - Swift library to read an NFC enabled passport. Supports BAC, Secure Messaging, and both active and passive authentication. Requires iOS 13 or above. ## Layout *Auto Layout, UI frameworks and a gorgeous list of tools to simplify layout constructions* - [Masonry](https://github.com/SnapKit/Masonry) - Harness the power of AutoLayout NSLayoutConstraints with a simplified, chainable and expressive syntax. - [FLKAutoLayout](https://github.com/floriankugler/FLKAutoLayout) - UIView category which makes it easy to create layout constraints in code. - [Façade](https://github.com/mamaral/Facade) - Programmatic view layout for the rest of us - an autolayout alternative. - [PureLayout](https://github.com/PureLayout/PureLayout) - The ultimate API for iOS & macOS Auto Layout — impressively simple, immensely powerful. Objective-C and Swift compatible. - [SnapKit](https://github.com/SnapKit/SnapKit) - A Swift Autolayout DSL for iOS & macOS. - [Cartography](https://github.com/robb/Cartography) - A declarative Auto Layout DSL for Swift. - [AutoLayoutPlus](https://github.com/ruipfcosta/AutoLayoutPlus) - A bit of steroids for AutoLayout. - [Neon](https://github.com/mamaral/Neon) - A powerful Swift programmatic UI layout framework. - [MisterFusion](https://github.com/marty-suzuki/MisterFusion) - A Swift DSL for AutoLayout. It is the extremely clear, but concise syntax, in addition, can be used in both Swift and Objective-C. - [SwiftBox](https://github.com/joshaber/SwiftBox) - Flexbox in Swift, using Facebook's css-layout. - [ManualLayout](https://github.com/isair/ManualLayout) - Easy to use and flexible library for manually laying out views and layers for iOS and tvOS. Supports AsyncDisplayKit. - [Stevia](https://github.com/freshOS/Stevia) - Elegant view layout for iOS. - [Manuscript](https://github.com/floriankrueger/Manuscript) - AutoLayoutKit in pure Swift. - [FDTemplateLayoutCell](https://github.com/forkingdog/UITableView-FDTemplateLayoutCell) - Template auto layout cell for automatically UITableViewCell height calculating. - [SwiftAutoLayout](https://github.com/indragiek/SwiftAutoLayout) - Tiny Swift DSL for Autolayout. - [FormationLayout](https://github.com/evan-liu/FormationLayout) - Work with auto layout and size classes easily. - [SwiftyLayout](https://github.com/fhisa/SwiftyLayout) - Lightweight declarative auto-layout framework for Swift. - [Swiftstraints](https://github.com/Skyvive/Swiftstraints) - Auto Layout In Swift Made Easy. - [SwiftBond](https://github.com/DeclarativeHub/Bond) - Bond is a Swift binding framework that takes binding concepts to a whole new level. It's simple, powerful, type-safe and multi-paradigm. - [Restraint](https://github.com/puffinsupply/Restraint) - Minimal Auto Layout in Swift. - [EasyPeasy](https://github.com/nakiostudio/EasyPeasy) - Auto Layout made easy. - [Auto Layout Magic](http://akordadev.github.io/AutoLayoutMagic/) - Build 1 scene, let Auto Layout Magic generate the constraints for you! Scenes look great across all devices! - [Anchorman](https://github.com/mergesort/Anchorman) - An autolayout library for the damn fine citizens of San Diego. - [LayoutKit](https://github.com/linkedin/LayoutKit) - LayoutKit is a fast view layout library for iOS. - [Relayout](https://github.com/stevestreza/Relayout) - Swift microframework for declaring Auto Layout constraints functionally. - [Anchorage](https://github.com/Rightpoint/Anchorage) - A collection of operators and utilities that simplify iOS layout code. - [Compose](https://github.com/grupozap/Compose) - Compose is a library that helps you compose complex and dynamic views. - [BrickKit](https://github.com/wayfair/brickkit-ios) - With BrickKit, you can create complex and responsive layouts in a simple way. It's easy to use and easy to extend. Create your own reusable bricks and behaviors. - [Framezilla](https://github.com/Otbivnoe/Framezilla) - Elegant library which wraps working with frames with a nice chaining syntax. - [TinyConstraints](https://github.com/roberthein/TinyConstraints) - The syntactic sugar that makes Auto Layout sweeter for human use. - [MyLinearLayout](https://github.com/youngsoft/MyLinearLayout) - MyLayout is a powerful iOS UI framework implemented by Objective-C. It integrates the functions with Android Layout,iOS AutoLayout,SizeClass, HTML CSS float and flexbox and bootstrap. - [SugarAnchor](https://github.com/ashikahmad/SugarAnchor) - Same native NSLayoutAnchor & NSLayoutConstraints; but with more natural and easy to read syntactic sugar. Typesafe, concise & readable. - [EasyAnchor](https://github.com/onmyway133/EasyAnchor) - Declarative, extensible, powerful Auto Layout. - [PinLayout](https://github.com/layoutBox/PinLayout) - Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. - [SnapLayout](https://github.com/sp71/SnapLayout) - Concise Auto Layout API to chain programmatic constraints while easily updating existing constraints. - [Cupcake](https://github.com/nerdycat/Cupcake) - An easy way to create and layout UI components for iOS. - [MiniLayout](https://github.com/yonat/MiniLayout) - Minimal AutoLayout convenience layer. Program constraints succinctly. - [Bamboo](https://github.com/wordlessj/Bamboo) - Bamboo makes Auto Layout (and manual layout) elegant and concise. - [FlexLayout](https://github.com/layoutBox/FlexLayout) - FlexLayout gently wraps the highly optimized [facebook/yoga](https://github.com/facebook/yoga) flexbox implementation in a concise, intuitive & chainable syntax. - [Layout](https://github.com/nicklockwood/layout) - A declarative UI framework for iOS. - [CGLayout](https://github.com/k-o-d-e-n/CGLayout) - Powerful autolayout framework based on constraints, that can manage UIView(NSView), CALayer and not rendered views. Not Apple Autolayout wrapper. - [YogaKit](https://github.com/facebook/yoga/tree/master/YogaKit) - Powerful layout engine which implements Flexbox. - [FlightLayout](https://github.com/AntonTheDev/FlightLayout) - Balanced medium between manual layout and auto-layout. Great for calculating frames for complex animations. - [QLayout](https://github.com/josejuanqm/QLayout) - AutoLayout Utility for iOS. - [Layoutless](https://github.com/DeclarativeHub/Layoutless) - Minimalistic declarative layout and styling framework built on top of Auto Layout. - [Yalta](https://github.com/kean/Align) - An intuitive and powerful Auto Layout library. - [SuperLayout](https://github.com/lionheart/SuperLayout) - Simplify Auto Layout with super syntactic sugar. - [QuickLayout](https://github.com/huri000/QuickLayout) - QuickLayout offers a simple way, to easily manage Auto Layout in code. - [EEStackLayout](https://github.com/efekanegeli/EEStackLayout) - A structured vertical stack layout. - [RKAutoLayout](https://github.com/daskioff/RKAutoLayout) - Simple wrapper over AutoLayout. - [Grid](https://github.com/exyte/Grid) - The most powerful Grid container missed in SwiftUI. - [MondrianLayout](https://github.com/muukii/MondrianLayout) - A DSL based layout builder for AutoLayout. - [ScalingHeaderScrollView](https://github.com/exyte/ScalingHeaderScrollView.git) - A scroll view with a sticky header which shrinks as you scroll. Written with SwiftUI. ## Localization *Tools to manage strings files, translate and enable localization in your apps.* - [Hodor](https://github.com/Aufree/Hodor) - Simple solution to localize your iOS App. - [Swifternalization](https://github.com/tomkowz/Swifternalization) - Localize iOS apps in a smarter way using JSON files. Swift framework. - [Rubustrings](https://github.com/dcordero/Rubustrings) - Check the format and consistency of Localizable.strings files. - [BartyCrouch](https://github.com/Flinesoft/BartyCrouch) - Incrementally update/translate your Strings files from Code and Storyboards/XIBs. - [LocalizationKit](https://github.com/willpowell8/LocalizationKit_iOS) - Localization management in realtime from a web portal. Easily manage your texts and translations without redeploy and resubmission. - [Localize-Swift](https://github.com/marmelroy/Localize-Swift) - Swift 2.0 friendly localization and i18n with in-app language switching. - [LocalizedView](https://github.com/darkcl/LocalizedView) - Setting up application specific localized string within Xib file. - [transai](https://github.com/Jintin/transai) - command line tool help you manage localization string files. - [Strsync](https://github.com/metasmile/strsync) - Automatically translate and synchronize .strings files from base language. - [IBLocalizable](https://github.com/PiXeL16/IBLocalizable) - Localize your views directly in Interface Builder with IBLocalizable. - [nslocalizer](https://github.com/samdmarshall/nslocalizer) - A tool for finding missing and unused NSLocalizedStrings. - [L10n-swift](https://github.com/Decybel07/L10n-swift) - Localization of an application with ability to change language "on the fly" and support for plural forms in any language. - [Localize](https://github.com/andresilvagomez/Localize) - Easy tool to localize apps using JSON or Strings and of course IBDesignables with extensions for UI components. - [CrowdinSDK](https://github.com/crowdin/mobile-sdk-ios) - Crowdin iOS SDK delivers all new translations from Crowdin project to the application immediately. - [attranslate](https://github.com/fkirc/attranslate) - Semi-automatically translate or synchronize .strings files or crossplatform-files from different languages. - [Respresso Localization Converter](https://respresso.io/localization-converter) - Multiplatform localization converter for iOS (.strings + Objective-C getters), Android (strings.xml) and Web (.json). - [locheck](https://github.com/Asana/locheck) - Validate .strings, .stringsdict, and strings.xml files for correctness to avoid crashes and bad translations. ## Logging *Debugging lives here. Logging tools, frameworks, integrations and more.* - [CleanroomLogger](https://github.com/emaloney/CleanroomLogger) - A configurable and extensible Swift-based logging API that is simple, lightweight and performant. - [CocoaLumberjack](https://github.com/CocoaLumberjack/CocoaLumberjack) - A fast & simple, yet powerful & flexible logging framework for Mac and iOS. - [NSLogger](https://github.com/fpillet/NSLogger) - a high performance logging utility which displays traces emitted by client applications running on macOS, iOS and Android. - [QorumLogs](https://github.com/goktugyil/QorumLogs) — Swift Logging Utility for Xcode & Google Docs. - [Log](https://github.com/delba/Log) - A logging tool with built-in themes, formatters, and a nice API to define your owns. - [Rainbow](https://github.com/onevcat/Rainbow) - Delightful console output for Swift developers. - [SwiftyBeaver](https://github.com/SwiftyBeaver/SwiftyBeaver) - Convenient logging during development and release. - [SwiftyTextTable](https://github.com/scottrhoyt/SwiftyTextTable) - A lightweight tool for generating text tables. - [Watchdog](https://github.com/wojteklu/Watchdog) - Class for logging excessive blocking on the main thread. - [XCGLogger](https://github.com/DaveWoodCom/XCGLogger) - A debug log framework for use in Swift projects. Allows you to log details to the console (and optionally a file), just like you would have with NSLog or println, but with additional information, such as the date, function name, filename and line number. - [puree](https://github.com/cookpad/puree-ios) - A log collector for iOS. - [Colors](https://github.com/icodeforlove/Colors) - A pure Swift library for using ANSI codes. Basically makes command-line coloring and styling very easy! - [Loggerithm](https://github.com/honghaoz/Loggerithm) - A lightweight Swift logger, uses `print` in development and `NSLog` in production. Support colourful and formatted output. - [AELog](https://github.com/tadija/AELog) - Simple, lightweight and flexible debug logging framework written in Swift. - [ReflectedStringConvertible](https://github.com/mattcomi/ReflectedStringConvertible) - A protocol that allows any class to be printed as if it were a struct. - [Evergreen](https://github.com/nilsleiffischer/Evergreen) - Most natural Swift logging. - [SwiftTrace](https://github.com/johnno1962/SwiftTrace) - Trace Swift and Objective-C method invocations. - [Willow](https://github.com/Nike-Inc/Willow) - Willow is a powerful, yet lightweight logging library written in Swift. - [Bugfender](https://github.com/bugfender/BugfenderSDK-iOS) - Cloud storage for your app logs. Track user behaviour to find problems in your mobile apps. - [LxDBAnything](https://github.com/DeveloperLx/LxDBAnything) - Automate box any value! Print log without any format control symbol! Change debug habit thoroughly! - [XLTestLog](https://github.com/xareelee/XLTestLog) - Styling and coloring your XCTest logs on Xcode Console. - [XLFacility](https://github.com/swisspol/XLFacility) - Elegant and extensive logging facility for macOS & iOS (includes database, Telnet and HTTP servers). - [Atlantis](https://github.com/DrewKiino/Atlantis) - A powerful input-agnostic swift logging framework made to speed up development with maximum readability. - [StoryTeller](https://github.com/drekka/StoryTeller) - Taking a completely different approach to logging, Story Teller replacing fixed logging levels in It then uses dynamic expressions to control the logging so you only see what is important. - [LumberMill](https://github.com/ubclaunchpad/LumberMill) - Stupidly simple logging. - [TinyConsole](https://github.com/Cosmo/TinyConsole) - A tiny log console to display information while using your iOS app. - [Lighty](https://github.com/abdullahselek/Lighty) - Easy to use and lightweight logger for iOS, macOS, tvOS, watchOS and Linux. - [JustLog](https://github.com/justeat/JustLog) - Console, file and remote Logstash logging via TCP socket. - [Twitter Logging Service](https://github.com/twitter/ios-twitter-logging-service) - Twitter Logging Service is a robust and performant logging framework for iOS clients. - [Reqres](https://github.com/AckeeCZ/Reqres) - Network request and response body logger with Alamofire support. - [TraceLog](https://github.com/tonystone/tracelog) - Dead Simple: logging the way it's meant to be! Runs on ios, osx, and Linux. - [OkLog](https://github.com/diegotl/OkLog-Swift) - A network logger for iOS and macOS projects. - [Spy](https://github.com/appunite/Spy) - Lightweight, flexible, multiplatform (iOS, macOS, tvOS, watchOS, Linux) logging utility written in pure Swift that allows you to log on different levels and channels which you can define on your own depending on your needs. - [Diagnostics](https://github.com/WeTransfer/Diagnostics) - Allow users to easily share Diagnostics with your support team to improve the flow of fixing bugs. - [Gedatsu](https://github.com/bannzai/gedatsu) - Provide readable format about AutoLayout error console log. - [Pulse](https://github.com/kean/Pulse) - Pulse is a powerful logging system for Apple Platforms. Native. Built with SwiftUI. ## Machine Learning *A collection of ML Models, deep learning and neural networking libraries* - [Swift-Brain](https://github.com/vlall/Swift-Brain) - Artificial Intelligence/Machine Learning data structures and Swift algorithms for future iOS development. Bayes theorem, Neural Networks, and more AI. - [AIToolbox](https://github.com/KevinCoble/AIToolbox) - A toolbox of AI modules written in Swift: Graphs/Trees, Linear Regression, Support Vector Machines, Neural Networks, PCA, KMeans, Genetic Algorithms, MDP, Mixture of Gaussians. - [Tensorflow-iOS](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/ios) - The official Google-built powerful neural network library port for iOS. - [Bender](https://github.com/xmartlabs/Bender) - Easily craft fast Neural Networks. Use TensorFlow models. Metal under the hood. - [CoreML-samples](https://github.com/ytakzk/CoreML-samples) - Sample code for Core ML using ResNet50 provided by Apple and a custom model generated by coremltools. - [Revolver](https://github.com/petrmanek/Revolver) - A framework for building fast genetic algorithms in Swift. Comes with modular architecture, pre-implemented operators and loads of examples. - [CoreML-Models](https://github.com/likedan/Awesome-CoreML-Models) - A collection of unique Core ML Models. - [Serrano](https://github.com/pcpLiu/Serrano) - A deep learning library for iOS and macOS. - [Swift-AI](https://github.com/Swift-AI/Swift-AI) - The Swift machine learning library. - [TensorSwift](https://github.com/qoncept/TensorSwift) - A lightweight library to calculate tensors in Swift, which has similar APIs to TensorFlow's. - [DL4S](https://github.com/palle-k/DL4S) - Deep Learning for Swift: Accelerated tensor operations and dynamic neural networks based on reverse mode automatic differentiation for every device that can run Swift. - [SwiftCoreMLTools](https://github.com/JacopoMangiavacchi/SwiftCoreMLTools) - A Swift library for creating and exporting CoreML Models in Swift. ## Maps - [Mapbox GL](https://github.com/mapbox/mapbox-gl-native) - An OpenGL renderer for Mapbox Vector Tiles with SDK bindings for iOS. - [GEOSwift](https://github.com/GEOSwift/GEOSwift) - The Swift Geographic Engine. - [PXGoogleDirections](https://github.com/poulpix/PXGoogleDirections) - Google Directions API helper for iOS, written in Swift. - [Cluster](https://github.com/efremidze/Cluster) - Easy Map Annotation Clustering. - [JDSwiftHeatMap](https://github.com/jamesdouble/JDSwiftHeatMap) - JDSwiftMap is an IOS Native MapKit Library. You can easily make a highly customized HeatMap. - [ClusterKit](https://github.com/hulab/ClusterKit) - An iOS map clustering framework targeting MapKit, Google Maps and Mapbox. - [FlyoverKit](https://github.com/SvenTiigi/FlyoverKit) - FlyoverKit enables you to present stunning 360° flyover views on your MKMapView with zero effort while maintaining full configuration possibilities. - [MapViewPlus](https://github.com/okhanokbay/MapViewPlus) - Use any custom view as custom callout view of your MKMapView with cool animations. Also, easily use any image as annotation view. - [MSFlightMapView](https://github.com/mabdulsubhan/MSFlightMapView) - Add and animate geodesic flights on Google map. - [WhirlyGlobe-Maply](https://github.com/mousebird/WhirlyGlobe) - 3D globe and flat-map SDK for iOS. This toolkit has a large API for fine-grained control over the map or globe. It reads a wide variety of GIS data formats. ## Math *Math frameworks, functions and libraries to custom operations, statistical calculations and more.* - [Euler](https://github.com/mattt/Euler) - Swift Custom Operators for Mathematical Notation. - [SwiftMath](https://github.com/madbat/SwiftMath) - A math framework for Swift. Includes: vectors, matrices, complex numbers, quaternions and polynomials. - [Arithmosophi](https://github.com/phimage/Arithmosophi) - A set of protocols for Arithmetic and Logical operations. - [Surge](https://github.com/mattt/Surge) - A Swift library that uses the Accelerate framework to provide high-performance functions for matrix math, digital signal processing, and image manipulation. - [Upsurge](https://github.com/alejandro-isaza/Upsurge) - Swift math. - [Swift-MathEagle](https://github.com/rugheid/Swift-MathEagle) - A general math framework to make using math easy. Currently supports function solving and optimisation, matrix and vector algebra, complex numbers, big int and big frac and general handy extensions and functions. - [iosMath](https://github.com/kostub/iosMath) - A library for displaying beautifully rendered math equations. Enables typesetting LaTeX math formulae in iOS. - [BigInt](https://github.com/attaswift/BigInt) - Arbitrary-precision arithmetic in pure Swift. - [SigmaSwiftStatistics](https://github.com/evgenyneu/SigmaSwiftStatistics) - A collection of functions for statistical calculation. - [VectorMath](https://github.com/nicklockwood/VectorMath) - A Swift library for Mac and iOS that implements common 2D and 3D vector and matrix functions, useful for games or vector-based graphics. - [Expression](https://github.com/nicklockwood/Expression) - A Mac and iOS library for evaluating numeric expressions at runtime. - [Metron](https://github.com/toineheuvelmans/Metron) - Metron is a comprehensive collection of geometric functions and types that extend the 2D geometric primitives provided by CoreGraphics. - [NumericAnnex](https://github.com/xwu/NumericAnnex) - NumericAnnex supplements the numeric facilities provided in the Swift standard library. - [Matft](https://github.com/jjjkkkjjj/Matft) - Matft is Numpy-like library in Swift. Matft allows us to handle n-dimensional array easily in Swift. ## Media ### Audio - [AudioBus](https://developer.audiob.us/) - Add Next Generation Live App-to-App Audio Routing. - [AudioKit](https://github.com/audiokit/AudioKit) - A powerful toolkit for synthesizing, processing, and analyzing sounds. - [EZAudio](https://github.com/syedhali/EZAudio) - An iOS/macOS audio visualization framework built upon Core Audio useful for anyone doing real-time, low-latency audio processing and visualizations. - [novocaine](https://github.com/alexbw/novocaine) - Painless high-performance audio on iOS and macOS. - [QHSpeechSynthesizerQueue](https://github.com/quentinhayot/QHSpeechSynthesizerQueue) - Queue management system for AVSpeechSynthesizer (iOS Text to Speech). - [Cephalopod](https://github.com/evgenyneu/Cephalopod) - A sound fader for AVAudioPlayer written in Swift. - [Chirp](https://github.com/trifl/Chirp) - The easiest way to prepare, play, and remove sounds in your Swift app! - [Beethoven](https://github.com/vadymmarkov/Beethoven) - An audio processing Swift library for pitch detection of musical signals. - [AudioPlayerSwift]( https://github.com/tbaranes/AudioPlayerSwift) - AudioPlayer is a simple class for playing audio in iOS, macOS and tvOS apps. - [AudioPlayer](https://github.com/delannoyk/AudioPlayer) - AudioPlayer is syntax and feature sugar over AVPlayer. It plays your audio files (local & remote). - [TuningFork](https://github.com/comyar/TuningFork) - Simple Tuner for iOS. - [MusicKit](https://github.com/benzguo/MusicKit) - A framework for composing and transforming music in Swift. - [SubtleVolume](https://github.com/andreamazz/SubtleVolume) - Replace the system volume popup with a more subtle indicator. - [NVDSP](https://github.com/bartolsthoorn/NVDSP) - iOS/macOS DSP for audio (with Novocaine). - [SRGMediaPlayer-iOS](https://github.com/SRGSSR/SRGMediaPlayer-iOS) - The SRG Media Player library for iOS provides a simple way to add a universal audio / video player to any iOS application. - [IQAudioRecorderController](https://github.com/hackiftekhar/IQAudioRecorderController) - A drop-in universal library allows to record audio within the app with a nice User Interface. - [TheAmazingAudioEngine2](https://github.com/TheAmazingAudioEngine/TheAmazingAudioEngine2) - The Amazing Audio Engine is a sophisticated framework for iOS audio applications, built so you don't have to. - [InteractivePlayerView](https://github.com/AhmettKeskin/InteractivePlayerView) - Custom iOS music player view. - [ESTMusicIndicator](https://github.com/Aufree/ESTMusicIndicator) - Cool Animated music indicator view written in Swift. - [QuietModemKit](https://github.com/quiet/QuietModemKit) - iOS framework for the Quiet Modem (data over sound). - [SwiftySound](https://github.com/adamcichy/SwiftySound) - Super simple library that lets you play sounds with a single line of code (and much more). Written in Swift 3, supports iOS, macOS and tvOS. CocoaPods and Carthage compatible. - [BPMAnalyser](https://github.com/Luccifer/BPM-Analyser) - Fast and simple instrument to get the BPM rate from your audio-files. - [PandoraPlayer](https://github.com/AppliKeySolutions/PandoraPlayer) - A lightweight music player for iOS, based on AudioKit. - [SonogramView](https://github.com/Luccifer/SonogramView) - Audio visualisation of song. - [AudioIndicatorBars](https://github.com/LeonardoCardoso/AudioIndicatorBars) - AIB indicates for your app users which audio is playing. Just like the Podcasts app. - [Porcupine](https://github.com/Picovoice/Porcupine) - On-device wake word detection engine for macOS, iOS, and watchOS, powered by deep learning. - [Voice Overlay](https://github.com/algolia/voice-overlay-ios) - An overlay that gets your user’s voice permission and input as text in a customizable UI. - [ModernAVPlayer](https://github.com/noreasonprojects/ModernAVPlayer) - Persistence player to resume playback after bad network connection even in background mode, manage headphone interactions, system interruptions, now playing informations and remote commands. - [FDWaveformView](https://github.com/fulldecent/FDWaveformView) - An easy way to display an audio waveform in your app, including animation. - [FDSoundActivatedRecorder](https://github.com/fulldecent/FDSoundActivatedRecorder) - Start recording when the user speaks. ### GIF - [YLGIFImage](https://github.com/liyong03/YLGIFImage) - Async GIF image decoder and Image viewer supporting play GIF images. It just use very less memory. - [FLAnimatedImage](https://github.com/Flipboard/FLAnimatedImage) - Performant animated GIF engine for iOS. - [gifu](https://github.com/kaishin/gifu) - Highly performant animated GIF support for iOS in Swift. - [AnimatedGIFImageSerialization](https://github.com/mattt/AnimatedGIFImageSerialization) - Complete Animated GIF Support for iOS, with Functions, NSJSONSerialization-style Class, and (Optional) UIImage Swizzling - [XAnimatedImage](https://github.com/khaledmtaha/XAnimatedImage) - XAnimatedImage is a performant animated GIF engine for iOS written in Swift based on FLAnimatedImage - [SwiftGif](https://github.com/swiftgif/SwiftGif) - A small UIImage extension with gif support. - [APNGKit](https://github.com/onevcat/APNGKit) - High performance and delightful way to play with APNG format in iOS. - [YYImage](https://github.com/ibireme/YYImage) - Image framework for iOS to display/encode/decode animated WebP, APNG, GIF, and more. - [AImage](https://github.com/wangjwchn/AImage) - A animated GIF&APNG engine for iOS in Swift with low memory & cpu usage.Optimized for Multi-Image case. - [NSGIF2](https://github.com/metasmile/NSGIF2) - Simplify creation of a GIF from the provided video file url. - [SwiftyGif](https://github.com/kirualex/SwiftyGif) - High performance GIF engine. ### Image - [GPU Image](https://github.com/BradLarson/GPUImage) - An open source iOS framework for GPU-based image and video processing. - [UIImage DSP](https://github.com/gdawg/uiimage-dsp) - iOS UIImage processing functions using the vDSP/Accelerate framework for speed. - [AsyncImageView](https://github.com/nicklockwood/AsyncImageView) - Simple extension of UIImageView for loading and displaying images asynchronously without lock up the UI. - [SDWebImage](https://github.com/SDWebImage/SDWebImage) - Asynchronous image downloader with cache support with an UIImageView category. - [DFImageManager](https://github.com/kean/DFImageManager) - Modern framework for fetching images from various sources. Zero config yet immense customization and extensibility. Uses NSURLSession. - [MapleBacon](https://github.com/JanGorman/MapleBacon) - An image download and caching library for iOS written in Swift. - [NYTPhotoViewer](https://github.com/NYTimes/NYTPhotoViewer) - Slideshow and image viewer. - [IDMPhotoBrowser](https://github.com/thiagoperes/IDMPhotoBrowser) - Photo Browser / Viewer. - [Concorde](https://github.com/contentful-labs/Concorde/) - Download and decode progressive JPEGs. - [TOCropViewController](https://github.com/TimOliver/TOCropViewController) - A view controller that allows users to crop UIImage objects. - [YXTMotionView](https://github.com/hanton/YXTMotionView) - A custom image view that implements device motion scrolling. - [PINRemoteImage](https://github.com/pinterest/PINRemoteImage) - A thread safe, performant, feature rich image fetcher. - [SABlurImageView](https://github.com/marty-suzuki/SABlurImageView) - Easily Adding Animated Blur/Unblur Effects To An Image. - [FastImageCache](https://github.com/path/FastImageCache) - iOS library for quickly displaying images while scrolling. - [BKAsciiImage](https://github.com/bkoc/BKAsciiImage) - Convert UIImage to ASCII art. - [AlamofireImage](https://github.com/Alamofire/AlamofireImage) - An image component library for Alamofire. - [Nuke](https://github.com/kean/Nuke) - Image loading, processing, caching and preheating. - [FlagKit](https://github.com/madebybowtie/FlagKit) - Beautiful flag icons for usage in apps and on the web. - [YYWebImage](https://github.com/ibireme/YYWebImage) - Asynchronous image loading framework (supports WebP, APNG, GIF). - [RSKImageCropper](https://github.com/ruslanskorb/RSKImageCropper) - An image cropper for iOS like in the Contacts app with support for landscape orientation. - [Silo](https://github.com/josejuanqm/Silo) - Image loading framework with loaders. - [Ody](https://github.com/josejuanqm/Ody) - Ody is an easy to use random image generator built with Swift, Perfect for placeholders. - [Banana](https://github.com/gauravkatoch007/banana) - Image slider with very simple interface. - [JDSwiftAvatarProgress](https://github.com/JellyDevelopment/JDSwiftAvatarProgress) - Easy customizable avatar image asynchronously with progress bar animated. - [Kingfisher](https://github.com/onevcat/Kingfisher) - A lightweight and pure Swift implemented library for downloading and caching image from the web. - [EBPhotoPages](https://github.com/EddyBorja/EBPhotoPages) - A photo gallery for iOS with a modern feature set. Similar features as the Facebook photo browser. - [UIImageView-BetterFace-Swift](https://github.com/croath/UIImageView-BetterFace-Swift) - The Swift version of https://github.com/croath/UIImageView-BetterFace - [KFSwiftImageLoader](https://github.com/kiavashfaisali/KFSwiftImageLoader) - An extremely high-performance, lightweight, and energy-efficient pure Swift async web image loader with memory and disk caching for iOS and Apple Watch. - [Toucan](https://github.com/gavinbunney/Toucan) - Fabulous Image Processing in Swift. - [ImageLoaderSwift](https://github.com/hirohisa/ImageLoaderSwift) - A lightweight and fast image loader for iOS written in Swift. - [ImageScout](https://github.com/kaishin/ImageScout) - A Swift implementation of fastimage. Supports PNG, GIF, and JPEG. - [JLStickerTextView](https://github.com/Textcat/JLStickerTextView) - A UIImageView allow you to add multiple Label (multiple line text support) on it, you can edit, rotate, resize the Label as you want with one finger ,then render the text on Image. - [Agrume](https://github.com/JanGorman/Agrume) - A lemony fresh iOS image viewer written in Swift. - [PASImageView](https://github.com/abiaad/PASImageView) - Rounded async imageview downloader lightly cached and written in Swift. - [Navi](https://github.com/nixzhu/Navi) - Focus on avatar caching. - [SwiftPhotoGallery](https://github.com/justinvallely/SwiftPhotoGallery) - Simple, fullscreen image gallery with tap, swipe, and pinch gestures. - [MetalAcc](https://github.com/wangjwchn/MetalAcc) - GPU-based Media processing library using Metal written in Swift. - [MWPhotoBrowser](https://github.com/mwaterfall/MWPhotoBrowser) - A simple iOS photo and video browser with grid view, captions and selections. - [UIImageColors](https://github.com/jathu/UIImageColors) - iTunes style color fetcher for UIImage. - [CDFlipView](https://github.com/jibeex/CDFlipView) - A view that takes a set of images, make transition from one to another by using flipping effects. - [GPUImage2](https://github.com/BradLarson/GPUImage2) - GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing. - [TGLParallaxCarousel](https://github.com/taglia3/TGLParallaxCarousel) - A lightweight 3D Linear Carousel with parallax effect. - [ImageButter](https://github.com/dollarshaveclub/ImageButter) - Makes dealing with images buttery smooth. - [SKPhotoBrowser](https://github.com/suzuki-0000/SKPhotoBrowser) - Simple PhotoBrowser/Viewer inspired by Facebook, Twitter photo browsers written by swift. - [YUCIHighPassSkinSmoothing](https://github.com/YuAo/YUCIHighPassSkinSmoothing) - An implementation of High Pass Skin Smoothing using Apple's Core Image Framework. - [CLImageViewPopup](https://github.com/vinbhai4u/CLImageViewPopup/) - A simple Image full screen pop up. - [APKenBurnsView](https://github.com/Alterplay/APKenBurnsView) - Ken Burns effect with face recognition! - [Moa](https://github.com/evgenyneu/moa) - An image download extension of the image view for iOS, tvOS and macOS. - [JMCMarchingAnts](https://github.com/izotx/JMCMarchingAnts) - Library that lets you add marching ants (animated) selection to the edges of the images. - [ImageViewer](https://github.com/Krisiacik/ImageViewer) - An image viewer à la Twitter. - [FaceAware](https://github.com/BeauNouvelle/FaceAware) - An extension that gives UIImageView the ability to focus on faces within an image when using AspectFill. - [SwiftyAvatar](https://github.com/dkalaitzidis/SwiftyAvatar) - A UiimageView class for creating circular avatar images, IBDesignable to make all changes via storyboard. - [ShinpuruImage](https://github.com/FlexMonkey/ShinpuruImage) - Syntactic Sugar for Accelerate/vImage and Core Image Filters. - [ImagePickerSheetController](https://github.com/lbrndnr/ImagePickerSheetController) - ImagePickerSheetController is like the custom photo action sheet in iMessage just without the glitches. - [ComplimentaryGradientView](https://github.com/gkye/ComplimentaryGradientView) - Create complementary gradients generated from dominant and prominent colors in supplied image. Inspired by Grade.js. - [ImageSlideshow](https://github.com/zvonicek/ImageSlideshow) - Swift image slideshow with circular scrolling, timer and full screen viewer. - [Imaginary](https://github.com/hyperoslo/Imaginary) - Remote images, as easy as one, two, three. - [PPAssetsActionController](https://github.com/pantuspavel/PPAssetsActionController) - Highly customizable Action Sheet Controller with Assets Preview. - [Vulcan](https://github.com/jinSasaki/Vulcan) - Multi image downloader with priority in Swift. - [FacebookImagePicker](https://github.com/floriangbh/FacebookImagePicker) - Facebook album photo picker written in Swift. - [Lightbox](https://github.com/hyperoslo/Lightbox) - A convenient and easy to use image viewer for your iOS app. - [Ebblink](https://github.com/ebbapp/ebblinkSDK) - An iOS SDK for sharing photos that automatically expire and can be deleted at any time. - [Sharaku](https://github.com/makomori/Sharaku) - Instagram-like image filter ViewController. - [CTPanoramaView](https://github.com/scihant/CTPanoramaView) - Displays spherical or cylindrical panoramas or 360-photos with touch or motion based control options. - [Twitter Image Pipline](https://github.com/twitter/ios-twitter-image-pipeline) - streamlined framework for fetching and storing images in an application. - [TinyCrayon](https://github.com/TinyCrayon/TinyCrayon-iOS-SDK) - A smart and easy-to-use image masking and cutout SDK for mobile apps. - [FlexibleImage](https://github.com/kawoou/FlexibleImage) - A simple way to play with image! - [TLPhotoPicker](https://github.com/tilltue/TLPhotoPicker) - Multiple phassets picker for iOS lib. like a facebook. - [YapImageManager](https://github.com/yapstudios/YapImageManager) - A high-performance image downloader written in Swift, powered by YapDatabase. - [PhotoEditorSDK](https://photoeditorsdk.com/) - A fully customizable photo editor for your app. - [SimpleImageViewer](https://github.com/aFrogleap/SimpleImageViewer) - A snappy image viewer with zoom and interactive dismissal transition. - [AZImagePreview](https://github.com/Minitour/AZImagePreview) - A framework that makes image viewing easy. - [FaceCropper](https://github.com/KimDarren/FaceCropper) - Crop faces, inside of your image, with iOS 11 Vision api. - [Paparazzo](https://github.com/avito-tech/Paparazzo) - Custom iOS camera and photo picker with editing capabilities. - [ZImageCropper](https://github.com/ZaidPathan/ZImageCropper) - A Swift project to crop image in any shape. - [InitialsImageView](https://github.com/bachonk/InitialsImageView) - An UIImageView extension that generates letter initials as a placeholder for user profile images, with a randomized background color. - [DTPhotoViewerController](https://github.com/tungvoduc/DTPhotoViewerController) - A fully customizable photo viewer ViewController, inspired by Facebook photo viewer. - [LetterAvatarKit](https://github.com/vpeschenkov/LetterAvatarKit) - A UIImage extension that generates letter-based avatars written in Swift. - [AXPhotoViewer](https://github.com/alexhillc/AXPhotoViewer) - An iPhone/iPad photo gallery viewer, useful for viewing a large (or small!) number of photos - [TJProfileImage](https://github.com/tejas-ardeshna/TJProfileImage) - Live rendering of componet’s properties in Interface Builder. - [Viewer](https://github.com/3lvis/Viewer) - Image viewer (or Lightbox) with support for local and remote videos and images. - [OverlayComposite](https://github.com/aaronjsutton/OverlayComposite) - An asynchronous, multithreaded, image compositing framework written in Swift. - [MCScratchImageView](https://github.com/Minecodecraft/MCScratchImageView) - A custom ImageView that is used to cover the surface of other view like a scratch card, user can swipe the mulch to see the view below. - [MetalPetal](https://github.com/MetalPetal/MetalPetal) - A GPU-accelerated image/video processing framework based on [Metal](https://developer.apple.com/metal/). - [ShadowImageView](https://github.com/olddonkey/ShadowImageView) - ShadowImageView is a iOS 10 Apple Music style image view, help you create elegent image with shadow. - [Avatar](https://github.com/wvabrinskas/Avatar) - Generate random user Avatar images using CoreGraphics and QuartzCore. - [Serrata](https://github.com/horitaku46/Serrata) - Slide image viewer library similar to Twitter and LINE. - [StyleArt](https://github.com/ileafsolutions/StyleArt) - Style Art library process images using COREML with a set of pre trained machine learning models and convert them to Art style. - [greedo-layout-for-ios](https://github.com/500px/greedo-layout-for-ios) - Full aspect ratio grid layout for iOS. - [ImageDetect](https://github.com/Feghal/ImageDetect) - Detect and crop faces, barcodes and texts inside of your image, with iOS 11 Vision api. - [THTiledImageView](https://github.com/TileImageTeamiOS/THTiledImageView) - Provide ultra-high-quality images through tiling techniques. - [GPUImage3](https://github.com/BradLarson/GPUImage3) - GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal. - [Harbeth](https://github.com/yangKJ/Harbeth) - Metal API for GPU accelerated Graphics and Video and Camera filter framework.🔥💥 - [Gallery](https://github.com/hyperoslo/Gallery) - Your next favorite image and video picker. - [ATGMediaBrowser](https://github.com/altayer-digital/ATGMediaBrowser) - Image slide-show viewer with multiple predefined transition styles, and ability to create new transitions with ease. - [Pixel](https://github.com/muukii/Pixel) - An image editor and engine using CoreImage. - [OnlyPictures](https://github.com/KiranJasvanee/OnlyPictures) - A simple and flexible way to add source of overlapping circular pictures. - [SFSafeSymbols](https://github.com/piknotech/SFSafeSymbols) - Safely access Apple's SF Symbols using static typing. - [BSZoomGridScrollView](https://github.com/boraseoksoon/BSZoomGridScrollView) - iOS customizable grid style scrollView UI library to display your UIImage array input, designed primarily for SwiftUI as well as to interoperate with UIKit. ### Media Processing - [SwiftOCR](https://github.com/garnele007/SwiftOCR) - Fast and simple OCR library written in Swift. - [QR Code Scanner](https://www.appcoda.com/qr-code-ios-programming-tutorial/) - QR Code implementation. - [QRCode](https://github.com/aschuch/QRCode) - A QRCode generator written in Swift. - [EFQRCode](https://github.com/EFPrefix/EFQRCode) - A better way to operate two-dimensional code in Swift. - [NSFWDetector](https://github.com/lovoo/NSFWDetector) - A NSFW (aka porn) detector with CoreML. ### PDF - [Reader](https://github.com/vfr/Reader) - PDF Reader Core for iOS. - [UIView 2 PDF](https://github.com/RobertAPhillips/UIView_2_PDF) - PDF generator using UIViews or UIViews with an associated XIB. - [FolioReaderKit](https://github.com/FolioReader/FolioReaderKit) - A Swift ePub reader and parser framework for iOS. - [PDFGenerator](https://github.com/sgr-ksmt/PDFGenerator) - A simple Generator of PDF in Swift. Generate PDF from view(s) or image(s). - [SimplePDF](https://github.com/nRewik/SimplePDF) - Create a simple PDF effortlessly. - [SwiftPDFGenerator](https://github.com/kayoslab/SwiftPDFGenerator) - PDF generator using UIViews; Swift Version of 'UIView 2 PDF'. - [PSPDFKit](https://pspdfkit.com/) - Render PDF, add/edit annotations, fill forms, add/edit pages, view/create digital signatures. - [TPPDF](https://github.com/Techprimate/TPPDF) - Generate PDF using commands and automatic layout. - [FastPdfKit](https://github.com/mobfarm/FastPdfKit) - A Static Library to be embedded on iOS applications to display pdf documents derived from Fast PDF. - [UIImagePlusPDF](https://github.com/DimaMishchenko/UIImagePlusPDF) - UIImage extensions to simply use PDF files. ### Streaming - [HaishinKit.swift](https://github.com/shogo4405/HaishinKit.swift) - Camera and Microphone streaming library via RTMP, HLS for iOS, macOS. - [StreamingKit](https://github.com/tumtumtum/StreamingKit) - A fast and extensible gapless AudioPlayer/AudioStreamer for macOS and iOS. - [Jukebox](https://github.com/teodorpatras/Jukebox) - Player for streaming local and remote audio files. Written in Swift. - [LFLiveKit](https://github.com/LaiFengiOS/LFLiveKit) - H264 and AAC Hard coding,support GPUImage Beauty, rtmp transmission,weak network lost frame,Dynamic switching rate. - [Airstream](https://github.com/qasim/Airstream) - A framework for streaming audio between Apple devices using AirPlay. - [OTAcceleratorCore](https://github.com/opentok/accelerator-core-ios) - A painless way to integrate audio/video(screen sharing) to any iOS applications via Tokbox. ### Video - [VIMVideoPlayer](https://github.com/vimeo/VIMVideoPlayer) - A simple wrapper around the AVPlayer and AVPlayerLayer classes. - [MobilePlayer](https://github.com/mobileplayer/mobileplayer-ios) - A powerful and completely customizable media player for iOS. - [XCDYouTubeKit](https://github.com/0xced/XCDYouTubeKit) - YouTube video player for iOS, tvOS and macOS. - [AVAnimator](http://www.modejong.com/AVAnimator/) - An open source iOS native library that makes it easy to implement non-trivial video/audio enabled apps. - [Periscope VideoViewController](https://github.com/gontovnik/Periscope-VideoViewController) - Video view controller with Periscope fast rewind control. - [MHVideoPhotoGallery](https://github.com/mariohahn/MHVideoPhotoGallery) - A Photo and Video Gallery. - [PlayerView](https://github.com/davidlondono/PlayerView) - Player View is a delegated view using AVPlayer of Swift. - [SRGMediaPlayer-iOS](https://github.com/SRGSSR/SRGMediaPlayer-iOS) - The SRG Media Player library for iOS provides a simple way to add a universal audio / video player to any iOS application. - [AVPlayerViewController-Subtitles](https://github.com/mhergon/AVPlayerViewController-Subtitles) - AVPlayerViewController-Subtitles is a library to display subtitles on iOS. It's built as a Swift extension and it's very easy to integrate. - [MPMoviePlayerController-Subtitles](https://github.com/mhergon/MPMoviePlayerController-Subtitles) - MPMoviePlayerController-Subtitles is a library to display subtitles on iOS. It's built as a Swift extension and it's very easy to integrate. - [ZFPlayer](https://github.com/renzifeng/ZFPlayer) - Based on AVPlayer, support for the horizontal screen, vertical screen (full screen playback can also lock the screen direction), the upper and lower slide to adjust the volume, the screen brightness, or so slide to adjust the playback progress. - [Player](https://github.com/piemonte/Player) - video player in Swift, simple way to play and stream media in your iOS or tvOS app. - [BMPlayer](https://github.com/BrikerMan/BMPlayer) - Video player in swift3 and swift2 for iOS, based on AVPlayer, support the horizontal, vertical screen. support adjust volume, brigtness and seek by slide. - [VideoPager](https://github.com/entotsu/VideoPager) - Paging Video UI, and some control components is available. - [ios-360-videos](https://github.com/NYTimes/ios-360-videos) - NYT360Video plays 360-degree video streamed from an AVPlayer. - [swift-360-videos](https://github.com/gsabran/DDDKit) - Pure swift (no SceneKit) 3D library with focus on video and 360. - [ABMediaView](https://github.com/andrewboryk/ABMediaView) - UIImageView subclass for drop-in image, video, GIF, and audio display, with functionality for fullscreen and minimization to the bottom-right corner. - [PryntTrimmerView](https://github.com/HHK1/PryntTrimmerView) - A set of UI elements to trim, crop and select frames inside a video. - [VGPlayer](https://github.com/VeinGuo/VGPlayer) - A simple iOS video player in Swift,Support play local and network,Background playback mode. - [YoutubeKit](https://github.com/rinov/YoutubeKit) - A video player that fully supports Youtube IFrame API and YoutubeDataAPI for easily create a Youtube app. - [Swift-YouTube-Player](https://github.com/gilesvangruisen/Swift-YouTube-Player) - Swift library for embedding and controlling YouTube videos in your iOS applications! - [JDVideoKit](https://github.com/jamesdouble/JDVideoKit) - You can easily transfer your video into Three common video type via this framework. - [VersaPlayer](https://github.com/josejuanqm/VersaPlayer) - Versatile AVPlayer implementation for iOS, macOS, and tvOS. ## Messaging Also see [push notifications](#push-notifications) - [XMPPFramework](https://github.com/robbiehanson/XMPPFramework) - An XMPP Framework in Objective-C for Mac and iOS. - [Chatto](https://github.com/badoo/Chatto) - A lightweight framework to build chat applications, made in Swift. - [MessageKit](https://github.com/MessageKit/MessageKit) - Eventually, a Swift re-write of JSQMessagesViewController. - [Messenger](https://github.com/relatedcode/Messenger) - This is a native iOS Messenger app, making realtime chat conversations and audio calls with full offline support. - [OTTextChatAccelerator](https://github.com/opentok/accelerator-textchat-ios) - OpenTok Text Chat Accelerator Pack enables text messages between mobile or browser-based devices. - [chat-sdk-ios](https://github.com/chat-sdk/chat-sdk-ios) - Chat SDK iOS - Open Source Mobile Messenger. - [AsyncMessagesViewController](https://github.com/nguyenhuy/AsyncMessagesViewController) - A smooth, responsive and flexible messages UI library for iOS. - [MessageViewController](https://github.com/GitHawkApp/MessageViewController) - A SlackTextViewController replacement written in Swift for the iPhone X. - [SwiftyMessenger](https://github.com/abdullahselek/SwiftyMessenger) - Swift toolkit for passing messages between iOS apps and extensions. - [Messenger Chat with Firebase](https://github.com/instamobile/messenger-iOS-chat-swift-firestore) - Swift messaging chat app with Firebase Firestore integration. - [SwiftKafka](https://github.com/IBM-Swift/SwiftKafka) - Swift SDK for Apache Kafka by IBM. - [ChatLayout](https://github.com/ekazaev/ChatLayout) - A lightweight framework to build chat UI that uses custom `UICollectionViewLayout` to provide full control over the presentation as well as all the tools available in `UICollectionView`. ## Networking - [AFNetworking](https://github.com/AFNetworking/AFNetworking) - A delightful iOS and macOS networking framework. - [RestKit](https://github.com/RestKit/RestKit) - RestKit is an Objective-C framework for iOS that aims to make interacting with RESTful web services simple, fast and fun. - [FSNetworking](https://github.com/foursquare/FSNetworking) - Foursquare iOS networking library. - [ASIHTTPRequest](https://github.com/pokeb/asi-http-request) - Easy to use CFNetwork wrapper for HTTP requests, Objective-C, macOS and iPhone. - [Overcoat](https://github.com/Overcoat/Overcoat) - Small but powerful library that makes creating REST clients simple and fun. - [ROADFramework](https://github.com/epam/road-ios-framework) - Attributed-oriented approach for interacting with web services. The framework has built-in json and xml serialization for requests and responses and can be easily extensible. - [Alamofire](https://github.com/Alamofire/Alamofire) - Alamofire is an HTTP networking library written in Swift, from the creator of AFNetworking. - [Transporter](https://github.com/nghialv/Transporter) - A tiny library makes uploading and downloading easier. - [CDZPinger](https://github.com/cdzombak/CDZPinger) - Easy-to-use ICMP Ping. - [NSRails](https://github.com/dingbat/nsrails) - iOS/Mac OS framework for Rails. - [NKMultipeer](https://github.com/nathankot/NKMultipeer) - A testable abstraction over multipeer connectivity. - [CocoaAsyncSocket](https://github.com/robbiehanson/CocoaAsyncSocket) - Asynchronous socket networking library for Mac and iOS. - [Siesta](https://github.com/bustoutsolutions/siesta) - Elegant abstraction for RESTful resources that untangles stateful messes. An alternative to callback- and delegate-based networking. - [Reachability.swift](https://github.com/ashleymills/Reachability.swift) - Replacement for Apple's Reachability re-written in Swift with closures. - [OctopusKit](https://github.com/icoco/OctopusKit) - A simplicity but graceful solution for invoke RESTful web service APIs. - [Moya](https://github.com/Moya/Moya) - Network abstraction layer written in Swift. - [TWRDownloadManager](https://github.com/chasseurmic/TWRDownloadManager) - A modern download manager based on NSURLSession to deal with asynchronous downloading, management and persistence of multiple files. - [HappyDns](https://github.com/qiniu/happy-dns-objc) - A Dns library, support custom dns server, dnspod httpdns. Only support A record. - [Bridge](https://github.com/BridgeNetworking/Bridge) - A simple extensible typed networking library. Intercept and process/alter requests and responses easily. - [TRON](https://github.com/MLSDev/TRON) - Lightweight network abstraction layer, written on top of Alamofire. - [EVCloudKitDao](https://github.com/evermeer/EVCloudKitDao) - Simplified access to Apple's CloudKit. - [EVURLCache](https://github.com/evermeer/EVURLCache) - a NSURLCache subclass for handling all web requests that use NSURLRequest. - [ResponseDetective](https://github.com/netguru/ResponseDetective) - Sherlock Holmes of the networking layer. - [Pitaya](https://github.com/johnlui/Pitaya) - A Swift HTTP / HTTPS networking library just incidentally execute on machines. - [Just](https://github.com/dduan/Just) - Swift HTTP for Humans. - [agent](https://github.com/hallas/agent) - Minimalistic Swift HTTP request agent for iOS and macOS. - [Reach](https://github.com/Isuru-Nanayakkara/Reach) - A simple class to check for internet connection availability in Swift. - [SwiftHTTP](https://github.com/daltoniam/SwiftHTTP) - Thin wrapper around NSURLSession in swift. Simplifies HTTP requests. - [Netdiag](https://github.com/qiniu/iOS-netdiag) - A network diagnosis library. Support Ping/TcpPing/Rtmp/TraceRoute/DNS/external IP/external DNS. - [AFNetworkingHelper](https://github.com/betacraft/AFNetworkingHelper) - A custom wrapper over AFNetworking library that we use inside RC extensively. - [NetKit](https://github.com/azizuysal/NetKit) - A Concise HTTP Framework in Swift. - [RealReachability](https://github.com/dustturtle/RealReachability) - We need to observe the REAL reachability of network. That's what RealReachability do. - [MonkeyKing](https://github.com/nixzhu/MonkeyKing) - MonkeyKing helps you post messages to Chinese Social Networks. - [NetworkKit](https://github.com/imex94/NetworkKit) - Lightweight Networking and Parsing framework made for iOS, Mac, WatchOS and tvOS. - [APIKit](https://github.com/ishkawa/APIKit) - A networking library for building type safe web API client in Swift. - [ws ☁️](https://github.com/freshOS/ws) - Elegant JSON WebService in Swift. - [SPTDataLoader](https://github.com/spotify/SPTDataLoader) - The HTTP library used by the Spotify iOS client. - [SWNetworking](https://github.com/skywite/SWNetworking) - Powerful high-level iOS, macOS and tvOS networking library. - [Networking](https://github.com/3lvis/Networking) - Simple HTTP Networking in Swift a NSURLSession wrapper with image caching support. - [SOAPEngine](https://github.com/priore/SOAPEngine) - This generic SOAP client allows you to access web services using a your iOS app, macOS app and AppleTV app. - [Swish](https://github.com/thoughtbot/Swish) - Nothing but Net(working). - [Malibu](https://github.com/hyperoslo/Malibu) - Malibu is a networking library built on promises. - [YTKNetwork](https://github.com/yuantiku/YTKNetwork) - YTKNetwork is a high level request util based on AFNetworking. - [UnboxedAlamofire](https://github.com/serejahh/UnboxedAlamofire) - Alamofire + Unbox: the easiest way to download and decode JSON into swift objects. - [MMLanScan](https://github.com/mavris/MMLanScan) - An iOS LAN Network Scanner library. - [Domainer](https://github.com/FelixLinBH/Domainer) - Manage multi-domain url auto mapping ip address table. - [Restofire](https://github.com/Restofire/Restofire) - Restofire is a protocol oriented network abstraction layer in swift that is built on top of Alamofire to use services in a declartive way. - [AFNetworking+RetryPolicy](https://github.com/kubatruhlar/AFNetworking-RetryPolicy) - An objective-c category that adds the ability to set the retry logic for requests made with AFNetworking. - [SwiftyZeroMQ](https://github.com/azawawi/SwiftyZeroMQ) - ZeroMQ Swift Bindings for iOS, macOS, tvOS and watchOS. - [Nikka](https://github.com/stremsdoerfer/Nikka) - A super simple Networking wrapper that supports many JSON libraries, Futures and Rx. - [XMNetworking](https://github.com/kangzubin/XMNetworking) - A lightweight but powerful network library with simplified and expressive syntax based on AFNetworking. - [Merhaba](https://github.com/abdullahselek/Merhaba) - Bonjour networking for discovery and connection between iOS, macOS and tvOS devices. - [DBNetworkStack](https://github.com/dbsystel/DBNetworkStack) - Resource-oritented networking which is typesafe, extendable, composeable and makes testing a lot easier. - [EFInternetIndicator](https://github.com/ezefranca/EFInternetIndicator) - A little swift Internet error status indicator using ReachabilitySwift. - [AFNetworking-Synchronous](https://github.com/paulmelnikow/AFNetworking-Synchronous) - Synchronous requests for AFNetworking 1.x, 2.x, and 3.x. - [QwikHttp](https://github.com/logansease/QwikHttp) - a robust, yet lightweight and simple to use HTTP networking library designed for RESTful APIs. - [NetClient](https://github.com/intelygenz/NetClient-iOS) - Versatile HTTP networking library written in Swift 3. - [WANetworkRouting](https://github.com/Wasappli/WANetworkRouting) - An iOS library to route API paths to objects on client side with request, mapping, routing and auth layers. - [Reactor](https://github.com/RuiAAPeres/Reactor) - Powering your RAC architecture. - [SWNetworking](https://github.com/isamankumara/skywite) - Powerful high-level iOS, macOS and tvOS networking library. from the creator of SWNetworking. - [Digger](https://github.com/cornerAnt/Digger) - Digger is a lightweight download framework that requires only one line of code to complete the file download task. - [Ciao](https://github.com/AlTavares/Ciao) - Publish and discover services using mDNS(Bonjour, Zeroconf). - [Bamboots](https://github.com/mmoaay/Bamboots) - Bamboots is a network request framework based on Alamofire, aiming at making network request easier for business development. - [SolarNetwork](https://github.com/ThreeGayHub/SolarNetwork) - Elegant network abstraction layer in Swift. - [FGRoute](https://github.com/Feghal/FGRoute) - An easy-to-use library that helps developers to get wifi ssid, router and device ip addresses. - [RxRestClient](https://github.com/stdevteam/RxRestClient) - Simple REST Client based on RxSwift and Alamofire. - [TermiNetwork](https://github.com/billp/TermiNetwork) - A networking library written with Swift 4.0 that supports multi-environment configuration, routing and automatic deserialization. - [Dots](https://github.com/iAmrSalman/Dots) - Lightweight Concurrent Networking Framework. - [Gem](https://github.com/Albinzr/Gem) - An extreme light weight system with high performance for managing all http request with automated parser with modal. - [RMHttp](https://github.com/rogermolas/RMHttp) - Lightweight REST library for iOS and watchOS. - [AlamoRecord](https://github.com/tunespeak/AlamoRecord) - An elegant yet powerful iOS networking layer inspired by ActiveRecord. - [MHNetwork](https://github.com/emadhegab/MHNetwork) - Protocol Oriented Network Layer Aim to avoid having bloated singleton NetworkManager. - [ThunderRequest](https://github.com/3sidedcube/ThunderRequest) - A simple URLSession wrapper with a generic protocol based request body approach and easy deserialisation of responses. - [ReactiveAPI](https://github.com/sky-uk/ReactiveAPI) - Write clean, concise and declarative network code relying on URLSession, with the power of RxSwift. Inspired by Retrofit. - [Squid](https://github.com/borchero/Squid) - Declarative and reactive networking framework based on Combine and providing means for HTTP requests, transparent pagination, and WebSocket communication. - [Get](https://github.com/kean/Get) - A modern Swift web API client built using async/await. ### Email - [Mail Core 2](https://github.com/MailCore/mailcore2) - MailCore 2 provide a simple and asynchronous API to work with e-mail protocols IMAP, POP and SMTP. - [Postal](https://github.com/snipsco/Postal) - A swift framework providing simple access to common email providers. ## Representations - [apollo-ios](https://github.com/apollographql/apollo-ios) - A GraphQL client for iOS. - [JSONRPCKit](https://github.com/bricklife/JSONRPCKit) - A JSON-RPC 2.0 library. - [protobuf-swift](https://github.com/alexeyxo/protobuf-swift) - Google ProtocolBuffers for Apple Swift - [swift-protobuf](https://github.com/apple/swift-protobuf) - Plugin and runtime library for using protobuf with Swift. ## Notifications ### Push Notifications - [Orbiter](https://github.com/mattt/Orbiter) - Push Notification Registration for iOS. - [PEM](https://github.com/fastlane/fastlane/tree/master/pem) - Automatically generate and renew your push notification profiles. - [Knuff](https://github.com/KnuffApp/Knuff) - The debug application for Apple Push Notification Service (APNS). - [FBNotifications](https://github.com/facebook/FBNotifications) - Facebook Analytics In-App Notifications Framework. - [NWPusher](https://github.com/noodlewerk/NWPusher) - macOS and iOS application and framework to play with the Apple Push Notification service (APNs). - [SimulatorRemoteNotifications](https://github.com/acoomans/SimulatorRemoteNotifications) - Library to send mock remote notifications to the iOS simulator. - [APNSUtil](https://github.com/pisces/APNSUtil) - Library makes code simple settings and landing for apple push notification service. ### Push Notification Providers Most of these are paid services, some have free tiers. - [Urban Airship](https://www.airship.com/platform/channels/mobile-app/) - [Growth Push](https://growthpush.com) - Popular in Japan. - [Braze](https://www.braze.com/) - [Batch](https://batch.com) - [Boxcar](https://boxcar.io) - [Carnival](https://www.sailthru.com) - [Catapush](https://www.catapush.com/) - [Netmera](https://www.netmera.com/) - [OneSignal](https://onesignal.com) - Free. - [PushBots](https://pushbots.com/) - [Pushwoosh](https://www.pushwoosh.com) - [Pushkin](https://github.com/Nordeus/pushkin) - Free and open-source. - [Pusher](https://pusher.com/beams) - Free and unlimited. - [Swrve](https://www.swrve.com) ### Local Notifications - [DLLocalNotifications](https://github.com/d7laungani/DLLocalNotifications) - Easily create Local Notifications in swift - Wrapper of UserNotifications Framework. ## Objective-C Runtime *Objective-C Runtime wrappers, libraries and tools.* - [Lumos](https://github.com/sushinoya/lumos) - A light Swift wrapper around Objective-C Runtime. - [Swizzlean](https://github.com/rbaumbach/Swizzlean) - An Objective-C Swizzle Helper Class. ## Optimization - [Unreachable](https://github.com/nvzqz/Unreachable) - Unreachable code path optimization hint for Swift. ## Parsing ### CSV - [CSwiftV](https://github.com/Daniel1of1/CSwiftV) - A csv parser written in swift conforming to rfc4180. - [CSV.swift](https://github.com/yaslab/CSV.swift) - CSV reading and writing library written in Swift. - [CodableCSV](https://github.com/dehesa/CodableCSV) - Read and write CSV files row-by-row & field-by-field or through Swift's Codable interface. ### JSON - [SBJson](https://github.com/SBJson/SBJson) - This framework implements a strict JSON parser and generator in Objective-C. - [Mantle](https://github.com/Mantle/Mantle) - Model framework for Cocoa and Cocoa Touch. - [Groot](https://github.com/gonzalezreal/Groot) - Convert JSON dictionaries and arrays to and from Core Data managed objects. - [PropertyMapper](https://github.com/krzysztofzablocki/PropertyMapper) - Data mapping and validation with minimal amount of code. - [JSONModel](https://github.com/JSONModel/JSONModel) - Magical Data Modeling Framework for JSON. Create rapidly powerful, atomic and smart data model classes. - [SwiftyJSON](https://github.com/SwiftyJSON/SwiftyJSON) - The better way to deal with JSON data in Swift. - [FastEasyMapping](https://github.com/Yalantis/FastEasyMapping) - Serialize & deserialize JSON fast. - [ObjectMapper](https://github.com/tristanhimmelman/ObjectMapper) - A framework written in Swift that makes it easy for you to convert your Model objects (Classes and Structs) to and from JSON. - [JASON](https://github.com/delba/JASON) - JSON parsing with outstanding performances and convenient operators. - [Gloss](https://github.com/hkellaway/Gloss) - A shiny JSON parsing library in Swift. - [SwiftyJSONAccelerator](https://github.com/insanoid/SwiftyJSONAccelerator) - Generate Swift 5 model files from JSON with Codeable support. - [alexander](https://github.com/hodinkee/alexander) - An extremely simple JSON helper written in Swift. - [Freddy](https://github.com/bignerdranch/Freddy) - A reusable framework for parsing JSON in Swift. - [mapper](https://github.com/lyft/mapper) - A JSON deserialization library for Swift. - [Alembic](https://github.com/ra1028/Alembic) - Functional JSON parsing, mapping to objects, and serialize to JSON. - [Arrow 🏹](https://github.com/freshOS/Arrow) - Elegant JSON Parsing in Swift. - [JSONExport](https://github.com/Ahmed-Ali/JSONExport) - JSONExport is a desktop application for macOS which enables you to export JSON objects as model classes with their associated constructors, utility methods, setters and getters in your favorite language. - [Elevate](https://github.com/Nike-Inc/Elevate) - Elevate is a JSON parsing framework that leverages Swift to make parsing simple, reliable and composable. - [MJExtension](https://github.com/CoderMJLee/MJExtension) - A fast, convenient and nonintrusive conversion between JSON and model. Your model class don't need to extend another base class. You don't need to modify any model file. - [AlamofireObjectMapper](https://github.com/tristanhimmelman/AlamofireObjectMapper) - An Alamofire extension which converts JSON response data into swift objects using ObjectMapper. - [JAYSON](https://github.com/muukii/JAYSON) - Strict and Scalable JSON library. - [HandyJSON](https://github.com/alibaba/handyjson) - A handy swift JSON-object serialization/deserialization library for Swift. - [Marshal](https://github.com/utahiosmac/Marshal) - Marshaling the typeless wild west of [String: Any] (Protocol based). - [Motis](https://github.com/mobilejazz/Motis) - Easy JSON to NSObject mapping using Cocoa's key value coding (KVC). - [NSTEasyJSON](https://github.com/bernikovich/NSTEasyJSON) - The easiest way to deal with JSON data in Objective-C (similar to SwiftyJSON). - [Serpent](https://github.com/nodes-ios/Serpent) - A protocol to serialize Swift structs and classes for encoding and decoding. - [FlatBuffersSwift](https://github.com/mzaks/FlatBuffersSwift) - This project brings FlatBuffers (an efficient cross platform serialization library) to Swift. - [CodableAlamofire](https://github.com/Otbivnoe/CodableAlamofire) - An extension for Alamofire that converts JSON data into Decodable objects (Swift 4). - [WAMapping](https://github.com/Wasappli/WAMapping) - A library to turn dictionary into object and vice versa for iOS. Designed for speed! - [Himotoki](https://github.com/ikesyo/Himotoki) - A type-safe JSON decoding library purely written in Swift. - [PMHTTP](https://github.com/postmates/PMHTTP) - Swift/Obj-C HTTP framework with a focus on REST and JSON. - [NativeJSONMapper](https://github.com/DimaMishchenko/NativeJSONMapper) - Simple Swift 4 encoding & decoding. - [PMJSON](https://github.com/postmates/PMJSON) - Pure Swift JSON encoding/decoding library. - [jsoncafe.com](http://www.jsoncafe.com/) - Online Template driven Model Class Generator from JSON. - [Mappable](https://github.com/leavez/Mappable) - lightweight and powerful JSON object mapping library, specially optimized for immutable properties. ### XML & HTML - [AEXML](https://github.com/tadija/AEXML) - Simple and lightweight XML parser written in Swift. - [Ji](https://github.com/honghaoz/Ji) - XML/HTML parser for Swift. - [Ono](https://github.com/mattt/Ono) - A sensible way to deal with XML & HTML for iOS & macOS. - [Fuzi](https://github.com/cezheng/Fuzi) - A fast & lightweight XML & HTML parser in Swift with XPath & CSS support. - [Kanna](https://github.com/tid-kijyun/Kanna) - Kanna(鉋) is an XML/HTML parser for macOS/iOS. - [SwiftyXMLParser](https://github.com/yahoojapan/SwiftyXMLParser) - Simple XML Parser implemented in Swift. - [HTMLKit](https://github.com/iabudiab/HTMLKit) - An Objective-C framework for your everyday HTML needs. - [SWXMLHash](https://github.com/drmohundro/SWXMLHash) - Simple XML parsing in Swift. - [SwiftyXML](https://github.com/chenyunguiMilook/SwiftyXML) - The most swifty way to deal with XML data in swift 4. - [XMLCoder](https://github.com/MaxDesiatov/XMLCoder) - Encoder & Decoder for XML using Swift's `Codable` protocols. ### Other Parsing - [WKZombie](https://github.com/mkoehnke/WKZombie) - WKZombie is a Swift framework for iOS/macOS to navigate within websites and collect data without the need of User Interface or API, also known as Headless browser. It can be used to run automated tests or manipulate websites using Javascript. - [URLPreview](https://github.com/itsmeichigo/URLPreview) - An NSURL extension for showing preview info of webpages. - [FeedKit](https://github.com/nmdias/FeedKit) - An RSS and Atom feed parser written in Swift. - [Erik](https://github.com/phimage/Erik) - Erik is an headless browser based on WebKit. An headless browser allow to run functional tests, to access and manipulate webpages using javascript. - [URLEmbeddedView](https://github.com/marty-suzuki/URLEmbeddedView) - Automatically caches the object that is confirmed the Open Graph Protocol, and displays it as URL embedded card. - [SwiftCssParser](https://github.com/100mango/SwiftCssParser) - A Powerful , Extensible CSS Parser written in pure Swift. - [RLPSwift](https://github.com/bitfwdcommunity/RLPSwift) - Recursive Length Prefix encoding written in Swift. - [AcknowledgementsPlist](https://github.com/cats-oss/AcknowledgementsPlist) - AcknowledgementsPlist manages the licenses of libraries that depend on your iOS app. - [CoreXLSX](https://github.com/MaxDesiatov/CoreXLSX) - Excel spreadsheet (XLSX) format support in pure Swift. - [SVGView](https://github.com/exyte/SVGView) - SVG parser and renderer written in SwiftUI. - [CreateAPI](https://github.com/CreateAPI/CreateAPI) - Delightful code generation for OpenAPI specs for Swift written in Swift. ## Passbook - [passbook](https://github.com/frozon/passbook) - Passbook gem let's you create pkpass for passbook iOS 6+. - [Dubai](https://github.com/nomad/dubai) - Generate and Preview Passbook Passes. - [Passkit](https://passkit.com) - Design, Create and validate Passbook Passes. ## Payments - [Caishen](https://github.com/prolificinteractive/Caishen) - A Payment Card UI & Validator for iOS. - [Stripe](https://stripe.com) - Payment integration on your app with PAY. Suitable for people with low knowledge on Backend. - [Braintree](https://www.braintreepayments.com) - Free payment processing on your first $50k. Requires Backend. - [Venmo](https://github.com/venmo/venmo-ios-sdk) Make and accept payments in your iOS app via Venmo. - [Moltin](https://www.moltin.com/developer/swift-ecommerce-sdk/) - Add eCommerce to your app with a simple SDK, so you can create a store and sell physical products, no backend required. - [PatronKit](https://github.com/MosheBerman/PatronKit) - A framework to add patronage to your apps. - [SwiftyStoreKit](https://github.com/bizz84/SwiftyStoreKit) - Lightweight In App Purchases Swift framework for iOS 8.0+ and macOS 9.0+ - [InAppFramework](https://github.com/sandorgyulai/InAppFramework) - In App Purchase Manager framework for iOS. - [SwiftInAppPurchase](https://github.com/suraphanL/SwiftInAppPurchase) - Simply code In App Purchases with this Swift Framework. - [monza](https://github.com/gabrielgarza/monza) - Ruby Gem for Rails - Easy iTunes In-App Purchase Receipt validation, including auto-renewable subscriptions. - [PayPal](https://github.com/paypal/PayPal-iOS-SDK) - Accept payments in your iOS app via PayPal. - [card.io-iOS-SDK](https://github.com/card-io/card.io-iOS-SDK) - card.io provides fast, easy credit card scanning in mobile apps. - [SwiftLuhn](https://github.com/MaxKramer/SwiftLuhn) - Debit/Credit card validation port of the Luhn Algorithm in Swift. - [ObjectiveLuhn](https://github.com/MaxKramer/ObjectiveLuhn) - Luhn Credit Card Validation Algorithm. - [RMStore](https://github.com/robotmedia/RMStore) - A lightweight iOS library for In-App Purchases. - [MFCard](https://github.com/MobileFirstInc/MFCard) - Easily integrate Credit Card payments in iOS App / Customisable Card UI. - [TPInAppReceipt](https://github.com/tikhop/TPInAppReceipt) - Reading and Validating In App Store Receipt. - [iCard](https://github.com/eliakorkmaz/iCard) - Bank Card Generator with Swift using SnapKit DSL. - [CreditCardForm-iOS](https://github.com/orazz/CreditCardForm-iOS) - CreditCardForm is iOS framework that allows developers to create the UI which replicates an actual Credit Card. - [merchantkit](https://github.com/benjaminmayo/merchantkit) - A modern In-App Purchases management framework for iOS. - [TipJarViewController](https://github.com/lionheart/TipJarViewController) - Easy, drop-in tip jar for iOS apps. - [FramesIos](https://github.com/checkout/frames-ios) - Payment Form UI and Utilities in Swift. - [YRPayment](https://github.com/yassram/YRPayment) - Better payment user experience library with cool animation in Swift. - [AnimatedCardInput](https://github.com/netguru/AnimatedCardInput) — Easy to use library with customisable components for input of Credit Card data. ## Permissions - [Proposer](https://github.com/nixzhu/Proposer) - Make permission request easier (Supports Camera, Photos, Microphone, Contacts, Location). - [ISHPermissionKit](https://github.com/iosphere/ISHPermissionKit) - A unified way for iOS apps to request user permissions. - [ClusterPrePermissions](https://github.com/rsattar/ClusterPrePermissions) - Reusable pre-permissions utility that lets developers ask users for access in their own dialog, before making the system-based request. - [Permission](https://github.com/delba/Permission) - A unified API to ask for permissions on iOS. - [STLocationRequest](https://github.com/SvenTiigi/STLocationRequest) - A simple and elegant 3D-Flyover location request screen written Swift. - [PAPermissions](https://github.com/pascalbros/PAPermissions) - A unified API to ask for permissions on iOS. - [AREK](https://github.com/ennioma/arek) - AREK is a clean and easy to use wrapper over any kind of iOS permission. - [SPPermissions](https://github.com/ivanvorobei/SPPermissions) - Ask permissions on Swift. Available List, Dialog & Native interface. Can check state permission. ## Reactive Programming - [RxSwift](https://github.com/ReactiveX/RxSwift) - Reactive Programming in Swift. - [RxOptional](https://github.com/thanegill/RxOptional) - RxSwift extensions for Swift optionals and "Occupiable" types. - [ReactiveTask](https://github.com/Carthage/ReactiveTask) - Flexible, stream-based abstraction for launching processes. - [ReactiveCocoa](https://github.com/ReactiveCocoa/ReactiveCocoa) - Streams of values over time. - [RxMediaPicker](https://github.com/RxSwiftCommunity/RxMediaPicker) - A reactive wrapper built around UIImagePickerController. - [ReactiveCoreData](https://github.com/apparentsoft/ReactiveCoreData) - ReactiveCoreData (RCD) is an attempt to bring Core Data into the ReactiveCocoa (RAC) world. - [ReSwift](https://github.com/ReSwift/ReSwift) - Unidirectional Data Flow in Swift - Inspired by Redux. - [ReactiveKit](https://github.com/DeclarativeHub/ReactiveKit) - ReactiveKit is a collection of Swift frameworks for reactive and functional reactive programming. - [RxPermission](https://github.com/sunshinejr/RxPermission) - RxSwift bindings for Permissions API in iOS. - [RxAlamofire](https://github.com/RxSwiftCommunity/RxAlamofire) - RxSwift wrapper around the elegant HTTP networking in Swift Alamofire. - [RxRealm](https://github.com/RxSwiftCommunity/RxRealm) - Rx wrapper for Realm's collection types. - [RxMultipeer](https://github.com/RxSwiftCommunity/RxMultipeer) - A testable RxSwift wrapper around MultipeerConnectivity. - [RxBluetoothKit](https://github.com/Polidea/RxBluetoothKit) - iOS & macOS Bluetooth library for RxSwift. - [RxGesture](https://github.com/RxSwiftCommunity/RxGesture) - RxSwift reactive wrapper for view gestures. - [NSObject-Rx](https://github.com/RxSwiftCommunity/NSObject-Rx) - Handy RxSwift extensions on NSObject, including rx_disposeBag. - [RxCoreData](https://github.com/RxSwiftCommunity/RxCoreData) - RxSwift extensions for Core Data. - [RxAutomaton](https://github.com/inamiy/RxAutomaton) - RxSwift + State Machine, inspired by Redux and Elm. - [ReactiveArray](https://github.com/Wolox/ReactiveArray) - An array class implemented in Swift that can be observed using ReactiveCocoa's Signals. - [Interstellar](https://github.com/JensRavens/Interstellar) - Simple and lightweight Functional Reactive Coding in Swift for the rest of us. - [ReduxSwift](https://github.com/lsunsi/ReduxSwift) - Predictable state container for Swift apps too. - [Aftermath](https://github.com/hyperoslo/Aftermath) - Stateless message-driven micro-framework in Swift. - [RxKeyboard](https://github.com/RxSwiftCommunity/RxKeyboard) - Reactive Keyboard in iOS. - [JASONETTE-iOS](https://github.com/Jasonette/JASONETTE-iOS) - Native App over HTTP. Create your own native iOS app with nothing but JSON. - [ReactiveSwift](https://github.com/ReactiveCocoa/ReactiveSwift) - Streams of values over time by ReactiveCocoa group. - [Listenable](https://github.com/msaps/Listenable) - Swift object that provides an observable platform. - [Reactor](https://github.com/ReactorSwift/Reactor) - Unidirectional Data Flow using idiomatic Swift—inspired by Elm and Redux. - [Snail](https://github.com/UrbanCompass/Snail) - An observables framework for Swift. - [RxWebSocket](https://github.com/fjcaetano/RxWebSocket) - Reactive extension over Starscream for websockets. - [ACKReactiveExtensions](https://github.com/AckeeCZ/ACKReactiveExtensions) - Useful extensions for ReactiveCocoa - [ReactiveLocation](https://github.com/AckeeCZ/ReactiveLocation) - CoreLocation made reactive - [Hanson](https://github.com/blendle/Hanson) - Lightweight observations and bindings in Swift, with support for KVO and NotificationCenter. - [Observable](https://github.com/roberthein/Observable) - The easiest way to observe values in Swift. - [SimpleApiClient](https://github.com/jaychang0917/SimpleApiClient-ios) - A configurable api client based on Alamofire4 and RxSwift4 for iOS. - [VueFlux](https://github.com/ra1028/VueFlux) - Unidirectional Data Flow State Management Architecture for Swift - Inspired by Vuex and Flux. - [RxAnimated](https://github.com/RxSwiftCommunity/RxAnimated) - Animated RxCocoa bindings. - [BindKit](https://github.com/electricbolt/bindkit) - Two-way data binding framework for iOS. Only one API to learn. - [STDevRxExt](https://github.com/stdevteam/STDevRxExt) - STDevRxExt contains some extension functions for RxSwift and RxCocoa which makes our live easy. - [RxReduce](https://github.com/RxSwiftCommunity/RxReduce) - Lightweight framework that ease the implementation of a state container pattern in a Reactive Programming compliant way. - [RxCoordinator](https://github.com/quickbirdstudios/XCoordinator) - Powerful navigation library for iOS based on the coordinator pattern. - [RxAlamoRecord](https://github.com/Daltron/RxAlamoRecord) Combines the power of the AlamoRecord and RxSwift libraries to create a networking layer that makes interacting with API's easier than ever reactively. - [CwlSignal](https://github.com/mattgallagher/CwlSignal) A Swift framework for reactive programming. - [LightweightObservable](https://github.com/fxm90/LightweightObservable) - A lightweight implementation of an observable sequence that you can subscribe to. - [Bindy](https://github.com/MaximKotliar/Bindy) - Simple, lightweight swift bindings with KVO support and easy to read syntax. - [OpenCombine](https://github.com/broadwaylamb/OpenCombine) — Open source implementation of Apple's Combine framework for processing values over time. - [Verge](https://github.com/muukii/Verge) - Verge is a faster and scalable state management library for UIKit and SwiftUI ### React-Like - [Render](https://github.com/alexdrone/Render) - Swift and UIKit a la React. - [Katana](https://github.com/BendingSpoons/katana-swift) - Swift apps a la React and Redux. - [TemplateKit](https://github.com/mcudich/TemplateKit) - React-inspired framework for building component-based user interfaces in Swift. - [CoreEvents](https://github.com/surfstudio/CoreEvents) - Simple library with C#-like events. - [Tokamak](https://github.com/MaxDesiatov/Tokamak) - React-like framework providing a declarative API for building native UI components with easy to use one-way data binding. ## Reflection - [Reflection](https://github.com/Zewo/Reflection) - Reflection provides an API for advanced reflection at runtime including dynamic construction of types. - [Reflect](https://github.com/CharlinFeng/Reflect) - Reflection, Dict2Model, Model2Dict, Archive. - [EVReflection](https://github.com/evermeer/EVReflection) - Reflection based JSON encoding and decoding. Including support for NSDictionary, NSCoding, Printable, Hashable and Equatable. - [JSONNeverDie](https://github.com/johnlui/JSONNeverDie) - Auto reflection tool from JSON to Model, user friendly JSON encoder / decoder, aims to never die. - [SwiftKVC](https://github.com/bradhilton/SwiftKVC) - Key-Value Coding (KVC) for native Swift classes and structs. - [Runtime](https://github.com/wickwirew/Runtime) - A Swift Runtime library for viewing type info, and the dynamic getting and setting of properties. ## Regex - [Regex](https://github.com/sharplet/Regex) - A Swift µframework providing an NSRegularExpression-backed Regex type. - [SwiftRegex](https://github.com/kasei/SwiftRegex) - Perl-like Regex =~ operator for Swift. - [PySwiftyRegex](https://github.com/cezheng/PySwiftyRegex) - Easily deal with Regex in Swift in a Pythonic way. - [Regex](https://github.com/crossroadlabs/Regex) - Regular expressions for swift. - [Regex](https://github.com/brynbellomy/Regex) - Regex class for Swift. Wraps NSRegularExpression. - [sindresorhus/Regex](https://github.com/sindresorhus/Regex) - Swifty regular expressions, fully tested & documented, and with correct Unicode handling. ## SDK ### Official - [Spotify](https://github.com/spotify/ios-sdk) Spotify iOS SDK. - [SpotifyLogin](https://github.com/spotify/SpotifyLogin) Spotify SDK Login in Swift. - [Facebook](https://github.com/facebook/facebook-ios-sdk) Facebook iOS SDK. - [Google Analytics](https://developers.google.com/analytics/devguides/collection/ios/v3/) Google Analytics SDK for iOS. - [Paypal iOS SDK](https://github.com/paypal/PayPal-iOS-SDK) The PayPal Mobile SDKs enable native apps to easily accept PayPal and credit card payments. - [Pocket](https://github.com/Pocket/Pocket-ObjC-SDK) SDK for saving stuff to Pocket. - [Tumblr](https://github.com/tumblr/TMTumblrSDK) Library for easily integrating Tumblr data into your iOS or macOS application. - [Evernote](https://github.com/evernote/evernote-cloud-sdk-ios) Evernote SDK for iOS. - [Box](https://github.com/box/box-ios-sdk) iOS + macOS SDK for the Box API. - [OneDrive](https://github.com/OneDrive/onedrive-sdk-ios) Live SDK for iOS. - [Stripe](https://github.com/stripe/stripe-ios) Stripe bindings for iOS and macOS. - [Venmo](#payments) - [AWS](https://github.com/aws-amplify/aws-sdk-ios) Amazon Web Services Mobile SDK for iOS. - [Zendesk](https://github.com/zendesk/zendesk_sdk_ios) Zendesk Mobile SDK for iOS. - [Dropbox](https://www.dropbox.com/lp/developers) SDKs for Drop-ins and Dropbox Core API. - [Firebase](https://firebase.google.com/docs/ios/setup) Mobile (and web) application development platform. - [ResearchKit](https://github.com/ResearchKit/ResearchKit) ResearchKit is an open source software framework that makes it easy to create apps for medical research or for other research projects. - [Primer](https://www.goprimer.com/) - Easy SDK for creating personalized landing screens, signup, and login flows on a visual editor with built in a/b/n testing and analytics. - [Azure](https://github.com/Azure/azure-storage-ios) - Client library for accessing Azure Storage on an iOS device. - [1Password](https://github.com/AgileBits/onepassword-app-extension) - 1Password Extension for iOS Apps. - [CareKit](https://github.com/carekit-apple/CareKit) - CareKit is an open source software framework for creating apps that help people better understand and manage their health. By Apple. - [Shopify](https://github.com/Shopify/mobile-buy-sdk-ios) - Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. - [Pinterest](https://github.com/pinterest/ios-pdk) - Pinterest iOS SDK. - [playkit-ios](https://github.com/kaltura/playkit-ios) - PlayKit: Kaltura Player SDK for iOS. - [algoliasearch-client-swift](https://github.com/algolia/algoliasearch-client-swift) - Algolia Search API Client for Swift. - [twitter-kit-ios](https://github.com/twitter-archive/twitter-kit-ios) - Twitter Kit is a native SDK to include Twitter content inside mobile apps. - [rides-ios-sdk](https://github.com/uber/rides-ios-sdk) - Uber Rides iOS SDK (beta). - [Apphud](https://github.com/apphud/ApphudSDK) - A complete solution to integrate auto-renewable subscriptions and regular in-app purchases in 30 minutes with no server code required. - [Adapty](https://github.com/adaptyteam/AdaptySDK-iOS) - Integrate in-app subscriptions and a/b testing for them with 3 lines of code. ### Unofficial - [STTwitter](https://github.com/nst/STTwitter) A stable, mature and comprehensive Objective-C library for Twitter REST API 1.1. - [FHSTwitterEngine](https://github.com/natesymer/FHSTwitterEngine) Twitter API for Cocoa developers. - [Giphy](https://github.com/heyalexchoi/Giphy-iOS) Giphy API client for iOS in Objective-C. - [UberKit](https://github.com/sachinkesiraju/UberKit) - A simple, easy-to-use Objective-C wrapper for the Uber API. - [InstagramKit](https://github.com/shyambhat/InstagramKit) - Instagram iOS SDK. - [DribbbleSDK](https://github.com/agilie/dribbble-ios-sdk) - Dribbble iOS SDK. - [objectiveflickr](https://github.com/lukhnos/objectiveflickr) - ObjectiveFlickr, a Flickr API framework for Objective-C. - [Easy Social](https://github.com/pjebs/EasySocial) - Twitter & Facebook Integration. - [das-quadrat](https://github.com/Constantine-Fry/das-quadrat) - A Swift wrapper for Foursquare API. iOS and macOS. - [SocialLib](https://github.com/darkcl/SocialLib) - SocialLib handles sharing message to multiple social media. - [PokemonKit](https://github.com/ContinuousLearning/PokemonKit) - Pokeapi wrapper, written in Swift. - [TJDropbox](https://github.com/timonus/TJDropbox) - A Dropbox v2 client library written in Objective-C - [GitHub.swift](https://github.com/onmyway133/github.swift) - :octocat: Unofficial GitHub API client in Swift - [CloudRail SI](https://github.com/CloudRail/cloudrail-si-ios-sdk) - Abstraction layer / unified API for multiple API providers. Interfaces eg for Cloud Storage (Dropbox, Google, ...), Social Networks (Facebook, Twitter, ...) and more. - [Medium SDK - Swift](https://github.com/96-problems/medium-sdk-swift) - Unofficial Medium API SDK in Swift with sample project. - [Swifter](https://github.com/mattdonnelly/Swifter) - :bird: A Twitter framework for iOS & macOS written in Swift. - [SlackKit](https://github.com/pvzig/SlackKit) - a Slack client library for iOS and macOS written in Swift. - [RandomUserSwift](https://github.com/dingwilson/RandomUserSwift) - Swift Framework to Generate Random Users - An Unofficial SDK for randomuser.me. - [PPEventRegistryAPI](https://github.com/pantuspavel/PPEventRegistryAPI/) - Swift 3 Framework for Event Registry API (eventregistry.org). - [UnsplashKit](https://github.com/modo-studio/UnsplashKit) - Swift client for Unsplash. - [Swiftly Salesforce](https://github.com/mike4aday/SwiftlySalesforce) - An easy-to-use framework for building iOS apps that integrate with Salesforce, using Swift and promises. - [Spartan](https://github.com/Daltron/Spartan) - An Elegant Spotify Web API Library Written in Swift for iOS and macOS. - [BigBoard](https://github.com/Daltron/BigBoard) - An Elegant Financial Markets Library Written in Swift that makes requests to Yahoo Finance API's under the hood. - [BittrexApiKit](https://github.com/saeid/BittrexApiKit) - Simple and complete Swift wrapper for Bittrex Exchange API. - [SwiftyVK](https://github.com/SwiftyVK/SwiftyVK) Library for easy interact with VK social network API written in Swift. - [ARKKit](https://github.com/sleepdefic1t/ARKKit) - ARK Ecosystem Cryptocurrency API Framework for iOS & macOS, written purely in Swift 4.0. - [SwiftInstagram](https://github.com/AnderGoig/SwiftInstagram) - Swift Client for Instagram API. - [SwiftyArk](https://github.com/Awalz/SwiftyArk) - A simple, lightweight, fully-asynchronous cryptocurrency framework for the ARK Ecosystem. - [PerfectSlackAPIClient](https://github.com/CaptainYukinoshitaHachiman/PerfectSlackAPIClient) - A Slack API Client for the Perfect Server-Side Swift Framework. - [Mothership](https://github.com/thecb4/MotherShip) - Tunes Connect Library inspired by FastLane. - [SwiftFlyer](https://github.com/rinov/SwiftFlyer) - An API wrapper for bitFlyer that supports all providing API. - [waterwheel.swift](https://github.com/kylebrowning/waterwheel.swift) - The Waterwheel Swift SDK provides classes to natively connect iOS, macOS, tvOS, and watchOS applications to Drupal 7 and 8. - [ForecastIO](https://github.com/sxg/ForecastIO) - A Swift library for the Forecast.io Dark Sky API. - [JamfKit](https://github.com/ethenyl/JamfKit) - A JSS communication framework written in Swift. ## Security - [cocoapods-keys](https://github.com/orta/cocoapods-keys) - A key value store for storing environment and application keys. - [simple-touch](https://github.com/simple-machines/simple-touch) - Very simple swift wrapper for Biometric Authentication Services (Touch ID) on iOS. - [SwiftPasscodeLock](https://github.com/yankodimitrov/SwiftPasscodeLock) - An iOS passcode lock with TouchID authentication written in Swift. - [Smile-Lock](https://github.com/recruit-lifestyle/Smile-Lock) - A library for make a beautiful Passcode Lock View. - [zxcvbn-ios](https://github.com/dropbox/zxcvbn-ios) - A realistic password strength estimator. - [TPObfuscatedString](https://github.com/Techprimate/TPObfuscatedString) - Simple String obfuscation using core Swift. - [LTHPasscodeViewController](https://github.com/rolandleth/LTHPasscodeViewController) - An iOS passcode lockscreen replica (from Settings), with TouchID and simple (variable length) / complex support. - [iOS-App-Security-Class](https://github.com/karek314/iOS-App-Security-Class) - Simple class to check if iOS app has been cracked, being debugged or enriched with custom dylib and as well detect jailbroken environment. - [BiometricAuth](https://github.com/vasilenkoigor/BiometricAuth) - Simple framework for biometric authentication (via TouchID) in your application. - [SAPinViewController](https://github.com/siavashalipour/SAPinViewController) - Simple and easy to use default iOS PIN screen. This simple library allows you to draw a fully customisable PIN screen same as the iOS default PIN view. My inspiration to create this library was form THPinViewController, however SAPinViewController is completely implemented in Swift. Also the main purpose of creating this library was to have simple, easy to use and fully customisable PIN screen. - [TOPasscodeViewController](https://github.com/timoliver/TOPasscodeViewController) - A modal passcode input and validation view controller for iOS. - [BiometricAuthentication](https://github.com/rushisangani/BiometricAuthentication) - Use Apple FaceID or TouchID authentication in your app using BiometricAuthentication. - [KKPinCodeTextField](https://github.com/kolesa-team/ios_pinCodeTextField) - A customizable verification code textField for phone verification codes, passwords etc. - [Virgil SWIFT PFS SDK](https://github.com/VirgilSecurity/virgil-sdk-pfs-x) - An SDK that allows developers to add the Perfect Forward Secrecy (PFS) technologies to their digital solutions to protect previously intercepted traffic from being decrypted even if the main Private Key is compromised. - [Virgil Security Objective-C/Swift SDK](https://github.com/VirgilSecurity/virgil-sdk-x) - An SDK which allows developers to add full end-to-end security to their existing digital solutions to become HIPAA and GDPR compliant and more using Virgil API. - [Vault](https://github.com/passlock/Vault) - Safe place for your encryption keys. - [SecurePropertyStorage](https://github.com/alexruperez/SecurePropertyStorage) - Helps you define secure storages for your properties using Swift property wrappers. ### Encryption - [AESCrypt-ObjC](https://github.com/Gurpartap/AESCrypt-ObjC) - A simple and opinionated AES encrypt / decrypt Objective-C class that just works. - [IDZSwiftCommonCrypto](https://github.com/iosdevzone/IDZSwiftCommonCrypto) - A wrapper for Apple's Common Crypto library written in Swift. - [Arcane](https://github.com/onmyway133/Arcane) - Lightweight wrapper around CommonCrypto in Swift. - [SwiftMD5](https://github.com/mpurland/SwiftMD5) - A pure Swift implementation of MD5. - [SwiftHash](https://github.com/onmyway133/SwiftHash) - Hash in Swift. - [SweetHMAC](https://github.com/jancassio/SweetHMAC) - A tiny and easy to use Swift class to encrypt strings using HMAC algorithms. - [SwCrypt](https://github.com/soyersoyer/SwCrypt) - RSA public/private key generation, RSA, AES encryption/decryption, RSA sign/verify in Swift with CommonCrypto in iOS and macOS. - [SwiftSSL](https://github.com/SwiftP2P/SwiftSSL) - An Elegant crypto toolkit in Swift. - [SwiftyRSA](https://github.com/TakeScoop/SwiftyRSA) - RSA public/private key encryption in Swift. - [EnigmaKit](https://github.com/mikaoj/EnigmaKit) - Enigma encryption in Swift. - [Themis](https://github.com/cossacklabs/themis) - High-level crypto library, providing basic asymmetric encryption, secure messaging with forward secrecy and secure data storage, supports iOS/macOS, Android and different server side platforms. - [Obfuscator-iOS](https://github.com/pjebs/Obfuscator-iOS) - Secure your app by obfuscating all the hard-coded security-sensitive strings. - [swift-sodium](https://github.com/jedisct1/swift-sodium) - Safe and easy to use crypto for iOS. - [CryptoSwift](https://github.com/krzyzanowskim/CryptoSwift) - Crypto related functions and helpers for Swift implemented in Swift programming language. - [SCrypto](https://github.com/sgl0v/SCrypto) - Elegant Swift interface to access the CommonCrypto routines. - [SipHash](https://github.com/attaswift/SipHash) - Simple and secure hashing in Swift with the SipHash algorithm. - [RNCryptor](https://github.com/RNCryptor/RNCryptor) - CCCryptor (AES encryption) wrappers for iOS and Mac in Swift. -- For ObjC, see RNCryptor/RNCryptor-objc. - [CatCrypto](https://github.com/ImKcat/CatCrypto) - An easy way for hashing and encryption. - [SecureEnclaveCrypto](https://github.com/trailofbits/SecureEnclaveCrypto) - Demonstration library for using the Secure Enclave on iOS. - [RSASwiftGenerator](https://github.com/4taras4/RSASwiftGenerator) - Util for generation RSA keys on your client and save to keychain or cover into Data. - [Virgil Security Objective-C/Swift Crypto Library](https://github.com/VirgilSecurity/virgil-crypto-x) - A high-level cryptographic library that allows to perform all necessary operations for securely storing and transferring data. - [JOSESwift](https://github.com/airsidemobile/JOSESwift) - A framework for the JOSE standards JWS, JWE, and JWK written in Swift. ### Keychain - [UICKeyChainStore](https://github.com/kishikawakatsumi/UICKeyChainStore) - UICKeyChainStore is a simple wrapper for Keychain on iOS. - [Valet](https://github.com/square/Valet) - Securely store data in the iOS or macOS Keychain without knowing a thing about how the Keychain works. - [Locksmith](https://github.com/matthewpalmer/Locksmith) - A powerful, protocol-oriented library for working with the keychain in Swift. - [KeychainAccess](https://github.com/kishikawakatsumi/KeychainAccess) - Simple Swift wrapper for Keychain that works on iOS and macOS. - [Keychains](https://github.com/hyperoslo/Keychains) - Because you should care... about the security... of your shit. - [Lockbox](https://github.com/granoff/Lockbox) - Objective-C utility class for storing data securely in the key chain. - [SAMKeychain](https://github.com/soffes/SAMKeychain) - Simple Objective-C wrapper for the keychain that works on Mac and iOS. - [SwiftKeychainWrapper](https://github.com/jrendel/SwiftKeychainWrapper) - A simple wrapper for the iOS Keychain to allow you to use it in a similar fashion to User Defaults. - [SwiftyKeychainKit](https://github.com/andriyslyusar/SwiftyKeychainKit) - Keychain wrapper with the benefits of static typing and convenient syntax, support for primitive types, Codable, NSCoding. ## Server *Server side projects supporting coroutines, Linux, MacOS, iOS, Apache Modules, Async calls, libuv and more.* - [Perfect](https://github.com/PerfectlySoft/Perfect) - Server-side Swift. The Perfect library, application server, connectors and example apps. - [Swifter](https://github.com/httpswift/swifter) - Tiny http server engine written in Swift programming language. - [CocoaHTTPServer](https://github.com/robbiehanson/CocoaHTTPServer) - A small, lightweight, embeddable HTTP server for macOS or iOS applications. - [Curassow](https://github.com/kylef-archive/Curassow) - Swift HTTP server using the pre-fork worker model. - [Zewo](https://github.com/Zewo/Zewo) - Lightweight library for web server applications in Swift on macOS and Linux powered by coroutines. - [Vapor](https://github.com/vapor/vapor) - Elegant web framework for Swift that works on iOS, macOS, and Ubuntu. - [swiftra](https://github.com/takebayashi/swiftra) - Sinatra-like DSL for developing web apps in Swift. - [blackfire](https://github.com/elliottminns/blackfire) - A fast HTTP web server based on Node.js and Express written in Swift. - [swift-http](https://github.com/huytd/swift-http) - HTTP Implementation for Swift on Linux and macOS. - [Trevi](https://github.com/Yoseob/Trevi) - libuv base Swift web HTTP server framework. - [Express](https://github.com/crossroadlabs/Express) - Swift Express is a simple, yet unopinionated web application server written in Swift. - [Taylor](https://github.com/izqui/Taylor) - A lightweight library for writing HTTP web servers with Swift. - [Frank](https://github.com/kylef-archive/Frank) - Frank is a DSL for quickly writing web applications in Swift. - [Kitura](https://github.com/IBM-Swift/Kitura) - A Swift Web Framework and HTTP Server. - [Swifton](https://github.com/sauliusgrigaitis/Swifton) - A Ruby on Rails inspired Web Framework for Swift that runs on Linux and macOS. - [Dynamo](https://github.com/johnno1962/Dynamo) - High Performance (nearly)100% Swift Web server supporting dynamic content. - [Redis](https://github.com/vapor/redis) - Pure-Swift Redis client implemented from the original protocol spec. macOS + Linux compatible. - [NetworkObjects](https://github.com/colemancda/NetworkObjects) - Swift backend / server framework (Pure Swift, Supports Linux). - [Noze.io](http://noze.io) - Evented I/O streams a.k.a. Node.js for Swift. - [Lightning](https://github.com/skylab-inc/Lightning) - A Swift Multiplatform Web and Networking Framework. - [SwiftGD](https://github.com/twostraws/swiftgd) - A simple Swift wrapper for libgd. - [Jobs](https://github.com/BrettRToomey/Jobs) - A job system for Swift backends. - [ApacheExpress](https://github.com/ApacheExpress/ApacheExpress) - Write Apache Modules in Swift! - [GCDWebServer](https://github.com/swisspol/GCDWebServer) - Lightweight GCD based HTTP server for macOS & iOS (includes web based uploader & WebDAV server). - [Embassy](https://github.com/envoy/Embassy) - Super lightweight async HTTP server library in pure Swift runs in iOS / MacOS / Linux. - [smoke-framework](https://github.com/amzn/smoke-framework) - A light-weight server-side service framework written in the Swift programming language. ## Text - [Twitter Text Obj](https://github.com/twitter/twitter-text) - An Objective-C implementation of Twitter's text processing library. - [Nimbus](https://github.com/jverkoey/nimbus) - Nimbus is a toolkit for experienced iOS software designers. - [NSStringEmojize](https://github.com/diy/nsstringemojize) - A category on NSString to convert Emoji Cheat Sheet codes to their equivalent Unicode characters. - [MMMarkdown](https://github.com/mdiep/MMMarkdown) - An Objective-C static library for converting Markdown to HTML. - [DTCoreText](https://github.com/Cocoanetics/DTCoreText) - Methods to allow using HTML code with CoreText. - [DTRichTextEditor](https://github.com/Cocoanetics/DTRichTextEditor) - A rich-text editor for iOS. - [NBEmojiSearchView](https://github.com/neerajbaid/NBEmojiSearchView) - A searchable emoji dropdown view. - [Pluralize.swift](https://github.com/joshualat/Pluralize.swift) - Great Swift String Pluralize Extension. - [RichEditorView](https://github.com/cjwirth/RichEditorView) - RichEditorView is a simple, modular, drop-in UIView subclass for Rich Text Editing. - [Money](https://github.com/danthorpe/Money) - Swift value types for working with money & currency. - [PhoneNumberKit](https://github.com/marmelroy/PhoneNumberKit) - A Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google's libphonenumber. - [YYText](https://github.com/ibireme/YYText) - Powerful text framework for iOS to display and edit rich text. - [Format](https://github.com/marmelroy/Format) - A Swift Formatter Kit. - [Tribute](https://github.com/zats/Tribute) - Programmatic creation of NSAttributedString doesn't have to be a pain. - [EmojiKit](https://github.com/dasmer/EmojiKit) - Effortless emoji-querying in Swift. - [Roman](https://github.com/nvzqz/Roman) - Seamless Roman numeral conversion in Swift. - [ZSSRichTextEditor](https://github.com/nnhubbard/ZSSRichTextEditor) - A beautiful rich text WYSIWYG editor for iOS with a syntax highlighted source view. - [pangu.Objective-C](https://github.com/Cee/pangu.objective-c) - Paranoid text spacing in Objective-C. - [SwiftString](https://github.com/amayne/SwiftString) - A comprehensive, lightweight string extension for Swift. - [Marklight](https://github.com/macteo/Marklight) - Markdown syntax highlighter for iOS. - [MarkdownTextView](https://github.com/indragiek/MarkdownTextView) - Rich Markdown editing control for iOS. - [TextAttributes](https://github.com/delba/TextAttributes) - An easier way to compose attributed strings. - [Reductio](https://github.com/fdzsergio/Reductio) - Automatic summarizer text in Swift. - [SmarkDown](https://github.com/SwiftStudies/SmarkDown) - A Pure Swift implementation of the markdown mark-up language. - [SwiftyMarkdown](https://github.com/SimonFairbairn/SwiftyMarkdown) - Converts Markdown files and strings into NSAttributedString. - [SZMentions](https://github.com/szweier/SZMentions) - Library to help handle mentions. - [SZMentionsSwift](https://github.com/szweier/SZMentionsSwift) - Library to help handle mentions. - [Heimdall](https://github.com/henrinormak/Heimdall) - Heimdall is a wrapper around the Security framework for simple encryption/decryption operations. - [NoOptionalInterpolation](https://github.com/T-Pham/NoOptionalInterpolation) - Get rid of "Optional(...)" and "nil" in string interpolation. Easy pluralization. - [Smile](https://github.com/onmyway133/Smile) Emoji in Swift. - [ISO8601](https://github.com/onmyway133/iso8601) Super lightweight ISO8601 Date Formatter in Swift. - [Translucid](https://github.com/Ekhoo/Translucid) - Lightweight library to set an Image as text background. - [FormatterKit](https://github.com/mattt/FormatterKit) - `stringWithFormat:` for the sophisticated hacker set. - [BonMot](https://github.com/Rightpoint/BonMot) - Beautiful, easy attributed strings in Swift. - [SwiftValidators](https://github.com/gkaimakas/SwiftValidators) - String validation for iOS developed in Swift. Inspired by [validator.js](https://www.npmjs.com/package/validator). - [StringStylizer](https://github.com/kazuhiro4949/StringStylizer) - Type strict builder class for NSAttributedString. - [SwiftyAttributes](https://github.com/eddiekaiger/SwiftyAttributes) - Swift extensions that make it a breeze to work with attributed strings. - [MarkdownKit](https://github.com/bmoliveira/MarkdownKit) - A simple and customizable Markdown Parser for Swift. - [CocoaMarkdown](https://github.com/indragiek/CocoaMarkdown) - Markdown parsing and rendering for iOS and macOS. - [Notepad](https://github.com/ruddfawcett/Notepad) - A fully themeable markdown editor with live syntax highlighting. - [KKStringValidator](https://github.com/krizhanovskii/KKStringValidator) - Fast and simple string validation for iOS. With UITextField extension. - [ISO8859](https://github.com/Cosmo/ISO8859) - Convert ISO8859 1-16 Encoded Text to String in Swift. Supports iOS, tvOS, watchOS and macOS. - [Emojica](https://github.com/xoudini/emojica) - Replace standard emoji in strings with a custom emoji set, such as [Twemoji](https://github.com/twitter/twemoji) or [EmojiOne](https://github.com/joypixels/emojione). - [SwiftRichString](https://github.com/malcommac/SwiftRichString) - Elegant & Painless Attributed Strings Management Library in Swift. - [libPhoneNumber-iOS](https://github.com/iziz/libPhoneNumber-iOS) - iOS port from libphonenumber (Google's phone number handling library). - [AttributedTextView](https://github.com/evermeer/AttributedTextView) - Easiest way to create an attributed UITextView with support for multiple links (including hashtags and mentions). - [StyleDecorator](https://github.com/dimpiax/StyleDecorator) - Design string simply by linking attributes to needed parts. - [Mustard](https://github.com/mathewsanders/Mustard) - Mustard is a Swift library for tokenizing strings when splitting by whitespace doesn't cut it. - [Input Mask](https://github.com/RedMadRobot/input-mask-ios) - Pattern-based user input formatter, parser and validator for iOS. - [Attributed](https://github.com/Nirma/Attributed) - Modern Swift µframework for attributed strings. - [Atributika](https://github.com/psharanda/Atributika) - Easily build NSAttributedString by detecting and styling HTML-like tags, hashtags, mentions, RegExp or NSDataDetector patterns. - [Guitar](https://github.com/ArtSabintsev/Guitar) - A Cross-Platform String Library Written in Swift. - [RealTimeCurrencyFormatter](https://github.com/kaiomedau/realtime-currency-formatter-objc) - An ObjC international currency formatting utility. - [Down](https://github.com/iwasrobbed/Down) - Blazing fast Markdown rendering in Swift, built upon cmark. - [Marky Mark](https://github.com/m2mobi/Marky-Mark) - Highly customizable Markdown parsing and native rendering in Swift. - [MarkdownView](https://github.com/keitaoouchi/MarkdownView) - Markdown View for iOS. - [Highlighter](https://github.com/younatics/Highlighter) - Highlight whatever you want! Highlighter will magically find UI objects such as UILabel, UITextView, UITexTfield, UIButton in your UITableViewCell or other Class. - [Sprinter](https://github.com/nicklockwood/Sprinter) - A library for formatting strings on iOS and macOS. - [Highlightr](https://github.com/raspu/Highlightr) - An iOS & macOS syntax highlighter, supports 176 languages and comes with 79 styles. - [fuse-swift](https://github.com/krisk/fuse-swift) - A lightweight fuzzy-search library, with zero dependencies. - [EFMarkdown](https://github.com/EFPrefix/EFMarkdown) - A lightweight Markdown library for iOS. - [Croc](https://github.com/jkalash/croc) - A lightweight Swift library for Emoji parsing and querying. - [PostalCodeValidator](https://github.com/FormatterKit/PostalCodeValidator) - A validator for postal codes with support for 200+ regions. - [CodeMirror Swift](https://github.com/ProxymanApp/CodeMirror-Swift) - A lightweight wrapper of CodeMirror for macOS and iOS. Support Syntax Highlighting & Themes. - [TwitterTextEditor](https://github.com/twitter/TwitterTextEditor) - A standalone, flexible API that provides a full featured rich text editor for iOS applications. ### Font - [FontBlaster](https://github.com/ArtSabintsev/FontBlaster) - Programmatically load custom fonts into your iOS app. - [GoogleMaterialIconFont](https://github.com/kitasuke/GoogleMaterialIconFont) - Google Material Design Icons for Swift and ObjC project. - [ios-fontawesome](https://github.com/alexdrone/ios-fontawesome) - NSString+FontAwesome. - [FontAwesome.swift](https://github.com/thii/FontAwesome.swift) - Use FontAwesome in your Swift projects. - [SwiftFontName](https://github.com/morizotter/SwiftFontName) - OS font complements library. Localized font supported. - [SwiftIconFont](https://github.com/0x73/SwiftIconFont) - Icons fonts for iOS (FontAwesome, Iconic, Ionicon, Octicon, Themify, MapIcon, MaterialIcon). - [FontAwesomeKit](https://github.com/PrideChung/FontAwesomeKit) - Icon font library for iOS. Currently supports Font-Awesome, Foundation icons, Zocial, and ionicons. - [Iconic](https://github.com/home-assistant/Iconic) - Auto-generated icon font library for iOS, watchOS and tvOS. - [GoogleMaterialDesignIcons](https://github.com/dekatotoro/GoogleMaterialDesignIcons) - Google Material Design Icons Font for iOS. - [OcticonsKit](https://github.com/keitaoouchi/OcticonsKit) - Use Octicons as UIImage / UIFont in your projects with Swifty manners. - [IoniconsKit](https://github.com/keitaoouchi/IoniconsKit) - Use Ionicons as UIImage / UIFont in your projects with Swifty manners. - [FontAwesomeKit.Swift](https://github.com/qiuncheng/FontAwesomeKit.Swift) - A better choice for iOS Developer to use FontAwesome Icon. - [UIFontComplete](https://github.com/Nirma/UIFontComplete) - Font management (System & Custom) for iOS and tvOS. - [Swicon](https://github.com/UglyTroLL/Swicon) - Use 1600+ icons (and more!) from FontAwesome and Google Material Icons in your swift/iOS project in an easy and space-efficient way! - [SwiftIcons](https://github.com/ranesr/SwiftIcons) - A library for using different font icons: dripicons, emoji, font awesome, icofont, ionicons, linear icons, map icons, material icons, open iconic, state, weather. It supports UIImage, UIImageView, UILabel, UIButton, UISegmentedControl, UITabBarItem, UISlider, UIBarButtonItem, UIViewController, UITextfield, UIStepper. - [Font-Awesome-Swift](https://github.com/Vaberer/Font-Awesome-Swift) - Font Awesome swift library for iOS. - [JQSwiftIcon](https://github.com/josejuanqm/JQSwiftIcon) - Icon Fonts on iOS using string interpolation written in Swift. - [Money](https://github.com/Flight-School/Money) - A precise, type-safe representation of a monetary amount in a given currency. ## Testing ### TDD / BDD - [Kiwi](https://github.com/kiwi-bdd/Kiwi) - A behavior-driven development library for iOS development. - [Specta](https://github.com/specta/specta) - A light-weight TDD / BDD framework for Objective-C & Cocoa. - [Quick](https://github.com/Quick/Quick) - A behavior-driven development framework for Swift and Objective-C. - [XcodeCoverage](https://github.com/jonreid/XcodeCoverage) - Code coverage for Xcode projects. - [OHHTTPStubs](https://github.com/AliSoftware/OHHTTPStubs) - Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers! - [Dixie](https://github.com/Skyscanner/Dixie) - Dixie is an open source Objective-C testing framework for altering object behaviours. - [gh-unit](https://github.com/gh-unit/gh-unit) - Test Framework for Objective-C. - [Nimble](https://github.com/Quick/Nimble) - A Matcher Framework for Swift and Objective-C - [Sleipnir](https://github.com/railsware/Sleipnir) - BDD-style framework for Swift. - [SwiftCheck](https://github.com/typelift/SwiftCheck) - QuickCheck for Swift. - [Spry](https://github.com/Quick/Spry) - A Mac and iOS Playgrounds Unit Testing library based on Nimble. - [swift-corelibs-xctest](https://github.com/apple/swift-corelibs-xctest) - The XCTest Project, A Swift core library for providing unit test support. - [PlaygroundTDD](https://github.com/WhiskerzAB/PlaygroundTDD) - Small library to easily run your tests directly within a Playground. ### A/B Testing - [Switchboard](https://github.com/KeepSafe/Switchboard) - Switchboard - easy and super light weight A/B testing for your mobile iPhone or android app. This mobile A/B testing framework allows you with minimal servers to run large amounts of mobile users. - [SkyLab](https://github.com/mattt/SkyLab) - Multivariate & A/B Testing for iOS and Mac. - [MSActiveConfig](https://github.com/mindsnacks/MSActiveConfig) - Remote configuration and A/B Testing framework for iOS. - [ABKit](https://github.com/recruit-mp/ABKit) - AB testing framework for iOS. ### UI Testing - [appium](http://appium.io/) - Appium is an open source test automation framework for use with native and hybrid mobile apps. - [robotframework-appiumlibrary](https://github.com/serhatbolsu/robotframework-appiumlibrary) - AppiumLibrary is an appium testing library for RobotFramework. - [Cucumber](https://cucumber.io/) - Behavior driver development for iOS. - [Kif](https://github.com/kif-framework/KIF) - An iOS Functional Testing Framework. - [Subliminal](https://github.com/inkling/Subliminal) - An understated approach to iOS integration testing. - [ios-driver](http://ios-driver.github.io/ios-driver/index.html) - Test any iOS native, hybrid, or mobile web application using Selenium / WebDriver. - [Remote](https://github.com/johnno1962/Remote) - Control your iPhone from inside Xcode for end-to-end testing. - [LayoutTest-iOS](https://github.com/linkedin/LayoutTest-iOS) - Write unit tests which test the layout of a view in multiple configurations. - [EarlGrey](https://github.com/google/EarlGrey) - :tea: iOS UI Automation Test Framework. - [UI Testing Cheat Sheet](https://github.com/joemasilotti/UI-Testing-Cheat-Sheet) - How do I test this with UI Testing? - [Bluepill](https://github.com/linkedin/bluepill) - Bluepill is a reliable iOS testing tool that runs UI tests using multiple simulators on a single machine. - [Flawless App](https://flawlessapp.io/) - tool for visual quality check of mobile app in a real-time. It compares initial design with the actual implementation right inside iOS simulator. - [TouchVisualizer](https://github.com/morizotter/TouchVisualizer) - Lightweight touch visualization library in Swift. A single line of code and visualize your touches! - [UITestHelper](https://github.com/evermeer/UITestHelper) - UITest helper library for creating readable and maintainable tests. - [ViewInspector](https://github.com/nalexn/ViewInspector) - Runtime inspection and unit testing of SwiftUI views - [AutoMate](https://github.com/PGSSoft/AutoMate) - XCTest extensions for writing UI automation tests. ### Other Testing - [NaughtyKeyboard](https://github.com/Palleas/NaughtyKeyboard) - The Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data. This is a keyboard to help you test your app from your iOS device. - [Fakery](https://github.com/vadymmarkov/Fakery) - Swift fake data generator. - [DVR](https://github.com/venmo/DVR) - Network testing for Swift. - [Cuckoo](https://github.com/Brightify/Cuckoo) - First boilerplate-free mocking framework for Swift. - [Vinyl](https://github.com/Velhotes/Vinyl) - Network testing à la VCR in Swift. - [Mockit](https://github.com/sabirvirtuoso/Mockit) - A simple mocking framework for Swift, inspired by the famous Mockito for Java. - [Cribble](https://github.com/maxsokolov/Cribble) - Swifty tool for visual testing iPhone and iPad apps. - [second_curtain](https://github.com/ashfurrow/second_curtain) - Upload failing iOS snapshot tests cases to S3. - [trainer](https://github.com/fastlane-community/trainer) - Convert xcodebuild plist files to JUnit reports. - [Buildasaur](https://github.com/buildasaurs/Buildasaur) - Automatic testing of your Pull Requests on GitHub and BitBucket using Xcode Server. Keep your team productive and safe. Get up and running in minutes. - [Kakapo](https://github.com/devlucky/Kakapo) - Dynamically Mock server behaviors and responses in Swift. - [AcceptanceMark](https://github.com/bizz84/AcceptanceMark) Tool to auto-generate Xcode tests classes from Markdown tables. - [MetovaTestKit](https://github.com/metova/MetovaTestKit) - A collection of testing utilities to turn crashing test suites into failing test suites. - [MirrorDiffKit](https://github.com/Kuniwak/MirrorDiffKit) - Pretty diff between any structs or classes. - [SnappyTestCase](https://github.com/tooploox/SnappyTestCase) - iOS Simulator type agnostic snapshot testing, built on top of the FBSnapshotTestCase. - [XCTestExtensions](https://github.com/shindyu/XCTestExtensions) - XCTestExtensions is a Swift extension that provides convenient assertions for writing Unit Test. - [OCMock](https://ocmock.org/) - Mock objects for Objective-C. - [Mockingjay](https://github.com/kylef/Mockingjay) - An elegant library for stubbing HTTP requests with ease in Swift. - [PinpointKit](https://github.com/Lickability/PinpointKit) - Let your testers and users send feedback with annotated screenshots and logs using a simple gesture. - [iOS Snapshot Test Case](https://github.com/uber/ios-snapshot-test-case) — Snapshot test your UIViews and CALayers on iOS and tvOS. - [DataFixture](https://github.com/andreadelfante/DataFixture) - Creation of data model easily, with no headache. - [SnapshotTesting](https://github.com/pointfreeco/swift-snapshot-testing) - Delightful Swift snapshot testing. - [Mockingbird](https://github.com/Farfetch/mockingbird) - Simplify software testing, by easily mocking any system using HTTP/HTTPS, allowing a team to test and develop against a service that is not complete, unstable or just to reproduce planned cases. ## UI - [Motif](https://github.com/erichoracek/Motif) - A lightweight and customizable JSON stylesheet framework for iOS. - [Texture](https://github.com/TextureGroup/Texture) - Smooth asynchronous user interfaces for iOS apps. - [GaugeKit](https://github.com/skywinder/GaugeKit) - Customizable gauges. Easy reproduce Apple's style gauges. - [iCarousel](https://github.com/nicklockwood/iCarousel) - A simple, highly customisable, data-driven 3D carousel for iOS and Mac OS. - [HorizontalDial](https://github.com/kciter/HorizontalDial) - A horizontal scroll dial like Instagram. - [ComponentKit](https://componentkit.org/) - A React-Inspired View Framework for iOS, by Facebook. - [RKNotificationHub](https://github.com/cwRichardKim/RKNotificationHub) - Make any UIView a full fledged notification center. - [phone-number-picker](https://github.com/hughbe/phone-number-picker) - A simple and easy to use view controller enabling you to enter a phone number with a country code similar to WhatsApp written in Swift. - [BEMCheckBox](https://github.com/Boris-Em/BEMCheckBox#sample-app) - Tasteful Checkbox for iOS. - [MPParallaxView](https://github.com/DroidsOnRoids/MPParallaxView) - Apple TV Parallax effect in Swift. - [Splitflap](https://github.com/yannickl/Splitflap) - A simple split-flap display for your Swift applications. - [EZSwipeController](https://github.com/goktugyil/EZSwipeController) - UIPageViewController like Snapchat/Tinder/iOS Main Pages. - [Curry](https://github.com/devinross/curry) - Curry is a framework built to enhance and compliment Foundation and UIKit. - [Pages](https://github.com/hyperoslo/Pages) - UIPageViewController made simple. - [BAFluidView](https://github.com/antiguab/BAFluidView) - UIView that simulates a 2D view of a fluid in motion. - [WZDraggableSwitchHeaderView](https://github.com/wongzigii/WZDraggableSwitchHeaderView) - Showing status for switching between viewControllers. - [SCTrelloNavigation](https://github.com/SergioChan/SCTrelloNavigation) - An iOS native implementation of a Trello Animated Navagation. - [Spots](https://github.com/hyperoslo/Spots) - Spots is a view controller framework that makes your setup and future development blazingly fast. - [AZExpandableIconListView](https://github.com/Azuritul/AZExpandableIconListView) - An expandable/collapsible view component written in Swift. - [FlourishUI](https://github.com/thinkclay/FlourishUI) - A highly configurable and out-of-the-box-pretty UI library. - [Navigation Stack](https://github.com/Ramotion/navigation-stack) - Navigation Stack is a stack-modeled navigation controller. - [UIView-draggable](https://github.com/andreamazz/UIView-draggable) - UIView category that adds dragging capabilities. - [EPSignature](https://github.com/ipraba/EPSignature) - Signature component for iOS in Swift. - [EVFaceTracker](https://github.com/evermeer/EVFaceTracker) - Calculate the distance and angle of your device with regards to your face. - [LeeGo](https://github.com/wangshengjia/LeeGo) - Declarative, configurable & highly reusable UI development as making Lego bricks. - [MEVHorizontalContacts](https://github.com/manuelescrig/MEVHorizontalContacts) - An iOS UICollectionViewLayout subclass to show a list of contacts with configurable expandable menu items. - [VisualEffectView](https://github.com/efremidze/VisualEffectView) - UIVisualEffectView subclass with tint color. - [Cacao](https://github.com/PureSwift/Cacao) - Pure Swift Cross-platform UIKit (Cocoa Touch) implementation (Supports Linux). - [JDFlipNumberView](https://github.com/calimarkus/JDFlipNumberView) - Representing analog flip numbers like airport/trainstation displays. - [DCKit](https://github.com/agordeev/DCKit) - Set of iOS controls, which have useful IBInspectable properties. Written on Swift. - [BackgroundVideoiOS](https://github.com/Guzlan/BackgroundVideoiOS) - A swift and objective-C object that lets you add a background video to iOS views. - [NightNight](https://github.com/Draveness/NightNight) - Elegant way to integrate night mode to swift projects. - [SwiftTheme](https://github.com/wxxsw/SwiftTheme) - Powerful theme/skin manager for iOS. - [FDStackView](https://github.com/forkingdog/FDStackView) - Use UIStackView directly in iOS. - [RedBeard](https://www.redbeard.io/) - It's a complete framework that takes away much of the pain of getting a beautiful, powerful iOS App crafted. - [Material](https://github.com/CosmicMind/Material) - Material is an animation and graphics framework that allows developers to easily create beautiful applications. - [DistancePicker](https://github.com/qmathe/DistancePicker) - Custom control to select a distance with a pan gesture, written in Swift. - [OAStackView](https://github.com/nsomar/OAStackView) - OAStackView tries to port back the stackview to iOS 7+. OAStackView aims at replicating all the features in UIStackView. - [PageController](https://github.com/hirohisa/PageController) - Infinite paging controller, scrolling through contents and title bar scrolls with a delay. - [StatusProvider](https://github.com/mariohahn/StatusProvider) - Protocol to handle initial Loadings, Empty Views and Error Handling in a ViewController & views. - [StackLayout](https://github.com/bridger/StackLayout) - An alternative to UIStackView for common Auto Layout patterns. - [NightView](https://github.com/Boris-Em/NightView) - Dazzling Nights on iOS. - [SwiftVideoBackground](https://github.com/dingwilson/SwiftVideoBackground) - Easy to Use UIView subclass for implementing a video background. - [ConfettiView](https://github.com/OrRon/ConfettiView) - Confetti View lets you create a magnificent confetti view in your app. - [BouncyPageViewController](https://github.com/BohdanOrlov/BouncyPageViewController) - Page view controller with bounce effect. - [LTHRadioButton](https://github.com/rolandleth/LTHRadioButton) - A radio button with a pretty fill animation. - [Macaw-Examples](https://github.com/exyte/Macaw-Examples) - Various usages of the Macaw library. - [Reactions](https://github.com/yannickl/Reactions) - Fully customizable Facebook reactions control. - [Newly](https://github.com/dhirajjadhao/Newly) - Newly is a drop in solution to add Twitter/Facebook/Linkedin-style new updates/tweets/posts available button. - [CardStackController](https://github.com/jobandtalent/CardStackController) - iOS custom controller used in Jobandtalent app to present new view controllers as cards. - [Material Components](https://github.com/material-components/material-components-ios) - Google developed UI components that help developers execute Material Design. - [FAQView](https://github.com/mukeshthawani/FAQView) - An easy to use FAQ view for iOS written in Swift. - [LMArticleViewController](https://github.com/lucamozza/LMArticleViewController) - UIViewController subclass to beautifully present news articles and blog posts. - [FSPagerView](https://github.com/WenchaoD/FSPagerView) - FSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders. - [ElongationPreview](https://github.com/Ramotion/elongation-preview) - ElongationPreview is an elegant push-pop style view controller with 3D-Touch support and gestures. - [Pageboy](https://github.com/uias/Pageboy) - A simple, highly informative page view controller. - [IGColorPicker](https://github.com/iGenius-Srl/IGColorPicker) - A customizable color picker for iOS in Swift. - [KPActionSheet](https://github.com/khuong291/KPActionSheet) - A replacement of default action sheet, but has very simple usage. - [SegmentedProgressBar](https://github.com/D-32/SegmentedProgressBar) - Snapchat / Instagram Stories style animated indicator. - [Magnetic](https://github.com/efremidze/Magnetic) - SpriteKit Floating Bubble Picker (inspired by Apple Music). - [AmazingBubbles](https://github.com/GlebRadchenko/AmazingBubbles) - Apple Music like Bubble Picker using Dynamic Animation. - [Haptica](https://github.com/efremidze/Haptica) - Easy Haptic Feedback Generator. - [GDCheckbox](https://github.com/saeid/GDCheckbox) - An easy to use custom checkbox/radio button component for iOS, with support of IBDesign Inspector. - [HamsterUIKit](https://github.com/Howardw3/HamsterUIKit) - A simple and elegant UIKit(Chart) for iOS. - [AZEmptyState](https://github.com/Minitour/AZEmptyState) - A UIControl subclass that makes it easy to create empty states. - [URWeatherView](https://github.com/jegumhon/URWeatherView) - Show the weather effects onto view. - [LCUIComponents](https://github.com/linhcn/LCUIComponents) - A framework supports creating transient views on top of other content onscreen such as popover with a data list. - [ViewComposer](https://github.com/Sajjon/ViewComposer) - `let lbl: UILabel = [.text("Hello"), .textColor(.red)]` - Create views using array literal of enum expressing view attributes. - [BatteryView](https://github.com/yonat/BatteryView) - Simple battery shaped UIView. - [ShadowView](https://github.com/PierrePerrin/ShadowView) - Make shadows management easy on UIView. - [Pulley](https://github.com/52inc/Pulley) - A library to imitate the iOS 10 Maps UI. - [N8iveKit](https://github.com/n8iveapps/N8iveKit) - A set of frameworks making iOS development more fun. - [Panda](https://github.com/wordlessj/Panda) - Create view hierarchies declaratively. - [NotchKit](https://github.com/HarshilShah/NotchKit) - A simple way to hide the notch on the iPhone X - [Overlay](https://github.com/TintPoint/Overlay) - Overlay is a flexible UI framework designed for Swift. It allows you to write CSS like Swift code. - [SwiftyUI](https://github.com/haoking/SwiftyUI) - High performance and lightweight(one class each UI) UIView, UIImage, UIImageView, UIlabel, UIButton, Promise and more. - [NotchToolkit](https://github.com/AFathi/NotchToolkit) - A framework for iOS that allow developers use the iPhone X notch in creative ways. - [PullUpController](https://github.com/MarioIannotta/PullUpController) - Pull up controller with multiple sticky points like in iOS Maps. - [DrawerKit](https://github.com/babylonhealth/DrawerKit) - DrawerKit lets an UIViewController modally present another UIViewController in a manner similar to the way Apple's Maps app works. - [Shades](https://github.com/aaronjsutton/Shades) - Easily add drop shadows, borders, and round corners to a UIView. - [ISPageControl](https://github.com/Interactive-Studio/ISPageControl) - A page control similar to that used in Instagram. - [Mixin](https://github.com/oney/Mixin) - React.js like Mixin. More powerful Protocol-Oriented Programming. - [Shiny](https://github.com/efremidze/Shiny) - Iridescent Effect View (inspired by Apple Pay Cash). - [StackViewController](https://github.com/seedco/StackViewController) - A controller that uses a UIStackView and view controller composition to display content in a list. - [UberSignature](https://github.com/uber/UberSignature) - Provides an iOS view controller allowing a user to draw their signature with their finger in a realistic style. - [SwViewCapture](https://github.com/startry/SwViewCapture) - A nice iOS View Capture Swift Library which can capture all content. - [HGRippleRadarView](https://github.com/HamzaGhazouani/HGRippleRadarView) - A beautiful radar view to show nearby items (users, restaurants, ...) with ripple animation, fully customizable. - [GDGauge](https://github.com/saeid/GDGauge) - Full Customizable, Beautiful, Easy to use gauge view Edit. - [STAControls](https://github.com/Stunner/STAControls) - Handy UIControl subclasses. (Think Three20/NimbusKit of UIControls.) Written in Objective-C. - [ApplyStyleKit](https://github.com/shindyu/ApplyStyleKit) - Elegant apply style, using Swift Method Chain. - [OverlayContainer](https://github.com/applidium/OverlayContainer) - A library to develop overlay based interfaces, such as the one presented in the iOS 12 Apple Maps or Stocks apps. - [ClassicKit](https://github.com/Baddaboo/ClassicKit) - A collection of classic-style UI components for iOS. - [Sejima](https://github.com/MoveUpwards/Sejima) - A collection of User Interface components for iOS. - [UI Fabric by Microsoft](https://github.com/OfficeDev/ui-fabric-ios) - UI framework based on [Fluent Design System](https://www.microsoft.com/design/fluent/#/ios) by Microsoft. - [Popovers](https://github.com/aheze/Popovers) - A library to present popovers. Simple, modern, and highly customizable. Not boring! ### Activity Indicator - [NVActivityIndicatorView](https://github.com/ninjaprox/NVActivityIndicatorView) - Collection of nice loading animations. - [RPLoadingAnimation](https://github.com/naoyashiga/RPLoadingAnimation) - Loading animations by using Swift CALayer. - [LiquidLoader](https://github.com/yoavlt/LiquidLoader) - Spinner loader components with liquid animation. - [iOS-CircleProgressView](https://github.com/CardinalNow/iOS-CircleProgressView) - This control will allow a user to use code instantiated or interface builder to create and render a circle progress view. - [iOS Circle Progress Bar](https://github.com/Eclair/CircleProgressBar) - iOS Circle Progress Bar. - [LinearProgressBar](https://github.com/PhilippeBoisney/LinearProgressBar) - Linear Progress Bar (inspired by Google Material Design) for iOS. - [STLoadingGroup](https://github.com/saitjr/STLoadingGroup) - loading views. - [ALThreeCircleSpinner](https://github.com/AlexLittlejohn/ALThreeCircleSpinner) - A pulsing spinner view written in swift. - [MHRadialProgressView](https://github.com/mehfuzh/MHRadialProgressView) - iOS radial animated progress view. - [Loader](https://github.com/Ekhoo/Loader) - Amazing animated switch activity indicator written in swift. - [MBProgressHUD](https://github.com/jdg/MBProgressHUD) - Drop-in class for displays a translucent HUD with an indicator and/or labels while work is being done in a background thread. - [SVProgressHUD](https://github.com/SVProgressHUD/SVProgressHUD) - A clean and lightweight progress HUD for your iOS app. - [ProgressHUD](https://github.com/relatedcode/ProgressHUD) - ProgressHUD is a lightweight and easy-to-use HUD. - [M13ProgressSuite](https://github.com/Marxon13/M13ProgressSuite) - A suite containing many tools to display progress information on iOS. - [PKHUD](https://github.com/pkluz/PKHUD) - A Swift based reimplementation of the Apple HUD (Volume, Ringer, Rotation,…) for iOS 8 and above. - [EZLoadingActivity](https://github.com/goktugyil/EZLoadingActivity) - Lightweight loading activity HUD. - [FFCircularProgressView](https://github.com/elbryan/FFCircularProgressView) - FFCircularProgressView - An iOS 7-inspired blue circular progress view. - [MRProgress](https://github.com/mrackwitz/MRProgress) - Collection of iOS drop-in components to visualize progress. - [BigBrother](https://github.com/marcelofabri/BigBrother) - Automatically sets the network activity indicator for any performed request. - [AlamofireNetworkActivityIndicator](https://github.com/Alamofire/AlamofireNetworkActivityIndicator) - Controls the visibility of the network activity indicator on iOS using Alamofire. - [KDCircularProgress](https://github.com/kaandedeoglu/KDCircularProgress) - A circular progress view with gradients written in Swift. - [DACircularProgress](https://github.com/danielamitay/DACircularProgress) - DACircularProgress is a UIView subclass with circular UIProgressView properties. - [KYNavigationProgress](https://github.com/ykyouhei/KYNavigationProgress) - Simple extension of UINavigationController to display progress on the UINavigationBar. - [GearRefreshControl](https://github.com/andreamazz/GearRefreshControl) - A custom animation for the UIRefreshControl. - [NJKWebViewProgress](https://github.com/ninjinkun/NJKWebViewProgress) - A progress interface library for UIWebView. You can implement progress bar for your in-app browser using this module. - [MKRingProgressView](https://github.com/maxkonovalov/MKRingProgressView) - A beautiful ring/circular progress view similar to Activity app on Apple Watch, written in Swift. - [Hexacon](https://github.com/gautier-gdx/Hexacon) - A new way to display content in your app like the Apple Watch SpringBoard, written in Swift. - [ParticlesLoadingView](https://github.com/BalestraPatrick/ParticlesLoadingView) - A customizable SpriteKit particles animation on the border of a view. - [RPCircularProgress](https://github.com/iwasrobbed/RPCircularProgress) - (Swift) Circular progress UIView subclass with UIProgressView properties. - [MBCircularProgressBar](https://github.com/MatiBot/MBCircularProgressBar) - A circular, animatable & highly customizable progress bar, editable from the Interface Builder using IBDesignable. - [WSProgressHUD](https://github.com/devSC/WSProgressHUD) - This is a beautiful hud view for iPhone & iPad. - [DBMetaballLoading](https://github.com/dabing1022/DBMetaballLoading) - A metaball loading written in Swift. - [FillableLoaders](https://github.com/polqf/FillableLoaders) - Completely customizable progress based loaders drawn using custom CGPaths written in Swift. - [VHUD](https://github.com/xxxAIRINxxx/VHUD) Simple HUD. - [SwiftSpinner](https://github.com/icanzilb/SwiftSpinner) - A beautiful activity indicator and modal alert written in Swift using blur effects, translucency, flat and bold design. - [SnapTimer](https://github.com/andresinaka/SnapTimer) - Implementation of Snapchat's stories timer. - [LLSpinner](https://github.com/alephao/LLSpinner) - An easy way to create a full screen activity indicator. - [SVUploader](https://github.com/kirankunigiri/SVUploader) - A beautiful uploader progress view that makes things simple and easy. - [YLProgressBar](https://github.com/yannickl/YLProgressBar) - UIProgressView replacement with an highly and fully customizable animated progress bar in pure Core Graphics. - [FlexibleSteppedProgressBar](https://github.com/amratab/FlexibleSteppedProgressBar) - A beautiful easily customisable stepped progress bar. - [GradientLoadingBar](https://github.com/fxm90/GradientLoadingBar) - An animated gradient loading bar. - [DSGradientProgressView](https://github.com/DholStudio/DSGradientProgressView) - A simple and customizable animated progress bar written in Swift. - [GradientProgressBar](https://github.com/fxm90/GradientProgressBar) - A gradient progress bar (UIProgressView). - [BPCircleActivityIndicator](https://github.com/ppth0608/BPCircleActivityIndicator) - A lightweight and awesome Loading Activity Indicator for your iOS app. - [DottedProgressBar](https://github.com/nikola9core/DottedProgressBar) - Simple and customizable animated progress bar with dots for iOS. - [RSLoadingView](https://github.com/roytornado/RSLoadingView) - Awesome loading animations using 3D engine written with Swift. - [SendIndicator](https://github.com/LeonardoCardoso/SendIndicator) - Yet another task indicator. - [StepProgressView](https://github.com/yonat/StepProgressView) - Step-by-step progress view with labels and shapes. A good replacement for UIActivityIndicatorView and UIProgressView. - [BPBlockActivityIndicator](https://github.com/ppth0608/BPBlockActivityIndicator) - A simple and awesome Loading Activity Indicator(with funny block animation) for your iOS app. - [JDBreaksLoading](https://github.com/jamesdouble/JDBreaksLoading) - You can easily start up a little breaking game indicator by one line. - [SkeletonView](https://github.com/Juanpe/SkeletonView) - An elegant way to show users that something is happening and also prepare them to which contents he is waiting. - [Windless](https://github.com/Interactive-Studio/Windless) - Windless makes it easy to implement invisible layout loading view. - [Skeleton](https://github.com/gonzalonunez/Skeleton) - An easy way to create sliding CAGradientLayer animations! Works great for creating skeleton screens for loading content. - [StatusBarOverlay](https://github.com/IdleHandsApps/StatusBarOverlay) - Automatically show/hide a "No Internet Connection" bar when your app loses/gains connection. It supports apps which hide the status bar and "The Notch". - [RetroProgress](https://github.com/hyperoslo/RetroProgress) - Retro looking progress bar straight from the 90s. - [LinearProgressBar](https://github.com/Recouse/LinearProgressBar) - Material Linear Progress Bar for your iOS apps. - [MKProgress](https://github.com/kamirana4/MKProgress) - A lightweight ProgressHUD written in Swift. Looks similar to /MBProgressHUD/SVProgressHUD/KVNProgressHUD. - [RHPlaceholder](https://github.com/robertherdzik/RHPlaceholder) - Simple library which give you possibility to add Facebook like loading state for your views. - [IHProgressHUD](https://github.com/Swiftify-Corp/IHProgressHUD) - Simple HUD, thread safe, supports iOS, tvOS and App Extensions. - [ActivityIndicatorView](https://github.com/exyte/ActivityIndicatorView) - A number of preset loading indicators created with SwiftUI. - [ProgressIndicatorView](https://github.com/exyte/ProgressIndicatorView) - A number of preset progress indicators created with SwiftUI. ### Animation - [Pop](https://github.com/facebook/pop) - An extensible iOS and macOS animation library, useful for physics-based interactions. - [AnimationEngine](https://github.com/intuit/AnimationEngine) - Easily build advanced custom animations on iOS. - [RZTransitions](https://github.com/Rightpoint/RZTransitions) - A library of custom iOS View Controller Animations and Interactions. - [DCAnimationKit](https://github.com/daltoniam/DCAnimationKit) - A collection of animations for iOS. Simple, just add water animations. - [Spring](https://github.com/MengTo/Spring) - A library to simplify iOS animations in Swift. - [Fluent](https://github.com/matthewcheok/Fluent) - Swift animation made easy. - [Cheetah](https://github.com/suguru/Cheetah) - Easy animation library on iOS. - [Pop By Example](https://github.com/hossamghareeb/Facebook-POP-Tutorial) - A project tutorial in how to use Pop animation framework by example. - [AppAnimations](http://www.appanimations.com) - Collection of iOS animations to inspire your next project. - [EasyAnimation](https://github.com/icanzilb/EasyAnimation) - A Swift library to take the power of UIView.animateWithDuration() to a whole new level - layers, springs, chain-able animations, and mixing view/layer animations together. - [Animo](https://github.com/eure/Animo) - SpriteKit-like animation builders for CALayers. - [CurryFire](https://github.com/devinross/curry-fire) - A framework for creating unique animations. - [IBAnimatable](https://github.com/IBAnimatable/IBAnimatable) - Design and prototype UI, interaction, navigation, transition and animation for App Store ready Apps in Interface Builder with IBAnimatable. - [CKWaveCollectionViewTransition](https://github.com/CezaryKopacz/CKWaveCollectionViewTransition) - Cool wave like transition between two or more UICollectionView. - [DaisyChain](https://github.com/alikaragoz/DaisyChain) - Easy animation chaining. - [PulsingHalo](https://github.com/shu223/PulsingHalo) - iOS Component for creating a pulsing animation. - [DKChainableAnimationKit](https://github.com/Draveness/DKChainableAnimationKit) - Chainable animations in Swift. - [JDAnimationKit](https://github.com/JellyDevelopment/JDAnimationKit) - Animate easy and with less code with Swift. - [Advance](https://github.com/timdonnelly/Advance) - A powerful animation framework for iOS. - [UIView-Shake](https://github.com/andreamazz/UIView-Shake) - UIView category that adds shake animation. - [Walker](https://github.com/RamonGilabert/Walker) - A new animation engine for your app. - [Morgan](https://github.com/RamonGilabert/Morgan) - An animation set for your app. - [MagicMove](https://github.com/patrickreynolds/MagicMove) - Keynote-style Magic Move transition animations. - [Shimmer](https://github.com/facebook/Shimmer) - An easy way to add a simple, shimmering effect to any view in an iOS app. - [SAConfettiView](https://github.com/sudeepag/SAConfettiView) - Confetti! Who doesn't like confetti? - [CCMRadarView](https://github.com/cacmartinez/CCMRadarView) - CCMRadarView uses the IBDesignable tools to make an easy customizable radar view with animation. - [Pulsator](https://github.com/shu223/Pulsator) - Pulse animation for iOS. - [Interpolate](https://github.com/marmelroy/Interpolate) - Swift interpolation for gesture-driven animations. - [ADPuzzleAnimation](https://github.com/Antondomashnev/ADPuzzleAnimation) - Custom animation for UIView inspired by Fabric - Answers animation. - [Wave](https://github.com/onmyway133/Wave) - :ocean: Declarative chainable animations in Swift. - [Stellar](https://github.com/AugustRush/Stellar) - A fantastic Physical animation library for swift. - [MotionMachine](https://github.com/poetmountain/MotionMachine) - A powerful, elegant, and modular animation library for Swift. - [JRMFloatingAnimation](https://github.com/carleihar/JRMFloatingAnimation) - An Objective-C animation library used to create floating image views. - [AHKBendableView](https://github.com/fastred/AHKBendableView) - UIView subclass that bends its edges when its position changes. - [FlightAnimator](https://github.com/AntonTheDev/FlightAnimator) - Advanced Natural Motion Animations, Simple Blocks Based Syntax. - [ZoomTransitioning](https://github.com/WorldDownTown/ZoomTransitioning) - A custom transition with image zooming animation. - [Ubergang](https://github.com/RobinFalko/Ubergang) - A tweening engine for iOS written in Swift. - [JHChainableAnimations](https://github.com/jhurray/JHChainableAnimations) - Easy to read and write chainable animations in Objective-C. - [Popsicle](https://github.com/DavdRoman/Popsicle) - Delightful, extensible Swift value interpolation framework. - [WXWaveView](https://github.com/WelkinXie/WXWaveView) - Add a pretty water wave to your view. - [Twinkle](https://github.com/piemonte/Twinkle) - Swift and easy way to make elements in your iOS and tvOS app twinkle. - [MotionBlur](https://github.com/fastred/MotionBlur) - MotionBlur allows you to add motion blur effect to iOS animations. - [RippleEffectView](https://github.com/alsedi/RippleEffectView) - RippleEffectView - A Neat Rippling View Effect. - [SwiftyAnimate](https://github.com/rchatham/SwiftyAnimate) - Composable animations in Swift. - [SamuraiTransition](https://github.com/hachinobu/SamuraiTransition) - Swift based library providing a collection of ViewController transitions featuring a number of neat “cutting” animations. - [Lottie](https://github.com/airbnb/lottie-ios) - An iOS library for a real time rendering of native vector animations from Adobe After Effects. - [anim](https://github.com/onurersel/anim) - An animation library for iOS with custom easings and easy to follow API. - [AnimatedCollectionViewLayout](https://github.com/KelvinJin/AnimatedCollectionViewLayout) - A UICollectionViewLayout subclass that adds custom transitions/animations to the UICollectionView. - [Dance](https://github.com/saoudrizwan/Dance) - A radical & elegant animation library built for iOS. - [AKVideoImageView](https://github.com/numen31337/AKVideoImageView) - UIImageView subclass which allows you to display a looped video as a background. - [Spruce iOS Animation Library](https://github.com/willowtreeapps/spruce-ios) - Swift library for choreographing animations on the screen. - [CircularRevealKit](https://github.com/T-Pro/CircularRevealKit) - UI framework that implements the material design's reveal effect. - [TweenKit](https://github.com/SteveBarnegren/TweenKit) - Animation library for iOS in Swift. - [Water](https://github.com/KrisYu/Water) - Simple calculation to render cheap water effects. - [Pastel](https://github.com/cruisediary/Pastel) - Gradient animation effect like Instagram. - [YapAnimator](https://github.com/yapstudios/YapAnimator) - Your fast and friendly physics-based animation system. - [Bubble](https://github.com/goldmoment/Bubble) - Fruit Animation. - [Gemini](https://github.com/shoheiyokoyama/Gemini) - Gemini is rich scroll based animation framework for iOS, written in Swift. - [WaterDrops](https://github.com/LeFal/WaterDrops) - Simple water drops animation for iOS in Swift. - [ViewAnimator](https://github.com/marcosgriselli/ViewAnimator) - ViewAnimator brings your UI to life with just one line. - [Ease](https://github.com/roberthein/Ease) - Animate everything with Ease. - [Kinieta](https://github.com/mmick66/kinieta) - An Animation Engine with Custom Bezier Easing, an Intuitive API and perfect Color Intepolation. - [LSAnimator](https://github.com/Lision/LSAnimator) - Easy to Read and Write Multi-chain Animations Kit in Objective-C and Swift. - [YetAnotherAnimationLibrary](https://github.com/lkzhao/YetAnotherAnimationLibrary) - Designed for gesture-driven animations. Fast, simple, & extensible! - [Anima](https://github.com/satoshin21/Anima) - Anima is chainable Layer-Based Animation library for Swift4. - [MotionAnimation](https://github.com/lkzhao/MotionAnimation) - Lightweight animation library for UIKit. - [AGInterfaceInteraction](https://github.com/agilie/AGInterfaceInteraction) - library performs interaction with UI interface. - [PMTween](https://github.com/poetmountain/PMTween) - An elegant and flexible tweening library for iOS. - [VariousViewsEffects](https://github.com/artrmz/VariousViewsEffects) - Animates views nicely with easy to use extensions. - [TheAnimation](https://github.com/marty-suzuki/TheAnimation) - Type-safe CAAnimation wrapper. It makes preventing to set wrong type values. - [Poi](https://github.com/HideakiTouhara/Poi) - Poi makes you use card UI like tinder UI .You can use it like tableview method. - [Sica](https://github.com/cats-oss/Sica) - Simple Interface Core Animation. Run type-safe animation sequencially or parallelly. - [fireworks](https://github.com/tomkowz/fireworks) - Fireworks effect for UIView - [Disintegrate](https://github.com/dbukowski/Disintegrate) - Disintegration animation inspired by THAT thing Thanos did at the end of Avengers: Infinity War. - [Wobbly](https://github.com/sagaya/wobbly) - Wobbly is a Library of predefined, easy to use iOS animations. - [LoadingShimmer](https://github.com/jogendra/LoadingShimmer) - An easy way to add a shimmering effect to any view with just one line of code. It is useful as an unobtrusive loading indicator. - [SPPerspective](https://github.com/ivanvorobei/SPPerspective) - Widgets iOS 14 animation with 3D and dynamic shadow. Customisable transform and duration. ### Transition - [BlurryModalSegue](https://github.com/Citrrus/BlurryModalSegue) - A custom modal segue for providing a blurred overlay effect. - [DAExpandAnimation](https://github.com/ifitdoesntwork/DAExpandAnimation) - A custom modal transition that presents a controller with an expanding effect while sliding out the presenter remnants. - [BubbleTransition](https://github.com/andreamazz/BubbleTransition) - A custom modal transition that presents and dismiss a controller with an expanding bubble effect. - [RPModalGestureTransition](https://github.com/naoyashiga/RPModalGestureTransition) - You can dismiss modal by using gesture. - [RMPZoomTransitionAnimator](https://github.com/recruit-mp/RMPZoomTransitionAnimator) - A custom zooming transition animation for UIViewController. - [ElasticTransition](https://github.com/lkzhao/ElasticTransition) - A UIKit custom transition that simulates an elastic drag. Written in Swift. - [ElasticTransition-ObjC](https://github.com/taglia3/ElasticTransition-ObjC) - A UIKit custom transition that simulates an elastic drag.This is the Objective-C Version of Elastic Transition written in Swift by lkzhao. - [ZFDragableModalTransition](https://github.com/zoonooz/ZFDragableModalTransition) - Custom animation transition for present modal view controller. - [ZOZolaZoomTransition](https://github.com/NewAmsterdamLabs/ZOZolaZoomTransition) - Zoom transition that animates the entire view hierarchy. Used extensively in the Zola iOS application. - [JTMaterialTransition](https://github.com/jonathantribouharet/JTMaterialTransition) - An iOS transition for controllers based on material design. - [AnimatedTransitionGallery](https://github.com/shu223/AnimatedTransitionGallery) - Collection of iOS 7 custom animated transitions using UIViewControllerAnimatedTransitioning protocol. - [TransitionTreasury](https://github.com/DianQK/TransitionTreasury) - Easier way to push your viewController. - [Presenter](https://github.com/muukii/Presenter) - Screen transition with safe and clean code. - [Kaeru](https://github.com/bannzai/Kaeru) - Switch viewcontroller like iOS task manager. - [View2ViewTransition](https://github.com/naru-jpn/View2ViewTransition) - Custom interactive view controller transition from one view to another view. - [AZTransitions](https://github.com/azimin/AZTransitions) - API to make great custom transitions in one method. - [Hero](https://github.com/HeroTransitions/Hero) - Elegant transition library for iOS & tvOS. - [Motion](https://github.com/CosmicMind/Motion) - Seamless animations and transitions in Swift. - [PresenterKit](https://github.com/jessesquires/PresenterKit) - Swifty view controller presentation for iOS. - [Transition](https://github.com/Touchwonders/Transition) - Easy interactive interruptible custom ViewController transitions. - [Gagat](https://github.com/Boerworz/Gagat) - A delightful way to transition between visual styles in your iOS applications. - [DeckTransition](https://github.com/HarshilShah/DeckTransition) - A library to recreate the iOS Apple Music now playing transition. - [TransitionableTab](https://github.com/ParkGwangBeom/TransitionableTab) - TransitionableTab makes it easy to animate when switching between tab. - [AlertTransition](https://github.com/loopeer/AlertTransition) - AlertTransition is a extensible library for making view controller transitions, especially for alert transitions. - [SemiModalViewController](https://github.com/muyexi/SemiModalViewController) - Present view / view controller as bottom-half modal. - [ImageTransition](https://github.com/shtnkgm/ImageTransition) - ImageTransition is a library for smooth animation of images during transitions. - [LiquidTransition](https://github.com/AlexandrGraschenkov/LiquidTransition) - removes boilerplate code to perform transition, allows backward animations, custom properties animation and much more! - [SPStorkController](https://github.com/IvanVorobei/SPStorkController) - Very similar to the controllers displayed in Apple Music, Podcasts and Mail Apple's applications. - [AppstoreTransition](https://github.com/appssemble/appstore-card-transition) - Simulates the appstore card animation transition. - [DropdownTransition](https://github.com/nugmanoff/DropdownTransition) - Simple and elegant Dropdown Transition for presenting controllers from top to bottom. - [NavigationTransitions](https://github.com/davdroman/swiftui-navigation-transitions) - Pure SwiftUI Navigation transitions. - [LiquidSwipe](https://github.com/exyte/LiquidSwipe) - Liquid navigation animation ### Alert & Action Sheet - [SweetAlert](https://github.com/codestergit/SweetAlert-iOS) - Live animated Alert View for iOS written in Swift. - [NYAlertViewController](https://github.com/nealyoung/NYAlertViewController) - Highly configurable iOS Alert Views with custom content views. - [SCLAlertView-Swift](https://github.com/vikmeup/SCLAlertView-Swift) - Beautiful animated Alert View, written in Swift. - [TTGSnackbar](https://github.com/zekunyan/TTGSnackbar) - Show simple message and action button on the bottom of the screen with multi kinds of animation. - [Swift-Prompts](https://github.com/GabrielAlva/Swift-Prompts) - A Swift library to design custom prompts with a great scope of options to choose from. - [BRYXBanner](https://github.com/bryx-inc/BRYXBanner) - A lightweight dropdown notification for iOS 7+, in Swift. - [LNRSimpleNotifications](https://github.com/LISNR/LNRSimpleNotifications) - Simple Swift in-app notifications. LNRSimpleNotifications is a simplified Swift port of TSMessages. - [HDNotificationView](https://github.com/nhdang103/HDNotificationView) - Emulates the native Notification Banner UI for any alert. - [JDStatusBarNotification](https://github.com/calimarkus/JDStatusBarNotification) - Easy, customizable notifications displayed on top of the statusbar. - [Notie](https://github.com/thii/Notie) - In-app notification in Swift, with customizable buttons and input text field. - [EZAlertController](https://github.com/thellimist/EZAlertController) - Easy Swift UIAlertController. - [GSMessages](https://github.com/wxxsw/GSMessages) - A simple style messages/notifications for iOS 7+. - [OEANotification](https://github.com/OEA/OEANotification) - In-app customizable notification views on top of screen for iOS which is written in Swift 2.1. - [RKDropdownAlert](https://github.com/cwRichardKim/RKDropdownAlert) - Extremely simple UIAlertView alternative. - [TKSwarmAlert](https://github.com/entotsu/TKSwarmAlert) - Animated alert library like Swarm app. - [SimpleAlert](https://github.com/KyoheiG3/SimpleAlert) - Customizable simple Alert and simple ActionSheet for Swift. - [Hokusai](https://github.com/ytakzk/Hokusai) - A Swift library to provide a bouncy action sheet. - [SwiftNotice](https://github.com/johnlui/SwiftNotice) - SwiftNotice is a GUI library for displaying various popups (HUD) written in pure Swift, fits any scrollview. - [SwiftOverlays](https://github.com/peterprokop/SwiftOverlays) - SwiftOverlays is a Swift GUI library for displaying various popups and notifications. - [SwiftyDrop](https://github.com/morizotter/SwiftyDrop) - SwiftyDrop is a lightweight pure Swift simple and beautiful dropdown message. - [LKAlertController](https://github.com/Lightningkite/LKAlertController) - An easy to use UIAlertController builder for swift. - [DOAlertController](https://github.com/okmr-d/DOAlertController) - Simple Alert View written in Swift, which can be used as a UIAlertController. (AlertController/AlertView/ActionSheet). - [CustomizableActionSheet](https://github.com/beryu/CustomizableActionSheet) - Action sheet allows including your custom views and buttons. - [Toast-Swift](https://github.com/scalessec/Toast-Swift) - A Swift extension that adds toast notifications to the UIView object class. - [PMAlertController](https://github.com/pmusolino/PMAlertController) - PMAlertController is a great and customizable substitute to UIAlertController. - [PopupViewController](https://github.com/dimillian/PopupViewController) - UIAlertController drop in replacement with much more customization. - [AlertViewLoveNotification](https://github.com/PhilippeBoisney/AlertViewLoveNotification) - A simple and attractive AlertView to ask permission to your users for Push Notification. - [CRToast](https://github.com/cruffenach/CRToast) - A modern iOS toast view that can fit your notification needs. - [JLToast](https://github.com/devxoul/Toaster) - Toast for iOS with very simple interface. - [CuckooAlert](https://github.com/rollmind/CuckooAlert) - Multiple use of presentViewController for UIAlertController. - [KRAlertController](https://github.com/krimpedance/KRAlertController) - A colored alert view for your iOS. - [Dodo](https://github.com/evgenyneu/Dodo) - A message bar for iOS written in Swift. - [MaterialActionSheetController](https://github.com/ntnhon/MaterialActionSheetController) - A Google like action sheet for iOS written in Swift. - [SwiftMessages](https://github.com/SwiftKickMobile/SwiftMessages) - A very flexible message bar for iOS written in Swift. - [FCAlertView](https://github.com/krispenney/FCAlertView) - A Flat Customizable AlertView for iOS. (Swift). - [FCAlertView](https://github.com/nimati/FCAlertView) - A Flat Customizable AlertView for iOS. (Objective-C). - [CDAlertView](https://github.com/candostdagdeviren/CDAlertView) - Highly customizable alert/notification/success/error/alarm popup. - [RMActionController](https://github.com/CooperRS/RMActionController) - Present any UIView in an UIAlertController like manner. - [RMDateSelectionViewController](https://github.com/CooperRS/RMDateSelectionViewController) - Select a date using UIDatePicker in a UIAlertController like fashion. - [RMPickerViewController](https://github.com/CooperRS/RMPickerViewController) - Select something using UIPickerView in a UIAlertController like fashion. - [Jelly](https://github.com/SebastianBoldt/Jelly) - Jelly provides custom view controller transitions with just a few lines of code. - [Malert](https://github.com/vitormesquita/Malert) - Malert is a simple, easy and custom iOS UIAlertView written in Swift. - [RAlertView](https://github.com/roycms/AlertView) - AlertView, iOS popup window, A pop-up framework, Can be simple and convenient to join your project. - [NoticeBar](https://github.com/qiuncheng/NoticeBar) - A simple NoticeBar written by Swift 3, similar with QQ notice view. - [LIHAlert](https://github.com/Lasithih/LIHAlert) - Advance animated banner alerts for iOS. - [BPStatusBarAlert](https://github.com/ppth0608/BPStatusBarAlert) - A simple alerts that appear on the status bar and below navigation bar(like Facebook). - [CFAlertViewController](https://github.com/Codigami/CFAlertViewController) - A library that helps you display and customise alerts and action sheets on iPad and iPhone. - [NotificationBanner](https://github.com/Daltron/NotificationBanner) - The easiest way to display highly customizable in app notification banners in iOS. - [Alertift](https://github.com/sgr-ksmt/Alertift) - Swifty, modern UIAlertController wrapper. - [PCLBlurEffectAlert](https://github.com/hryk224/PCLBlurEffectAlert) - Swift AlertController with UIVisualEffectView. - [JDropDownAlert](https://github.com/trilliwon/JDropDownAlert) - Multi dirction dropdown alert view. - [BulletinBoard](https://github.com/alexaubry/BulletinBoard) - Generate and Display Bottom Card Interfaces on iOS - [CFNotify](https://github.com/JT501/CFNotify) - A customizable framework to create draggable views. - [StatusAlert](https://github.com/LowKostKustomz/StatusAlert) - Display Apple system-like self-hiding status alerts without interrupting user flow. - [Alerts & Pickers](https://github.com/dillidon/alerts-and-pickers) - Advanced usage of native UIAlertController with TextField, DatePicker, PickerView, TableView and CollectionView. - [RMessage](https://github.com/donileo/RMessage) - A crisp in-app notification/message banner built in ObjC. - [InAppNotify](https://github.com/lucabecchetti/InAppNotify) - Swift library to manage in-app notification in swift language, like WhatsApp, Telegram, Frind, etc. - [FloatingActionSheetController](https://github.com/ra1028/FloatingActionSheetController) - FloatingActionSheetController is a cool design ActionSheetController library written in Swift. - [TOActionSheet](https://github.com/TimOliver/TOActionSheet) - A custom-designed reimplementation of the UIActionSheet control for iOS - [XLActionController](https://github.com/xmartlabs/XLActionController) - Fully customizable and extensible action sheet controller written in Swift. - [PopMenu](https://github.com/CaliCastle/PopMenu) - A cool and customizable popup style action sheet 😎 - [NotchyAlert](https://github.com/TheAbstractDev/NotchyAlert) - Use the iPhone X notch space to display creative alerts. - [Sheet](https://github.com/ParkGwangBeom/Sheet) - SHEET helps you easily create a wide variety of action sheets with navigation features used in the Flipboard App - [ALRT](https://github.com/mshrwtnb/alrt) - An easier constructor for UIAlertController. Present an alert from anywhere. - [CatAlertController](https://github.com/ImKcat/CatAlertController) - Use UIAlertController like a boss. - [Loaf](https://github.com/schmidyy/Loaf) - A simple framework for easy iOS Toasts. - [SPAlert](https://github.com/IvanVorobei/SPAlert) - Native popup from Apple Music & Feedback in AppStore. Contains Done & Heart presets. - [CleanyModal](https://github.com/loryhuz/CleanyModal) - Use nice customized alerts and action sheets with ease, API is similar to native UIAlertController. - [BottomSheet](https://github.com/joomcode/BottomSheet) - Powerful Bottom Sheet component with content based size, interactive dismissal and navigation controller support. ### Badge - [MIBadgeButton](https://github.com/mustafaibrahim989/MIBadgeButton-Swift) - Notification badge for UIButtons. - [EasyNotificationBadge](https://github.com/Minitour/EasyNotificationBadge) - UIView extension that adds a notification badge. [e] - [swift-badge](https://github.com/evgenyneu/swift-badge) - Badge view for iOS written in swift - [BadgeHub](https://github.com/jogendra/BadgeHub) - Make any UIView a full fledged animated notification center. It is a way to quickly add a notification badge icon to a UIView. ### Button - [SSBouncyButton](https://github.com/StyleShare/SSBouncyButton) - iOS7-style bouncy button UI component. - [DOFavoriteButton](https://github.com/okmr-d/DOFavoriteButton) - Cute Animated Button written in Swift. - [VBFPopFlatButton](https://github.com/victorBaro/VBFPopFlatButton) - Flat button with 9 different states animated using Facebook POP. - [HTPressableButton](https://github.com/Famolus/HTPressableButton) - Flat design pressable button. - [LiquidFloatingActionButton](https://github.com/yoavlt/LiquidFloatingActionButton) - Material Design Floating Action Button in liquid state - [JTFadingInfoView](https://github.com/JunichiT/JTFadingInfoView) - An UIButton-based view with fade in/out animation features. - [Floaty](https://github.com/kciter/Floaty) - :heart: Floating Action Button for iOS - [TVButton](https://github.com/marmelroy/TVButton) - Recreating the cool parallax icons from Apple TV as iOS UIButtons (in Swift). - [SwiftyButton](https://github.com/TakeScoop/SwiftyButton) - Simple and customizable button in Swift - [AnimatablePlayButton](https://github.com/suzuki-0000/AnimatablePlayButton) - Animated Play and Pause Button using CALayer, CAKeyframeAnimation. - [gbkui-button-progress-view](https://github.com/Guidebook/gbkui-button-progress-view) - Inspired by Apple’s download progress buttons in the App Store. - [ZFRippleButton](https://github.com/zoonooz/ZFRippleButton) - Custom UIButton effect inspired by Google Material Design - [JOEmojiableBtn](https://github.com/lojals/JOEmojiableBtn) - Emoji selector like Facebook Reactions. - [EMEmojiableBtn](https://github.com/Eke/EMEmojiableBtn) - Option selector that works similar to Reactions by fb. Objective-c version. - [WYMaterialButton](https://github.com/Yu-w/WYMaterialButton) - Interactive and fully animated Material Design button for iOS developers. - [DynamicButton](https://github.com/yannickl/DynamicButton) - Yet another animated flat buttons in Swift - [OnOffButton](https://github.com/rakaramos/OnOffButton) - Custom On/Off Animated UIButton, written in Swift. By Creativedash - [WCLShineButton](https://github.com/imwcl/WCLShineButton) - This is a UI lib for iOS. Effects like shining. - [EasySocialButton](https://github.com/Minitour/EasySocialButton) - An easy way to create beautiful social authentication buttons. - [NFDownloadButton](https://github.com/LeonardoCardoso/NFDownloadButton) - Revamped Download Button. - [LGButton](https://github.com/loregr/LGButton) - A fully customisable subclass of the native UIControl which allows you to create beautiful buttons without writing any line of code. - [MultiToggleButton](https://github.com/yonat/MultiToggleButton) - A UIButton subclass that implements tap-to-toggle button text (Like the camera flash and timer buttons). - [PMSuperButton](https://github.com/pmusolino/PMSuperButton) - A powerful UIButton with super powers, customizable from Storyboard! - [JSButton](https://github.com/jogendra/JSButton) - A fully customisable swift subclass on UIButton which allows you to create beautiful buttons without writing any line of code. - [TransitionButton](https://github.com/AladinWay/TransitionButton) - UIButton sublass for loading and transition animation - [ButtonProgressBar-iOS](https://github.com/thePsguy/ButtonProgressBar-iOS) - A small and flexible UIButton subclass with animated loading progress, and completion animation. - [SpicyButton](https://github.com/lukecrum/SpicyButton) - Full-featured IBDesignable UIButton class - [DesignableButton](https://github.com/IdleHandsApps/DesignableButton) - UIButton subclass with centralised and reusable styles. View styles and customise in InterfaceBuilder in real time! - [BEMCheckBox](https://github.com/Boris-Em/BEMCheckBox) - Tasteful Checkbox for iOS. (Check box) - [ExpandableButton](https://github.com/DimaMishchenko/ExpandableButton) - Customizable and easy to use expandable button in Swift. - [TORoundedButton](https://github.com/TimOliver/TORoundedButton) - A high-performance button control with rounded corners. - [FloatingButton](https://github.com/exyte/FloatingButton) - Easily customizable floating button menu created with SwiftUI. ### Calendar - [CVCalendar](https://github.com/CVCalendar/CVCalendar) - A custom visual calendar for iOS 8+ written in Swift (2.0). - [RSDayFlow](https://github.com/ruslanskorb/RSDayFlow) - iOS 7+ Calendar with Infinite Scrolling. - [NWCalendarView](https://github.com/nbwar/NWCalendarView) - An availability calendar implementation for iOS - [GLCalendarView](https://github.com/Glow-Inc/GLCalendarView) - A fully customizable calendar view acting as a date range picker - [JTCalendar](https://github.com/jonathantribouharet/JTCalendar) - A customizable calendar view for iOS. - [JTAppleCalendar](https://github.com/patchthecode/JTAppleCalendar) - The Unofficial Swift Apple Calendar Library. View. Control. for iOS & tvOS - [Daysquare](https://github.com/unixzii/Daysquare) - An elegant calendar control for iOS. - [ASCalendar](https://github.com/scamps88/ASCalendar) - A calendar control for iOS written in swift with mvvm pattern - [Calendar](https://github.com/jumartin/Calendar) - A set of views and controllers for displaying and scheduling events on iOS - [Koyomi](https://github.com/shoheiyokoyama/Koyomi) - Simple customizable calendar component in Swift - [DateTimePicker](https://github.com/itsmeichigo/DateTimePicker) - A nicer iOS UI component for picking date and time - [RCalendarPicker](https://github.com/roycms/RCalendarPicker) - RCalendarPicker A date picker control. - [CalendarKit](https://github.com/richardtop/CalendarKit) - Fully customizable calendar day view. - [GDPersianCalendar](https://github.com/saeid/GDCalendar) - Customizable and easy to use Persian Calendar component. - [MBCalendarKit](https://github.com/MosheBerman/MBCalendarKit) - A calendar framework for iOS built with customization, and localization in mind. - [PTEventView](https://github.com/amantaneja/PTEventView) - An Event View based on Apple's Event Detail View within Calender.Supports ARC, Autolayout and editing via StoryBoard. - [KDCalendarView](https://github.com/mmick66/CalendarView) - A calendar component for iOS written in Swift 4.0. It features both vertical and horizontal layout (and scrolling) and the display of native calendar events. - [CalendarPopUp](https://github.com/orazz/CalendarPopUp) - CalendarPopUp - JTAppleCalendar library. - [ios_calendar](https://github.com/maximbilan/Calendar-iOS) - It's lightweight and simple control with supporting Locale and CalendarIdentifier. There're samples for iPhone and iPad, and also with using a popover. With supporting Persian calendar - [FSCalendar](https://github.com/WenchaoD/FSCalendar) - A fully customizable iOS calendar library, compatible with Objective-C and Swift. - [ElegantCalendar](https://github.com/ThasianX/ElegantCalendar) - The elegant full-screen calendar missed in SwiftUI. ### Cards *Card based UI's, pan gestures, flip and swipe animations* - [MDCSwipeToChoose](https://github.com/modocache/MDCSwipeToChoose) - Swipe to "like" or "dislike" any view, just like Tinder.app. Build a flashcard app, a photo viewer, and more, in minutes, not hours! - [TisprCardStack](https://github.com/tispr/tispr-card-stack) - Library that allows to have cards UI. - [CardAnimation](https://github.com/seedante/CardAnimation) - Card flip animation by pan gesture. - [Koloda](https://github.com/Yalantis/Koloda) - KolodaView is a class designed to simplify the implementation of Tinder like cards on iOS. - [KVCardSelectionVC](https://github.com/kunalverma25/KVCardSelectionVC) - Awesome looking Dial like card selection ViewController. - [DMSwipeCards](https://github.com/D-32/DMSwipeCards) - Tinder like card stack that supports lazy loading and generics - [TimelineCards](https://github.com/vladaverin24/TimelineCards) - Presenting timelines as cards, single or bundled in scrollable feed!. - [Cards](https://github.com/PaoloCuscela/Cards) - Awesome iOS 11 AppStore's Card Views. - [MMCardView](https://github.com/MillmanY/MMCardView) - Custom CollectionView like Wallet App - [CardsLayout](https://github.com/filletofish/CardsLayout) - Nice card-designed custom collection view layout. - [CardParts](https://github.com/intuit/CardParts) - A reactive, card-based UI framework built on UIKit. - [VerticalCardSwiper](https://github.com/JoniVR/VerticalCardSwiper) - A marriage between the Shazam Discover UI and Tinder, built with UICollectionView in Swift. - [Shuffle](https://github.com/mac-gallagher/Shuffle) - A multi-directional card swiping library inspired by Tinder ### Form & Settings *Input validators, form helpers and form builders.* - [Form](https://github.com/hyperoslo/Form) - The most flexible and powerful way to build a form on iOS - [XLForm](https://github.com/xmartlabs/XLForm) - XLForm is the most flexible and powerful iOS library to create dynamic table-view forms. Fully compatible with Swift & Obj-C. - [Eureka](https://github.com/xmartlabs/Eureka) - Elegant iOS form builder in Swift. - [YALField](https://github.com/Yalantis/YALField) - Custom Field component with validation for creating easier form-like UI from interface builder. - [Former](https://github.com/ra1028/Former) - Former is a fully customizable Swift2 library for easy creating UITableView based form. - [SwiftForms](https://github.com/ortuman/SwiftForms) - A small and lightweight library written in Swift that allows you to easily create forms. - [Formalist](https://github.com/seedco/Formalist) - Declarative form building framework for iOS - [SwiftyFORM](https://github.com/neoneye/SwiftyFORM) - SwiftyFORM is a form framework for iOS written in Swift - [SwiftValidator](https://github.com/SwiftValidatorCommunity/SwiftValidator) - A rule-based validation library for Swift - [GenericPasswordRow](https://github.com/EurekaCommunity/GenericPasswordRow) - A row for Eureka to implement password validations. - [formvalidator-swift](https://github.com/ustwo/formvalidator-swift) - A framework to validate inputs of text fields and text views in a convenient way. - [ValidationToolkit](https://github.com/nsagora/validation-toolkit) - Lightweight framework for input validation written in Swift. - [ATGValidator](https://github.com/altayer-digital/ATGValidator) - Rule based validation framework with form and card validation support for iOS. - [ValidatedPropertyKit](https://github.com/SvenTiigi/ValidatedPropertyKit) - Easily validate your Properties with Property Wrappers. - [FDTextFieldTableViewCell](https://github.com/fulldecent/FDTextFieldTableViewCell) - Adds a UITextField to the cell and places it correctly. ### Keyboard * [RSKKeyboardAnimationObserver](https://github.com/ruslanskorb/RSKKeyboardAnimationObserver) - Showing / dismissing keyboard animation in simple UIViewController category. * [RFKeyboardToolbar](https://github.com/ruddfawcett/RFKeyboardToolbar) - This is a flexible UIView and UIButton subclass to add customized buttons and toolbars to your UITextFields/UITextViews. * [IQKeyboardManager](https://github.com/hackiftekhar/IQKeyboardManager) - Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView. * [NgKeyboardTracker](https://github.com/meiwin/NgKeyboardTracker) - Objective-C library for tracking keyboard in iOS apps. * [MMNumberKeyboard](https://github.com/matmartinez/MMNumberKeyboard) - A simple keyboard to use with numbers and, optionally, a decimal point. * [KeyboardObserver](https://github.com/morizotter/KeyboardObserver) - For less complicated keyboard event handling. * [TPKeyboardAvoiding](https://github.com/michaeltyson/TPKeyboardAvoiding) - A drop-in universal solution for moving text fields out of the way of the keyboard in iOS * [YYKeyboardManager](https://github.com/ibireme/YYKeyboardManager) - iOS utility class allows you to access keyboard view and track keyboard animation. * [KeyboardMan](https://github.com/nixzhu/KeyboardMan) - KeyboardMan helps you make keyboard animation. * [MakemojiSDK](https://github.com/makemoji/MakemojiSDK) - Emoji Keyboard SDK (iOS) * [Typist](https://github.com/totocaster/Typist) - Small, drop-in Swift UIKit keyboard manager for iOS apps-helps manage keyboard's screen presence and behavior without notification center. * [KeyboardHideManager](https://github.com/bonyadmitr/KeyboardHideManager) - Codeless manager to hide keyboard by tapping on views for iOS written in Swift * [Toolbar](https://github.com/1amageek/Toolbar) - Awesome autolayout Toolbar. * [IHKeyboardAvoiding](https://github.com/IdleHandsApps/IHKeyboardAvoiding) - A drop-in universal solution for keeping any UIView visible when the keyboard is being shown - no more UIScrollViews! * [NumPad](https://github.com/efremidze/NumPad) - Number Pad (inspired by Square's design). * [Ribbon](https://github.com/chriszielinski/Ribbon) - A simple cross-platform toolbar/custom input accessory view library for iOS & macOS. * [ISEmojiView](https://github.com/isaced/ISEmojiView) - Emoji Keyboard for iOS ### Label - [LTMorphingLabel](https://github.com/lexrus/LTMorphingLabel) - Graceful morphing effects for UILabel written in Swift. - [ActiveLabel.swift](https://github.com/optonaut/ActiveLabel.swift) - UILabel drop-in replacement supporting Hashtags (#), Mentions (@) and URLs (http://) written in Swift - [MZTimerLabel](https://github.com/mineschan/MZTimerLabel) - A handy class for iOS to use UILabel as a countdown timer or stopwatch just like in Apple Clock App. - [CountdownLabel](https://github.com/suzuki-0000/CountdownLabel) - Simple countdown UILabel with morphing animation, and some useful function. - [IncrementableLabel](https://github.com/tbaranes/IncrementableLabel) - Incrementable label for iOS, macOS, and tvOS. - [TTTAttributedLabel](https://github.com/TTTAttributedLabel/TTTAttributedLabel) - A drop-in replacement for UILabel that supports attributes, data detectors, links, and more - [NumberMorphView](https://github.com/me-abhinav/NumberMorphView) - A label view for displaying numbers which can transition or animate using a technique called number tweening or number morphing. - [GlitchLabel](https://github.com/kciter/GlitchLabel) - Glitching UILabel for iOS. - [TOMSMorphingLabel](https://github.com/tomknig/TOMSMorphingLabel) - Configurable morphing transitions between text values of a label. - [THLabel](https://github.com/tobihagemann/THLabel) - UILabel subclass, which additionally allows shadow blur, inner shadow, stroke text and fill gradient. - [RQShineLabel](https://github.com/zipme/RQShineLabel) - Secret app like text animation - [ZCAnimatedLabel](https://github.com/overboming/ZCAnimatedLabel) - UILabel replacement with fine-grain appear/disappear animation - [TriLabelView](https://github.com/mukeshthawani/TriLabelView) - A triangle shaped corner label view for iOS written in Swift. - [Preloader.Ophiuchus](https://github.com/Yalantis/Preloader.Ophiuchus) - Custom Label to apply animations on whole text or letters. - [MTLLinkLabel](https://github.com/recruit-mtl/MTLLinkLabel) - MTLLinkLabel is linkable UILabel. Written in Swift. - [UICountingLabel](https://github.com/dataxpress/UICountingLabel/) - Adds animated counting support to UILabel. - [SlidingText](https://github.com/dnKaratzas/SlidingText) - Swift UIView for sliding text with page indicator. - [NumericAnimatedLabel](https://github.com/javalnanda/NumericAnimatedLabel/) - Swift UIView for showing numeric label with incremental and decremental step animation while changing value. Useful for scenarios like displaying currency. - [JSLabel](https://github.com/jogendra/JSLabel) - A simple designable subclass on UILabel with extra IBDesignable and Blinking features. - [AnimatedMaskLabel](https://github.com/jogendra/AnimatedMaskLabel) - Animated Mask Label is a nice gradient animated label. This is an easy way to add a shimmering effect to any view in your app. - [STULabel](https://github.com/stephan-tolksdorf/STULabel) - A label view that's faster than UILabel and supports asynchronous rendering, links with UIDragInteraction, very flexible text truncation, Auto Layout, UIAccessibility and more. ### Login - [LFLoginController](https://github.com/awesome-labs/LFLoginController) - Customizable login screen, written in Swift. - [LoginKit](https://github.com/IcaliaLabs/LoginKit) - LoginKit is a quick and easy way to add a Login/Signup UX to your iOS app. - [Cely](https://github.com/cely-tools/Cely) - Plug-n-Play login framework written in Swift. ### Menu - [ENSwiftSideMenu](https://github.com/evnaz/ENSwiftSideMenu) - A simple side menu for iOS 7/8 written in Swift. - [RESideMenu](https://github.com/romaonthego/RESideMenu) - iOS 7/8 style side menu with parallax effect inspired by Dribbble shots. - [SSASideMenu](https://github.com/SSA111/SSASideMenu) - A Swift implementation of RESideMenu. A iOS 7/8 style side menu with parallax effect. - [RadialMenu](https://github.com/bradjasper/radialmenu) - RadialMenu is a custom control for providing a touch context menu (like iMessage recording in iOS 8) built with Swift & POP - [cariocamenu](https://github.com/arn00s/cariocamenu) - The fastest zero-tap iOS menu. - [VLDContextSheet](https://github.com/vangelov/VLDContextSheet) - Context menu similar to the one in the Pinterest iOS app - [GuillotineMenu](https://github.com/Yalantis/GuillotineMenu) - Our Guillotine Menu Transitioning Animation implemented in Swift reminds a bit of a notorious killing machine. - [MediumMenu](https://github.com/pixyzehn/MediumMenu) - A menu based on Medium iOS app. - [SwiftySideMenu](https://github.com/hossamghareeb/SwiftySideMenu) - SwiftySideMenu is a lightweight and easy to use side menu controller to add left menu and center view controllers with scale animation based on Pop framework. - [LLSlideMenu](https://github.com/lilei644/LLSlideMenu) - This is a spring slide menu for iOS apps - [Swift-Slide-Menu](https://github.com/PhilippeBoisney/Swift-Slide-Menu) - A Slide Menu, written in Swift, inspired by Slide Menu Material Design. - [MenuItemKit](https://github.com/cxa/MenuItemKit) - UIMenuItem with image and block(closure) - [BTNavigationDropdownMenu](https://github.com/PhamBaTho/BTNavigationDropdownMenu) - The elegant dropdown menu, written in Swift, appears underneath navigation bar to display a list of related items when a user click on the navigation title. - [ALRadialMenu](https://github.com/AlexLittlejohn/ALRadialMenu) - A radial/circular menu featuring spring animations. Written in swift - [AZDropdownMenu](https://github.com/Azuritul/AZDropdownMenu) - An easy to use dropdown menu that supports images. - [CircleMenu](https://github.com/Ramotion/circle-menu) - An animated, multi-option menu button. - [SlideMenuControllerSwift](https://github.com/dekatotoro/SlideMenuControllerSwift) - iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. It is written in pure Swift. - [SideMenu](https://github.com/jonkykong/SideMenu) - Simple side menu control in Swift inspired by Facebook. Right and Left sides. Lots of customization and animation options. Can be implemented in Storyboard with no code. - [CategorySliderView](https://github.com/cemolcay/CategorySliderView) - slider view for choosing categories. add any UIView type as category item view. Fully customisable - [MKDropdownMenu](https://github.com/maxkonovalov/MKDropdownMenu) - A Dropdown Menu for iOS with many customizable parameters to suit any needs. - [ExpandingMenu](https://github.com/monoqlo/ExpandingMenu) - ExpandingMenu is menu button for iOS written in Swift. - [PageMenu](https://github.com/PageMenu/PageMenu) - A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram) - [XXXRoundMenuButton](https://github.com/zsy78191/XXXRoundMenuButton) - A simple circle style menu. - [IGCMenu](https://github.com/sunilsharma08/IGCMenu) - Grid and Circular menu with animation.Easy to customise. - [EEJSelectMenu](https://github.com/eejahromi/EEJSelectMenu) - Single selection menu with cool animations, responsive with all screen sizes. - [IGLDropDownMenu](https://github.com/bestwnh/IGLDropDownMenu) - An iOS drop down menu with pretty animation and easy to customize. - [Side-Menu.iOS](https://github.com/Yalantis/Side-Menu.iOS) - Animated side menu with customizable UI - [PopMenu](https://github.com/xhzengAIB/PopMenu) - PopMenu is pop animation menu inspired by Sina weibo / NetEase app. - [FlowingMenu](https://github.com/yannickl/FlowingMenu) - Interactive view transition to display menus with flowing and bouncing effects in Swift - [Persei](https://github.com/Yalantis/Persei) - Animated top menu for UITableView / UICollectionView / UIScrollView written in Swift - [DropDown](https://github.com/AssistoLab/DropDown) - A Material Design drop down for iOS - [KYGooeyMenu](https://github.com/KittenYang/KYGooeyMenu) - A not bad gooey effects menu. - [SideMenuController](https://github.com/teodorpatras/SideMenuController) - A side menu controller written in Swift - [Context-Menu.iOS](https://github.com/Yalantis/Context-Menu.iOS) - You can easily add awesome animated context menu to your app. - [ViewDeck](https://github.com/ViewDeck/ViewDeck) - An implementation of the sliding functionality found in the Path 2.0 or Facebook iOS apps. - [FrostedSidebar](https://github.com/edekhayser/FrostedSidebar) - Hamburger Menu using Swift and iOS 8 API's - [VHBoomMenuButton](https://github.com/Nightonke/VHBoomMenuButton) - A menu which can ... BOOM! - [DropDownMenuKit](https://github.com/qmathe/DropDownMenuKit) - A simple, modular and highly customizable UIKit menu, that can be attached to the navigation bar or toolbar, written in Swift. - [RevealMenuController](https://github.com/anatoliyv/RevealMenuController) - Expandable item groups, custom position and appearance animation. Similar to ActionSheet style. - [RHSideButtons](https://github.com/robertherdzik/RHSideButtons) - Library provides easy to implement variation of Android (Material Design) Floating Action Button for iOS. You can use it as your app small side menu. - [Swift-CircleMenu](https://github.com/hu55a1n1/Swift-CircleMenu) - Rotating circle menu written in Swift 3. - [AKSideMenu](https://github.com/dogo/AKSideMenu) - Beautiful iOS side menu library with parallax effect. - [InteractiveSideMenu](https://github.com/handsomecode/InteractiveSideMenu) - Customizable iOS Interactive Side Menu written in Swift 3. - [YNDropDownMenu](https://github.com/younatics/YNDropDownMenu) - Adorable iOS drop down menu with Swift3. - [KWDrawerController](https://github.com/Kawoou/KWDrawerController) - Drawer view controller that easy to use! - [JNDropDownMenu](https://github.com/javalnanda/JNDropDownMenu) - Easy to use tableview style drop down menu with multi-column support written in Swift3. - [FanMenu](https://github.com/exyte/fan-menu) - Menu with a circular layout based on Macaw. - [AirBar](https://github.com/uptechteam/AirBar) - UIScrollView driven expandable menu written in Swift 3. - [FAPanels](https://github.com/fahidattique55/FAPanels) - FAPanels for transition - [SwipeMenuViewController](https://github.com/yysskk/SwipeMenuViewController) - Swipable tab and menu View and ViewController. - [DTPagerController](https://github.com/tungvoduc/DTPagerController) - A fully customizable container view controller to display set of ViewControllers in horizontal scroller - [PagingKit](https://github.com/kazuhiro4949/PagingKit) - PagingKit provides customizable menu UI It has more flexible layout and design than the other libraries. - [Dropdowns](https://github.com/onmyway133/Dropdowns) - 💧 Dropdown in Swift - [Parchment](https://github.com/rechsteiner/Parchment) - A paging view controller with a highly customizable menu. Built on UICollectionView, with support for custom layouts and infinite data sources. - [ContextMenu](https://github.com/GitHawkApp/ContextMenu) - An iOS context menu UI inspired by Things 3. - [Panels](https://github.com/antoniocasero/Panels) - Panels is a framework to easily add sliding panels to your application. - [UIMenuScroll](https://github.com/AlekseyPleshkov/UIMenuScroll) - Creating the horizontal swiping navigation how on Facebook Messenger. - [CircleBar](https://github.com/softhausHQ/CircleBar) - 🔶 A fun, easy-to-use tab bar navigation controller for iOS. - [SPLarkController](https://github.com/IvanVorobei/SPLarkController) - Settings screen with buttons and switches. - [SwiftyMenu](https://github.com/KarimEbrahemAbdelaziz/SwiftyMenu) - A Simple and Elegant DropDown menu for iOS 🔥💥 ### Navigation Bar - [HidingNavigationBar](https://github.com/tristanhimmelman/HidingNavigationBar) - Easily hide and show a view controller's navigation bar (and tab bar) as a user scrolls - [KMNavigationBarTransition](https://github.com/MoZhouqi/KMNavigationBarTransition) - A drop-in universal library helps you to manage the navigation bar styles and makes transition animations smooth between different navigation bar styles while pushing or popping a view controller for all orientations. - [LTNavigationBar](https://github.com/ltebean/LTNavigationBar) - UINavigationBar Category which allows you to change its appearance dynamically - [BusyNavigationBar](https://github.com/gmertk/BusyNavigationBar) - A UINavigationBar extension to show loading effects - [KDInteractiveNavigationController](https://github.com/kingiol/KDInteractiveNavigationController) - A UINavigationController subclass that support pop interactive UINavigationbar with hidden or show. - [AMScrollingNavbar](https://github.com/andreamazz/AMScrollingNavbar) - Scrollable UINavigationBar that follows the scrolling of a UIScrollView - [NavKit](https://github.com/wilbertliu/NavKit) - Simple and integrated way to customize navigation bar experience on iOS app. - [RainbowNavigation](https://github.com/DanisFabric/RainbowNavigation) - An easy way to change backgroundColor of UINavigationBar when Push & Pop - [TONavigationBar](https://github.com/TimOliver/TONavigationBar) - A simple subclass that adds the ability to set the navigation bar background to 'clear' and gradually transition it visibly back in, similar to the effect in the iOS Music app. ### PickerView - [ActionSheetPicker-3.0](https://github.com/skywinder/ActionSheetPicker-3.0/) - Quickly reproduce the dropdown UIPickerView / ActionSheet functionality on iOS. - [PickerView](https://github.com/filipealva/PickerView) - A customizable alternative to UIPickerView in Swift. - [DatePickerDialog](https://github.com/squimer/DatePickerDialog-iOS-Swift) - Date picker dialog for iOS - [CZPicker](https://github.com/chenzeyu/CZPicker) - A picker view shown as a popup for iOS. - [AIDatePickerController](https://github.com/alikaragoz/AIDatePickerController) - :date: UIDatePicker modally presented with iOS 7 custom transitions. - [CountryPicker](https://github.com/4taras4/CountryCode) - :date: UIPickerView with Country names flags and phoneCodes - [McPicker](https://github.com/kmcgill88/McPicker-iOS) - A customizable, closure driven UIPickerView drop-in solution with animations that is rotation ready. - [Mandoline](https://github.com/blueapron/Mandoline) - An iOS picker view to serve all your "picking" needs - [D2PDatePicker](https://github.com/di2pra/D2PDatePicker) - Elegant and Easy-to-Use iOS Swift Date Picker - [CountryPickerView](https://github.com/kizitonwose/CountryPickerView)- A simple, customizable view for efficiently collecting country information in iOS apps - [planet](https://github.com/kwallet/planet) - A country picker - [MICountryPicker](https://github.com/mustafaibrahim989/MICountryPicker) - Swift country picker with search option. - [ADDatePicker](https://github.com/abhiperry/ADDatePicker) - A fully customizable iOS Horizontal PickerView library, written in pure swift. - [SKCountryPicker](https://github.com/SURYAKANTSHARMA/CountryPicker) - A simple, customizable Country picker for picking country or dialing code. ### Popup - [MMPopupView](https://github.com/adad184/MMPopupView) - Pop-up based view(e.g. alert sheet), can easily customize. - [STPopup](https://github.com/kevin0571/STPopup) - STPopup provides a UINavigationController in popup style, for both iPhone and iPad. - [NMPopUpView](https://github.com/psy2k/NMPopUpView) - Simple iOS class for showing nice popup windows. Swift and Objective-C versions available. - [PopupController](https://github.com/daisuke310vvv/PopupController) - A customizable controller for showing temporary popup view. - [SubscriptionPrompt](https://github.com/binchik/SubscriptionPrompt) - Subscription View Controller like the Tinder uses - [Presentr](https://github.com/IcaliaLabs/Presentr) - Wrapper for custom ViewController presentations in iOS 8+ - [PopupDialog](https://github.com/Orderella/PopupDialog) - A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertControllers alert style. - [SelectionDialog](https://github.com/kciter/SelectionDialog) - Simple selection dialog. - [AZDialogViewController](https://github.com/Minitour/AZDialogViewController) - A highly customizable alert dialog controller that mimics Snapchat's alert dialog. - [MIBlurPopup](https://github.com/MarioIannotta/MIBlurPopup) - MIBlurPopup let you create amazing popups with a blurred background. - [LNPopupController](https://github.com/LeoNatan/LNPopupController) - a framework for presenting view controllers as popups of other view controllers, much like the Apple Music and Podcasts apps. - [PopupWindow](https://github.com/shin8484/PopupWindow) - PopupWindow is a simple Popup using another UIWindow in Swift. - [SHPopup](https://github.com/iamshezad/SHPopup) - SHPopup is a simple lightweight library for popup view. - [Popover](https://github.com/corin8823/Popover) - Popover is a balloon library like Facebook app. It is written in pure swift. - [SwiftEntryKit](https://github.com/huri000/SwiftEntryKit) - A highly customizable popups, alerts and banners presenter for iOS. It offers various presets and is written in pure Swift. - [FFPopup](https://github.com/JonyFang/FFPopup) - ⛩FFPopup is a lightweight library for presenting custom views as a popup. - [PopupView](https://github.com/exyte/PopupView) - Toasts and popups library written with SwiftUI. ### ProgressView - [ProgressMeter](https://github.com/khawajafarooq/ProgressMeter) - Display the progress on a meter with customized annotations for iOS developed in Swift - [GradientCircularProgress](https://github.com/keygx/GradientCircularProgress) - Customizable progress indicator library in Swift. ### Pull to Refresh - [DGElasticPullToRefresh](https://github.com/gontovnik/DGElasticPullToRefresh) - Elastic pull to refresh for iOS developed in Swift - [PullToBounce](https://github.com/entotsu/PullToBounce) - Animated "Pull To Refresh" Library for UIScrollView. - [SVPullToRefresh](https://github.com/samvermette/SVPullToRefresh) - Give pull-to-refresh & infinite scrolling to any UIScrollView with 1 line of code. http://samvermette.com/314 - [UzysAnimatedGifPullToRefresh](https://github.com/uzysjung/UzysAnimatedGifPullToRefresh) - Add PullToRefresh using animated GIF to any scrollView with just simple code - [PullToRefreshCoreText](https://github.com/cemolcay/PullToRefreshCoreText) - PullToRefresh extension for all UIScrollView type classes with animated text drawing style - [BOZPongRefreshControl](https://github.com/boztalay/BOZPongRefreshControl) - A pull-down-to-refresh control for iOS that plays pong, originally created for the MHacks III iOS app - [CBStoreHouseRefreshControl](https://github.com/coolbeet/CBStoreHouseRefreshControl) - Fully customizable pull-to-refresh control inspired by Storehouse iOS app - [SurfingRefreshControl](https://github.com/peiweichen/SurfingRefreshControl) - Inspired by CBStoreHouseRefreshControl.Customizable pull-to-refresh control,written in pure Swift - [mntpulltoreact](https://github.com/mentionapp/mntpulltoreact) - One gesture, many actions. An evolution of Pull to Refresh. - [ADChromePullToRefresh](https://github.com/Antondomashnev/ADChromePullToRefresh) - Chrome iOS app style pull to refresh with multiple actions. - [BreakOutToRefresh](https://github.com/dasdom/BreakOutToRefresh) - A playable pull to refresh view using SpriteKit. - [MJRefresh](https://github.com/CoderMJLee/MJRefresh) An easy way to use pull-to-refresh. - [HTPullToRefresh](https://github.com/hoang-tran/HTPullToRefresh) - Easily add vertical and horizontal pull to refresh to any UIScrollView. Can also add multiple pull-to-refesh views at once. - [PullToRefreshSwift](https://github.com/dekatotoro/PullToRefreshSwift) - iOS Simple Cool PullToRefresh Library. It is written in pure swift. - [GIFRefreshControl](https://github.com/delannoyk/GIFRefreshControl) - GIFRefreshControl is a pull to refresh that supports GIF images as track animations. - [ReplaceAnimation](https://github.com/fruitcoder/ReplaceAnimation) - Pull-to-refresh animation in UICollectionView with a sticky header flow layout, written in Swift - [PullToMakeSoup](https://github.com/Yalantis/PullToMakeSoup) - Custom animated pull-to-refresh that can be easily added to UIScrollView - [RainyRefreshControl](https://github.com/Onix-Systems/RainyRefreshControl) - Simple refresh control for iOS inspired by [concept](https://dribbble.com/shots/2242263--1-Pull-to-refresh-Freebie-Weather-Concept). - [ESPullToRefresh](https://github.com/eggswift/pull-to-refresh) - Customisable pull-to-refresh, including nice animation on the top - [CRRefresh](https://github.com/CRAnimation/CRRefresh) - An easy way to use pull-to-refresh. - [KafkaRefresh](https://github.com/HsiaohuiHsiang/KafkaRefresh) - Animated, customizable, and flexible pull-to-refresh framework for faster and easier iOS development. ### Rating Stars - [FloatRatingView](https://github.com/glenyi/FloatRatingView) - Whole, half or floating point ratings control written in Swift - [TTGEmojiRate](https://github.com/zekunyan/TTGEmojiRate) - An emoji-liked rating view for iOS, implemented in Swift. - [StarryStars](https://github.com/peterprokop/StarryStars) - StarryStars is iOS GUI library for displaying and editing ratings - [Cosmos](https://github.com/evgenyneu/Cosmos) - A star rating control for iOS / Swift - [HCSStarRatingView](https://github.com/hsousa/HCSStarRatingView) - Simple star rating view for iOS written in Objective-C - [MBRateApp](https://github.com/MatiBot/MBRateApp) - A groovy app rate stars screen for iOS written in Swift - [RPInteraction](https://github.com/nbolatov/RPInteraction) - Review page interaction - handy and pretty way to ask for review. ### ScrollView - [ScrollingFollowView](https://github.com/ktanaka117/ScrollingFollowView) - ScrollingFollowView is a simple view which follows UIScrollView scrolling. - [UIScrollView-InfiniteScroll](https://github.com/pronebird/UIScrollView-InfiniteScroll) - UIScrollView infinite scroll category. - [GoAutoSlideView](https://github.com/zjmdp/GoAutoSlideView) - GoAutoSlideView extends UIScrollView by featuring infinitely and automatically slide. - [AppStoreStyleHorizontalScrollView](https://github.com/terenceLuffy/AppStoreStyleHorizontalScrollView) - App store style horizontal scroll view. - [PullToDismiss](https://github.com/sgr-ksmt/PullToDismiss) - You can dismiss modal viewcontroller by pulling scrollview or navigationbar in Swift. - [SpreadsheetView](https://github.com/bannzai/SpreadsheetView) - Full configurable spreadsheet view user interfaces for iOS applications. With this framework, you can easily create complex layouts like schedule, Gantt chart or timetable as if you are using Excel. - [VegaScroll](https://github.com/AppliKeySolutions/VegaScroll) - VegaScroll is a lightweight animation flowlayout for UICollectionView completely written in Swift 4, compatible with iOS 11 and Xcode 9 - [ShelfView-iOS](https://github.com/tdscientist/ShelfView-iOS) - iOS custom view to display books on shelf - [SlideController](https://github.com/touchlane/SlideController) - SlideController is simple and flexible UI component completely written in Swift. It is a nice alternative for UIPageViewController built using power of generic types. - [CrownControl](https://github.com/huri000/CrownControl) - Inspired by the Apple Watch Digital Crown, CrownControl is a tiny accessory view that enables scrolling through scrollable content without lifting your thumb. - [SegementSlide](https://github.com/Jiar/SegementSlide) - Multi-tier UIScrollView nested scrolling solution. ### Segmented Control - [BetterSegmentedControl](https://github.com/gmarm/BetterSegmentedControl) - An easy to use, customizable replacement for UISegmentedControl & UISwitch. - [LUNSegmentedControl](https://github.com/Stormotion-Mobile/LUNSegmentedControl) - Customizable segmented control with interactive animation. - [AKASegmentedControl](https://github.com/alikaragoz/AKASegmentedControl) - :chocolate_bar: Fully customizable Segmented Control for iOS. - [TwicketSegmentedControl](https://github.com/twicketapp/TwicketSegmentedControl) - Custom UISegmentedControl replacement for iOS, written in Swift. - [SJFluidSegmentedControl](https://github.com/sasojadrovski/SJFluidSegmentedControl) - A segmented control with custom appearance and interactive animations. Written in Swift 3.0. - [HMSegmentedControl](https://github.com/HeshamMegid/HMSegmentedControl) - A drop-in replacement for UISegmentedControl mimicking the style of the segmented control used in Google Currents and various other Google products. - [YUSegment](https://github.com/afishhhhh/YUSegment) - A customizable segmented control for iOS. Supports both text and image. - [MultiSelectSegmentedControl](https://github.com/yonat/MultiSelectSegmentedControl) - adds Multiple-Selection to the standard `UISegmentedControl`. - [DynamicMaskSegmentSwitch](https://github.com/KittenYang/DynamicMaskSegmentSwitch) - A segment switcher with dynamic text mask effect - [PinterestSegment](https://github.com/TBXark/PinterestSegment) - A Pinterest-like segment control with masking animation. - [DGRunkeeperSwitch](https://github.com/gontovnik/DGRunkeeperSwitch) - Runkeeper design switch control (two part segment control) ### Slider - [VolumeControl](https://github.com/12Rockets/VolumeControl) - Custom volume control for iPhone featuring a well-designed round slider. - [WESlider](https://github.com/Ekhoo/WESlider) - Simple and light weight slider with chapter management - [IntervalSlider](https://github.com/shushutochako/IntervalSlider) - IntervalSlider is a slider library like ReutersTV app. written in pure swift. - [RangeSlider](https://github.com/warchimede/RangeSlider) - A simple range slider made in Swift - [CircleSlider](https://github.com/shushutochako/CircleSlider) - CircleSlider is a Circular slider library. written in pure Swift. - [MARKRangeSlider](https://github.com/vadymmarkov/MARKRangeSlider) - A custom reusable slider control with 2 thumbs (range slider). - [ASValueTrackingSlider](https://github.com/alskipp/ASValueTrackingSlider) - A UISlider subclass that displays the slider value in a popup view - [TTRangeSlider](https://github.com/TomThorpe/TTRangeSlider) - A slider, similar in style to UISlider, but which allows you to pick a minimum and maximum range. - [MMSegmentSlider](https://github.com/MedvedevMax/MMSegmentSlider) - Customizable animated slider for iOS. - [StepSlider](https://github.com/spromicky/StepSlider) - StepSlider its custom implementation of slider such as UISlider for preset integer values. - [JDSlider](https://github.com/JellyDevelopment/JDSlider) - An iOS Slider written in Swift. - [SnappingSlider](https://github.com/rehatkathuria/SnappingSlider) - A beautiful slider control for iOS built purely upon Swift - [MTCircularSlider](https://github.com/EranBoudjnah/MTCircularSlider) - A feature-rich circular slider control. - [VerticalSlider](https://github.com/jonkykong/VerticalSlider) - VerticalSlider is a vertical implementation of the UISlider slider control. - [CircularSlider](https://github.com/taglia3/CircularSlider) - A powerful Circular Slider. It's written in Swift, it's 100% IBDesignable and all parameters are IBInspectable. - [HGCircularSlider](https://github.com/HamzaGhazouani/HGCircularSlider) - A custom reusable circular slider control for iOS application. - [RangeSeekSlider](https://github.com/WorldDownTown/RangeSeekSlider) - A customizable range slider for iOS. - [SectionedSlider](https://github.com/LeonardoCardoso/SectionedSlider) - Control Center Slider. - [MultiSlider](https://github.com/yonat/MultiSlider) - UISlider clone with multiple thumbs and values, optional snap intervals, optional value labels. - [AGCircularPicker](https://github.com/agilie/AGCircularPicker) - AGCircularPicker is helpful component for creating a controller aimed to manage any calculated parameter. - [Fluid Slider](https://github.com/Ramotion/fluid-slider) - A slider widget with a popup bubble displaying the precise value selected. ### Splash View - [CBZSplashView](https://github.com/callumboddy/CBZSplashView) - Twitter style Splash Screen View. Grows to reveal the Initial view behind. - [SKSplashView](https://github.com/sachinkesiraju/SKSplashView) - Create custom animated splash views similar to the ones in the Twitter, Uber and Ping iOS app. - [RevealingSplashView](https://github.com/PiXeL16/RevealingSplashView) - A Splash view that animates and reveals its content, inspired by Twitter splash ### Status Bar - [Bartinter](https://github.com/MaximKotliar/Bartinter) - Status bar tint depending on content behind, updates dynamically. ### Stepper - [PFStepper](https://github.com/PerfectFreeze/PFStepper) - May be the most elegant stepper you have ever had! - [ValueStepper](https://github.com/BalestraPatrick/ValueStepper) - A Stepper object that displays its value. - [GMStepper](https://github.com/gmertk/GMStepper) - A stepper with a sliding label in the middle. - [barceloneta](https://github.com/arn00s/barceloneta) - The right way to increment/decrement values with a simple gesture on iOS. - [SnappingStepper](https://github.com/yannickl/SnappingStepper) - An elegant alternative to the UIStepper written in Swift - [SMNumberWheel](https://github.com/SinaMoetakef/SMNumberWheel) - A custom control written in Swift, which is ideal for picking numbers very fast but yet very accurate using a rotating wheel ### Switch - [AnimatedSwitch](https://github.com/alsedi/AnimatedSwitch) - UISwitch which paints over the parent view with the color in Swift. - [ViralSwitch](https://github.com/andreamazz/ViralSwitch) - A UISwitch that infects its superview with its tint color. - [JTMaterialSwitch](https://github.com/JunichiT/JTMaterialSwitch) - A customizable switch UI with ripple effect and bounce animations, inspired from Google's Material Design. - [TKSwitcherCollection](https://github.com/TBXark/TKSwitcherCollection) - An animate switch collection - [SevenSwitch](https://github.com/bvogelzang/SevenSwitch) - iOS7 style drop in replacement for UISwitch. - [PMZSwitch](https://github.com/kovpas/PMZSwitch) - Yet another animated toggle - [Switcher](https://github.com/knn90/Switcher) - Swift - Custom UISwitcher with animation when change status - [RAMPaperSwitch](https://github.com/Ramotion/paper-switch) - RAMPaperSwitch is a Swift module which paints over the parent view when the switch is turned on. - [AIFlatSwitch](https://github.com/cocoatoucher/AIFlatSwitch) - A flat component alternative to UISwitch on iOS - [Switch](https://github.com/T-Pham/Switch) - An iOS switch control implemented in Swift with full Interface Builder support. ### Tab Bar - [ESTabBarController](https://github.com/ezescaruli/ESTabBarController) - A tab bar controller for iOS that allows highlighting buttons and setting custom actions to them. - [GooeyTabbar](https://github.com/KittenYang/GooeyTabbar) - A gooey effect tabbar - [animated-tab-bar](https://github.com/Ramotion/animated-tab-bar) - RAMAnimatedTabBarController is a Swift module for adding animation to tabbar items. - [FoldingTabBar.iOS](https://github.com/Yalantis/FoldingTabBar.iOS) - Folding Tab Bar and Tab Bar Controller - [GGTabBar](https://github.com/Goles/GGTabBar) - Another UITabBar & UITabBarController (iOS Tab Bar) replacement, but uses Auto Layout for arranging it's views hierarchy. - [adaptive-tab-bar](https://github.com/Ramotion/adaptive-tab-bar) - AdaptiveController is a 'Progressive Reduction' Swift module for adding custom states to Native or Custom iOS UI elements - [Pager](https://github.com/lucoceano/Pager) - Easily create sliding tabs with Pager - [XLPagerTabStrip](https://github.com/xmartlabs/XLPagerTabStrip) - Android PagerTabStrip for iOS. - [TabPageViewController](https://github.com/EndouMari/TabPageViewController) - Paging view controller and scroll tab view. - [TabDrawer](https://github.com/winslowdibona/TabDrawer) - Customizable TabBar UI element that allows you to run a block of code upon TabBarItem selection, written in Swift - [SwipeViewController](https://github.com/fortmarek/SwipeViewController) - SwipeViewController is a Swift modification of RKSwipeBetweenViewControllers - navigate between pages / ViewControllers - [ColorMatchTabs](https://github.com/Yalantis/ColorMatchTabs) - Interesting way to display tabs - [BATabBarController](https://github.com/antiguab/BATabBarController) - A TabBarController with a unique animation for selection - [ScrollPager](https://github.com/aryaxt/ScrollPager) - A scroll pager that displays a list of tabs (segments) and manages paging between given views - [Segmentio](https://github.com/Yalantis/Segmentio) - Animated top/bottom segmented control written in Swift. - [KYWheelTabController](https://github.com/ykyouhei/KYWheelTabController) - KYWheelTabController is a subclass of UITabBarController.It displays the circular menu instead of UITabBar. - [SuperBadges](https://github.com/odedharth/SuperBadges) - Add emojis and colored dots as badges for your Tab Bar buttons - [AZTabBarController](https://github.com/Minitour/AZTabBarController) - A custom tab bar controller for iOS written in Swift 3.0 - [MiniTabBar](https://github.com/D-32/MiniTabBar) - A clean simple alternative to the UITabBar - [SwipeableTabBarController](https://github.com/marcosgriselli/SwipeableTabBarController) - UITabBarController with swipe interaction between its tabs. - [SMSwipeableTabView](https://github.com/smahajan28/SMSwipeableTabView) - Swipeable Views with Tabs (Like Android SwipeView With Tabs Layout) - [Tabman](https://github.com/uias/Tabman) - A powerful paging view controller with indicator bar for iOS. - [WormTabStrip](https://github.com/EzimetYusup/WormTabStrip) Beatiful ViewPager For iOS written in Swift (inspired by Android [SmartTabLayout](https://github.com/ogaclejapan/SmartTabLayout)) - [SSCustomTabMenu](https://github.com/simformsolutions/SSCustomTabMenu) Simple customizable iOS bottom menu with Tabbar. - [SmoothTab](https://github.com/yervandsar/SmoothTab) - Smooth customizable tabs for iOS apps. - [ExpandedTabBar](https://github.com/yervandsar/ExpandedTabBar) - Very creative designed solution for "more" items in UITabBarController - [BEKCurveTabbar](https://github.com/behrad-kzm/BEKCurveTabbar) - compatible with XCode +10 and fully customizable via Interface_Builder panel. BEKCurveTabBar derived UITabBar class and compatible with every iOS devices. ### Table View / Collection View #### Table View - [MGSwipeTableCell](https://github.com/MortimerGoro/MGSwipeTableCell) - UITableViewCell subclass that allows to display swippable buttons with a variety of transitions. - [YXTPageView](https://github.com/hanton/YXTPageView) - A PageView, which supporting scrolling to transition between a UIView and a UITableView. - [ConfigurableTableViewController](https://github.com/fastred/ConfigurableTableViewController) - Typed, yet Flexible Table View Controller https://holko.pl/2016/01/05/typed-table-view-controller/ - [Lightning-Table](https://github.com/electrickangaroo/Lightning-Table) - A declarative api for working with UITableView. - [Static](https://github.com/venmo/Static) - Simple static table views for iOS in Swift. - [AMWaveTransition](https://github.com/andreamazz/AMWaveTransition) - Custom transition between viewcontrollers holding tableviews. - [SWTableViewCell](https://github.com/CEWendel/SWTableViewCell) - An easy-to-use UITableViewCell subclass that implements a swippable content view which exposes utility buttons (similar to iOS 7 Mail Application) - [ZYThumbnailTableView](https://github.com/liuzhiyi1992/ZYThumbnailTableView) - a TableView have thumbnail cell only, and you can use gesture let it expands other expansionView, all diy - [BWSwipeRevealCell](https://github.com/bitwit/BWSwipeRevealCell) - A Swift library for swipeable table cells - [preview-transition](https://github.com/Ramotion/preview-transition) - PreviewTransition is a simple preview gallery controller - [QuickTableViewController](https://github.com/bcylin/QuickTableViewController) - A simple way to create a UITableView for settings in Swift. - [TableKit](https://github.com/maxsokolov/TableKit) - Type-safe declarative table views with Swift - [VBPiledView](https://github.com/v-braun/VBPiledView) - Simple and beautiful stacked UIView to use as a replacement for an UITableView, UIImageView or as a menu - [VTMagic](https://github.com/tianzhuo112/VTMagic) - VTMagic is a page container library for iOS. - [MCSwipeTableViewCell](https://github.com/alikaragoz/MCSwipeTableViewCell) - :point_up_2: Convenient UITableViewCell subclass that implements a swippable content to trigger actions (similar to the Mailbox app). - [MYTableViewIndex](https://github.com/mindz-eye/MYTableViewIndex) - A pixel perfect replacement for UITableView section index, written in Swift - [ios-dragable-table-cells](https://github.com/palmin/ios-dragable-table-cells) - Support for drag-n-drop of UITableViewCells in a navigation hierarchy of view controllers. You drag cells by tapping and holding them. - [Bohr](https://github.com/DavdRoman/Bohr) - Bohr allows you to set up a settings screen for your app with three principles in mind: ease, customization and extensibility. - [SwiftReorder](https://github.com/adamshin/SwiftReorder) - Add drag-and-drop reordering to any table view with just a few lines of code. Robust, lightweight, and completely customizable. [e] - [HoverConversion](https://github.com/marty-suzuki/HoverConversion) - HoverConversion realized vertical paging with UITableView. UIViewController will be paging when reaching top or bottom of UITableView contentOffset. - [TableViewDragger](https://github.com/KyoheiG3/TableViewDragger) - A cells of UITableView can be rearranged by drag and drop. - [FlexibleTableViewController](https://github.com/dimpiax/FlexibleTableViewController) - Swift library of generic table view controller with external data processing of functionality, like determine cell's reuseIdentifier related to indexPath, configuration of requested cell for display and cell selection handler - [CascadingTableDelegate](https://github.com/edopelawi/CascadingTableDelegate) - A no-nonsense way to write cleaner UITableViewDelegate and UITableViewDataSource in Swift. - [TimelineTableViewCell](https://github.com/kf99916/TimelineTableViewCell) - Simple timeline view implemented by UITableViewCell written in Swift 3.0. - [RHPreviewCell](https://github.com/robertherdzik/RHPreviewCell) - I envied so much Spotify iOS app this great playlist preview cell. Now you can give your users ability to quick check "what content is hidden under your UITableViewCell". - [TORoundedTableView](https://github.com/TimOliver/TORoundedTableView) - A subclass of UITableView that styles it like Settings.app on iPad - [TableFlip](https://github.com/mergesort/TableFlip) - A simpler way to do cool UITableView animations! (╯°□°)╯︵ ┻━┻ - [DTTableViewManager](https://github.com/DenTelezhkin/DTTableViewManager) - Protocol-oriented UITableView management, powered by generics and associated types. - [SwipeCellKit](https://github.com/SwipeCellKit/SwipeCellKit) - Swipeable UITableViewCell based on the stock Mail.app, implemented in Swift. - [ReverseExtension](https://github.com/marty-suzuki/ReverseExtension) - A UITableView extension that enables cell insertion from the bottom of a table view. - [SelectionList](https://github.com/yonat/SelectionList) - Simple single-selection or multiple-selection checklist, based on UITableView. - [AZTableViewController](https://github.com/AfrozZaheer/AZTableViewController) - Elegant and easy way to integrate pagination with dummy views. - [SAInboxViewController](https://github.com/marty-suzuki/SAInboxViewController) - UIViewController subclass inspired by "Inbox by google" animated transitioning. - [StaticTableViewController](https://github.com/muyexi/StaticTableViewController) - Dynamically hide / show cells of static UITableViewController. - [OKTableViewLiaison](https://github.com/okcupid/OKTableViewLiaison) - Framework to help you better manage UITableView configuration. - [ThunderTable](https://github.com/3sidedcube/ThunderTable) - A simple declarative approach to UITableViewController management using a protocol-based approach. #### Collection View - [Dwifft](https://github.com/jflinter/Dwifft) - Swift Diff - [MEVFloatingButton](https://github.com/manuelescrig/MEVFloatingButton) - An iOS drop-in UITableView, UICollectionView and UIScrollView superclass category for showing a customizable floating button on top of it. - [Preheat](https://github.com/kean/Preheat) - Automates prefetching of content in UITableView and UICollectionView - [DisplaySwitcher](https://github.com/Yalantis/DisplaySwitcher) - Custom transition between two collection view layouts - [Reusable](https://github.com/AliSoftware/Reusable) - A Swift mixin for UITableViewCells and UICollectionViewCells - [Sapporo](https://github.com/nghialv/Sapporo) - Cellmodel-driven collectionview manager - [StickyCollectionView-Swift](https://github.com/matbeich/StickyCollectionView-Swift) - UICollectionView layout for presenting of the overlapping cells. - [TLIndexPathTools](https://github.com/SwiftKickMobile/TLIndexPathTools) - TLIndexPathTools is a small set of classes that can greatly simplify your table and collection views. - [IGListKit](https://github.com/Instagram/IGListKit) - A data-driven UICollectionView framework for building fast and flexible lists. - [FlexibleCollectionViewController](https://github.com/dimpiax/FlexibleCollectionViewController) - Swift library of generic collection view controller with external data processing of functionality, like determine cell's reuseIdentifier related to indexPath, configuration of requested cell for display and cell selection handler etc - [ASCollectionView](https://github.com/abdullahselek/ASCollectionView) - A Swift collection view inspired by Airbnb. - [GLTableCollectionView](https://github.com/giulio92/GLTableCollectionView) - Netflix and App Store like UITableView with UICollectionView - [EditDistance](https://github.com/kazuhiro4949/EditDistance) - Incremental update tool for UITableView and UICollectionView - [SwiftSpreadSheet](https://github.com/stuffrabbit/SwiftSpreadsheet) - Spreadsheet CollectionViewLayout in Swift. Fully customizable. - [GenericDataSource](https://github.com/GenericDataSource/GenericDataSource) - A generic small reusable components for data source implementation for UITableView/UICollectionView in Swift. - [PagingView](https://github.com/KyoheiG3/PagingView) - Infinite paging, Smart auto layout, Interface of similar to UIKit. - [PJFDataSource](https://github.com/square/PJFDataSource) - PJFDataSource is a small library that provides a simple, clean architecture for your app to manage its data sources while providing a consistent user interface for common content states (i.e. loading, loaded, empty, and error). - [DataSources](https://github.com/muukii/DataSources) - Type-safe data-driven List-UI Framework. (We can also use ASCollectionNode) - [KDDragAndDropCollectionView](https://github.com/mmick66/KDDragAndDropCollectionView) - Dragging & Dropping data across multiple UICollectionViews. - [SectionScrubber](https://github.com/3lvis/SectionScrubber) - A component to quickly scroll between collection view sections - [CollectionKit](https://github.com/SoySauceLab/CollectionKit) - A modern Swift framework for building reusable data-driven collection components. - [AZCollectionViewController](https://github.com/AfrozZaheer/AZCollectionViewController) - Easy way to integrate pagination with dummy views in CollectionView, make Instagram Discover within minutes. - [CampcotCollectionView](https://github.com/touchlane/CampcotCollectionView) - CampcotCollectionView is a custom UICollectionView written in Swift that allows to expand and collapse sections. It provides a simple API to manage collection view appearance. - [Stefan](https://github.com/appunite/Stefan) - A guy that helps you manage collections and placeholders in easy way. - [Parade](https://github.com/HelloElephant/Parade) - Parallax Scroll-Jacking Effects Engine for iOS / tvOS. - [MSPeekCollectionViewDelegateImplementation](https://github.com/MaherKSantina/MSPeekCollectionViewDelegateImplementation) - A custom paging behavior that peeks the previous and next items in a collection view. - [SimpleSource](https://github.com/Squarespace/simple-source) - Easy and type-safe iOS table and collection views in Swift. - [Conv](https://github.com/bannzai/conv) - Conv smart represent UICollectionView data structure more than UIKit. - [Carbon](https://github.com/ra1028/Carbon) - 🚴 A declarative library for building component-based user interfaces in UITableView and UICollectionView. - [ThunderCollection](https://github.com/3sidedcube/ThunderCollection) - A simple declarative approach to UICollectionViewController management using a protocol-based approach. - [DiffableDataSources](https://github.com/ra1028/DiffableDataSources) - A library for backporting UITableView/UICollectionViewDiffableDataSource. - [StableCollectionViewLayout](https://github.com/aimalygin/StableCollectionViewLayout) - This layout adjusts a content offset if the collection view is updated. You can insert, delete or reload items and StableCollectionViewLayout will take care of the content offset. #### Expandable Cell - [folding-cell](https://github.com/Ramotion/folding-cell) - FoldingCell is an expanding content cell inspired by folding paper material - [AEAccordion](https://github.com/tadija/AEAccordion) - UITableViewController with accordion effect (expand / collapse cells). - [ThreeLevelAccordian](https://github.com/amratab/ThreeLevelAccordian) - This is a customisable three level accordian with options for adding images and accessories images. - [YNExpandableCell](https://github.com/younatics/YNExpandableCell) - Awesome expandable, collapsible tableview cell for iOS. - [Savory](https://github.com/Nandiin/Savory) - A swift accordion view implementation. - [ExpyTableView](https://github.com/okhanokbay/ExpyTableView) - Make your table view expandable just by implementing one method. - [FTFoldingPaper](https://github.com/monofire/FTFoldingPaper) - Emulates paper folding effect. Can be integrated with UITableView or used with other UI components. - [CollapsibleTableSectionViewController](https://github.com/jeantimex/CollapsibleTableSectionViewController) - A swift library to support collapsible sections in a table view. - [ExpandableCell](https://github.com/younatics/ExpandableCell) - Fully refactored YNExapnadableCell with more concise, bug free. Awesome expandable, collapsible tableview cell for iOS. - [expanding-collection](https://github.com/Ramotion/expanding-collection) - ExpandingCollection is a card peek/pop controller #### Header - [ParallaxTableViewHeader](https://github.com/Vinodh-G/ParallaxTableViewHeader) - Parallax scrolling effect on UITableView header view when a tableView is scrolled. - [CSStickyHeaderFlowLayout](https://github.com/CSStickyHeaderFlowLayout/CSStickyHeaderFlowLayout) - UICollectionView replacement of UITableView. Do even more like Parallax Header, Sticky Section Header. - [GSKStretchyHeaderView](https://github.com/gskbyte/GSKStretchyHeaderView) - Configurable yet easy to use stretchy header view for UITableView and UICollectionView. #### Placeholder - [DZNEmptyDataSet](https://github.com/dzenbot/DZNEmptyDataSet) - A drop-in UITableView/UICollectionView superclass category for showing empty datasets whenever the view has no content to display. - [HGPlaceholders](https://github.com/HamzaGhazouani/HGPlaceholders) - Nice library to show and create placeholders and Empty States for any UITableView/UICollectionView in your project - [ListPlaceholder](https://github.com/malkouz/ListPlaceholder) - ListPlaceholder is a swift library allows you to easily add facebook style animated loading placeholder to your tableviews or collection views - [WLEmptyState](https://github.com/wizeline/WLEmptyState) - A component that lets you customize the view when the dataset of UITableView is empty. #### Collection View Layout - [CHTCollectionViewWaterfallLayout](https://github.com/chiahsien/CHTCollectionViewWaterfallLayout) - The waterfall (i.e., Pinterest-like) layout for UICollectionView. - [FMMosaicLayout](https://github.com/fmitech/FMMosaicLayout) - A drop-in mosaic collection view layout with a focus on simple customizations. - [mosaic-layout](https://github.com/vinnyoodles/mosaic-layout) - A mosaic collection view layout inspired by Lightbox's Algorithm, written in Swift - [TLLayoutTransitioning](https://github.com/SwiftKickMobile/TLLayoutTransitioning) - Enhanced transitioning between UICollectionView layouts in iOS. - [CenteredCollectionView](https://github.com/BenEmdon/CenteredCollectionView) - A lightweight UICollectionViewLayout that _'pages'_ and centers it's cells 🎡 written in Swift. - [CollectionViewSlantedLayout](https://github.com/yacir/CollectionViewSlantedLayout) - UICollectionViewLayout with slanted content - [SquareMosaicLayout](https://github.com/iwheelbuy/SquareMosaicLayout) - An extandable mosaic UICollectionViewLayout with a focus on extremely flexible customizations - [BouncyLayout](https://github.com/roberthein/BouncyLayout) - BouncyLayout is a collection view layout that makes your cells bounce. - [AZSafariCollectionViewLayout](https://github.com/AfrozZaheer/AZSafariCollectionViewLayout) - AZSafariCollectionViewLayout is replica of safari browser history page layout. very easy to use, IBInspectable are given for easy integration. -ollectionView, make Instagram Discover within minutes. - [Blueprints](https://github.com/zenangst/Blueprints) - A framework that is meant to make your life easier when working with collection view flow layouts. - [UICollectionViewSplitLayout](https://github.com/yahoojapan/UICollectionViewSplitLayout) - UICollectionViewSplitLayout makes collection view more responsive. - [Swinflate](https://github.com/VladIacobIonut/Swinflate) - A bunch of layouts providing light and seamless experiences in your CollectionView. ### Tag - [PARTagPicker](https://github.com/paulrolfe/PARTagPicker) - This pod provides a view controller for choosing and creating tags in the style of wordpress or tumblr. - [AMTagListView](https://github.com/andreamazz/AMTagListView) - UIScrollView subclass that allows to add a list of highly customizable tags. - [TagCellLayout](https://github.com/riteshhgupta/TagCellLayout) - UICollectionView layout for Tags with Left, Center & Right alignments. - [TTGTagCollectionView](https://github.com/zekunyan/TTGTagCollectionView) - Show simple text tags or custom tag views in a vertical scrollable view. - [TagListView](https://github.com/ElaWorkshop/TagListView) - Simple and highly customizable iOS tag list view, in Swift. - [RKTagsView](https://github.com/kuler90/RKTagsView) - Highly customizable iOS tags view (like NSTokenField). Supports editing, multiple selection, Auto Layout and much more. - [WSTagsField](https://github.com/whitesmith/WSTagsField) - An iOS text field that represents different Tags. - [AKMaskField](https://github.com/artemkrachulov/AKMaskField) - AKMaskField is UITextField subclass which allows enter data in the fixed quantity and in the certain format. - [YNSearch](https://github.com/younatics/YNSearch) - Awesome fully customizable search view like Pinterest written in Swift 3. - [SFFocusViewLayout](https://github.com/fdzsergio/SFFocusViewLayout) - UICollectionViewLayout with focused content. ### TextField & TextView - [JVFloatLabeledTextField](https://github.com/jverdi/JVFloatLabeledTextField) - UITextField subclass with floating labels. - [ARAutocompleteTextView](https://github.com/alexruperez/ARAutocompleteTextView) - subclass of UITextView that automatically displays text suggestions in real-time. Perfect for email Textviews. - [IQDropDownTextField](https://github.com/hackiftekhar/IQDropDownTextField) - TextField with DropDown support using UIPickerView. - [UITextField-Shake](https://github.com/andreamazz/UITextField-Shake) - UITextField category that adds shake animation. [Also with Swift version](https://github.com/King-Wizard/UITextField-Shake-Swift) - [HTYTextField](https://github.com/hanton/HTYTextField) - A UITextField with bouncy placeholder. - [MVAutocompletePlaceSearchTextField](https://github.com/TheMrugraj/MVAutocompletePlaceSearchTextField) - A drop-in Autocompletion control for Place Search like Google Places, Uber, etc. - [AutocompleteField](https://github.com/filipstefansson/AutocompleteField) - Add word completion to your UITextFields. - [RSKGrowingTextView](https://github.com/ruslanskorb/RSKGrowingTextView) - A light-weight UITextView subclass that automatically grows and shrinks. - [RSKPlaceholderTextView](https://github.com/ruslanskorb/RSKPlaceholderTextView) - A light-weight UITextView subclass that adds support for placeholder. - [StatefulViewController](https://github.com/aschuch/StatefulViewController) - Placeholder views based on content, loading, error or empty states. - [MBAutoGrowingTextView](https://github.com/MatejBalantic/MBAutoGrowingTextView) - An auto-layout base UITextView subclass which automatically grows with user input and can be constrained by maximal and minimal height - all without a single line of code. - [TextFieldEffects](https://github.com/raulriera/TextFieldEffects) - Custom UITextFields effects inspired by Codrops, built using Swift. - [Reel Search](https://github.com/Ramotion/reel-search) - RAMReel is a controller that allows you to choose options from a list. - [MLPAutoCompleteTextField](https://github.com/EddyBorja/MLPAutoCompleteTextField) - a subclass of UITextField that behaves like a typical UITextField with one notable exception: it manages a drop down table of autocomplete suggestions that update as the user types. - [SkyFloatingLabelTextField](https://github.com/Skyscanner/SkyFloatingLabelTextField) - A beautiful and flexible text field control implementation of "Float Label Pattern". Written in Swift. - [VMaskTextField](https://github.com/viniciusmo/VMaskTextField) - VMaskTextField is a library which create an input mask for iOS. - [TJTextField](https://github.com/tejas-ardeshna/TJTextField) - UITextField with underline and left image. - [NextGrowingTextView](https://github.com/muukii/NextGrowingTextView) - The next in the generations of 'growing textviews' optimized for iOS 7 and above. - [RPFloatingPlaceholders](https://github.com/iwasrobbed/RPFloatingPlaceholders) - UITextField and UITextView subclasses with placeholders that change into floating labels when the fields are populated with text. - [CurrencyTextField](https://github.com/richa008/CurrencyTextField) - UITextField that automatically formats text to display in the currency format. - [UITextField-Navigation](https://github.com/T-Pham/UITextField-Navigation) - UITextField-Navigation adds next, previous and done buttons to the keyboard for your UITextFields. - [AutoCompleteTextField](https://github.com/nferocious76/AutoCompleteTextField) - Auto complete with suggestion textfield. - [PLCurrencyTextField](https://github.com/nonameplum/PLCurrencyTextField) - UITextField that support currency in the right way. - [PasswordTextField](https://github.com/PiXeL16/PasswordTextField) - A custom TextField with a switchable icon which shows or hides the password and enforce good password policies. - [AnimatedTextInput](https://github.com/jobandtalent/AnimatedTextInput) - Animated UITextField and UITextView replacement for iOS. - [KMPlaceholderTextView](https://github.com/MoZhouqi/KMPlaceholderTextView) - A UITextView subclass that adds support for multiline placeholder written in Swift. - [NxEnabled](https://github.com/Otbivnoe/NxEnabled) - Library which allows you binding `enabled` property of button with textable elements (TextView, TextField). - [AwesomeTextField](https://github.com/aleksandrshoshiashvili/AwesomeTextFieldSwift) - Awesome TextField is a nice and simple library for iOS. It's highly customisable and easy-to-use tool. Works perfectly for any registration or login forms in your app. - [ModernSearchBar](https://github.com/PhilippeBoisney/ModernSearchBar) - The famous iOS search bar with auto completion feature implemented. - [SelectableTextView](https://github.com/jhurray/SelectableTextView) - A text view that supports selection and expansion. - [CBPinEntryView](https://github.com/Fawxy/CBPinEntryView) - A customisable view written in Swift 4.2 for any pin, code or password entry. Supports one time codes in iOS 12. - [GrowingTextView](https://github.com/KennethTsang/GrowingTextView) - An UITextView in Swift3 and Swift2.3. Support auto growing, placeholder and length limit. - [DTTextField](https://github.com/iDhaval/DTTextField) - DTTextField is a custom textfield with floating placeholder and error label in Swift3.0. - [TextFieldCounter](https://github.com/serralvo/TextFieldCounter) - UITextField character counter with lovable UX. - [RSFloatInputView](https://github.com/roytornado/RSFloatInputView) - A Float Input View with smooth animation and supporting icon and seperator written with Swift. - [TaniwhaTextField](https://github.com/iceman201/TaniwhaTextField) - TaniwhaTextField is a lightweight and beautiful swift textfield framework. It has float label pattern, and also you can highly customise it. - [InstantSearch iOS](https://github.com/algolia/instantsearch-ios) - A library of widgets and helpers to build instant-search applications on iOS. - [SearchTextField](https://github.com/apasccon/SearchTextField) - UITextField subclass with autocompletion suggestions list. - [PYSearch](https://github.com/ko1o/PYSearch) - An elegant search controller which replaces the UISearchController for iOS (iPhone & iPad). - [styled-text](https://github.com/blueapron/styled-text) - Declarative text styles and streamlined Dynamic Type support for iOS. - [TweeTextField](https://github.com/oleghnidets/TweeTextField) - Lightweight set of text fields with nice animation and functionality. - [MeasurementTextField](https://github.com/SiarheiFedartsou/MeasurementTextField) - UITextField-based control for (NS)Measurement values input. - [VENTokenField](https://github.com/venmo/VENTokenField) - Easy-to-use token field that is used in the Venmo app. - [ALTextInputBar](https://github.com/AlexLittlejohn/ALTextInputBar) - An auto growing text input bar for messaging apps. - [Tagging](https://github.com/k-lpmg/Tagging) - TextView that provides easy to use tagging feature for Mention or Hashtag. - [InputBarAccessoryView](https://github.com/nathantannar4/InputBarAccessoryView) - A simple and easily customizable InputAccessoryView for making powerful input bars with autocomplete and attachments. - [CocoaTextField](https://github.com/edgar-zigis/CocoaTextField) - UITextField created according to the Material.IO guidelines of 2019. - [CHIOTPField](https://github.com/ChiliLabs/CHIOTPField) - A set of textfields that can be used for One-time passwords, SMS codes, PIN codes, etc. - [Streamoji](https://github.com/getstream/Streamoji) - Custom emoji rendering library with support for GIFs and images, UITextView extension. ### UIPageControl - [PageControl](https://github.com/kasper-lahti/PageControl) - A nice, animated UIPageControl alternative. - [PageControls](https://github.com/popwarsweet/PageControls) - This is a selection of custom page controls to replace UIPageControl, inspired by a dribbble found here. - [CHIPageControl](https://github.com/ChiliLabs/CHIPageControl) - A set of cool animated page controls to replace boring UIPageControl. - [Page-Control](https://github.com/sevruk-dev/page-control) - Beautiful, animated and highly customizable UIPageControl alternative. - [TKRubberIndicator](https://github.com/TBXark/TKRubberIndicator) - Rubber Indicator in Swift. ### Web View - [Otafuku](https://github.com/tasanobu/Otafuku) - Otafuku provides utility classes to use WKWebView in Swift. - [SwiftWebVC](https://github.com/meismyles/SwiftWebVC) - A drop-in inline browser for your Swift iOS app. - [SVWebViewController](https://github.com/TransitApp/SVWebViewController) - A drop-in inline browser for your iOS app. - [PTPopupWebView](https://github.com/pjocprac/PTPopupWebView) - PTPopupWebView is a simple and useful WebView for iOS, which can be popup and has many of the customized item. ## Utility * [Underscore.m](https://github.com/robb/Underscore.m) - A DSL for Data Manipulation. * [XExtensionItem](https://github.com/tumblr/XExtensionItem) - Easier sharing of structured data between iOS applications and share extensions. * [ReflectableEnum](https://github.com/fastred/ReflectableEnum) - Reflection for enumerations in Objective-C. * [ObjectiveSugar](https://github.com/supermarin/ObjectiveSugar) - ObjectiveC additions for humans. Ruby style. * [OpinionatedC](https://github.com/leoschweizer/OpinionatedC) - Because Objective-C should have inherited more from Smalltalk. * [SwiftRandom](https://github.com/thellimist/SwiftRandom) - Generator for random data. * [RandomKit](https://github.com/nvzqz/RandomKit/) - Random data generation in Swift. * [YOLOKit](https://github.com/mxcl/YOLOKit) - Getting square objects down round holes. * [EZSwiftExtensions](https://github.com/goktugyil/EZSwiftExtensions) - :smirk: How Swift standard types and classes were supposed to work. * [Pantry](https://github.com/nickoneill/Pantry) - The missing light persistence layer for Swift. * [SwiftParsec](https://github.com/davedufresne/SwiftParsec) - A parser combinator library written in the Swift programming language. * [OrderedSet](https://github.com/Weebly/OrderedSet) - A Swift collection of unique, ordered objects. * [Datez](https://github.com/SwiftKitz/Datez) - Swift library for dealing with `NSDate`, `NSCalendar`, and `NSDateComponents`. * [BFKit](https://github.com/FabrizioBrancati/BFKit) - An Objective-C collection of useful classes to develop Apps faster. * [BFKit-Swift](https://github.com/FabrizioBrancati/BFKit-Swift) - A Swift collection of useful classes to develop Apps faster. * [Scale](https://github.com/onmyway133/scale) - Unit converter in Swift (available via CocoaPods). * [Standard Template Protocols](https://github.com/cconeil/Standard-Template-Protocols) - Protocols for your every day iOS needs. * [TimeLord](https://github.com/JonFir/TimeLord) - Easy DateTime (NSDate) management in Swift. * [AppVersionMonitor](https://github.com/eure/AppVersionMonitor) - Monitor iOS app version easily. * [Sugar](https://github.com/hyperoslo/Sugar) - Something sweet that goes great with your Cocoa. * [Then](https://github.com/devxoul/Then) - ✨ Super sweet syntactic sugar for Swift initializers. * [Kvitto](https://github.com/Cocoanetics/Kvitto) - App Store Receipt Validation. * [Notificationz](https://github.com/SwiftKitz/Notificationz) - Helping you own NSNotificationCenter in Swift. * [SwiftFoundation](https://github.com/PureSwift/SwiftFoundation) - Cross-Platform, Protocol-Oriented Programming base library to complement the Swift Standard Library. (Pure Swift, Supports Linux). * [libextobjc](https://github.com/jspahrsummers/libextobjc) - A Cocoa library to extend the Objective-C programming language. * [VersionTrackerSwift](https://github.com/tbaranes/VersionTrackerSwift) - Track which versions of your app a user has previously installed.. * [DeviceGuru](https://github.com/InderKumarRathore/DeviceGuru/) - DeviceGuru is a simple lib (Swift) to know the exact type of the device, e.g. iPhone 6 or iPhone 6s. * [AEAppVersion](https://github.com/tadija/AEAppVersion) - Simple and Lightweight App Version Tracking for iOS written in Swift. * [BlocksKit](https://github.com/BlocksKit/BlocksKit) - The Objective-C block utilities you always wish you had. * [SwiftyUtils](https://github.com/tbaranes/swiftyutils) - All the reusable code that we need in each project. * [RateLimit](https://github.com/soffes/RateLimit) - Simple utility for only executing code every so often. * [Outlets](https://github.com/phatblat/Outlets) - Utility functions for validating IBOutlet and IBAction connections. * [EasyAbout](https://github.com/JARMourato/EasyAbout) - A way to easily add CocoaPods licenses and App Version to your iOS App using the Settings Bundle. * [Validated](https://github.com/Ben-G/Validated) - A Swift μ-Library for Somewhat Dependent Types. * [Cent](https://github.com/ankurp/Cent) - Extensions for Swift Standard Types and Classes. * [AssistantKit](https://github.com/anatoliyv/AssistantKit) - Easy way to detect iOS device properties, OS versions and work with screen sizes. Powered by Swift. * [SwiftLinkPreview](https://github.com/LeonardoCardoso/SwiftLinkPreview) - It makes a preview from an url, grabbing all the information such as title, relevant texts and images. * [BundleInfos](https://github.com/rollmind/BundleInfos) - Simple getter for Bundle informations. like short version from bundle. * [YAML.framework](https://github.com/mirek/YAML.framework) - Proper YAML support for Objective-C based on `LibYAML`. * [ReadabilityKit](https://github.com/exyte/ReadabilityKit) - Metadata extractor for news, articles and full-texts in Swift. * [MissionControl-iOS](https://github.com/appculture/MissionControl-iOS) - Super powerful remote config utility written in Swift (iOS, watchOS, tvOS, macOS). * [SwiftTweaks](https://github.com/Khan/SwiftTweaks) - Tweak your iOS app without recompiling! * [UnsupportedOSVersionAlert](https://github.com/caloon/UnsupportedOSVersionAlert) - Alerts users with a popup if they use an app with an unsupported version of iOS (e.g. iOS betas). * [SwiftSortUtils](https://github.com/dsmatter/SwiftSortUtils) - This library takes a shot at making sorting in Swift more pleasant. It also allows you to reuse your old NSSortDescriptor instances in Swift. * [Retry](https://github.com/icanzilb/Retry) - Haven't you wished for `try` to sometimes try a little harder? Meet `retry` . * [ObjectiveKit](https://github.com/marmelroy/ObjectiveKit) - Swift-friendly API for Objective C runtime functions. * [MoyaSugar](https://github.com/devxoul/MoyaSugar) - Syntactic sugar for Moya. * [SwifterSwift](https://github.com/SwifterSwift/SwifterSwift) - A handy collection of more than 400 native Swift 4 extensions to boost your productivity. * [Eject](https://github.com/Rightpoint/Eject) - An eject button for Interface Builder to generate swift code. * [ContactsWrapper](https://github.com/abdullahselek/ContactsWrapper) - Easy to use wrapper for both contacts and contacts group with Objective-C. * [XestiMonitors](https://github.com/eBardX/XestiMonitors) - An extensible monitoring framework written in Swift. * [OpenSourceController](https://github.com/floriangbh/OpenSourceController) - The simplest way to display the libraries licences used in your application. * [App-Update-Tracker](https://github.com/Stunner/App-Update-Tracker) - Easily detect and run code upon app installation or update. * [ExtensionalSwift](https://github.com/4taras4/SwiftExtension) - Useful swift extensions in one place. * [InAppSettingsKit](https://github.com/futuretap/InAppSettingsKit) - This iOS framework allows settings to be in-app in addition to or instead of being in the Settings app. * [MMWormhole](https://github.com/mutualmobile/MMWormhole) - Message passing between iOS apps and extensions. * [DefaultStringConvertible](https://github.com/jessesquires/DefaultStringConvertible) - A default CustomStringConvertible implementation for Swift types. * [FluxCapacitor](https://github.com/marty-suzuki/FluxCapacitor) - FluxCapacitor makes implementing Flux design pattern easily with protocols and typealias. * [VTAcknowledgementsViewController](https://github.com/vtourraine/VTAcknowledgementsViewController) - Ready to use “Acknowledgements”/“Licenses”/“Credits” view controller for CocoaPods. * [Closures](https://github.com/vhesener/Closures) - Swifty closures for UIKit and Foundation. * [WhatsNew](https://github.com/BalestraPatrick/WhatsNew) - Showcase new features after an app update similar to Pages, Numbers and Keynote. * [MKUnits](https://github.com/michalkonturek/MKUnits) - Unit conversion library for Swift. * [ActionClosurable](https://github.com/takasek/ActionClosurable) - Extensions which helps to convert objc-style target/action to swifty closures. * [ios_system](https://github.com/holzschu/ios_system) - Drop-in replacement for system() in iOS programs. * [SwiftProvisioningProfile](https://github.com/Sherlouk/SwiftProvisioningProfile) - Parse provisioning profiles into Swift models. * [Once](https://github.com/luoxiu/Once) - Minimalist library to manage one-off operations. * [ZamzamKit](https://github.com/ZamzamInc/ZamzamKit) - A collection of micro utilities and extensions for Standard Library, Foundation and UIKit. * [DuctTape](https://github.com/marty-suzuki/DuctTape) - KeyPath dynamicMemberLookup based syntax sugar for swift. * [ReviewKit](https://github.com/simonmitchell/ReviewKit) - A framework which helps gatekeep review prompt requests – using SKStoreReviewController – to users who have had a good time using your app by logging positive and negative actions. * [SwiftBoost](https://github.com/sparrowcode/SwiftBoost) - Collection of Swift-extensions to boost development process. ## User Consent - [SmartlookConsentSDK](https://github.com/smartlook/ios-consent-sdk) - Open source SDK which provides a configurable control panel where user can select their privacy options and store the user preferences for the app. - [PrivacyFlash Pro](https://github.com/privacy-tech-lab/privacyflash-pro) - Generate a privacy policy for your iOS app from its code ## VR - [VR Toolkit iOS](https://github.com/Aralekk/VR_Toolkit_iOS) - A sample project that provides the basics to create an interactive VR experience on iOS. - [360 VR Player](https://github.com/hanton/HTY360Player) - A open source, ad-free, native and universal 360 degree panorama video player for iOS. - [simple360player](https://github.com/Aralekk/simple360player_iOS) - Free & ad-free 360 VR Video Player. Flat or Stereoscopic. In Swift 2. - [Swifty360Player](https://github.com/abdullahselek/Swifty360Player) - iOS 360-degree video player streaming from an AVPlayer with Swift. ## Walkthrough / Intro / Tutorial - [Onboard](https://github.com/mamaral/Onboard) - Easily create a beautiful and engaging onboarding experience with only a few lines of code. - [EAIntroView](https://github.com/ealeksandrov/EAIntroView) - Highly customizable drop-in solution for introduction views. - [MYBlurIntroductionView](https://github.com/MatthewYork/MYBlurIntroductionView) - A super-charged version of MYIntroductionView for building custom app introductions and tutorials. - [BWWalkthrough](https://github.com/ariok/BWWalkthrough) - A class to build custom walkthroughs for your iOS App. - [GHWalkThrough](https://github.com/GnosisHub/GHWalkThrough) - A UICollectionView backed drop-in component for introduction views. - [ICETutorial](https://github.com/icepat/ICETutorial) - A nice tutorial like the one introduced in the Path 3.X App. - [JazzHands](https://github.com/IFTTT/JazzHands) - Jazz Hands is a simple keyframe-based animation framework for UIKit. Animations can be controlled via gestures, scroll views, KVO, or ReactiveCocoa. - [RazzleDazzle](https://github.com/IFTTT/RazzleDazzle) - A simple keyframe-based animation framework for iOS, written in Swift. Perfect for scrolling app intros. - [Instructions](https://github.com/ephread/Instructions) - Easily add customizable coach marks into you iOS project. - [SwiftyWalkthrough](https://github.com/ruipfcosta/SwiftyWalkthrough) - The easiest way to create a great walkthrough experience in your apps, powered by Swift. - [Gecco](https://github.com/yukiasai/Gecco) - Spotlight view for iOS. - [VideoSplashKit](https://github.com/svhawks/VideoSplashKit) - VideoSplashKit - UIViewController library for creating easy intro pages with background videos. - [Presentation](https://github.com/hyperoslo/Presentation) - Presentation helps you to make tutorials, release notes and animated pages. - [AMPopTip](https://github.com/andreamazz/AMPopTip) - An animated popover that pops out a given frame, great for subtle UI tips and onboarding. - [AlertOnboarding](https://github.com/PhilippeBoisney/AlertOnboarding) - A simple and handsome AlertView for onboard your users in your amazing world. - [EasyTipView](https://github.com/teodorpatras/EasyTipView) - Fully customisable tooltip view in Swift. - [paper-onboarding](https://github.com/Ramotion/paper-onboarding) - PaperOnboarding is a material design slider. - [InfoView](https://github.com/anatoliyv/InfoView) - Swift based simple information view with pointed arrow. - [Intro](https://github.com/nbolatov/Intro) - An iOS framework to easily create simple animated walkthrough, written in Swift. - [AwesomeSpotlightView](https://github.com/aleksandrshoshiashvili/AwesomeSpotlightView) - Tool to create awesome tutorials or educate user to use application. Or just highlight something on screen. Written in Swift. - [SwiftyOnboard](https://github.com/juanpablofernandez/SwiftyOnboard) - A simple way to add onboarding to your project. - [WVWalkthroughView](https://github.com/praagyajoshi/WVWalkthroughView) - Utility to easily create walkthroughs to help with user onboarding. - [SwiftyOverlay](https://github.com/saeid/SwiftyOverlay) - Easy and quick way to show intro / instructions over app UI without any additional images in real-time! - [SwiftyOnboardVC](https://github.com/chaser79/SwiftyOnboardVC) - Lightweight walkthrough controller thats uses view controllers as its subviews making the customization endless. - [Minamo](https://github.com/yukiasai/Minamo) - Simple coach mark library written in Swift. - [Material Showcase iOS](https://github.com/aromajoin/material-showcase-ios) - An elegant and beautiful showcase for iOS apps. - [WhatsNewKit](https://github.com/SvenTiigi/WhatsNewKit) - Showcase your awesome new app features. - [OnboardKit](https://github.com/NikolaKirev/OnboardKit) - Customisable user onboarding for your iOS app. - [ConcentricOnboarding](https://github.com/exyte/ConcentricOnboarding) - SwiftUI library for a walkthrough or onboarding flow with tap actions. ## WebSocket - [SocketRocket](https://github.com/facebook/SocketRocket) - A conforming Objective-C WebSocket client library. - [socket.io-client-swift](https://github.com/socketio/socket.io-client-swift) - Socket.IO-client for iOS/macOS. - [SwiftWebSocket](https://github.com/tidwall/SwiftWebSocket) - High performance WebSocket client library for Swift, iOS and macOS. - [Starscream](https://github.com/daltoniam/Starscream) - Websockets in swift for iOS and macOS. - [SwiftSocket](https://github.com/swiftsocket/SwiftSocket) - simple socket library for apple swift lang. - [Socks](https://github.com/vapor-community/sockets) - Pure-Swift Sockets: TCP, UDP; Client, Server; Linux, macOS. - [SwifterSockets](https://github.com/Balancingrock/SwifterSockets) - A collection of socket utilities in Swift for OS-X and iOS. - [Swift-ActionCableClient](https://github.com/danielrhodes/Swift-ActionCableClient) - ActionCable is a new WebSocket server being released with Rails 5 which makes it easy to add real-time features to your app. - [DNWebSocket](https://github.com/GlebRadchenko/DNWebSocket) - Object-Oriented, Swift-style WebSocket Library (RFC 6455) for Swift-compatible Platforms. ## Project setup - [crafter](https://github.com/krzysztofzablocki/crafter) - CLI that allows you to configure iOS project's template using custom DSL syntax, simple to use and quite powerful. - [liftoff](https://github.com/liftoffcli/liftoff) - Another CLI for creating iOS projects. - [amaro](https://github.com/crushlovely/Amaro) - iOS Boilerplate full of delights. - [chairs](https://github.com/orta/chairs) - Swap around your iOS Simulator Documents. - [SwiftPlate](https://github.com/JohnSundell/SwiftPlate) - Easily generate cross platform Swift framework projects from the command line. - [xcproj](https://github.com/tuist/xcodeproj) - Read and update Xcode projects. - [Tuist](https://github.com/tuist/tuist) - A tool to create, maintain and interact with Xcode projects at scale. - [SwiftKit](https://github.com/SvenTiigi/SwiftKit) - Start your next Open-Source Swift Framework. - [swift5-module-template](https://github.com/fulldecent/swift5-module-template) - A starting point for any Swift 5 module that you want other people to include in their projects. ## Dependency / Package Manager - [CocoaPods](https://cocoapods.org/) - CocoaPods is the dependency manager for Objective-C projects. It has thousands of libraries and can help you scale your projects elegantly. - [Xcode Maven](http://sap-production.github.io/xcode-maven-plugin/site/) - The Xcode Maven Plugin can be used in order to run Xcode builds embedded in a Maven lifecycle. - [Carthage](https://github.com/Carthage/Carthage) - A simple, decentralized dependency manager for Cocoa. - [SWM (Swift Modules)](https://github.com/jankuca/swm) - A package/dependency manager for Swift projects similar to npm (node.js package manager) or bower (browser package manager from Twitter). Does not require the use of Xcode. - [CocoaSeeds](https://github.com/devxoul/CocoaSeeds) - Git Submodule Alternative for Cocoa. - [swift-package-manager](https://github.com/apple/swift-package-manager) - The Package Manager for the Swift Programming Language. - [punic](https://github.com/schwa/punic) - Clean room reimplementation of Carthage tool. - [Rome](https://github.com/tmspzz/Rome) - A cache tool for Carthage built frameworks. - [Athena](https://github.com/yunarta/works-athena-gradle-plugin) - Gradle Plugin to enhance Carthage by uploading the archived frameworks into Maven repository, currently support only Bintray, Artifactory and Mavel local. - [Accio](https://github.com/JamitLabs/Accio) - A SwiftPM based dependency manager for iOS & Co. with improvements over Carthage. ## Tools - [Shark](https://github.com/kaandedeoglu/Shark) - Swift Script that transforms the .xcassets folder into a type safe enum. - [SBConstants](https://github.com/paulsamuels/SBConstants) - Generate a constants file by grabbing identifiers from storyboards in a project. - [R.swift](https://github.com/mac-cain13/R.swift) - Tool to get strong typed, autocompleted resources like images, cells and segues in your Swift project. - [SwiftGen](https://github.com/SwiftGen/SwiftGen) - A collection of Swift tools to generate Swift code (enums for your assets, storyboards, Localizable.strings and UIColors). - [Blade](https://github.com/jondot/blade) - Generate Xcode image catalogs for iOS / macOS app icons, universal images, and more. - [Retini](https://github.com/terwanerik/Retini) - A super simple retina (2x, 3x) image converter. - [Jazzy](https://github.com/realm/jazzy) - Soulful docs for Swift & Objective-C. - [appledoc](https://github.com/tomaz/appledoc) - ObjectiveC code Apple style documentation set generator. - [Laurine](https://github.com/JiriTrecak/Laurine) - Laurine - Localization code generator written in Swift. Sweet! - [StoryboardMerge](https://github.com/marcinolawski/StoryboardMerge) - Xcode storyboards diff and merge tool. - [ai2app](https://github.com/metasmile/ai2appiconset) - Creating AppIcon sets from Adobe Illustrator (all supported formats). - [ViewMonitor](https://github.com/daisuke0131/ViewMonitor) - ViewMonitor can measure view positions with accuracy. - [abandoned-strings](https://github.com/ijoshsmith/abandoned-strings) - Command line program that detects unused resource strings in an iOS or macOS application. - [swiftenv](https://github.com/kylef/swiftenv) - swiftenv allows you to easily install, and switch between multiple versions of Swift. - [Misen](https://github.com/tasanobu/Misen) - Script to support easily using Xcode Asset Catalog in Swift. - [git-xcp](https://github.com/metasmile/git-xcp) - A Git plugin for versioning workflow of real-world Xcode project. fastlane's best friend. - [WatchdogInspector](https://github.com/tapwork/WatchdogInspector) - Shows your current framerate (fps) in the status bar of your iOS app. - [Cichlid](https://github.com/dealforest/Cichlid) - automatically delete the current project's DerivedData directories. - [Delta](https://github.com/thoughtbot/Delta) - Managing state is hard. Delta aims to make it simple. - [SwiftLintXcode](https://github.com/ypresto/SwiftLintXcode) - An Xcode plug-in to format your code using SwiftLint. - [XCSwiftr](https://github.com/dzenbot/XCSwiftr) - An Xcode Plugin to convert Objective-C to Swift. - [SwiftKitten](https://github.com/johncsnyder/SwiftKitten) - Swift autocompleter for Sublime Text, via the adorable SourceKitten framework. - [Kin](https://github.com/Karumi/Kin) - Have you ever found yourself undoing a merge due to a broken Xcode build? Then Kin is your tool. It will parse your project configuration file and detect errors. - [AVXCAssets-Generator](https://github.com/angelvasa/AVXCAssets-Generator) - AVXCAssets Generator takes path for your assets images and creates appiconset and imageset for you in just one click. - [Peek](https://github.com/shaps80/Peek) - Take a Peek at your application. - [SourceKitten](https://github.com/jpsim/SourceKitten) - An adorable little framework and command line tool for interacting with SourceKit. - [xcbuild](https://github.com/facebook/xcbuild) - Xcode-compatible build tool. - [XcodeIssueGenerator](https://github.com/doubleencore/XcodeIssueGenerator) - An executable that can be placed in a Run Script Build Phase that marks comments like // TODO: or // SERIOUS: as warnings or errors so they display in the Xcode Issue Navigator. - [SwiftCompilationPerformanceReporter](https://github.com/TumblrArchive/SwiftCompilationPerformanceReporter) - Generate automated reports for slow Swift compilation paths in specific targets. - [BuildTimeAnalyzer](https://github.com/RobertGummesson/BuildTimeAnalyzer-for-Xcode) - Build Time Analyzer for Swift. - [Duration](https://github.com/SwiftStudies/Duration) - A simple Swift package for measuring and reporting the time taken for operations. - [Benchmark](https://github.com/WorldDownTown/Benchmark) - The Benchmark module provides methods to measure and report the time used to execute Swift code. - [MBAssetsImporter](https://github.com/MatiBot/MBAssetsImporter) - Import assets from Panoramio or from your macOS file system with their metadata to your iOS simulator (Swift 2.0). - [Realm Browser](https://github.com/realm/realm-browser-osx) - Realm Browser is a macOS utility to open and modify realm database files. - [SuperDelegate](https://github.com/square/SuperDelegate) – SuperDelegate provides a clean application delegate interface and protects you from bugs in the application lifecycle. - [fastlane-plugin-appicon](https://github.com/fastlane-community/fastlane-plugin-appicon) - Generate required icon sizes and iconset from a master application icon. - [infer](https://github.com/facebook/infer) - A static analyzer for Java, C and Objective-C. - [PlayNow](https://github.com/marcboquet/PlayNow) - Small app that creates empty Swift playground files and opens them with Xcode. - [Xtrace](https://github.com/johnno1962/Xtrace) - Trace Objective-C method calls by class or instance. - [xcenv](https://github.com/xcenv/xcenv) - Groom your Xcode environment. - [playgroundbook](https://github.com/playgroundbooks/playgroundbook) - Tool for Swift Playground books. - [Ecno](https://github.com/xmartlabs/Ecno) - Ecno is a task state manager built on top of UserDefaults in pure Swift 3. - [ipanema](https://github.com/toshi0383/ipanema) - ipanema analyzes and prints useful information from `.ipa` file. - [pxctest](https://github.com/plu/pxctest) - Parallel XCTest - Execute XCTest suites in parallel on multiple iOS Simulators. - [IBM Swift Sandbox](https://swift.sandbox.bluemix.net) - The IBM Swift Sandbox is an interactive website that lets you write Swift code and execute it in a server environment – on top of Linux! - [FBSimulatorControl](https://github.com/facebook/idb) - A macOS library for managing and manipulating iOS Simulators - [Nomad](https://nomad-cli.com) - Suite of command line utilities & libraries for sending APNs, create & distribute `.ipa`, verify In-App-Purchase receipt and more. - [Cookiecutter](https://github.com/RahulKatariya/SwiftFrameworkTemplate) - A template for new Swift iOS / tvOS / watchOS / macOS Framework project ready with travis-ci, cocoapods, Carthage, SwiftPM and a Readme file. - [Sourcery](https://github.com/krzysztofzablocki/Sourcery) - A tool that brings meta-programming to Swift, allowing you to code generate Swift code. - [AssetChecker 👮](https://github.com/freshOS/AssetChecker) - Keeps your Assets.xcassets files clean and emits warnings when something is suspicious. - [PlayAlways](https://github.com/insidegui/PlayAlways) - Create Xcode playgrounds from your menu bar - [GDPerformanceView-Swift](https://github.com/dani-gavrilov/GDPerformanceView-Swift) - Shows FPS, CPU usage, app and iOS versions above the status bar and report FPS and CPU usage via delegate. - [Traits](https://github.com/krzysztofzablocki/Traits) - Library for a real-time design and behavior modification of native iOS apps without recompiling (code and interface builder changes are supported). - [Struct](https://www.get-struct.tools) - A tool for iOS and Mac developers to automate the creation and management of Xcode projects. - [Nori](https://github.com/yukiasai/Nori) - Easier to apply code based style guide to storyboard. - [Attabench](https://github.com/attaswift/Attabench) - Microbenchmarking app for Swift with nice log-log plots. - [Gluten](https://github.com/wilbertliu/Gluten) - Nano library to unify XIB and it's code. - [LicensePlist](https://github.com/mono0926/LicensePlist) - A license list generator of all your dependencies for iOS applications. - [AppDevKit](https://github.com/yahoo/AppDevKit) - AppDevKit is an iOS development library that provides developers with useful features to fulfill their everyday iOS app development needs. - [Tweaks](https://github.com/facebook/Tweaks) - An easy way to fine-tune, and adjust parameters for iOS apps in development. - [FengNiao](https://github.com/onevcat/FengNiao) - A command line tool for cleaning unused resources in Xcode. - [LifetimeTracker](https://github.com/krzysztofzablocki/LifetimeTracker) - Find retain cycles / memory leaks sooner. - [Plank](https://github.com/pinterest/plank) - A tool for generating immutable model objects. - [Lona](https://github.com/airbnb/Lona) - A tool for defining design systems and using them to generate cross-platform UI code, Sketch files, images, and other artifacts. - [XcodeGen](https://github.com/yonaskolb/XcodeGen) - Command line tool that generates your Xcode project from a spec file and your folder structure. - [iSimulator](https://github.com/wigl/iSimulator) - iSimulator is a GUI utility to control the Simulator, and manage the app installed on the simulator. - [Natalie](https://github.com/krzyzanowskim/Natalie) - Storyboard Code Generator. - [Transformer](https://github.com/andresinaka/transformer) - Easy Online Attributed String Creator. This tool lets you format a string directly in the browser and then copy/paste the attributed string code into your app. - [ProvisionQL](https://github.com/ealeksandrov/ProvisionQL) - Quick Look plugin for apps and provisioning profile files. - [xib2Storyboard](https://github.com/novemberfiveco/xib2Storyboard) - A tool to convert Xcode .xib to .storyboard files. - [Zolang](https://github.com/Zolang/Zolang) - A programming language for sharing logic between iOS, Android and Tools. - [xavtool](https://github.com/gabrielrobert/xavtool) - Command-line utility to automatically increase iOS / Android applications version. - [Cutter](https://cutter.albemala.me/) - A tool to generate iOS Launch Images (Splash Screens) for all screen sizes starting from a single template. - [nef](https://github.com/bow-swift/nef) - A set of command line tools for Xcode Playground: lets you have compile-time verification of your documentation written as Xcode Playgrounds, generates markdown files, integration with Jekyll for building microsites and Carbon to export code snippets. - [Pecker](https://github.com/woshiccm/Pecker) - CodePecker is a tool to detect unused code. - [Speculid](https://speculid.com) - generate Image Sets and App Icons from SVG, PNG, and JPEG files - [SkrybaMD](https://github.com/robertherdzik/SkrybaMD) - Markdown Documentation generator. If your team needs an easy way to maintain and create documentation, this generator is for you. - [Storyboard -> SwiftUI Converter](https://swiftify.com/#/converter/storyboard2swiftui/) - Storyboard -> SwiftUI Converter is a converter to convert .storyboard and .xib to SwiftUI. - [Swift Package Index](https://swiftpackageindex.com) - Swift packages list with many information about quality and compatiblity of package. - [Xcodes.app](https://github.com/RobotsAndPencils/XcodesApp) - The easiest way to install and switch between multiple versions of Xcode. - [Respresso Image Converter](https://respresso.io/image-converter) - Multiplatform image converter for iOS, Android, and Web that supports pdf, svg, vector drawable, jpg, png, and webp formats. - [Rugby](https://github.com/swiftyfinch/Rugby) - 🏈 Cache CocoaPods for faster rebuild and indexing Xcode project. ## Rapid Development - [Playgrounds](https://github.com/krzysztofzablocki/Playgrounds) - Playgrounds for Objective-C for extremely fast prototyping / learning. - [MMBarricade](https://github.com/mutualmobile/MMBarricade) - Runtime configurable local server for iOS apps. - [STV Framework](http://www.sensiblecocoa.com) - Native visual iOS development. - [swiftmon](https://github.com/dimpiax/swiftmon) - swiftmon restarts your swift application in case of any file change. - [Model2App](https://github.com/Q-Mobile/Model2App) - Turn your Swift data model into a working CRUD app. ## Code Injection - [dyci](https://github.com/DyCI/dyci-main) - Code injection tool. - [injectionforxcode](https://github.com/johnno1962/injectionforxcode) - Code injection including Swift. - [Vaccine](https://github.com/zenangst/Vaccine) - Vaccine is a framework that aims to make your apps immune to recompile-decease. ## Dependency Injection - [Swinject](https://github.com/Swinject/Swinject) - Dependency injection framework for Swift. - [Reliant](https://github.com/appfoundry/Reliant) - Nonintrusive Objective-C dependency injection. - [Kraken](https://github.com/sabirvirtuoso/Kraken) - A Dependency Injection Container for Swift with easy-to-use syntax. - [Cleanse](https://github.com/square/Cleanse) - Lightweight Swift Dependency Injection Framework by Square. - [Typhoon](https://github.com/appsquickly/Typhoon) - Powerful dependency injection for Objective-C. - [Pilgrim](https://github.com/appsquickly/pilgrim) - Powerful dependency injection Swift (successor to Typhoon). - [Perform](https://github.com/thoughtbot/Perform) - Easy dependency injection for storyboard segues. - [Alchemic](https://github.com/drekka/Alchemic) - Advanced, yet simple to use DI framework for Objective-C. - [Guise](https://github.com/prosumma/Guise) - An elegant, flexible, type-safe dependency resolution framework for Swift. - [Weaver](https://github.com/scribd/Weaver) - A declarative, easy-to-use and safe Dependency Injection framework for Swift. - [StoryboardBuilder](https://github.com/hiro-nagami/StoryboardBuilder) - Simple dependency injection for generating views from storyboard. - [ViperServices](https://github.com/ladeiko/ViperServices) - Dependency injection container for iOS applications written in Swift. Each service can have boot and shutdown code. - [DITranquillity](https://github.com/ivlevAstef/DITranquillity) - Dependency injection framework for iOS applications written in clean Swift. - [Needle](https://github.com/uber/needle) — Compile-time safe Swift dependency injection framework with real code. - [Locatable](https://github.com/vincent-pradeilles/locatable) - A micro-framework that leverages Property Wrappers to implement the Service Locator pattern. ## Deployment / Distribution - [fastlane](https://github.com/fastlane/fastlane) - Connect all iOS deployment tools into one streamlined workflow. - [deliver](https://github.com/fastlane/fastlane/tree/master/deliver) - Upload screenshots, metadata and your app to the App Store using a single command. - [snapshot](https://github.com/fastlane/fastlane/tree/master/snapshot) - Automate taking localized screenshots of your iOS app on every device. - [buddybuild](https://www.buddybuild.com/) - A mobile iteration platform - build, deploy, and collaborate. - [Bitrise](https://www.bitrise.io) - Mobile Continuous Integration & Delivery with dozens of integrations to build, test, deploy and collaborate. - [watchbuild](https://github.com/fastlane/watchbuild) - Get a notification once your iTunes Connect build is finished processing. - [Crashlytics](https://firebase.google.com/products/crashlytics/) - A crash reporting and beta testing service. - [TestFlight Beta Testing](https://developer.apple.com/testflight/) - The beta testing service hosted on iTunes Connect (requires iOS 8 or later). - [AppCenter](https://appcenter.ms) - Continuously build, test, release, and monitor apps for every platform. - [boarding](https://github.com/fastlane/boarding) - Instantly create a simple signup page for TestFlight beta testers. - [HockeyKit](https://github.com/bitstadium/HockeyKit) - A software update kit. - [Rollout.io](https://rollout.io/) - SDK to patch, fix bugs, modify and manipulate native apps (Obj-c & Swift) in real-time. - [AppLaunchpad](https://theapplaunchpad.com/) - Free App Store screenshot builder. - [LaunchKit](https://github.com/LaunchKit/LaunchKit) - A set of web-based tools for mobile app developers, now open source! - [Instabug](https://instabug.com) - In-app feedback, Bug and Crash reporting, Fix Bugs Faster through user-steps, video recordings, screen annotation, network requests logging. - [Appfigurate](https://github.com/electricbolt/appfiguratesdk) - Secure runtime configuration for iOS and watchOS, apps and app extensions. - [ScreenshotFramer](https://github.com/IdeasOnCanvas/ScreenshotFramer) - With Screenshot Framer you can easily create nice-looking and localized App Store Images. - [Semaphore](https://semaphoreci.com/product/ios) - CI/CD service which makes it easy to build, test and deploy applications for any Apple device. iOS support is fully integrated in Semaphore 2.0, so you can use the same powerful CI/CD pipeline features for iOS as you do for Linux-based development. - [Appcircle.io](https://appcircle.io) — Automated mobile CI/CD/CT for iOS with online device simulators - [Screenplay](https://screenplay.dev) - Instant rollbacks and canary deployments for iOS. - [Codemagic](https://codemagic.io) - Build, test and deliver iOS apps 20% faster with Codemagic CI/CD. - [Runway](https://runway.team) - Easier mobile releases for teams. Integrates across tools (version control, project management, CI, app stores, crash reporting, etc.) to provide a single source of truth for mobile teams to come together around during release cycles. Equal parts automation and collaboration. - [ios-uploader](https://github.com/simonnilsson/ios-uploader) - Easy to use, cross-platform tool to upload iOS apps to App Store Connect. ## App Store - [Apple's Common App Rejections Styleguide](https://developer.apple.com/app-store/review/#common-app-rejections) - Highlighted some of the most common issues that cause apps to get rejected. - [Free App Store Optimization Tool](https://www.mobileaction.co) - Lets you track your App Store visibility in terms of keywords and competitors. - [App Release Checklist](https://github.com/oisin/app-release-checklist/blob/master/checklist.md) - A checklist to pore over before you ship that amazing app that has taken ages to complete, but you don't want to rush out in case you commit a schoolboy error that will end up making you look dumber than you are. - [Harpy](https://github.com/ArtSabintsev/Harpy) - Notify users when a new version of your iOS app is available, and prompt them with the App Store link. - [appirater](https://github.com/arashpayan/appirater) - A utility that reminds your iPhone app's users to review the app. - [Siren](https://github.com/ArtSabintsev/Siren) - Notify users when a new version of your app is available and prompt them to upgrade. - [Appstore Review Guidelines](https://github.com/aashishtamsya/Appstore-Review-Guidelines) - A curated list of points which a developer has to keep in mind before submitting his/her application on appstore for review. - [AppVersion](https://github.com/amebalabs/AppVersion) - Keep users on the up-to date version of your App. ## Xcode ### Extensions (Xcode 8+) * [CleanClosureXcode](https://github.com/BalestraPatrick/CleanClosureXcode) - An Xcode Source Editor extension to clean the closure syntax. * [xTextHandler](https://github.com/cyanzhong/xTextHandler) - Xcode Source Editor Extension Toolset (Plugins for Xcode 8). * [SwiftInitializerGenerator](https://github.com/Bouke/SwiftInitializerGenerator) - Xcode 8 Source Code Extension to Generate Swift Initializers. * [XcodeEquatableGenerator](https://github.com/sergdort/XcodeEquatableGenerator) - Xcode 8 Source Code Extension will generate conformance to Swift Equatable protocol based on type and fields selection. * [Import](https://github.com/markohlebar/Import) - Xcode extension for adding imports from anywhere in the code. * [Mark](https://github.com/velyan/Mark) - Xcode extension for generating MARK comments. * [XShared](https://github.com/Otbivnoe/XShared) - Xcode extension which allows you copying the code with special formatting quotes for social (Slack, Telegram). * [XGist](https://github.com/Bunn/Xgist) - Xcode extension which allows you to send your text selection or entire file to GitHub's Gist and automatically copy the Gist URL into your Clipboard. * [Swiftify](https://swiftify.com/) - Objective-C to Swift online code converter and Xcode extension. * [DocumenterXcode](https://github.com/serhii-londar/DocumenterXcode) - Attempt to give a new life for VVDocumenter-Xcode as source editor extension. * [Snowonder](https://github.com/Karetski/Snowonder) - Magical import declarations formatter for Xcode. * [XVim2](https://github.com/XVimProject/XVim2) - Vim key-bindings for Xcode 9. * [Comment Spell Checker](https://github.com/velyan/Comment-Spell-Checker) - Xcode extension for spell checking and auto correcting code comments. * [nef](https://github.com/bow-swift/nef-plugin) - This Xcode extension enables you to make a code selection and export it to a snippets. Available on Mac AppStore. ### Themes - [Dracula Theme](https://draculatheme.com/xcode/) - A dark theme for Xcode. - [Xcode themes list](https://github.com/hdoria/xcode-themes) - Color themes for Xcode. - [Solarized-Dark-for-Xcode](https://github.com/ArtSabintsev/Solarized-Dark-for-Xcode/) - Solarized Dark Theme for Xcode 5. - [WWDC2016 Xcode Color Scheme](https://github.com/cargath/WWDC2016-Xcode-Color-Scheme) - A color scheme for Xcode based on the WWDC 2016 invitation. - [DRL Theme](https://github.com/durul/Xcodetheme) - A soft darkness theme for Xcode. ### Other Xcode - [awesome-xcode-scripts](https://github.com/aashishtamsya/awesome-xcode-scripts) - A curated list of useful xcode scripts. - [Synx](https://github.com/venmo/synx) - A command-line tool that reorganizes your Xcode project folder to match your Xcode groups. - [dsnip](https://github.com/Tintenklecks/IBDelegateCodesippets) - Tool to generate (native) Xcode code snippets from all protocols/delegate methods of UIKit (UITableView, ...) - [SBShortcutMenuSimulator](https://github.com/DeskConnect/SBShortcutMenuSimulator) - 3D Touch shortcuts in the Simulator. - [awesome-gitignore-templates](https://github.com/aashishtamsya/awesome-gitignore-templates) - A collection of swift, objective-c, android and many more langugages .gitignore templates. - [swift-project-template](https://github.com/artemnovichkov/swift-project-template) - Template for iOS Swift project generation. - [Swift-VIPER-Module](https://github.com/Juanpe/Swift-VIPER-Module) - Xcode template for create modules with VIPER Architecture written in Swift 3. - [ViperC](https://github.com/abdullahselek/ViperC) - Xcode template for VIPER Architecture for both Objective-C and Swift. - [XcodeCodeSnippets](https://github.com/ismetanin/XcodeCodeSnippets) - A set of code snippets for iOS development, includes code and comments snippets. - [Xcode Keymap for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=stevemoser.xcode-keybindings) - This extension ports popular Xcode keyboard shortcuts to Visual Studio Code. - [Xcode Template Manager](https://github.com/Camji55/xtm) - Xcode Template Manager is a Swift command line tool that helps you manage your Xcode project templates. - [VIPER Module Template](https://github.com/EvsenevDev/VIPERModuleTemplate) - Xcode Template of VIPER Module which generates all layers of VIPER. - [Xcode Developer Disk Images](https://github.com/haikieu/xcode-developer-disk-image-all-platforms) - Xcode Developer Disk Images is needed when you want to put your build to the device, however sometimes your Xcode is not updated with the latest Disk Images, you could find them here for convenience. ## Reference - [Swift Cheat Sheet](https://github.com/iwasrobbed/Swift-CheatSheet) - A quick reference cheat sheet for common, high level topics in Swift. - [Objective-C Cheat Sheet](https://github.com/iwasrobbed/Objective-C-CheatSheet) - A quick reference cheat sheet for common, high level topics in Objective-C. - [SwiftSnippets](https://github.com/onmyway133/SwiftSnippets) - A collection of Swift snippets to be used in Xcode. - [App Store Checklist](https://github.com/whitef0x0/app-store-checklist) - A checklist of what to look for before submitting your app to the App Store. - [whats-new-in-swift-4](https://github.com/ole/whats-new-in-swift-4) - An Xcode playground showcasing the new features in Swift 4.0. - [WWDC-Recap](https://erenkabakci.github.io/WWDC-Recap/) - A collection of session summaries in markdown format, from WWDC 19 & 17. - [Awesome-ios](https://kandi.openweaver.com/swift/vsouza/awesome-ios) - A curated list of awesome iOS ecosystem. ## Style Guides - [NY Times - Objective C Style Guide](https://github.com/NYTimes/objective-c-style-guide) - The Objective-C Style Guide used by The New York Times. - [raywenderlich Style Guide](https://github.com/raywenderlich/objective-c-style-guide) - A style guide that outlines the coding conventions for raywenderlich.com. - [GitHub Objective-C Style Guide](https://github.com/github/objective-c-style-guide) - Style guide & coding conventions for Objective-C projects. - [Objective-C Coding Convention and Best Practices](https://gist.github.com/soffes/812796) - Gist with coding conventions. - [Swift Style Guide by @raywenderlich](https://github.com/raywenderlich/swift-style-guide) - The official Swift style guide for raywenderlich.com. - [Spotify Objective-C Coding Style](https://github.com/spotify/ios-style) - Guidelines for iOS development in use at Spotify. - [GitHub - Style guide & coding conventions for Swift projects](https://github.com/github/swift-style-guide) - A guide to our Swift style and conventions by @github. - [Futurice iOS Good Practices](https://github.com/futurice/ios-good-practices) - iOS starting guide and good practices suggestions by [@futurice](https://github.com/futurice). - [SlideShare Swift Style Guide](https://github.com/SlideShareInc/swift-style-guide/blob/master/swift_style_guide.md) - SlideShare Swift Style Guide we are using for our upcoming iOS 8 only app written in Swift. - [Prolific Interactive Style Guide](https://github.com/prolificinteractive/swift-style-guide) - A style guide for Swift. - [Swift Style Guide by LinkedIn](https://github.com/linkedin/swift-style-guide) - LinkedIn's Official Swift Style Guide. ## Good Websites ### News, Blogs and more - [BGR](https://bgr.com/ios-7/) - [iMore](https://www.imore.com/) - [Lifehacker](https://lifehacker.com/tag/ios) - [NSHipster](https://nshipster.com) - [Objc.io](https://www.objc.io/) - [ASCIIwwdc](https://asciiwwdc.com/) - [Natasha The Robot](https://www.natashatherobot.com/) - [Apple's Swift Blog](https://developer.apple.com/swift/blog/) - [iOS Programming Subreddit](https://www.reddit.com/r/iOSProgramming/) - [iOS8-day-by-day](https://github.com/ScottLogic/iOS8-day-by-day) - [iOScreator](https://www.ioscreator.com/) - [Mathew Sanders](http://mathewsanders.com/) - [iOS Dev Nuggets](http://hboon.com/iosdevnuggets/) - [iOS Developer and Designer interview](https://github.com/9magnets/iOS-Developer-and-Designer-Interview-Questions) - A small guide to help those looking to hire a developer or designer for iOS work. - [iOS9-day-by-day](https://github.com/ScottLogic/iOS9-day-by-day) - [Code Facebook](https://engineering.fb.com/category/ios/) - [Feeds for iOS Developer](https://github.com/rgnlax/Feeds-for-iOS-Developer) - The list of RSS feeds for iOS developers. - [Cocoa Controls](https://www.cocoacontrols.com/) - Open source UI components for iOS and macOS. - [Ohmyswift](https://www.ohmyswift.com/blog/) ### UIKit references - [iOS Fonts](http://iosfonts.com/) - [UIAppearance list](https://gist.github.com/mattt/5135521) ### Forums and discuss lists - ["iOS" on Stackoverflow](https://stackoverflow.com/questions/tagged/ios) ### Tutorials and Keynotes - [AppCoda](https://www.appcoda.com/) - [Tutorials Point](https://www.tutorialspoint.com/ios/index.htm) - [Code with Chris](https://codewithchris.com/) - [Cocoa with Love](http://www.cocoawithlove.com/) - [Brian Advent youtube channel](https://www.youtube.com/channel/UCysEngjfeIYapEER9K8aikw/videos) - Swift tutorials Youtube Channel. - [raywenderlich.com](https://www.raywenderlich.com/ios) - Tutorials for developers and gamers. - [Mike Ash](https://www.mikeash.com/pyblog/) - [Big Nerd Ranch](https://www.bignerdranch.com/blog/category/ios/) - [Tuts+](https://code.tutsplus.com/categories/ios-sdk) - [Thinkster](https://thinkster.io/a-better-way-to-learn-swift) - [Swift Education](https://github.com/swifteducation) - A community of educators sharing materials for teaching Swift and app development. - [Cocoa Dev Central](http://cocoadevcentral.com) - [Use Your Loaf](https://useyourloaf.com/) - [Swift Tutorials by Jameson Quave](https://jamesonquave.com/blog/tutorials/) - [Awesome-Swift-Education](https://github.com/hsavit1/Awesome-Swift-Education) - All of the resources for Learning About Swift. - [Awesome-Swift-Playgrounds](https://github.com/uraimo/Awesome-Swift-Playgrounds) - A List of Awesome Swift Playgrounds! - [learn-swift](https://github.com/nettlep/learn-swift) - Learn Apple's Swift programming language interactively through these playgrounds. - [SwiftUI Tutorials](https://JaneshSwift.com) - Learn SwiftUI & Swift for FREE. - [Treehouse's iOS Courses and Workshops](https://teamtreehouse.com/library/topic:ios) - Topics for beginner and advanced developers in both Objective-C and Swift. - [The Swift Summary Book](https://github.com/jakarmy/swift-summary) - A summary of Apple's Swift language written on Playgrounds. - [Hacking With Swift](https://www.hackingwithswift.com) - Learn to code iPhone and iPad apps with 3 Swift tutorials. - [Realm Academy](https://academy.realm.io/) - [LearnAppMaking](https://learnappmaking.com) - LearnAppMaking helps app developers to build, launch and market iOS apps. - [iOS Development with Swift in Motion ](https://www.manning.com/livevideo/ios-development-with-swift-lv) - This live video course locks in the language fundamentals and then offers interesting examples and exercises to build and practice your knowledge and skills. - [Conferences.digital](https://github.com/zagahr/Conferences.digital) - Watch conference videos in a native macOS app. - [DaddyCoding](https://daddycoding.com/) - iOS Tutorials ranging from beginners to advance. - [Learn Swift](https://blog.coursesity.com/best-swift-tutorials/) - Learn Swift - curated list of the top online Swift tutorials and courses. ### iOS UI Template - [iOS UI Design Kit](https://www.invisionapp.com/inside-design/design-resources/tethr/) - [iOS Design Guidelines](https://ivomynttinen.com/blog/ios-design-guidelines) - [iOS 11 iPhone GUI from Design at Meta](https://design.facebook.com/toolsandresources/ios-11-iphone-gui/) ### Prototyping - [FluidUI](https://www.fluidui.com) - [Proto.io](https://proto.io/) - [Framer](https://www.framer.com/) - [Principle](https://principleformac.com/) ### Newsletters - [AwesomeiOS Weekly](http://weekly.awesomeios.com) - AwesomeiOS Weekly. - [iOS Goodies](https://ios-goodies.com) - Weekly iOS newsletter. - [raywenderlich.com Weekly](https://www.raywenderlich.com/newsletter) - sign up to receive the latest tutorials from raywenderlich.com each week. - [iOS Dev Tools Weekly](https://iosdev.tools) - The greatest iOS development tools, including websites, desktop and mobile apps, and back-end services. - [iOS Trivia Weekly](https://wanderbit.us4.list-manage.com/subscribe?u=4e20cd8ea3a0ce09ff4619a52&id=5898a5992b) - Three challenging questions about iOS development every Wednesday. - [Indie iOS Focus Weekly](http://indieiosfocus.com/) - Looking for the best iOS dev links, tutorials, & tips beyond the usual news? Curated by Chris Beshore. Published every Thursday. - [iOS Dev Weekly](https://iosdevweekly.com/) - Subscribe to a hand-picked round up of the best iOS development links every week. Free. - [Swift Weekly Brief](https://swiftweekly.github.io/) - A community-driven weekly newsletter about Swift.org. Curated by Jesse Squires and published for free every Thursday. - [Server-Side Swift Weekly](https://www.serverswift.tech) - A weekly newsletter with the best links related to server-side Swift and cross-platform developer tools. Curated by [@maxdesiatov](https://twitter.com/maxdesiatov) - [iOS Cookies Newsletter](https://us11.campaign-archive.com/home/?u=cd1f3ed33c6527331d82107ba&id=532dc7fb64) - A weekly digest of new iOS libraries written in Swift. - [Swift Developments](https://andybargh.com/swiftdevelopments/) - A weekly curated newsletter containing a hand picked selection of the latest links, videos, tools and tutorials for people interested in designing and developing their own iOS, WatchOS and AppleTV apps using Swift. - [Mobile Developers Cafe](https://mobiledeveloperscafe.com) - A weekly newsletter for Mobile developers with loads of iOS content. - [Indie Watch](https://indie.watch/) - A weekly newsletter featuring the best apps made by indie iOS developers. ### Medium - [iOS App Development](https://medium.com/ios-os-x-development) - Stories and technical tips about building apps for iOS, Apple Watch, and iPad/iPhone. - [Swift Programming](https://medium.com/swift-programming) - The Swift Programming Language. - [Flawless App](https://medium.com/flawless-app-stories) - Development & design & marketing tips for iOS developers. ## Social Media ### Twitter - [@objcio](https://twitter.com/objcio) - [@CocoaPods](https://twitter.com/CocoaPods) - [@CocoaPodsFeed](https://twitter.com/CocoaPodsFeed) - [@RubyMotion](https://twitter.com/RubyMotion) ## Podcasts - [The Ray Wenderlich Podcast](https://www.raywenderlich.com/podcast) - [Debug](https://www.imore.com/debug) - [App Story](http://www.appstorypodcast.com) - [iPhreaks](https://devchat.tv/iphreaks/) - [Under the Radar](https://www.relay.fm/radar) - [Core Intuition](http://coreint.org/) - [Swift Playhouse](http://www.swiftplayhouse.com/) - [Release Notes](https://releasenotes.tv/) - [More Than Just Code](https://mtjc.fireside.fm/) - [Runtime](https://spec.fm/podcasts/runtime) - [Consult](https://consultpodcast.com/#_=_) - [Swift Unwrapped](https://spec.fm/podcasts/swift-unwrapped) - [Fireside Swift](https://podcasts.apple.com/us/podcast/fireside-swift/id1269435221?mt=2) - [Swift by Sundell](https://www.swiftbysundell.com/podcast/) ## Books - [The Swift Programming Language by Apple](https://books.apple.com/us/book/swift-programming-language/id881256329) - [iOS Programming: The Big Nerd Ranch Guide by Christian Keur, Aaron Hillegass](https://www.bignerdranch.com/books/ios-programming-the-big-nerd-ranch-guide-seventh-edition/) - [Programming in Objective-C by Stephen G. Kochan](https://www.amazon.com/Programming-Objective-C-6th-Developers-Library/dp/0321967607) - [The Complete Friday Q & A: Volume 1](https://www.mikeash.com/book.html) - [Core Data for iOS: Developing Data-Driven Applications for the iPad, iPhone, and iPod touch](https://www.amazon.com/Core-Data-iOS-Data-Driven-Applications/dp/0321670426) - [Cocoa Design Patterns](https://www.amazon.com/Cocoa-Design-Patterns-Erik-Buck/dp/0321535022) - [Hello Swift! by Tanmay Bakshi with Lynn Beighley](https://www.manning.com/books/hello-swift) - [iOS Development with Swift by Craig Grummitt](https://www.manning.com/books/ios-development-with-swift) - [Anyone Can Create an App by Wendy L. Wise](https://www.manning.com/books/anyone-can-create-an-app) - [Advanced Swift by Chris Eidhof, Ole Begemann, and Airspeed Velocity](https://www.objc.io/books/advanced-swift/) - [Functional Swift by Chris Eidhof, Florian Kugler, and Wouter Swierstra](https://www.objc.io/books/functional-swift/) - [Core Data by Florian Kugler and Daniel Eggert](https://www.objc.io/books/core-data/) - [Classic Computer Science Problems in Swift](https://www.manning.com/books/classic-computer-science-problems-in-swift) - [Swift in Depth](https://www.manning.com/books/swift-in-depth) ## Other Awesome Lists *Other amazingly awesome lists can be found in the* - [awesome-awesomeness](https://github.com/bayandin/awesome-awesomeness) list. - [Open Source apps](https://github.com/dkhamsing/open-source-ios-apps) list of open source iOS apps. - Awesome-swift - [@matteocrippa](https://github.com/matteocrippa/awesome-swift) - A collaborative list of awesome swift resources. - [@Wolg](https://github.com/Wolg/awesome-swift) - A curated list of awesome Swift frameworks, libraries and software. - [Awesome-Swift-Education](https://github.com/hsavit1/Awesome-Swift-Education) - All of the resources for Learning About Swift. - [awesome watchkit apps](https://github.com/sanketfirodiya/sample-watchkit-apps) curated list of sample watchkit apps and tutorials. - [iOS Learning Resources](https://github.com/sanketfirodiya/iOS-learning-resources) Comprehensive collection of high quality, frequently updated and well maintained iOS tutorial sites. - Awesome iOS Animation - [@ameizi](https://github.com/ameizi/awesome-ios-animation) - A curated list of awesome iOS animation, including Objective-C and Swift libraries. - [@jzau](https://github.com/jzau/awesome-ios-animation) - Collection of Animation projects. - [awesome-ios-chart](https://github.com/ameizi/awesome-ios-chart) - A curated list of awesome iOS chart libraries, including Objective-C and Swift. - [awesome-gists](https://github.com/vsouza/awesome-gists#ios) - A list of amazing gists (iOS section). - [awesome-ios-ui](https://github.com/cjwirth/awesome-ios-ui) - A curated list of awesome iOS UI/UX libraries. - [Awesome-Server-Side-Swift/TheList](https://github.com/Awesome-Server-Side-Swift/TheList) - A list of Awesome Server Side Swift 3 projects. - [awesome-interview-questions](https://github.com/MaximAbramchuck/awesome-interview-questions#ios) - A curated awesome list of lists of interview questions including iOS. - [iOS-Playbook](https://github.com/bakkenbaeck/iOS-handbook) - Guidelines and best practices for excellent iOS apps. - [iOS-Learning-Materials](https://github.com/jVirus/iOS-Learning-Materials) - Curated list of articles, web-resources, tutorials and code repositories that may help you dig a little bit deeper into iOS. - [Awesome-iOS-Twitter](https://github.com/carolanitz/Awesome-iOS-Twitter) - A curated list of awesome iOS Twitter accounts. - [Marketing for Engineers](https://github.com/LisaDziuba/Marketing-for-Engineers) - A curated collection of marketing articles & tools to grow your product. - [Awesome ARKit](https://github.com/olucurious/Awesome-ARKit) - A curated list of awesome ARKit projects and resources. - [CocoaConferences](https://github.com/Lascorbe/CocoaConferences) - List of cocoa conferences for iOS & macOS developers. - [example-ios-apps](https://github.com/jogendra/example-ios-apps) - A curated list of Open Source example iOS apps developed in Swift. - [Curated-Resources-for-Learning-Swift](https://hackr.io/tutorials/learn-ios-swift) - A curated list of resources recommended by the developers. - [ClassicProblemSolvingAndDataStructuresInSwift](https://github.com/smalam119/classic-problem-solving-algorithms-and-data-structures-in-swift) - Collection of popular algorithms, data structure and problem solving in Swift 4. - [Awesome list of open source applications for macOS](https://github.com/serhii-londar/open-source-mac-os-apps) - List of awesome open source applications for macOS. - [Awesome iOS Interview question list](https://github.com/dashvlas/awesome-ios-interview) - Guide for interviewers and interviewees. Review these iOS interview questions - and get some practical tips along the way. - [Top App Developers](https://github.com/app-developers/top) - A list of top iOS app developers. - [awesome-ios-developer](https://github.com/jphong1111/awesome-ios-developer) - Useful knowledges and stuff for ios developer. - [awesome-ios-books](https://github.com/bystritskiy/awesome-ios-books) - A list of books for iOS developers. ## Contributing and License - [See the guide](https://github.com/vsouza/awesome-ios/blob/master/.github/CONTRIBUTING.md) - Distributed under the MIT license. See LICENSE for more information.
57
iOS开发常用三方库、插件、知名博客等等
[![Test Status](https://travis-ci.org/douban/rexxar-ios.svg?branch=master)](https://travis-ci.org/douban/rexxar-ios) [![Language](https://img.shields.io/badge/language-ObjC-blue.svg)](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/Introduction/Introduction.html) [Swift版本点击这里](https://github.com/Tim9Liu9/TimLiu-iOS/blob/master/Swift.md) 欢迎加入QQ群交流: 594119878(一群已满) 331409824(加二群) (入群答案:TimLiu-iOS) ### About A curated list of iOS objective-C ecosystem. ### How to Use - Simply press <kbd>command</kbd> + <kbd>F</kbd> + <kbd>"xxx@"</kbd> to search for a keyword - Go through our *Content Menu* ### Feedback 期待大家和我们一起共同维护,同时也期望大家随时能提出宝贵的意见(直接提交issues即可)。请广大网友只按照目录结构(即使目录结构有问题)添加三方库,并提交pull request。目录问题大家提出issues后楼主会及时更改的。 ### 目录 - [如何成为一个IOS开发@](#如何成为一个IOS开发) - [完整App@](#完整App) - [框架@](#框架) - [react@](#react) - [framework@](#framework) - [混合开发@](#混合开发) - [组件化@](#组件化) - [优化@](#优化@) - [多线程@](#多线程) - [网络@](#网络) - [网络请求@](#网络请求) - [socket@](#socket) - [网络下载@](#网络下载@) - [图像获取@](#图像获取) - [IM@](#IM) - [网络测试@](#网络测试) - [网页框架@](#网页框架) - [网络解析@](#网络解析) - [CSV](#csv) - [JSON@](#json) - [XML&HTML@](#xml&html) - [数据存储@](#数据存储) - [缓存处理@](#缓存处理) - [序列化@](#序列化) - [coreData@](#coreData) - [动画@](#动画) - [侧滑与右滑返回手势@](#侧滑与右滑返回手势) - [转场动画@](#转场动画) - [多媒体@](#多媒体) - [音频@](#音频) - [视频@](#视频) - [视频播放@](#视频播放) - [视频处理@](#视频处理) - [视频录制@](#视频录制) - [视频剪切@](#视频剪切) - [直播@](#直播) - [弹幕@](#弹幕) - [GIF@](#GIF) - [VR@](#VR) - [AR@](#AR) - [二维码@](#二维码) - [PDF@](#PDF) - [图像@](#图像) - [拍照@](#拍照) - [图像处理@](#图像处理) - [图像浏览@](#图像浏览) - [图像缓存@](#图像缓存) - [滤镜@](#滤镜) - [图像识别@](#图像识别) - [图像圆角@](#图像圆角) - [截屏@](#截屏) - [安全@](#安全) - [逆向@](#逆向) - [AutoLayout@](#AutoLayout) - [数据结构/算法@](#数据结构/算法) - [上架@](#上架) - [iOS11@](#iOS) - [应用内支付@](#应用内支付) - [动态更新@](#动态更新) - [UI@](#UI) - [综合UI@](#综合UI) - [列表@](#列表) - [TableView@](#TableView) - [TableView适配@](#TableView适配) - [CollectionView@](#CollectionView) - [图表@](#图表) - [下拉刷新@](#下拉刷新) - [模糊效果@](#模糊效果) - [日历三方库@](#日历三方库) - [颜色@](#颜色) - [scrollView@](#scrollView) - [对话交互@](#对话交互) - [隐藏与显示@](#隐藏与显示) - [HUD与Toast@](#HUD与Toast) - [对话框@](#对话框) - [Pop@](#Pop) - [状态栏@](#状态栏) - [导航栏@](#导航栏) - [设置@](#设置) - [引导页@](#引导页@) - [Switch@](#Switch) - [Label@](#Label) - [Search@](#Search) - [主题@](#主题) - [电影选座@](#电影选座) - [瀑布流@](#瀑布流) - [菜单@](#菜单) - [Tabbar@](#Tabbar) - [进度@](#进度) - [小红点@](#小红点) - [page@](#page) - [轮播@](#轮播) - [选择器@](#选择器) - [购物车@](#购物车) - [按钮@](#按钮) - [类3D@](#类3D) - [其他UI@](#其他UI) - [工具@](#工具) - [提醒用户评分@](#提醒用户评分) - [压缩解压@](#压缩解压) - [Category@](#Category) - [代码片@](#代码片) - [Github相关@](#Github相关) - [键盘@](#键盘) - [分发@](分发@) - [文本@](#文本) - [文本输入@](#文本输入) - [富文本@](#富文本) - [表情@](#表情) - [字体@](#字体) - [ipad@](#ipad) - [通讯@](#通讯) - [学习资料@](#学习资料) - [播客@](#播客) - [其他开源@](#其他开源) - [博客@](#博客) - [学习笔记@](#学习笔记) - [书籍@](#书籍) - [设计@](#设计) - [美工资源@](#美工资源) - [文章@](#文章) - [测试调试@](#测试调试) - [Xcode工具@](#Xcode工具) - [崩溃捕获@](#崩溃捕获) - [Runtime@](#Runtime) - [Xcode插件@](#Xcode插件) - [接口调试工具@](#接口调试工具) - [UI调试@](#UI调试) - [版本适配@](#版本适配) - [深度链接@](#深度链接) - [WebView与WKWebView@](#WebView与WKWebView) - [游戏@](#cocos2d-objc) - [小样@](#小样) - [机器学习@](#机器学习) - [VPN@](#VPN) - [地图@](#地图) - [通知@](#通知) - [通讯录@](#通讯录) - [深度学习@](#深度学习) - [其他库@](#其他库) - [消息相关@](#消息相关) - [消息推送客户端@](#消息推送客户端) - [消息推送服务器端@](#消息推送服务器端) - [通知相关请搜索“对话交互@”@](#通知相关请搜索“对话交互@”@) - [时间日期@](#时间日期) - [设计模式@](#设计模式) - [三方@](#三方) - [三方分享、支付、登录等等@](#三方分享、支付、登录等等) - [区块链@](#区块链) - [版本管理@](#版本管理) - [Git用法@](#Git用法) - [GitHub@](#GitHub) - [GitBook@](#GitBook) - [Git文章@](#Git文章) - [GithubRank@](#GithubRank) - [桌面工具@](#桌面工具) - [Github客户端@](#Github客户端) - [Github插件@](#Github插件) - [命令行@](#命令行) - [Git平台与工具@](#Git平台与工具) - [Github项目@](#Github项目) - [Git库@](#Git库) - [Github浏览器工具@](#Github浏览器工具) - [版本新API的Demo@](#版本新API的Demo) - [AppleWatch@](#AppleWatch) - [mac@](#mac) - [开发环境@](#开发环境) - [前端@](#前端) - [后台@](#后台) - [AppHTTPServer@](#AppHTTPServer) #### 具体内容 ============================= #### 如何成为一个IOS开发@ * [iOS-Developer-Roadmap](https://github.com/BohdanOrlov/iOS-Developer-Roadmap) - Roadmap to becoming an iOS developer in 2018. #### 完整App@ * [CoolPaper](https://github.com/CoderWeiLee/CoolPaper) - 一款基于Swift5写的壁纸应用 * [GitHubRank](http://githubrank.com/) - GitHub活跃用户排名(便于学习,请勿攀比). * [expo](https://github.com/expo/expo) - An open-source platform for making universal native apps with React. Expo runs on Android, iOS, and the web. * [PPRows for Mac](https://github.com/jkpang/PPRows) - 在Mac上优雅的计算你写了多少行代码. * [NewsBlur](https://github.com/samuelclay/NewsBlur) - 作者独自一个人 Samuel Clay 做出来的一款名为 NewsBlur 的新闻阅读器, 很多人都称其为 Google Reader 的替代品, 这是它的源码. * [HackerNews-React-Native](https://github.com/iSimar/HackerNews-React-Native) - 用React Native 完成的 HackerNews 客户端. * [WeChat](https://github.com/zhengwenming/WeChat)- 实现类似微信朋友圈或者QQ空间,评论回复,九宫格布局。处理键盘弹出后定位到当前点击的被评论人处。另:滑动时候FPS在57-60之间,纵享丝滑. * [iOSAppTemplate](https://github.com/tbl00c/iOSAppTemplate) - 高仿微信,iOS应用开发模板,个人总结. * [Bilibili_Wuxianda](https://github.com/MichaelHuyp/Bilibili_Wuxianda) - 赞 高仿Bilibili客户端. * [Coding-iOS](https://github.com/Coding/Coding-iOS) - Coding iOS 客户端源代码. * [Coding-iPad](https://github.com/Coding/Coding-iPad) - Coding iPad 客户端源代码. * [Monkey](https://github.com/coderyi/Monkey) - GitHub第三方iOS客户端. * [firefox-ios](https://github.com/mozilla/firefox-ios) Firefox for iOS. * [RSSRead](https://github.com/ming1016/RSSRead) - “已阅”(iOS上开源RSS新闻阅读器). * [zulip-ios](https://github.com/zulip/zulip-ios) - Dropbox收购公司内部社交服务商Zulip,然后全部开源,这是iOS App. * [FirebaseChat](https://github.com/relatedcode/FirebaseChat) - Objective-C写的完整的聊天应用. * [Meizi](https://github.com/Sunnyyoung/Meizi) - 豆瓣妹子图iOS客户端. * [PlainReader](https://github.com/guojiubo/PlainReader) - 简阅是一款 iOS(iPhone + iPad) 新闻类客户端,内容抓取自 cnBeta.COM。在售期间倍受好评,但由于版权问题已于今年一月从 AppStore 下架,下架至今,每天仍有几千人在使用这款 App. * [ECMobile_iOS](https://github.com/GeekZooStudio/ECMobile_iOS) - 基于ECShop的手机商城客户端. * [wikipedia-ios](https://github.com/wikimedia/wikipedia-ios) - 维基百科官方App, 已上架. * [Sol](https://github.com/comyarzaheri/Sol) - 漂亮的扁平风格的天气App. * [v2ex](https://github.com/singro/v2ex) - v2ex第三方iOS客户端。V2EX是一个知名技术创意网站,由设计师、程序员及有创意的人参与的社区. * [WNXHuntForCity](https://github.com/ZhongTaoTian/WNXHuntForCity) - 城觅By-Objective-C. * [breadwallet](https://github.com/voisine/breadwallet) - breadwallet - bitcoin wallet. * [GreatReader](https://github.com/semweb/GreatReader) - GreatReader PDF阅读客户端. * [Tropos](https://github.com/thoughtbot/Tropos) - 天气客户端. * [WordPress-iOS](https://github.com/wordpress-mobile/WordPress-iOS) - WordPress iOS官方客户端. 笔者强烈推荐的开源项目. * [TeamTalk](https://github.com/mogujie/TeamTalk) - 蘑菇街TeamTalk. 开源IM. 笔者强烈推荐. * [MessageDisplayKit](https://github.com/xhzengAIB/MessageDisplayKit) - 一个类似微信App的IM应用,拥有发送文字、图片、语音、视频、地理位置消息,管理本地通信录、分享朋友 圈、漂流交友、摇一摇和更多有趣的功能。 * [iOS-Oncenote](https://github.com/chenyufeng1991/iOS-Oncenote) - 这是一款类似于印象笔记Evernote的生活类iOS应用——朝夕笔记 Oncenote。我希望能为更多的iOS开发者提供帮助与服务. * [GSD_WeiXin](https://github.com/gsdios/GSD_WeiXin) 高仿微信. * [v2ex](https://github.com/singro/v2ex) - v2ex 的客户端,新闻、论坛. * [wikipedia-ios](https://github.com/wikimedia/wikipedia-ios) - wikipedia-ios 客户端. * [DeckRocket](https://github.com/jpsim/DeckRocket) - 在相同 WiFi 网络环境内,通过iPhone 控制并播放 Mac 中的 PDF 文档. * [DSLolita](https://github.com/sam408130/DSLolita) - 模仿新浪微博做的一款app,有发送博文,评论,点赞,私聊功能. * [STPhotoBrowser](https://github.com/STShenZhaoliang/STPhotoBrowser) - 高仿新浪微博的图片浏览器,极佳的编写方式,易扩展,低耦合. * [Tropos](https://github.com/thoughtbot/Tropos) - Tropos, 由 thoughtbot 推出的一款用 Objective-C 写的开源天气类应用. * [SmileWeather](https://github.com/liu044100/SmileWeather) - 开源天气类应用,天气图标很完整. * [MVVMReactiveCocoa](https://github.com/leichunfeng/MVVMReactiveCocoa) - 基于MVVM的GitBucket客户端2.0.[AppStore地址](https://itunes.apple.com/cn/app/id961330940?mt=8),欢迎下载使用GitBucket和收藏MVVMReactiveCocoa. * [Tomate](https://github.com/dasdom/Tomate) - 这个圆盘式计时器让你更专注于工作或学习。P.S. App Store 上架收费应用(0.99 欧). * [WNXHuntForCity](https://github.com/ZhongTaoTian/WNXHuntForCity) - iOS高仿城觅项目(开发思路和代码). * [ZYChat](https://github.com/zyprosoft/ZYChat) - 关于聊天界面的可消息类型扩展,响应绑定设计. * [meituan](https://github.com/lookingstars/meituan) - 美团5.7iOS版(高仿),功能包括,团购首页,高德地图搜索附近美食并显示在地图上,上门服务,商家,友盟分享. * [JFMeiTuan](https://github.com/tubie/JFMeiTuan) - 造美团应用界面构建的 iOS 应用, 第二个是 @tubiebutu 的 JFMeiTuan. * [SXNews](https://github.com/dsxNiubility/SXNews) - 模仿网易新闻做的新闻软件,完成了主导航页,新闻详情页,图片浏览页,评论页. * [Monkey](https://github.com/coderyi/Monkey) - GitHub开发者和仓库排名的开源App. * [Uther](https://github.com/callmewhy/Uther) - 跟蠢萌的外星人聊天,还能帮你记事”.[itunes下载](https://itunes.apple.com/cn/app/uther/id1024104920). * [高仿斗鱼TV](http://code.cocoachina.com/view/128246) - 高仿斗鱼TV,点击头部滚动视图可以播放视频. * [Coding-iPad](https://github.com/Coding/Coding-iPad) - @Coding的官方 iPad 客户端. * [wire-ios](https://github.com/wireapp/wire-ios) - 私密消息应用wire源码. * [react-native-gitfeed](https://github.com/xiekw2010/react-native-gitfeed) - 目前最实用简洁的github客户端了. * [phphub-ios](https://github.com/Aufree/phphub-ios) - PHPHub的iOS客户端,同时兼容iPhone和iPad. * [LeagueofLegends](https://github.com/HarrisHan/LeagueofLegends) - 一个关于英雄联盟的完整iOS开源项目,接口均来自多玩,腾讯各大游戏平台. * [BTApp](https://github.com/Ryan0520/BTApp) - BTApp 仿半糖 iOS App 的 Demo 应用. * [iOS完整App资源收集](https://github.com/CoderJackyHuang/MDArtileFiles) - 很多开源的完整的App--标哥的技术博客. * [XCFApp-1](https://github.com/callmejoejoe/XCFApp) - 高仿下厨房App,Objective-C,Xcode7.2,数据通过Charles抓的,有接口也有本地数据。说明:关于代码被清空,会用git的你肯定明白,[教程](http://www.jianshu.com/p/a8f619a2c622/). * [YoCelsius](https://github.com/YouXianMing/YoCelsius) - 已经上线的一款天气预报的应用,几乎所有的交互动画效果,想学习动画的开发人员可以作为参考. * [DayDayNews](https://github.com/gaoyuhang/DayDayNews) - 仿网易新闻客户端,实现新闻浏览,视频播放,仿搜狐视频、百思不得姐等当前主流视频播放器,实现流媒体播放,自动监听屏幕转动,实现横屏播放 , 抓取百度图片,瀑布流显示,夜间模式,环信即时通讯. * [ECMobile_iOS](https://github.com/GeekZooStudio/ECMobile_iOS) - 基于ECShop的手机商城客户端(iOS、Android、Php一体). * [TKeyboard](https://github.com/music4kid/TKeyboard) - 这款应用名为:TKeyboard。有一个 Mac 端和一个 iOS 端 App。简单来说,可以通过蓝牙,使用 Mac 的键盘输入内容到 iPhone 设备中. * [BDJProjectExample](https://github.com/yizzuide/BDJProjectExample) - 基于VIPER设计模式,以XFLegoVIPER框架为引擎的仿《百思不得姐》项目. * [UberSignature](https://github.com/uber/UberSignature) - 一个通过触摸前面的App. * [HiPDA](https://github.com/leizh007/HiPDA) - HiPDA的非官方客户端(iOS版). * [yanxuan-weex-demo](https://github.com/zwwill/yanxuan-weex-demo) - a demo developed using weex/weex高仿网易严选App. * [MeiTuan](https://github.com/huanxsd/MeiTuan) - 高仿美团客户端 React-Native版,支持iOS、Android. * [OneM](https://github.com/guangqiang-liu/OneM) - OneM是一款纯ReactNative打造的集杂志浏览、音乐播放、视频播放于一体的综合性App,并且支持iOS和Android双平台. * [ZMBCY-iOS](https://github.com/Brances/ZMBCY-iOS) - 高仿二次元网易GACHA,所有接口均通过Charles抓取而来,里面有可单独抽离出来的卡片轮播. * [Hotels](https://github.com/FantasticLBP/Hotels) - 酒店预订App. * [YouTube-Music](https://github.com/steve228uk/YouTube-Music) - A Mac app wrapper for music.youtube.com. * [MONO](https://github.com/xumaohuai/MONO) - 高仿MONO(猫弄). * [LZAlbum](https://github.com/lzwjava/LZAlbum) - 基于 LeanCloud 的朋友圈,优雅地使用 LeanCloud. * [xkcd-Open-Source](https://github.com/mamaral/xkcd-Open-Source) - A free and open source xkcd comic reader for iOS.s * [GKDYVideo](https://github.com/QuintGao/GKDYVideo) - iOS仿抖音短视频. * [adblockfast](https://github.com/rocketshipapps/adblockfast) - Adblock Fast is a new, faster ad blocker for iOS, Android, Chrome, and Opera. https://adblockfast.com/. #### 框架@ * [nimbus](https://github.com/jverkoey/nimbus) - Nimbus是一个开源的iOS框架,比起Three20,Nimbus的文档更为全面、丰富,能够实现很多非常炫的界面特效. - [FRDModuleManager](https://github.com/lincode/FRDModuleManager) - AppDelegate瘦身,iOS Module Manager library. * [promises](https://github.com/google/promises) - Promises is a modern framework that provides a synchronization construct for Swift and Objective-C.Promise 就是链的方式对结果类型闭包的封装,避免层层闭包重复嵌套难以阅读. * [CYLTabBarController](https://github.com/ChenYilong/CYLTabBarController) - 低耦合集成TabBarController,最低只需传两个数组即可完成主流App框架搭建. * [keystone](https://github.com/keystone-enclave/keystone) - Keystone Enclave (QEMU). * [samurai-native](https://github.com/hackers-painters/samurai-native) - 是一个基于浏览器内核通过HTML+CSS 开发原生移动应用的iOS框架. * [AsyncDisplayKit](https://github.com/facebook/AsyncDisplayKit) - 异步界面渲染库,为极限优化View效果而生(同时提供 UIView bridge 接口). * [XFLegoVIPER](https://github.com/yizzuide/XFLegoVIPER) - A lightweight framework base on VIPER architecture for iOS, to build robust and maintained large scale project. * [publishImageAndVideoAnsRecord](https://github.com/DayCrazy/publishImageAndVideoAnsRecord) - 发布视频、语言、照片模块集合,其中包括带placeHolder的TextView、录制小视频、录制音频、选择照片或拍照. * [XBSettingController](https://github.com/changjianfeishui/XBSettingController) - 快速搭建类个人中心及应用设置界面. * [EVNEstorePlatform](https://github.com/zonghongyan/EVNEstorePlatform) - App项目框架 [简书解析](http://www.jianshu.com/p/89e25c288d76?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io) * [QMUI_iOS](https://github.com/QMUI/QMUI_iOS) - QMUI iOS——致力于提高项目 UI 开发效率的解决方案. * [UniversalProject](https://github.com/XuYang8026/UniversalProject) - 基于MVC架构的iOS轻量级框架,封装了基类、基于猿题库YTKNetwork的网络服务、工具库,NavigationController转场动画/瀑布流/粒子动画/小demo,已适配iOS11 & iPhone X. * [coderZsq.project.oc](https://github.com/coderZsq/coderZsq.project.oc) - A lightweight and efficient application development tool set for iOS, and accelerating the developing speed. * [AppManager](https://github.com/nanchen2251/AppManager) - 🔥 An elegant exit application and restart mechanism management. * [MACProject](https://github.com/azheng51714/MACProject) - 这是一个用 Objective-C 写的 iOS 轻量级框架,旨在快速构建 iOS App. * [iOSProject](https://github.com/NJHu/iOSProject) - 一些oc项目集合. * [WYBasisKit](https://github.com/Jacke-xu/WYBasisKit) - "WYBasisKit" is a toolkit aimed at greatly improving efficiency. * [nextcloud](https://github.com/nextcloud/ios) - Nextcloud iOS app. * [eEducation](https://github.com/AgoraIO-Usecase/eEducation) - e-education solutions(Agora Reference Design). * [MobileProject](https://github.com/wujunyang/MobileProject) - 一个基于 MVC 的项目框架,并集成一些常用的功能. #### React@ * [ReactiveCocoa](https://github.com/ReactiveCocoa/ReactiveCocoa) - ReactiveCocoa受函数响应式编程激发。不同于使用可变的变量替换和就地修改,RAC提供Signals来捕获当前值和将来值( [使用介绍](http://yulingtianxia.com/blog/2014/07/29/reactivecocoa/) ),[不错的例子](http://iiiyu.com/2014/12/26/learning-ios-notes-thirty-six/),入门好教程:[ReactiveCocoa入门教程:第一部分 ](http://www.cocoachina.com/ios/20150123/10994.html)。[Reactive Cocoa 3.0 在 MVVM 中的应用](http://ios.jobbole.com/82232/) ,[小码哥:快速让你上手ReactiveCocoa之基础篇](http://www.jianshu.com/p/87ef6720a096)。 * [react-native](https://github.com/facebook/react-native) - A framework for building native apps with React. * [weex](https://github.com/alibaba/weex) - A framework for building Mobile cross-platform UI. * [LoginWithReactiveCocoa](https://github.com/CrazySurfBoy/LoginWithReactiveCocoa) - ReactiveCocoa - 登录交互效果的实现。 * [BeeFramework](https://github.com/gavinkwoe/BeeFramework) - 与ReactiveCocoa类似,[BeeFramework用户指南 v1.0](http://www.lanrenios.com/tutorials/all/2012/1220/641.html)。 * [Objective-Chain](https://github.com/Tricertops/Objective-Chain) - Objective-Chain是一个面向对象的响应式框架,作者表示该框架吸收了 ReactiveCocoa 的思想,并且想做得更面向对象一些。 * [react-native-maps](https://github.com/react-native-community/react-native-maps) - React Native Mapview component for iOS + Android. * [MVVMFramework](https://github.com/lovemo/MVVMFramework) - (OC版)总结整理下一个快速开发框架,分离控制器中创建tableView和collectionView的代码,已加入cell自适应高度,降低代码耦合,提高开发效率。 * [react-native-config](https://github.com/luggit/react-native-config) - 用于响应本机应用程序的配置变量,模块将配置变量公开到你的javascript代码中,同时支持iOS和 Android. * [react-native-syan-image-picker](https://github.com/syanbo/react-native-syan-image-picker) - React-Native 多图片选择 支持裁剪 压缩. * [ReactNative的理解与思考,三端同一套代码的实践](http://www.jianshu.com/p/1144469bf81f?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io). * [RNStudyNotes](https://github.com/crazycodeboy/RNStudyNotes) - React Native 研究与实践. * [react-native-orientation](https://github.com/yamill/react-native-orientation) - Listen to device orientation changes in react-native and set preferred orientation on screen to screen basis. * [QTEventBus](https://github.com/LeoMobileDeveloper/QTEventBus) - 优雅的处理全局事件,支持AppDelegate解耦. * [react-native-notifications](https://github.com/wix/react-native-notifications) - React Native Notifications. * [react-native-template-typescript](https://github.com/react-native-community/react-native-template-typescript) - Clean and minimalist React Native template for a quick start with TypeScript. * [react-native-viewpager](https://github.com/react-native-community/react-native-viewpager) - React Native wrapper for the Android ViewPager and iOS UIPageViewController. * [react-native-spinkit](https://github.com/maxs15/react-native-spinkit) - A collection of animated loading indicators for React Native. * [react-native-maps](https://github.com/airbnb/react-native-maps) - React Native Mapview component for iOS + Android. * [react-native-svg](https://github.com/react-native-community/react-native-svg) - SVG library for React Native. react-native-svg is built to provide a SVG interface to react native on both iOS and Android. * [TypeScript-React-Native-Starter](https://github.com/microsoft/TypeScript-React-Native-Starter) - A starter template for TypeScript and React Native with a detailed README describing how to use the two together. * [react-native-maps](https://github.com/react-community/react-native-maps) - React Native Mapview component for iOS + Android. * [react-native-code-push](https://github.com/Microsoft/react-native-code-push) - React Native module for CodePush(微软提供的一套可用于React Native和Cordova的热更新服务). * [react-native-webrtc](https://github.com/react-native-webrtc/react-native-webrtc) - The WebRTC module for React Native. * [react-native-permissions](https://github.com/react-native-community/react-native-permissions) - An unified permissions API for React Native on iOS and Android. * [react-native-iap](https://github.com/dooboolab/react-native-iap) - react-native native module for In App Purchase. * [react-native-navigation](https://github.com/wix/react-native-navigation) - 是Navigator的加强版,不仅有Navigator的全部功能,另外还支持底部导航类似于与iOS中的UITabBarController,此外它也支持侧拉效果方式的导航类似于Android中的抽屉效果。 #### framework@ * [Small](https://github.com/wequick/Small) - A small framework to split app into small parts. * [Aspects](https://github.com/steipete/Aspects) - 个简洁高效的用于使iOS支持AOP面向切面编程的库.它可以帮助你在不改变一个类或类实例的代码的前提下,有效更改类的行为. * [Form](https://github.com/hyperoslo/Form) - JSON 驱动的 Form表单系统,复杂的表单填写类 App 极其需要(比如淘宝呢!). #### flutter@ * [flutter](https://github.com/flutter/flutter) - Flutter针对想要在Android和iOS上运行的2D移动应用进行了优化。您可以使用Flutter构建全功能应用程序,包括相机、地理位置、网络、存储、第三方SDK等. * [flutter-webrtc](https://github.com/flutter-webrtc/flutter-webrtc) - WebRTC plugin for Flutter Mobile/Desktop/Web. * [dicee-flutter](https://github.com/londonappbrewery/dicee-flutter) - Starter code for the Dicee project in the Complete Flutter Bootcamp. * [mi_card_flutter](https://github.com/londonappbrewery/mi_card_flutter) - Starter code for the Mi Card Project from the Complete Flutter Development Bootcamp. * [flutter-webrtc](https://github.com/cloudwebrtc/flutter-webrtc) - WebRTC plugin for Flutter Mobile/Desktop/Web. * [FlutterDouBan](https://github.com/kaina404/FlutterDouBan) - Flutter豆瓣客户端,Awesome Flutter Project,全网最100%还原豆瓣客户端。首页、书影音、小组、市集及个人中心,一个不拉. * [flutter-go](https://github.com/alibaba/flutter-go) - flutter 开发者帮助 APP,包含 flutter 常用 140+ 组件的demo 演示与中文文档. #### 混合开发@ * [rexxar-ios](https://github.com/douban/rexxar-ios) - 豆瓣推的混合开发库 Mobile Hybrid Framework Rexxar iOS Container. #### 组件化@ * [CTMediator](https://github.com/casatwy/CTMediator) - 应用架构组件化解耦库,让你的`Appdelegate.h`等文件不在显得头大,模块之间解除强耦合性. * [JLRoutes](https://github.com/joeldev/JLRoutes) - 好用的URL map库,它的作用是让按钮的点击像网页里的链接一样,只是触发了某个URL,而没有像pushViewController这样的行为,实现解耦. * [HHRouter](https://github.com/lightory/HHRouter) - 页面跳转方式,可以将 UIViewController 映射成 URL,从而支持通过 URL 进行界面跳转,类似 Web 一样. * [MGJRouter](https://github.com/meili/MGJRouter) - 一个高效/灵活的 iOS URL Router。 * [routable-ios](https://github.com/clayallsopp/routable-ios) - 代码解耦-iOS应用內动态跳转解决方案. * [Bifrost](https://github.com/youzan/Bifrost) - 有赞移动开源的 iOS 组件化方案. * [WLRRoute](https://github.com/Neojoke/WLRRoute) - 一个简单的 iOS 路由组件. ### 优化@ * [MLeaksFinder新特性](http://wereadteam.github.io/2016/07/20/MLeaksFinder2/) - MLeaksFinder(iOS 平台的自动内存泄漏检测工具)用法. * [LSUnusedResources](https://github.com/tinymind/LSUnusedResources) - 清理Xcode项目中未使用的资源文件. #### 多线程@ * [YYDispatchQueuePool](https://github.com/ibireme/YYDispatchQueuePool) - iOS 全局并发队列管理工具. * [JX_GCDTimer](https://github.com/Joeyqiushi/JX_GCDTimer) - 定时器,NSTimer和GCD哪个更好. * [BLStopwatch](https://github.com/beiliao-mobile/BLStopwatch) - 代码耗时打点计时器. * [Thread](https://github.com/mrhyh/Thread) - 多线程Demo集合. #### 网络@ #### 网络请求@ * [AFNetworking](https://github.com/AFNetworking/AFNetworking) - A delightful networking framework for iOS, OS X, watchOS, and tvOS. [iOS开发下载文件速度计算](http://www.superqq.com/blog/2015/01/29/ioskai-fa-xia-zai-wen-jian-su-du-ji-suan/) , [AFNetworking 3.0迁移指南](http://www.cocoachina.com/ios/20151022/13831.html) , [AFNetworking2.0源码解析<一>](http://www.cocoachina.com/ios/20140829/9480.html) 、[AFNetworking2.0源码解析<二>](http://www.cocoachina.com/ios/20140904/9523.html)、[AFNetworking源码解析<三>](http://www.cocoachina.com/ios/20140916/9632.html)、[AFNetworking源码解析<四>](http://www.cocoachina.com/ios/20141120/10265.html)。 * [YTKNetwork](https://github.com/yuantiku/YTKNetwork) - 是基于 AFNetworking 封装的 iOS网络库,提供了更高层次的网络访问抽象。相比AFNetworking,YTKNetwork提供了以下更高级的功能:按时间或版本号缓存网络请求内容、检查返回 JSON 内容的合法性、文件的断点续传、批量的网络请求发送、filter和插件机制等,猿题库出品. * [KJNetworkPlugin](https://github.com/yangKJ/KJNetworkPlugin) - 插件版网络请求可以更方便快捷的定制专属网络请求,并且支持批量操作,链式操作,功能清单:**1.支持基本的网络请求,下载上传文件 2.支持配置通用请求跟路径,通用参数等 3.支持设置加载和提示框插件 4.支持解析结果插件 4.支持网络缓存插件 5.支持配置自建证书插件 6.支持修改请求体和获取响应结果插件 7.支持自定义插件** * [RestKit](https://github.com/RestKit/RestKit) - RestKit是一款专为iOS设计的Objective-C框架,旨在与RESTful web服务的交互变得更简单快速。它基于强大的对象映射系统,并且结合了一个干净、简单的HTTP请求/响应API,大大减少了完成任务所需的代码量。 RestKit is a framework for consuming and modeling RESTful web resources on iOS and OS X * [HYBNetworking](https://github.com/CoderJackyHuang/HYBNetworking) - 基于AFN封装的网络库,可以通用。[基于AFNetworking封装网络库说明](http://www.henishuo.com/base-on-afnetworking-wrapper/)目前已经提供了通用的GET/POST、上传、下载API等。 * [LxFTPRequest](https://github.com/DeveloperLx/LxFTPRequest) - 支持获取FTP服务器资源列表,下载/上传文件,创建/销毁ftp服务器文件/目录,以及下载断点续传,下载/上传进度,自动判断地址格式合法性跟踪等功能!国人开发,QQ:349124555。 * [ASIHTTPRequest](https://github.com/pokeb/asi-http-request) - Easy to use CFNetwork wrapper for HTTP requests, Objective-C, macOS and iPhone. * [MutableUploadDemo](https://github.com/HHuiHao/MutableUploadDemo) - 模拟需求:图文混编,要求用户选择图片后就上传,可选择多图,并行上传,用户确定提交后后台执行,必须全部图片上传完才能提交文字。 * [WTRequestCenter](https://github.com/swtlovewtt/WTRequestCenter) - 方便缓存的请求库,提供了方便的HTTP请求方法,传入请求url和参数,返回成功和失败的回调。 UIKit扩展提供了许多不错的方法,快速缓存图片,图片查看,缩放功能, 颜色创建,设备UUID,网页缓存,数据缓存等功能。 无需任何import和配置,目前实现了基础需求。 * [MMWormhole](https://github.com/mutualmobile/MMWormhole) - Message passing between iOS apps and extensions 2个iOS设备之间通信。 * [STNetTaskQueue](https://github.com/kevin0571/STNetTaskQueue) - STNetTaskQueue Objective-C 可扩展网络请求管理库。 * [MZDownloadManager](https://github.com/mzeeshanid/MZDownloadManager) - 下载管理。 * [DVR](https://github.com/venmo/DVR) - 针对网络请求的测试框架,超实用的工具。且支持 iOS, OSX, watchOS 全平台。 * [HFDownLoad](https://github.com/hongfenglt/HFDownLoad) - iOS开发网络篇之文件下载、大文件下载、断点下载:NSData方式、NSURLConnection方式、NSURLSession下载方式 [下载方式具体的思路、区别见Blog](http://blog.csdn.net/hongfengkt/article/details/48290561) 。 * [PPNetworkHelper](https://github.com/jkpang/PPNetworkHelper) - AFN3.x与YYCache的二次封装,一句话搞定网络请求与缓存,和FMDB说拜拜. * [WANetworkRouting](https://github.com/Wasappli/WANetworkRouting) - An iOS library to route API paths to objects on client side with request, mapping, routing and auth layers * [Overcoat](https://github.com/Overcoat/Overcoat) - Small but powerful library that makes creating REST clients simple and fun. * [ROADFramework](https://github.com/epam/road-ios-framework) - Attributed-oriented approach for interacting with web services. The framework has built-in json and xml serialization for requests and responses and can be easily extensible. * [TWRDownloadManager](https://github.com/chasseurmic/TWRDownloadManager) - A modern download manager based on NSURLSession to deal with asynchronous downloading, management and persistence of multiple files. * [HappyDns](https://github.com/qiniu/happy-dns-objc) - A Dns library, support custom dns server, dnspod httpdns. Only support A record. * [Bridge](https://github.com/BridgeNetworking/Bridge) - A simple extensible typed networking library. Intercept and process/alter requests and responses easily. :large_orange_diamond: * [EVCloudKitDao](https://github.com/evermeer/EVCloudKitDao) - Simplified access to Apple's CloudKit :large_orange_diamond: * [Siesta](https://bustoutsolutions.github.io/siesta/) - Elegant abstraction for RESTful resources that untangles stateful messes. An alternative to callback- and delegate-based networking. :large_orange_diamond: * [OctopusKit](https://github.com/icoco/OctopusKit) - A simplicity but graceful solution for invoke RESTful web service APIs. * [EVURLCache](https://github.com/evermeer/EVURLCache) - a NSURLCache subclass for handling all web requests that use NSURLRequest :large_orange_diamond: * [ResponseDetective](https://github.com/netguru/ResponseDetective) - Sherlock Holmes of the networking layer. :large_orange_diamond: * [agent](https://github.com/hallas/agent) - Minimalistic Swift HTTP request agent for iOS and macOS :large_orange_diamond: * [Reach](https://github.com/Isuru-Nanayakkara/Reach) - A simple class to check for internet connection availability in Swift. :large_orange_diamond:、 * [SwiftHTTP](https://github.com/daltoniam/SwiftHTTP) - Thin wrapper around NSURLSession in swift. Simplifies HTTP requests. :large_orange_diamond: * [NetKit](https://github.com/azizuysal/NetKit) - A Concise HTTP Framework in Swift. :large_orange_diamond: * [MonkeyKing](https://github.com/nixzhu/MonkeyKing) - MonkeyKing helps you post messages to Chinese Social Networks. :large_orange_diamond: * [NetworkKit](https://github.com/imex94/NetworkKit) - Lightweight Networking and Parsing framework made for iOS, Mac, WatchOS and tvOS. :large_orange_diamond: * [APIKit](https://github.com/ishkawa/APIKit) - A networking library for building type safe web API client in Swift. :large_orange_diamond: * [SPTDataLoader](https://github.com/spotify/SPTDataLoader) - The HTTP library used by the Spotify iOS client. * [SWNetworking](https://github.com/skywite/SWNetworking) - Powerful high-level iOS, macOS and tvOS networking library. * [SOAPEngine](https://github.com/priore/SOAPEngine) - This generic SOAP client allows you to access web services using a your iOS app, macOS app and AppleTV app. * [Swish](https://github.com/thoughtbot/Swish) - Nothing but Net(working) :large_orange_diamond: * [Malibu](https://github.com/hyperoslo/Malibu) - :surfer: Malibu is a networking library built on promises :large_orange_diamond: * [UnboxedAlamofire](https://github.com/serejahh/UnboxedAlamofire) - Alamofire + Unbox: the easiest way to download and decode JSON into swift objects. :large_orange_diamond: * [MMLanScan](https://github.com/mavris/MMLanScan) - An iOS LAN Network Scanner library * [Domainer](https://github.com/FelixLinBH/Domainer) - Manage multi-domain url auto mapping ip address table * [Restofire](https://github.com/Restofire/Restofire) - Restofire is a protocol oriented network abstraction layer in swift that is built on top of Alamofire to use services in a declartive way :large_orange_diamond: * [AFNetworking+RetryPolicy](https://github.com/kubatruhlar/AFNetworking-RetryPolicy) - An objective-c category that adds the ability to set the retry logic for requests made with AFNetworking. * [Nikka](https://github.com/JustaLab/Nikka) - A super simple Networking wrapper that supports many JSON libraries, Futures and Rx :large_orange_diamond: ⌚ * [XMNetworking](https://github.com/kangzubin/XMNetworking) - A lightweight but powerful network library with simplified and expressive syntax based on AFNetworking. * [Merhaba](https://github.com/abdullahselek/Merhaba) - Bonjour networking for discovery and connection between iOS, macOS and tvOS devices. * [DBNetworkStack](https://github.com/dbsystel/DBNetworkStack) - Resource-oritented networking which is typesafe, extendable, composeable and makes testing a lot easier. :large_orange_diamond: * [EFInternetIndicator](https://github.com/ezefranca/EFInternetIndicator) - A little swift Internet error status indicator using ReachabilitySwift. :large_orange_diamond: * [AFNetworking-Synchronous](https://github.com/paulmelnikow/AFNetworking-Synchronous) - Synchronous requests for AFNetworking 1.x, 2.x, and 3.x. * [QwikHttp](https://github.com/logansease/QwikHttp) - a robust, yet lightweight and simple to use HTTP networking library designed for RESTful APIs. 🔶 * [NetClient](https://github.com/intelygenz/NetClient-iOS) - Versatile HTTP networking library written in Swift 3. :large_orange_diamond: * [Reactor](https://github.com/MailOnline/Reactor) - Powering your RAC architecture :large_orange_diamond: * [OHHTTPStubs](https://github.com/AliSoftware/OHHTTPStubs) - 轻松存网络的要求!测试你的应用程序使用假网络数据和定制的响应时间,响应代码和头部. #### socket@ * [CocoaAsyncSocket](https://github.com/robbiehanson/CocoaAsyncSocket) - 无疑是目前封装得最完善的Socket库了:支持异步TCP/UDP,支持GCD,Objective-C接口封装[使用教程](http://www.superqq.com/blog/2015/04/03/ioskai-fa-zhi-asyncsocketshi-yong-jiao-cheng/). * [SocketRocket](https://github.com/facebook/SocketRocket) - 一个非常不错的 Objective-C 的Socket库. * [AsyncSocket](https://github.com/roustem/AsyncSocket) - Asynchronous socket networking library for Mac and iOS. * [Socket通信](http://code.cocoachina.com/view/128711) - 通过AsyncSocket封装的Socket通讯方法,简单实用,通俗易懂,初学者不能错过. * [GCDAsyncSocket](https://github.com/eugenehp/GCDAsyncSocket) - GCDAsyncSocket , [不错的Demo](https://github.com/smalltask/TestTcpConnection). * [Starscream](https://github.com/daltoniam/Starscream) - Starscream is a conforming WebSocket (RFC 6455) library in Swift. #### 网络下载@ * [WHCNetWorkKit](https://github.com/netyouli/WHCNetWorkKit) - WHCNetWorkKit 是http网络请求开源库(支持GET/POST 文件上传 后台文件下载 UIButton UIImageView 控件设置网络图片 网络数据工具json/xml 转模型类对象网络状态监听). * [HSDownloadManager](https://github.com/HHuiHao/HSDownloadManager) - 下载音乐、视频、图片各种资源,支持多任务、断点下载. * [DGDownloadManager](https://github.com/liudiange/DGDownloadManager) - 下载的一个框架,支持断点续传、支持批量下载,支持ios和macOs,支持pod,可设置最大并发数量,可以暂停也可以恢复更可以取消. #### IM@ * [JSQMessagesViewController](https://github.com/jessesquires/JSQMessagesViewController) - 非常👍👍👍 的聊天界面框架. * [XMPPFramework](https://github.com/robbiehanson/XMPPFramework) - XMPPFramework openfire聊天. * [Signal-iOS](https://github.com/signalapp/Signal-iOS) - A private messenger for iOS. * [Messenger](https://github.com/relatedcode/Messenger) - This is a native iOS Messenger app, with audio/video calls and realtime chat conversations (full offline support). * [MessageDisplayKit](https://github.com/xhzengAIB/MessageDisplayKit) - 仿微信聊天,参考JSQMessagesViewController. * [SXTheQQ](https://github.com/dsxNiubility/SXTheQQ) - 用xmppFramework框架编写QQ程序,主要为了练习通讯的一些原理,界面比较渣 必须要先在本地配置好环境才可以运行。 * [ChatSecure](https://github.com/ChatSecure/ChatSecure-iOS) - 基于XMPP的iphone、android加密式聊天软件, [chatsecure官网](https://chatsecure.org/) 。 [iOS代码1](https://github.com/ChatSecure/ChatSecure-iOS),[iOS代码2](https://github.com/ChatSecure/ChatSecure-iOS), [iOS中文版](http://www.cocoachina.com/bbs/read.php?tid=153156). * [SunFlower](https://github.com/HanYaZhou1990/-SunFlower) - 环信聊天demo,比较多功能. * [MobileIMSDK](https://github.com/JackJiang2011/MobileIMSDK) - 一个专为移动端开发的原创即时通讯框架,超轻量级、高度提炼,完全基于UDP协议,支持iOS、Android、标准Java平台,服务端基于Mina和Netty编写. * [BlueTalk蓝牙聊天](http://code4app.com/ios/BlueTalk%E8%93%9D%E7%89%99%E8%81%8A%E5%A4%A9-%E6%89%8B%E6%9C%BA%E4%B9%8B%E9%97%B4/552b8190933bf0291e8b4748) - 以MultipeerConnectivity为基础, 实现了简单的蓝牙聊天. * [网易云信 iOS UI 组件](https://github.com/netease-im/NIM_iOS_UIKit) - 云信 UI 组件,全称 Netease Instant Message Kit,简称 NIMKit,是一款开源的聊天组件,并支持二次开发。开发者只需要稍作配置就可以打造出属于自己的聊天界面,而通过一些自定义的设置,也可以轻松添加业务相关的功能,如阅后即焚,红包,点赞等功能。NIMKit 底层依赖 NIMSDK,是一款由网易开发的 IM SDK,通过它可以轻松快速在你的 App 中集成 IM 功能. * [环信](http://www.easemob.com/) - 给开发者更稳定IM云功能。8200万用户考验,好用!(暂无及时语音、视频通话). * [融云](http://www.rongcloud.cn/) - 即时通讯云服务提供商。(暂无及时语音、视频通话). * [TeamTalk](https://github.com/meili/TeamTalk) - TeamTalk is a solution for enterprise IM. * [QQ界面](https://github.com/weida-studio/QQ) * [容联云通讯](http://www.yuntongxun.com) - 提供基于互联网通话,视频会议,呼叫中心/IVR,IM等通讯服务. * [RTCChatUI](https://github.com/Haley-Wong/RTCChatUI) - 仿QQ音视频通话效果. * [Telegram](https://github.com/peter-iakovlev/Telegram) - Telegram Messenger for iOS. #### 网络测试@ * [Reachability](https://github.com/tonymillion/Reachability) - 苹果提供过一个Reachability类,用于检测网络状态。但是该类由于年代久远,并不支持ARC。该项目旨在提供一个苹果的Reachability类的替代品,支持ARC和block的使用方式。[iOS网络监测如何区分2、3、4G](http://www.jianshu.com/p/efcfa3c87306) * [SimpleCarrier](https://github.com/crazypoo/SimpleCarrier) - 简单的运营商信息获取. * [NetworkEye](https://github.com/coderyi/NetworkEye) - 一个网络调试库,可以监控App内HTTP请求并显示请求相关的详细信息,方便App开发的网络调试。 * [RealReachability](https://github.com/dustturtle/RealReachability) - [iOS下的实际网络连接状态检测](http://www.cocoachina.com/ios/20160224/15407.html),解决“如何判断设备是否真正连上互联网?而不是只有网络连接”的问题。 * [LDNetDiagnoService_IOS](https://github.com/Lede-Inc/LDNetDiagnoService_IOS) IOS平台利用ping和traceroute的原理,对指定域名(通常为后台API的提供域名)进行网络诊断,并收集诊断日志. * [Netfox](https://github.com/kasketis/netfox) - A lightweight, one line setup, iOS / macOS network debugging library! :large_orange_diamond: #### WebView与WKWebView@ * [WebViewJavascriptBridge](https://github.com/marcuswestin/WebViewJavascriptBridge) - 是一个连接javascript和iOS Native交互的开源框架。使用它可以在UIWebview中响应事件并执行Native方法,也可以使用Native方法调用javascript方法, 正如其名,它好像已做桥梁连接了两端. * [MGTemplateEngine](https://github.com/mattgemmell/MGTemplateEngine) - MGTemplateEngine比较象 PHP 中的 Smarty、FreeMarker 和 Django的模版引擎,是一个轻量级的引擎,简单好用。只要设置很多不同的HMTL模版,就能轻松的实现一个View多种内容格式的显示,对于不熟悉HTML或者减轻 工作量而言,把这些工作让设计分担一下还是很好的,也比较容易实现设计想要的效果. * [GTMNSString-HTML](https://github.com/siriusdely/GTMNSString-HTML) - 谷歌开源的用于过滤HTML标签. * [D3Generator](https://github.com/mozhenhau/D3Generator/) - D3Generator根据dict字典生成对象。适用webview和push推送时,根据后台传回字典实现动态跳转.[实现说明](http://mozhenhau.com/2016/02/07/D3Generator实现万能跳转界面,UIWebview与js随意交互/). * [HybridPageKit](https://github.com/dequan1331/HybridPageKit) - 一个针对新闻类App高性能、易扩展、组件化的通用内容页实现框架. * [GRMustache](https://github.com/groue/GRMustache) - 一个类似templateEngine的html渲染工具,可以更加有效的帮助大家完成数据生成HTML的过程. * [iOS-WebView-JavaScript](https://github.com/shaojiankui/iOS-WebView-JavaScript) - iOS UIWebView,WKWebView 与 JavaScript的深度交互. * [WKWebView](https://github.com/XFIOSXiaoFeng/WKWebView) - OC版WKWebView 支持POST请求 加载本地页面 直接加载网页 JS交互 集成支付宝/微信URL支付功能 仿微信返回按钮. * [BAWKWebView](https://github.com/BAHome/BAWKWebView) - 用分类封装 WKWebView,一行代码搞定 request、URL、URLString、本地 HTML文件、HTMLString等请求,一个 block 搞定 title、progress、currentURL、当前网页的高度等等所需. * [WKWebView](https://github.com/Telerik-Verified-Plugins/WKWebView) - A drop-in replacement of UIWebView - useful until Apple release a bug-free WKWebView. * [Erik](https://github.com/phimage/Erik) - Erik is an headless browser based on WebKit. An headless browser allow to run functional tests, to access and manipulate webpages using javascript. :large_orange_diamond: * [react-native-webview](https://github.com/react-native-community/react-native-webview) - React Native Cross-Platform WebView. * [URLPreview](https://github.com/itsmeichigo/URLPreview) - An NSURL extension for showing preview info of webpages :large_orange_diamond: [e] * [AXWebViewController](https://github.com/devedbox/AXWebViewController) - AXWebViewController is a webViewController to browse web content inside applications. * [LYWebviewController](https://github.com/halohily/LYWebviewController) - 基于UIWebview-简书文章阅读页面的模仿demo. * [WKWebViewH5ObjCDemo](https://github.com/CoderJackyHuang/WKWebViewH5ObjCDemo) - 学习如何使用OC实现WKWebView与H5交互,并学习其API使用. * [PPHTMLImagePreviewDemo](https://github.com/smallmuou/PPHTMLImagePreviewDemo) - 该Repo用于演示APP中点击HTML的图片来预览图片的功能. * [WKWebViewExtension](https://github.com/dequan1331/WKWebViewExtension) - An extension for WKWebView. Providing menuItems delete 、support protocol 、clear cache of iOS8 and so on. * [ZFWKWebView](https://github.com/ICU-Coders/ZFWKWebView) - 一款封装较为全面的可自定义的WKWebViewController,用户友好,提供丰富的功能和JS交互 #### 网络解析@ * [ParseSourceCodeStudy](https://github.com/ChenYilong/ParseSourceCodeStudy) - Facebook开源的Parse源码分析【系列】. #### JSON@ * [MJExtension](https://github.com/CoderMJLee/MJExtension) - A fast, convenient and nonintrusive conversion between JSON and model. * [YYModel](https://github.com/ibireme/YYModel) - High performance model framework for iOS/OSX. * [jsonmodel](https://github.com/jsonmodel/jsonmodel) - Magical Data Modeling Framework for JSON - allows rapid creation of smart data models. You can use it in your iOS, macOS, watchOS and tvOS apps. * [JSONKit](https://github.com/johnezang/JSONKit) - JSONKit库是非常简单易用而且效率又比较高的,重要的JSONKit适用于ios 5.0以下的版本,使用JSONKit库来解析json文件,只需要下载JSONKit.h 和JSONKit.m添加到工程中;然后加入libz.dylib即可. * [JSONModel](https://github.com/icanzilb/JSONModel) - 解析服务器返回的Json数据的库,[JSONModel源码解析一](http://www.jianshu.com/p/3d795ea37835). * [Mantle](https://github.com/Mantle/Mantle) - Mantle主要用来将JSON数据模型化为OC对象, 大系统中使用。[为什么选择Mantle](http://blog.csdn.net/itianyi/article/details/40789273). * [RFJModel](https://github.com/refusebt/RFJModel) - RFJModel是一个IOS类库,可以将JSON字典自动装填到OBJC对象. * [XMLDictionary](https://github.com/nicklockwood/XMLDictionary) - ios与mac os平台下xml与NSDictionary相互转化开源类库. * [DDModel](https://github.com/openboy2012/DDModel) - a HTTP-JSON/XML-ORM-Persistent Object Kit. * [ambly](https://github.com/mfikes/ambly) - ClojureScript REPL into embedded JavaScriptCore. * [TouchJSON](https://github.com/TouchCode/TouchJSON) - JSon解析库(早已停止更新). * [JSON-Framework](https://github.com/stig/json-framework) - JSON(JavaScript对象符号)是一种轻量的数据交换格式,易于读写人类和计算机一样。该框架实现了用在Objective-C严格的JSON解析器和编码器. * [Groot](https://github.com/gonzalezreal/Groot) - From JSON to Core Data and back. * [KZPropertyMapper](https://github.com/krzysztofzablocki/KZPropertyMapper) - 可以帮助你在对象与Array、Dict数据间进行转换,尤其适用于将json对象转换成objective-c中的实体对象。作者还写了一篇文章[stop-writing-data-parsing-code-in-your-apps](http://merowing.info/2013/07/stop-writing-data-parsing-code-in-your-apps/)介绍它的使用. * [FastEasyMapping](https://github.com/Yalantis/FastEasyMapping) - 一个快速对json进行序列化和反序列化的工具. * [OCMapper](https://github.com/aryaxt/OCMapper) - Objective-C & Swift library to easily map NSDictionary to model objects, works perfectly with Alamofire. ObjectMapper works similar to GSON. * [Cereal](https://github.com/Weebly/Cereal) - 对象序列化三方库 Swift object serialization. * [SwiftyJSONAccelerator](https://github.com/insanoid/SwiftyJSONAccelerator) - json转model的三方库 Generate Swift model files from JSON using either SwiftyJSON or ObjectMapper. Supports NSCoding and provides method for JSON string representation of the model. * [Tyro](https://github.com/typelift/Tyro) - Functional JSON parsing and encoding :large_orange_diamond: * [Unbox](https://github.com/JohnSundell/Unbox) - The easy to use Swift JSON decoder :large_orange_diamond: * [JSONJoy-Swift](https://github.com/daltoniam/JSONJoy-Swift) - Convert JSON to Swift objects. :large_orange_diamond: * [LazyObject](https://github.com/iwasrobbed/LazyObject) - Lazily deserialize JSON into strongly typed Swift objects :large_orange_diamond: * [Elevate](https://github.com/Nike-Inc/Elevate) - Elevate is a JSON parsing framework that leverages Swift to make parsing simple, reliable and composable. :large_orange_diamond: * [AlamofireObjectMapper](https://github.com/tristanhimmelman/AlamofireObjectMapper) - An Alamofire extension which converts JSON response data into swift objects using ObjectMapper :large_orange_diamond: * [WAMapping](https://github.com/Wasappli/WAMapping) - 一个将字典和iOS对象相互转化的库. #### XML&HTML@ * [Ji](https://github.com/honghaoz/Ji) - XML/HTML parser for Swift. :large_orange_diamond: * [Ono](https://github.com/mattt/Ono) - A sensible way to deal with XML & HTML for iOS & OS X. * [AlamofireXmlToObjects](https://github.com/evermeer/AlamofireXmlToObjects) - Fetch a XML feed and parse it into objects :large_orange_diamond: * [Fuzi](https://github.com/cezheng/Fuzi) - A fast & lightweight XML & HTML parser in Swift with XPath & CSS support :large_orange_diamond: * [Kanna](https://github.com/tid-kijyun/Kanna) - Kanna(鉋) is an XML/HTML parser for MacOSX/iOS. :large_orange_diamond: * [SwiftyXMLParer](https://github.com/yahoojapan/SwiftyXMLParser) - Simple XML Parser implemented in Swift :large_orange_diamond: * [HTMLKit](https://github.com/iabudiab/HTMLKit) - An Objective-C framework for your everyday HTML needs. * [SWXMLHash](https://github.com/drmohundro/SWXMLHash) - Simple XML parsing in Swift :large_orange_diamond: #### 数据存储@ * [FMDB](https://github.com/ccgus/fmdb) - sqlite的工具. [多线程FMDatabaseQueue实例](https://github.com/tangqiaoboy/FmdbSample),[FMDB数据库的使用演示和封装工具类](https://github.com/liuchunlao/LVDatabaseDemo),[基于fmdb 的基本操作](http://code.cocoachina.com/view/128312) 通过 fmdb 进行的数据库的 基本操作(增删改查 )查找是使用 UISearchBar 和UISearchDisplayController 进行混合使用. * [GDataBase](https://github.com/GIKICoder/GDataBase) - 基于FMDB的ORM数据库存储解决方案. 面向模型和线程安全的API. 一句代码存储,读取.对存储模型无需继承BaseObject. 可自定义多主键,可使用sqlite关键字.可自定义序列化字段等.支持模型黑名单.支持数据库表存储value base64编/解码.对模型无侵入,只需遵守相关协议即可.极大方便项目中使用. * [WCDB](https://github.com/Tencent/wcdb) - Tencent:WCDB is an efficient, complete, easy-to-use mobile database framework for iOS, macOS. * [realm-cocoa](https://github.com/realm/realm-cocoa) - 一个号称要代替Core Data & SQLite的用于移动端的数据库,非常不错👍👍 ,同时支持Swift. * [YapDatabase](https://github.com/yapstudios/YapDatabase) - YapDatabase is an extensible database for iOS & Mac. * [CoreModel](https://github.com/CharlinFeng/CoreModel) - Replace CoreData. * [WHC_ModelSqliteKit](https://github.com/netyouli/WHC_ModelSqliteKit) - 专业的数据库存储解决方案. * [JQFMDB](https://github.com/gaojunquan/JQFMDB) - FMDB的封装,操作简单,线程安全,扩展性强,直接操作model或dictionary. * [RealmObjectEditor](https://github.com/Ahmed-Ali/RealmObjectEditor) - Realm Object Editor is a visual editor where you can create your Realm entities, attributes and relationships inside a nice user interface. Once you finish, you can save your schema document for later use and you can export your entities in Swift, Objective-C and Java. * [firebase-ios-sdk](https://github.com/firebase/firebase-ios-sdk) - Firebase是一家实时后端数据库创业公司,它能帮助开发者很快的写出Web端和移动端的应用。 自2014年10月Google收购Firebase以来,用户可以在更方便地使用Firebase的同时,结合Google的云服务. * [sqlitebrowser](https://github.com/sqlitebrowser/sqlitebrowser) - Official home of the DB Browser for SQLite (DB4S) project. Previously known as "SQLite Database Browser" and "Database Browser for SQLite". Website at: http://sqlitebrowser.org. * [GXDatabaseUtils](https://github.com/Gerry1218/GXDatabaseUtils) - 在FMDB基础上的工具. * [MagicalRecord](https://github.com/magicalpanda/MagicalRecord) - CoreData第一库,MagicalRecord就像是给Core Data提供了一层外包装,隐藏掉所有不相关的东西。 其中事务管理及查询是其比较大的亮点,整套 API 功能完整。 * [GKDatabase](https://github.com/ChrisCaixx/GKDatabase) - 基于SQLite3简单封装了下,实现了一行代码解决增删改查等常用的功能!并没有太过高深的知识,主要用了runtime和KVC:请看Demo~ 原理篇请看这里:[简书地址](http://www.jianshu.com/p/0e598147debc). * [CoreStore](https://github.com/AfryMask/AFBrushBoard) - Core Data 管理类库。 其中事务管理及查询是其比较大的亮点,整套 API 功能完整. * [mogenerator](http://rentzsch.github.io/mogenerator/) - mogenerator为你定义了的Core Data生成默认的数据类。与xCode不一样的是(xCode一个Entity只生成一个NSManagedObject的子类),mogenerator会为每一个Entity生成两个类。一个为机器准备,一个为人类准备。为机器准备的类一直去匹配data model。为人类准备的类就给你轻松愉快的去修改和保存. * [Presentation](https://github.com/hyperoslo/Presentation) - 重量级好项目 Presentation,它可以方便你制作定制的动画式教程、Release Notes、个性化演讲稿等. * [SQLCipher](https://github.com/sqlcipher/sqlcipher) - SQLCipher使用256-bit AES加密,SQLCipher分为收费版本和免费版本。[官方教程](https://www.zetetic.net/sqlcipher/ios-tutorial/), [加密你的SQLite](http://foggry.com/blog/2014/05/19/jia-mi-ni-de-sqlite/) - 各种sqlite数据库加密介绍。 [SQLCipherDemo下载](http://download.csdn.net/detail/wzzvictory_tjsd/7379055) 。 * [Couchbase Mobile](https://developer.couchbase.com/mobile/) - Couchbase document store for mobile with cloud sync. * [FCModel](https://github.com/marcoarment/FCModel) - An alternative to Core Data for people who like having direct SQL access. * [Zephyr](https://github.com/ArtSabintsev/Zephyr) - Effortlessly synchronize NSUserDefaults over iCloud. :large_orange_diamond: * [Storez](https://github.com/SwiftKitz/Storez) - Safe, statically-typed, store-agnostic key-value storage (with namespace support). :large_orange_diamond: * [ParseAlternatives](https://github.com/relatedcode/ParseAlternatives) - A collaborative list of Parse alternative backend service providers. * [TypedDefaults](https://github.com/tasanobu/TypedDefaults) - TypedDefaults is a utility library to type-safely use NSUserDefaults. :large_orange_diamond: * [realm-cocoa-converter](https://github.com/realm/realm-cocoa-converter) - A library that provides the ability to import/export Realm files from a variety of data container formats. :large_orange_diamond: * [RealmGeoQueries](https://github.com/mhergon/RealmGeoQueries) - RealmGeoQueries simplifies spatial queries with Realm Cocoa. In the absence of and official functions, this library provide the possibility to do proximity search. :large_orange_diamond:[e] * [ObjectiveRocks](https://github.com/iabudiab/ObjectiveRocks) - An Objective-C wrapper of Facebook's RocksDB - A Persistent Key-Value Store for Flash and RAM Storage. * [OHMySQL](https://github.com/oleghnidets/OHMySQL) - An Objective-C wrapper of MySQL C API. * [OneStore](https://github.com/muukii/OneStore) - A single value proxy for NSUserDefaults, with clean API. :large_orange_diamond: * [Nora](https://github.com/SD10/Nora) - Nora is a Firebase abstraction layer for working with FirebaseDatabase and FirebaseStorage. :large_orange_diamond: * [PersistentStorageSerializable](https://github.com/IvanRublev/PersistentStorageSerializable) - Swift library that makes easier to serialize the user's preferences (app's settings) with system User Defaults or Property List file on disk. :large_orange_diamond: * [StorageKit](https://github.com/StorageKit/StorageKit) - Your Data Storage Troubleshooter 🛠 . * [sequelpro](https://github.com/sequelpro/sequelpro) - MySQL/MariaDB database management for macOS. #### 缓存处理@ * [YTKKeyValueStore](https://github.com/yuantiku/YTKKeyValueStore) - Key-Value存储工具类,[说明](http://tangqiaoboy.gitcafe.io/blog/2014/10/03/opensouce-a-key-value-storage-tool/)。 * [JLKeychain](https://github.com/jl322137/JLKeychain) - 快捷使用keychain存储数据的类,使keychain像NSUserDefaults一样工作. * [UICKeyChainStore](https://github.com/kishikawakatsumi/UICKeyChainStore) - 封装keychain,使keychain像NSUserDefaults一样简单. * [sskeychain](https://github.com/soffes/sskeychain) - SSKeyChains对苹果安全框架API进行了简单封装,支持对存储在钥匙串中密码、账户进行访问,包括读取、删除和设置. * [KeychainAccess](https://github.com/kishikawakatsumi/KeychainAccess) - 管理Keychain接入的小助手. * [YYCache](https://github.com/ibireme/YYCache) - 高性能的 iOS 缓存框架. * [RuntimeDemo](https://github.com/CoderJackyHuang/RuntimeDemo) - runtime自动归档/解档,[源码分析](http://www.henishuo.com/runtime-archive-unarchive-automaticly/). * [PINCache](https://github.com/pinterest/PINCache) - 适用于 iOS,tvOS 和 OS X 的快速、无死锁的并行对象缓存框架. #### 序列化@ * [FastCoding](https://github.com/nicklockwood/FastCoding) - 是用来替代OSX及iOS中默认的序列化实现。它结构简单(仅头文件和.m文件两个)、支持ARC,线程安全,速度较内置实现更快. #### coreData@ * [CWCoreData](https://github.com/jayway/CWCoreData) - Additions and utilities to make it concurrency easier with the Core Data framework. * [ObjectiveRecord](https://github.com/supermarin/ObjectiveRecord) - ActiveRecord for Objective-C. * [SSDataKit](https://github.com/soffes/SSDataKit) - Eliminate your Core Data boilerplate code. * [ios-queryable](https://github.com/martydill/ios-queryable) - ios-queryable is an implementation of IQueryable/IEnumerable for Core Data. * [Ensembles](https://github.com/drewmccormack/ensembles) - A synchronization framework for Core Data. * [SLRESTfulCoreData](https://github.com/OliverLetterer/SLRESTfulCoreData) - Objc naming conventions, autogenerated accessors at runtime, URL substitutions and intelligent attribute mapping. * [Mogenerator](https://github.com/rentzsch/mogenerator) - Automatic Core Data code generation. * [HardCoreData](https://github.com/Krivoblotsky/HardCoreData) - CoreData stack and controller that will never block UI thread. * [encrypted-core-data](https://github.com/project-imas/encrypted-core-data) - Core Data encrypted SQLite store using SQLCipher. * [MagicalRecord](https://github.com/magicalpanda/MagicalRecord) - Super Awesome Easy Fetching for Core Data. * [QueryKit](https://github.com/QueryKit/QueryKit) - A simple type-safe Core Data query language. :large_orange_diamond: * [CoreStore](https://github.com/JohnEstropia/CoreStore) - Powerful Core Data framework for Incremental Migrations, Fetching, Observering, etc. :large_orange_diamond: * [Core Data Query Interface](https://github.com/prosumma/CoreDataQueryInterface) - A type-safe, fluent query framework for Core Data. :large_orange_diamond: * [CoreDataDandy](https://github.com/fuzz-productions/CoreDataDandy) - A feature-light wrapper around Core Data that simplifies common database operations. :large_orange_diamond: * [CoreDataStack](https://github.com/bignerdranch/CoreDataStack) - The Big Nerd Ranch Core Data Stack :large_orange_diamond: * [Skopelos](https://github.com/albertodebortoli/Skopelos) - A minimalistic, thread safe, non-boilerplate and super easy to use version of Active Record on Core Data. Simply all you need for doing Core Data. Swift flavour. :large_orange_diamond: * [DataKernel](https://github.com/mrdekk/DataKernel) - Simple CoreData wrapper to ease operations. :large_orange_diamond: * [JustPersist](https://github.com/justeat/JustPersist) - JustPersist is the easiest and safest way to do persistence on iOS with Core Data support out of the box. * [PrediKit](https://github.com/KrakenDev/PrediKit) - An NSPredicate DSL for iOS, macOS, tvOS, & watchOS. Inspired by SnapKit and lovingly written in Swift. :large_orange_diamond: #### 动画@ * [lottie-ios](https://github.com/airbnb/lottie-ios) - 非常赞 一个用来渲染After Effects矢量动画的iOS库,同时支持iOS,Android与ReactNative的开发. * [AIAnimationDemo](https://github.com/aizexin/AIAnimationDemo) - 非常不错的一个各种动画Demo集合库👍👍 . * [pop](https://github.com/facebook/pop) - facebook出品的非常赞的动画引擎. * [AwesomeMenu](https://github.com/levey/AwesomeMenu) - 该项目主要是使用 CoreAnimation 还原了 Path menu 的动画效果 Path 2.0 menu using CoreAnimation :) https://github.com/levey/AwesomeMenu * [MMTweenAnimation](https://github.com/adad184/MMTweenAnimation) - 一个基于 POP 的扩展,提供了 10 种自定义的动效. * [XHLaunchAd](https://github.com/CoderZhuXH/XHLaunchAd) - XHLaunchAd开机启动广告解决方案-支持静态/动态图片广告,mp4视频广告,全屏/半屏广告、兼容iPhone/iPad. * [Core Animation笔记,基本的使用方法](http://www.starming.com/index.php?v=index&view=62) - Core Animation笔记,基本的使用方法:1.基本动画,2.多步动画,3.沿路径的动画,4.时间函数,5.动画组. * [awesome-ios-animation](https://github.com/sxyx2008/awesome-ios-animation) - [iOS Animation 主流炫酷动画框架(特效)收集整理](https://github.com/sxyx2008/DevArticles/issues/91) 收集整理了下iOS平台下比较主流炫酷的几款动画框架. * [TABAnimated](https://github.com/tigerAndBull/TABAnimated) - 一个由iOS原生组件映射出骨架屏的框架,包含快速植入,低耦合,兼容复杂视图等特点,提供国内主流骨架屏动画的加载方案,同时支持自定制动画. * [AGGeometryKit](https://github.com/agens-no/AGGeometryKit) - 几何图形框架,把AGGeometryKit和POP结合起来使用,可实现非常棒的动态和动画. * [FleaMarket](https://github.com/SunLiner/FleaMarket) - "咸鱼"新特性-视频动画. * [JHChainableAnimations](https://github.com/jhurray/JHChainableAnimations) - 在应用中采用链式写出酷炫的动画效果, 使代码更加清晰易读,利用block实现的链式编程,同时支持Swift. * [awesome-animation](https://github.com/Animatious/awesome-animation) - 动效库. * [BCMagicTransition](https://github.com/boycechang/BCMagicTransition) - 一个动效框架,用于自定义UINavigationController的切换动画,效果类似 Keynote 软件中 Magic Move 切换。它可以用于任意两个UIViewController之间,只需指定两个VC中的相同元素即可. * [popping](https://github.com/schneiderandre/popping) - popping是一个POP使用实例工程. * [MMTweenAnimation](https://github.com/adad184/MMTweenAnimation) - facebook POP的自定义动画扩展(基于POPCustomAnimation) 提供10种函数式动画. * [ZQLRotateMenu](https://github.com/zangqilong198812/ZQLRotateMenu) - 这是一个旋转视图的选择器. * [CoolLoadAniamtion](https://github.com/zangqilong198812/CoolLoadAniamtion) - 一个简单但是效果不错的loading动画. * [Animations](https://github.com/YouXianMing/Animations) - The Animation Collection. * [JSDownloadView](https://github.com/Josin22/JSDownloadView) - 精巧顺滑的下载动画. * [SYAppStart](https://github.com/yushuyi/SYAppStart) - App启动插画的自定义过度. * [VJDeviceSpecificMedia](https://github.com/victorjiang/UIImage-VJDeviceSpecificMedia/) - [如何根据设备选择不同尺寸的图片](http://www.imooc.com/wenda/detail/249271) 可以通过设置不同尺寸设备的LaunchImage,来使得App适配这些设备,要是在不同不同尺寸设备上使用不同大小的图片,则需要在代码中一一判断,然后加载. * [KYBezierBounceView](https://github.com/KittenYang/KYBezierBounceView) - 手势控制贝塞尔曲线,取消手势贝塞尔曲线会有反弹效果. * [cadisplaylinkanduibezierpath](http://kittenyang.com/cadisplaylinkanduibezierpath/) - CADisplayLink结合UIBezierPath的神奇妙用. * [KYCuteView](https://github.com/KittenYang/KYCuteView) - 实现类似QQ消息拖拽消失的交互+GameCenter的浮动小球效果,[分析](http://kittenyang.com/drawablebubble/). * [KYWaterWaveView](https://github.com/KittenYang/KYWaterWaveView) - 一个内置波浪动画的UIView,里面有鱼跳跃水溅起来的效果. * [KYPingTransition](https://github.com/KittenYang/KYPingTransition) - 实现圆圈放大放小的转场动画,可以根据自己的需要使用Paper中的弹性效果,有Material风格. * [KYNewtonCradleAnimiation](https://github.com/KittenYang/KYNewtonCradleAnimiation) - 牛顿摆动画. * [LayerPlayer](https://github.com/scotteg/LayerPlayer) - 一款全面展示核心动画 API 示例项目(上架应用)。包括 CALayer, CAScrollLayer, CATextLayer, AVPlayerLayer, CAGradientLayer, CAReplicatorLayer, CATiledLayer, CAShapeLayer, CAEAGLLayer, CATransformLayer, CAEmitterLayer 等使用的互动演示. * [KYShareMenu](https://github.com/KittenYang/KYShareMenu) - 带弹性动画的分享菜单. * [Context-Menu.iOS](https://github.com/Yalantis/Context-Menu.iOS) - 可以为app的菜单添加漂亮的动画内容,可自定义icon,并可根据自己的喜好设计单元格和布局. * [DeformationButton](https://github.com/LuciusLu/DeformationButton) - 一个简单的变换形状动画按钮. * [UnReadBubbleView](https://github.com/heroims/UnReadBubbleView) - UnReadBubbleView是一个能够拖拽并拉长的气泡视图。拖拽到一定的长度会消失,可以通过系数设置来控制拖拽的长度。气泡也支持多种属性设置。 * [PPDragDropBadgeView](https://github.com/smallmuou/PPDragDropBadgeView) - 实现了类似于QQ 5.0 水滴拖拽效果. 支持iOS 5.0+ ARC,气泡能够带有数字标识,同时支持消失block方法。消失时还带有消失效果动画。 * [GiftCard-iOS](https://github.com/MartinRGB/GiftCard-iOS) - 礼品卡购买的炫酷动画. * [GiftCard-Implementation](https://github.com/MartinRGB/GiftCard-iOS) - 购买的炫酷动画. * [KIPageView](https://github.com/smartwalle/KIPageView) - 无限循环PageView,横向TableView,无限轮播. * [简单实用的无限循环轮播图](http://code.cocoachina.com/view/128288) - 简单实用的无限循环轮播图. * [CPInfiniteBanner](https://github.com/crespoxiao/CPInfiniteBanner) - 是一个循环播放的组件,可以左右无缝滑动,3个imageview实现。[高效图片轮播,两个ImageView实现](http://ios.jobbole.com/84711/). * [XTLoopScroll](https://github.com/Akateason/XTLoopScroll) - 用两个 timer 三个重用的 view 实现无限循环 scrollView,1自动轮播 2点击监听回调当前图片 3手动滑动后重新计算轮播的开始时间, 良好的用户体验. * [HotGirls](https://github.com/zangqilong198812/HotGirls) - 卡片动画. * [Ease](https://github.com/roberthein/Ease) - Animate everything with Ease. * [KYAnimatedPageControl](https://github.com/KittenYang/KYAnimatedPageControl) - 除了滚动视图时PageControl会以动画的形式一起移动,点击目标页还可快速定位。支持两种样式:粘性小球和旋转方块。 * [Presentation](https://github.com/hyperoslo/Presentation) - 一个类似RazzleDazzle的框架. * [FillableLoaders](https://github.com/poolqf/FillableLoaders) - 基于 CGPaths 可定制个性化填空式装载类库。附水波上涨式示例. * [SXWaveAnimate](https://github.com/dsxNiubility/SXWaveAnimate) - 实现非常美观的灌水动画. * [LSPaomaView](https://github.com/liusen001/LSPaomaView) - 可循环滚动的较长文字,跑马灯,效果很好,一句话集成. * [Cheetah](https://github.com/suguru/Cheetah) - 易用、高可读链式动画类库。另一个类似类库是 [DKChainableAnimationKit](https://github.com/Draveness/DKChainableAnimationKit). * [CKWaveCollectionViewTransition](https://github.com/CezaryKopacz/CKWaveCollectionViewTransition) - swift, UICollectionViewController之间切换的动画. * [TKSubmitTransition](https://github.com/entotsu/TKSubmitTransition) - 基于 UIButton 的登录加载、返回按钮转场动画组件及示例. * [ARAnimation](https://github.com/AugustRush/ARAnimation) - ARAnimation 对 Core Animation 进行了封装, 帮助 iOS 开发者能更加便捷的在项目中使用动画. * [渐变特效文字](http://code.cocoachina.com/view/127174) - 做了一个仿iPhone的移动滑块来解锁的渐变特效文字,还有一个类似ktv歌词显示的文字特效. * [HYAwesomeTransition](https://github.com/nathanwhy/HYAwesomeTransition) - 模仿格瓦拉的转场效果. * [RYCuteView](https://github.com/Resory/RYCuteView) - 用UIBezierPath实现果冻效果。 [教程](http://www.jianshu.com/p/21db20189c40) * [STLBGVideo](https://github.com/StoneLeon/STLBGVideo) - STLBGVideo让您的视图控制器的自定义backgroundvideo,[实现说明1](http://www.jianshu.com/p/c4704c086b67)、[实现说明2](http://www.jianshu.com/p/3dcebf0493d1). * [MYBlurIntroductionView](https://github.com/MatthewYork/MYBlurIntroductionView) - 方便好用的引导类库,在App注册登录页面可以用到. * [ZFCityGuides](https://github.com/WZF-Fei/ZFCityGuides) - 实现City Guides的动画效果,数字动态变化的动画效果. * [INPopoverController](https://github.com/indragiek/INPopoverController) - OS X可自由定制的 Popover 视图. * [WZXJianShuPopDemo](https://github.com/Wzxhaha/WZXJianShuPopDemo) - 仿简书、淘宝等等的View弹出效果,已封装好,使用简单。[实现原理](http://www.jianshu.com/p/a697d2a38b3c) * [LSAnimator](https://github.com/Lision/LSAnimator) - 非侵入式的多链式动画. * [PearlSaver](https://github.com/insidegui/PearlSaver) - Face ID detection animation as a screensaver. * [DGWaveLoadingTool](https://github.com/liudiange/DGWaveLoadingTool) - 实现的功能类似于百度贴吧的波浪动画. * [Tencent-vap](https://github.com/Tencent/vap) - VAP(Video Animation Player)是企鹅电竞开发,用于播放酷炫动画的实现方案. #### 转场动画@ * [RZTransitions](https://github.com/Raizlabs/RZTransitions) - A library of custom iOS View Controller Animations and Interactions. * [AnimatedTransitionGallery](https://github.com/shu223/AnimatedTransitionGallery) - A gallery app of custom animated transitions for iOS. * [VCTransitionsLibrary](https://github.com/ColinEberhardt/VCTransitionsLibrary) - 不错的转场动画库. * [WXSTransition](https://github.com/alanwangmodify/WXSTransition) - 转场动画集合. #### 多媒体@ #### 音频@ * [KTVHTTPCache](https://github.com/ChangbaDevs/KTVHTTPCache) - 唱吧出品音视频在线播放缓存框架. * [AudioKit](https://github.com/AudioKit/AudioKit) - Swift audio synthesis, processing, & analysis platform for iOS, macOS and tvOS. * [ESTMusicPlayer](https://github.com/Aufree/ESTMusicPlayer) - 一个简洁、易用的音乐播放器. * [EZAudio](https://github.com/syedhali/EZAudio) - EZAudio 是一个 iOS 和 OSX 上简单易用的音频框架,根据音量实时显示波形图,基于Core Audio,适合实时低延迟音频处理,非常直观。[中文介绍](https://segmentfault.com/blog/news/1190000000370957),[官网](http://www.syedharisali.com/about). * [novocaine](https://github.com/alexbw/novocaine) - 高性能的音频,支持iOS and Mac OS X. * [ROMPlayer](https://github.com/AudioKit/ROMPlayer) - AudioKit Sample Player (ROM Player) - EXS24, Sound Font, Wave Player. * [SubtleVolume](https://github.com/andreamazz/SubtleVolume) - 用更微妙的指示器替换系统卷弹出窗口. * [NVDSP](https://github.com/bartolsthoorn/NVDSP) - iOS/OSX DSP for audio (with Novocaine). * [IQAudioRecorderController](https://github.com/hackiftekhar/IQAudioRecorderController) - 一个可以内置App的、通用的、带有漂亮的用户界面音频录制程序. * [QuietModemKit](https://github.com/quiet/QuietModemKit) - 静态调制解调器的iOS框架(声音数据). * [IOS录音和播放功能demo](http://d.cocoachina.com/code/detail/285717) - 比较完整的ios录音和播放功能的实现. * [MCAudioInputQueue](https://github.com/msching/MCAudioInputQueue) - 简易录音类,基于AudioQueue的. * [MusicPlayert](https://github.com/liuFangQiang/MusicPlayer) - MusicPlayert音乐播放器,用reveal可以查看层次关系,主要实现了歌词的同步显示. * [音乐播放器](http://code.cocoachina.com/view/129435) - 音乐播放器:显示歌词. * [amr](http://www.penguin.cz/~utx/amr) - 做即时通讯的音频处理,录音文件是m4a,便于web端的音频播放. * [边录音边转码](http://code4app.com/ios/%E8%BE%B9%E5%BD%95%E9%9F%B3%E8%BE%B9%E8%BD%AC%E7%A0%81/521c65d56803fab864000001) - 一边录音,一边将录制成的 wav 格式音频文件转码成 amr 音频格式。只支持真机运行调试. * [DFPlayer](https://github.com/ihoudf/DFPlayer) - 简单又灵活的iOS音频播放组件. #### 视频@ #### 视频播放@ * [FFmpeg](https://github.com/FFmpeg/FFmpeg) - 一个处理多媒体数据的开源、免费的库,可以用来记录、转换数字音频、视频,并能将其转化为流. [ffmpeg](http://ffmpeg.org/) - ffmpeg官网,[FFmpeg在iOS上完美编译](http://www.cocoachina.com/ios/20150514/11827.html). * [vlc](https://github.com/videolan/vlc) - VLC media player. * [mpv](https://github.com/mpv-player/mpv) - 非常👍👍👍 🎥 Video player based on MPlayer/mplayer2. * [ijkplayer](https://github.com/Bilibili/ijkplayer) - 非常赞 B站开源的视频播放器,支持Android和iOS. [iOS中集成ijkplayer视频直播框架](http://www.jianshu.com/p/1f06b27b3ac0)。 * [ZFPlayer](https://github.com/renzifeng/ZFPlayer) - 非常赞 基于AVPlayer,支持横屏、竖屏(全屏播放还可锁定屏幕方向),上下滑动调节音量、屏幕亮度,左右滑动调节播放进度. * [WMPlayer](https://github.com/zhengwenming/WMPlayer) 赞 WMPlayer视频播放器,AVPlayer的封装,继承UIView,想怎么玩就怎么玩。支持播放mp4、m3u8、3gp、mov,网络和本地视频同时支持。全屏和小屏播放同时支持。 cell中播放视频,全屏小屏切换自如. * [KJPlayer](https://github.com/yangKJ/KJPlayerDemo) - 目前已封装三种内核:AVPlayer内核、IJKPlayer内核、MIDIPlayer内核,视频播放壳子:动态切换内核,支持边下边播边缓存的播放器方案,支持试看、跳过片头片尾、自动记忆上次播放时间、手势操作锁定屏幕等等日常播放器功能。 * [XCDYouTubeKit](https://github.com/0xced/XCDYouTubeKit) - 一个能够在国内播放YouTube视频的播放器. * [MRVLCPlayer](https://github.com/Maru-zhang/MRVLCPlayer) - 相信Mac用户都很熟悉一款VLC播放器,这款播放器在Mac上表现异常优异,支持的格式几乎涵盖了所有格式(就是这么屌!)。没错,就是它创造者--VideoLAN,开源了一款牛逼的视频播放框架MobileVLCKit![介绍信息:] (http://gold.xitu.io/entry/578c304b2e958a0054320503?from=singlemessage&isappinstalled=1). * [plask](https://github.com/deanm/plask) - Plask is a multimedia programming environment. * [KRVideoPlayer](https://github.com/36Kr-Mobile/KRVideoPlayer) - 36Kr出品的类似Weico的播放器,支持竖屏模式下全屏播放. * [JPVideoPlayer](https://github.com/Chris-Pan/JPVideoPlayer) - 类似微博主页在列表中自动播放视频. * [HcdCachePlayer](https://github.com/Jvaeyhcd/HcdCachePlayer) - 在线视频边下边播,支持缓存到本地. * [bilibili-mac-client](https://github.com/typcn/bilibili-mac-client) - 👍 bilibili非官方的mac客户端. * [PBJVideoPlayer](https://github.com/piemonte/PBJVideoPlayer) - 一个易用的流媒体播放器. * [KrVideoPlayerPlus](https://github.com/PlutusCat/KrVideoPlayerPlus) - 根据36Kr开源的KRVideoPlayer 进行修改和补充实现一个轻量级的视频播放器,满足大部分视频播放需求. * [PKShortVideo](https://github.com/pepsikirk/PKShortVideo) - iOS仿微信小视频功能开发优化记录. * [SGPlayer](https://github.com/libobjc/SGPlayer) - A powerful media player framework for iOS, macOS, and tvOS. Support 360° panorama video, VR video. RTMP streaming. * [AVAnimator](http://www.modejong.com/AVAnimator/) - 一个不错的原生的开源视频库,可以轻松实现视频、音频的功能. * [SSVideoPlayer](https://github.com/immrss/SSVideoPlayer) - 一个支持本地和网络视频播放的库. * [SRGMediaPlayer-iOS](https://github.com/SRGSSR/SRGMediaPlayer-iOS) - 一个提供简洁的方法为iOS应用添加通用的音频、视频播放的库. * [ABMediaView](https://github.com/andrewboryk/ABMediaView) - 一个UIImageView的子类,可以播放本地和来源于网络的图片、视频、GIF和音频,可以最小化和全屏,同时支持视频设置GIF预览图. * [kxmovie](https://github.com/kolyvan/kxmovie) - 使用ffmpeg的影片播放器,[修改说明](http://www.cocoachina.com/bbs/read.php?tid=145575), [修改代码](https://github.com/kinglonghuang),[基于FFmpeg的kxMoive艰难的编译运行](https://github.com/namebryant/FFmpeg-Compilation). * [JPVideoPlayer](https://github.com/newyjp/JPVideoPlayer) - Automatic play video in UITableView like Weibo home page in main thread and never block it. * [StreamingKit](https://github.com/tumtumtum/StreamingKit) - StreamingKit流媒体音乐播放器. * [FreeStreamer](https://github.com/muhku/FreeStreamer) - FreeStreamer流媒体音乐播放器,cpu占用非常小. * [DOUAudioStreamer](https://github.com/douban/DOUAudioStreamer) - DOUAudioStreamer豆瓣的音乐流媒体播放器. * [fmpro](https://github.com/fmpro/fmpro) - 电台播放器,支持锁屏歌词,支持基本播放流程,歌词展示,后台锁屏播放和控制以及锁屏后封面+歌词,[fmpro_R](https://github.com/jovisayhehe/fmpro_R) . * [TBPlayer](https://github.com/suifengqjn/TBPlayer) - 视频变下变播,把播放器播放过的数据流缓存到本地,支持拖动,采用avplayer.[实现说明](http://www.jianshu.com/p/990ee3db0563). * [IWatch](https://github.com/280772270/IWatch) - 一个视频日报类的app 播放器用到了AVFoudation. * [自定义视频播放器AVPlayer](http://code.cocoachina.com/view/128253) - 利用系统类AVPlayer实现完全自定义视频播放器,显示播放时间,缓存等功能。代码清晰,注释详细. * [DraggableYoutubeFloatingVideo](https://github.com/vizllx/DraggableYoutubeFloatingVideo) - 展示像类似Youtube移动应用的那种浏览视频的效果,当点击某视频时能够从右下方弹出一个界面,并且该界面能够通过手势,再次收缩在右下方并继续播放,通过AutoLayout设计实现. * [SRGMediaPlayer-iOS](https://github.com/SRGSSR/SRGMediaPlayer-iOS) - The SRG Media Player library for iOS provides a simple way to add a universal audio / video player to any iOS application. * [ios-360-videos](https://github.com/NYTimes/ios-360-videos) - NYT360Video plays 360-degree video streamed from an AVPlayer on iOS. * [GAPlayer](https://github.com/CodeisSunShine/GAPlayer) - 播放器内核为IJKPlayer和AVPlayer(一句代码切换内核) 支持M3U8/MP3/MP4等格式本地/在线播放,支持片头/片尾广告等功能齐全的播放器. * [KJPlayer](https://github.com/yangKJ/KJPlayerDemo) - KJPlayer是一款视频播放器,AVPlayer的封装,继承UIView。支持播放网络和本地视频、播放多种格式,视频边下边播、优先播放缓存视频,支持拖动、手势快进倒退、增大减小音量、重力感应切换横竖屏等等 #### 视频处理@ * [BeautifyFaceDemo](https://github.com/Guikunzhi/BeautifyFaceDemo) - 一个基于 GPUImage 的实时直播磨皮滤镜的开源实现,主要功能脸部去斑磨皮. * [simplest_ffmpeg_mobile](https://github.com/leixiaohua1020/simplest_ffmpeg_mobile) ffmpeg examples in Android / IOS / WinPhone. * [WAVideoBox](https://github.com/CoderHenry66/WAVideoBox) - 秒级! 三行代码实现iOS视频压缩、变速、混音、合并、GIF水印、旋转、换音、裁剪 ! 支持不同分辩率,支持你能想到的各种混合操作! 扩展性强...更多功能不断增加中. #### 视频录制@ * [SCRecorder](https://github.com/rFlex/SCRecorder) - 酷似 Instagram/Vine 的音频/视频摄像记录器,以 Objective-C 为基础的过滤器框架。 你可以做很多如下的操作:记录多个视频录像片段。删除任何你不想要的记录段。可以使用任何视频播放器播放片段。保存的记录可以在序列化的 NSDictionary 中使用。(在 NSUserDefaults 的中操作)添加使用 Core Image 的视频滤波器。可自由选择你需要的 parameters 合并和导出视频. * [LLSimpleCamera](https://github.com/omergul123/LLSimpleCamera) - 视频录制 A simple, customizable camera control - video recorder for iOS. * [SlowMotionVideoRecorder](https://github.com/shu223/SlowMotionVideoRecorder) - 120 fps SLO-MO video recorder using AVFoundation. Including convenient wrapper class. Available on the iPhone5s. * [PBJVision](https://github.com/piemonte/PBJVision) - iOS媒体捕获,点击录制视频,显示运动和照片. * [ALCameraViewController](https://github.com/AlexLittlejohn/ALCameraViewController) - ALCameraViewController 摄像头视图控制器(含可定制照片选择器,图片简单裁切功能)及演示. * [VideoBeautify](https://github.com/xujingzhou/VideoBeautify) - 功能酷似美拍,秒拍等应用的源码:对视频进行各种美化处理,采用主题形式进行分类,内含各种滤镜,动画特效和音效等. * [IPDFCameraViewController](https://github.com/mmackh/IPDFCameraViewController) - 支持相机定焦拍摄、滤镜、闪光、实时边框检测以及透视矫正功能,并有简单易用的API. #### 视频剪切@ * [ICGVideoTrimmer](https://github.com/itsmeichigo/ICGVideoTrimmer) - ICGVideoTrimmer提供提供视频剪切的视图(类似系统相册中浏览视频时顶部那个条状视图),左右两个边界选择器还能够自定义. * [VideoEditing](https://github.com/ShelinShelin/VideoEditing) - Video processing of the video capture and add background music. #### 直播@ * [LFLiveKit](https://github.com/LaiFengiOS/LFLiveKit) - 开源遵循RTMP协议的直播SDK. * [MiaowShow](https://github.com/SunLiner/MiaowShow) - iOS视频直播项目 http://www.jianshu.com/users/9723687edfb5. * [LMLiveStreaming](https://github.com/chenliming777/LMLiveStreaming) - iOS Live,H264 and AAC Hard coding,support GPUImage Beauty, rtmp and flv transmission,weak network lost frame,Dynamic switching rate [参考文档](http://www.jianshu.com/p/b8db6c142aad). * [PLPlayerKit](https://github.com/pili-engineering/PLPlayerKit) - PLPlayerKit 是 Pili 直播 SDK 的 iOS 播放器。支持所有直播常用的格式,如:RTMP、HLS、FLV。拥有优秀的功能和特性,如:首屏秒开、追帧优化、丰富的数据和状态回调、硬解软解支持。而且可以根据自己的业务进行高度定制化开发. * [PLMediaStreamingKit](https://github.com/pili-engineering/PLMediaStreamingKit) - PLMediaStreamingKit 是 Pili 直播 SDK 的 iOS 推流端,支持 RTMP 推流,h.264 和 AAC 编码,硬编、软编支持。具有丰富的数据和状态回调,方便用户根据自己的业务定制化开发。具有直播场景下的重要功能,如:美颜、背景音乐、水印等功能. * [520Linkee](https://github.com/GrayJIAXU/520Linkee) - 本项目实现了作为一个直播App的基本功能,比如本地视频流采集、播放、美颜、礼物、点赞出心等. * [LMLiveStreaming](https://github.com/chenliming777/LMLiveStreaming) - iOS直播,支持H246/AAC,支持GPUImage美化,支持rtmp和flv,较慢的网络优化. * [直播技术的总结](https://github.com/tiantianlan/LiveExplanation) * [Tencent-NOW](https://github.com/ChinaArJun/Tencent-NOW) - iOS视频直播:高仿 腾讯旗下 < NOW > 直播 类似 映客 斗鱼 直播类型 喜欢的记点star谢谢 IOS Live video. #### 弹幕@ * [BarrageRenderer](https://github.com/unash/BarrageRenderer) - 一个 iOS 上的弹幕渲染库. * [LiveSendGift](https://github.com/Jonhory/LiveSendGift) - 直播发送弹幕效果. * [HJDanmakuDemo](https://github.com/panghaijiao/HJDanmakuDemo) - iOS端视频弹幕. #### GIF@ * [FLAnimatedImage](https://github.com/Flipboard/FLAnimatedImage) - 高性能GIF动画引擎. * [YLGIFImage](https://github.com/liyong03/YLGIFImage) - 异步方式实现突Gif突破编码、显示,低内存占用. * [AnimatedGIFImageSerialization](https://github.com/mattt/AnimatedGIFImageSerialization) - Complete Animated GIF Support for iOS, with Functions, NSJSONSerialization-style Class, and (Optional) UIImage Swizzling. * [XAnimatedImage](https://github.com/khaledmtaha/XAnimatedImage) - XAnimatedImage is a performant animated GIF engine for iOS written in Swift based on FLAnimatedImage :large_orange_diamond: * [SwiftGif](https://github.com/bahlo/SwiftGif) - :sparkles: A small UIImage extension with gif support :large_orange_diamond: * [APNGKit](https://github.com/onevcat/APNGKit) - High performance and delightful way to play with APNG format in iOS. :large_orange_diamond: * [YYImage](https://github.com/ibireme/YYImage) - Image framework for iOS to display/encode/decode animated WebP, APNG, GIF, and more. * [NSGIF2](https://github.com/metasmile/NSGIF2) - Simplify creation of a GIF from the provided video file url. * [SwiftyGif](https://github.com/kirualex/SwiftyGif) - High performance GIF engine :large_orange_diamond: * [UIImageView-PlayGIF](https://github.com/yfme/UIImageView-PlayGIF) - UIImageView-PlayGIF. * [droptogif](https://github.com/mortenjust/droptogif) - droptogif视频拖拽到应用窗口后自动转换为 GIF 动画(其转换进程动画效果也超赞). #### VR@ * [HTY360Player](https://github.com/hanton/HTY360Player) - 一款360度全景视频播放器. * [ios-360-videos](https://github.com/NYTimes/ios-360-videos) - 基于AVPlayer的360度全景视频播放器. #### AR@ * [Awesome-ARKit](https://github.com/olucurious/Awesome-ARKit) - A curated list of awesome ARKit projects and resources. Feel free to contribute. * [AR-Source](https://github.com/GeekLiB/AR-Source) - AR开发资料汇总. * [ARShooter](https://github.com/farice/ARShooter) - A demo Augmented Reality shooter made with ARKit in Swift (iOS 11) http://texnotes.me/post/5/. * [SmileToUnlock](https://github.com/rsrbk/SmileToUnlock) - This library uses ARKit Face Tracking in order to catch a user's smile. * [TGLAugmentedRealityView](https://github.com/gleue/TGLAugmentedRealityView) - Augmented Reality made easy -- place overlays on a camera preview and adjust their position depending on device attitude. * [ARImageViewer](https://github.com/keayou/ARImageViewer) - 一款基于ARKit的AR图片查看器. #### 二维码@ * [ZXingObjC](https://github.com/TheLevelUp/ZXingObjC) - 👍 An Objective-C Port of ZXing. * [LBXScan](https://github.com/MxABC/LBXScan) - 👍 A barcode and qr code scanner (二维码、扫码、扫一扫、ZXing和ios系统自带扫码封装,扫码界面效果封装)(Objective-C和Swift均支持). * [原生实现扫描二维码条码](http://code.cocoachina.com/view/129108) - iOS原生实现扫描二维码条码. * [ZFScan](https://github.com/Zirkfied/ZFScan) - 仿微信 二维码/条形码 扫描. * [HMQRCodeScanner](https://github.com/liufan321/HMQRCodeScanner) - 包含 UI 界面的轻量级二维码扫描及生成框架,提供一个导航控制器,扫描 二维码 / 条形码;能够生成指定 字符串 + avatar(可选) 的二维码名片;能够识别相册图片中的二维码(iOS 64 位设备). * [QRCatcher](https://github.com/100mango/QRCatcher) - 一个简洁美观的二维码扫描应用, [iOS学习:AVFoundation 视频流处理--二维码]. * [BarcodeScanner](https://github.com/hyperoslo/BarcodeScanner) - 带状态控制的条码扫描库,支持处理相机权限、自定义颜色和提示信息,不依赖其他第三方库). * [MQRCodeReaderViewController](https://github.com/zhengjinghua/MQRCodeReaderViewController) - 二维码扫描控件. * [QRWeiXinDemo](https://github.com/lcddhr/QRWeiXinDemo) - 仿微信二维码扫描,中间透明区域. * [EFQRCode](https://github.com/EyreFree/EFQRCode) - iOS 花式二维码生成库. #### PDF@ * [Reader](https://github.com/vfr/Reader) - Reader可提供类似iBooks的文档导航,支持屏幕旋转和所有方向,并通过密码保护加密PDF文件,支持PDF链接和旋转页面. * [PDFXKit](https://github.com/PSPDFKit/PDFXKit) - A drop-in replacement for Apple PDFKit powered by our PSPDFKit framework under the hood. #### 图像@ * [SVGKit](https://github.com/SVGKit/SVGKit) - SVGKit是一个非常强大的,可以快速渲染SVG文件的框架。你可以直接把SVG文件加载至app中,并且SVG中的每个图形会变成一个CAShapeLayer,可以方便地进行缩放和动画你的图形。如果你想渲染app中的矢量图形,SVGKit是个不错的解决办法. #### 拍照@ * [FastttCamera](https://github.com/IFTTT/FastttCamera) - FastttCamera 快速照相. * [DBCamera](https://github.com/danielebogo/DBCamera) - DBCamera is a simple custom camera with AVFoundation. * [ZPCamera](https://github.com/hawk0620/ZPCamera) - An OpenSource Camera App. * [HeartBeatsPlugin](https://github.com/YvanLiu/HeartBeatsPlugin) - 手机摄像头测心率 带心率折线图和返回瞬时心率. * [MARFaceBeauty](https://github.com/Maru-zhang/MARFaceBeauty) - 一款类似于FaceU的美颜相机,支持大部分基础功能:美颜,对焦,前后摄像头转换,过场动画... #### 图像处理@ * [GPUImage](https://github.com/BradLarson/GPUImage) - 处理图片效果. * [LearnOpenGLES](https://github.com/loyinglin/LearnOpenGLES) - OpenGL ES的各种尝试. * [GPUImage详解](http://www.jianshu.com/nb/4268718) * [OpenGLES详解](http://www.jianshu.com/p/64d9c58d8344) - 一个相对完整的OpenGLES的学习博客,包含源码. * [OpenGLES系列教程](http://www.jianshu.com/nb/2135411) * [CTPanoramaView](https://github.com/scihant/CTPanoramaView) - 显示球面、圆柱形的摄像. * [HCPhotoEdit](https://github.com/gmfxch/HCPhotoEdit) - 仿Camera360 SDK,利用GPUImage框架实现基本的图片处理功能. * [YYImage](https://github.com/ibireme/YYImage) - 功能强大的 iOS 图像框架,支持大部分动画图像、静态图像的播放/编码/解码. * [TOCropViewController](https://github.com/TimOliver/TOCropViewController) - 图片裁剪. * [BKAsciiImage](https://github.com/bkoc/BKAsciiImage) - Convert UIImage to ASCII art. * [TinyCrayon](https://github.com/TinyCrayon/TinyCrayon-iOS-SDK) - 一个智能、易用的图片裁剪、Image markingSDK. * [GPUImage Demo](https://github.com/loyinglin/GPUImage) - 源码级别对GPUImage进行剖析以及尝试. * [YBPasterImage](https://github.com/wangyingbo/YBPasterImage) - 给图片添加滤镜、贴纸和标签功能,支持14种滤镜效果,17种标签样式. * [hotoimagefilter](https://www.kancloud.cn/trent/hotoimagefilter/102786) - 专业介绍图像处理中各种滤镜的算法实现,C#版本. * [DynamicClipImage](https://github.com/Yasic/DynamicClipImage) - iOS实现动态区域裁剪图片. #### 图像浏览@ * [MWPhotoBrowser](https://github.com/mwaterfall/MWPhotoBrowser) - 一个非常不错的照片浏览器 [解决MWPhotoBrowser中的SDWebImage加载大图导致的内存警告问题](http://www.superqq.com/blog/2015/01/22/jie-jue-mwphotobrowserzhong-de-sdwebimagejia-zai-da-tu-dao-zhi-de-nei-cun-jing-gao-wen-ti/). * [TZImagePickerController](https://github.com/banchichen/TZImagePickerController) - 很赞 一个支持多选、选原图和视频的图片选择器,同时有预览功能,适配了iOS6789系统。[教程](http://www.cocoachina.com/ios/20160112/14942.html). * [RMPZoomTransitionAnimator](https://github.com/recruit-mp/RMPZoomTransitionAnimator) - 一个放大缩小的动效开源库,可以实现图片的放大缩小效果. * [ZLPhotoBrowser](https://github.com/longitachi/ZLPhotoBrowser) - 方便易用的相册多选框架,支持预览/相册内拍照、预览快速多选相片,3DTouch预览照片,单选gif、Live Photo及video;相册混合选择;原图功能;支持多语言国际化(中文简/繁,英语,日语);在线下载iCloud端图片;自定义最大选择量及最大预览量;自定义照片升序降序排列;自定义照片显示圆角弧度. * [CLImageEditor](https://github.com/yackle/CLImageEditor) - 超强的图片编辑库,快速帮你实现旋转,防缩,滤镜等等一系列麻烦的事情. * [PYPhotoBrowser](https://github.com/iphone5solo/PYPhotoBrowser) - 图片浏览器。主要用于社交app,用于呈现一组图片。流水布局 、 线性布局;单击 、双击 、捏合 、旋转、拖拽、侧滑. * [EBPhotoPages](https://github.com/EddyBorja/EBPhotoPages) - 类似facebook的相册浏览库. * [RSKImageCropper](https://github.com/ruslanskorb/RSKImageCropper) - 适用于iOS的图片裁剪器,类似Contacts app,可上下左右移动图片选取最合适的区域. * [WZRecyclePhotoStackView](http://code.cocoachina.com/detail/232156) - 删除照片交互--WZRecyclePhotoStackView,就是模拟生活中是删除或保留犹豫不决的情形而产生的。 在上滑,下滑的部分,借鉴了[TinderSimpleSwipeCards](https://github.com/cwRichardKim/TinderSimpleSwipeCards). * [react-native-image-crop-picker](https://github.com/ivpusic/react-native-image-crop-picker) - iOS/Android image picker with support for camera, configurable compression, multiple images and cropping. * [PhotoTweaks](https://github.com/itouch2/PhotoTweaks) - 这个库挺赞的,正好是对图像操作的. * [MHVideoPhotoGallery](https://github.com/mariohahn/MHVideoPhotoGallery) - A Photo and Video Gallery. * [CorePhotoBroswerVC](https://github.com/CharlinFeng/CorePhotoBroswerVC) - 快速集成高性能图片浏览器,支持本地及网络相册. * [KYElegantPhotoGallery](https://github.com/KittenYang/KYElegantPhotoGallery) - 一个优雅的图片浏览库. * [SDPhotoBrowser](https://github.com/gsdios/SDPhotoBrowser) - 仿新浪动感图片浏览器,非常简单易用的图片浏览器,模仿微博图片浏览器动感效果,综合了图片展示和存储等多项功能. * [HZPhotoBrowser](https://github.com/chennyhuang/HZPhotoBrowser) - 一个类似于新浪微博图片浏览器的框架(支持显示和隐藏动画;支持双击缩放,手势放大缩小;支持图片存储;支持网络加载gif图片,长图滚动浏览;支持横竖屏显示). * [ZZPhotoKit](https://github.com/ACEYL/ZZPhotoKit) - 基于Photos和AVFoundation框架开源,相册多选与相机连拍. * [MarkingMenu](https://github.com/FlexMonkey/MarkingMenu) - 基于手势、类似 Autodesk Maya 风格标记菜单及图片渲染. * [SXPhotoShow](https://github.com/dsxNiubility/SXPhotoShow) - UICollectionViewFlowLayout流水布局 是当下collectionView中常用且普通的布局方式。本代码也写了三种好看的布局,其中LineLayout和流水布局有很大的相同点就直接继承UICollectionViewFlowLayout,然后StackLayout,CircleLayout这两种都是直接继承自最原始的UICollectionViewLayout 布局方案. * [PictureWatermark](https://github.com/cgwangding/PictureWatermark) - 主要实现了给图片加文字以及图片水印的功能,已封装成了UIImage的类别,方便使用. * [PhotoBrowser](https://github.com/CharlinFeng/PhotoBrowser) - 照片浏览器. * [StitchingImage](https://github.com/zhengjinghua/StitchingImage) - 仿微信群组封面拼接控件, 直接拖进项目就可使用,[教程](http://gold.xitu.io/entry/56395f5360b20b143a9178f6). * [SDECollectionViewAlbumTransition](https://github.com/seedante/SDECollectionViewAlbumTransition) - 用自定义的 push 和 pop 实现了有趣的 iOS 相册翻开动画效果. * [DNImagePicker](https://github.com/AwesomeDennis/DNImagePicker) - 类似wechat的图片选择. * [CocoaPicker](https://github.com/lioonline/CocoaPicker) - 仿QQ图片选择器(OC). * [JFImagePickerController](https://github.com/johnil/JFImagePickerController) - vvebo作者:多选照片、预览已选照片、针对超大图片优化. * [VIPhotoView](https://github.com/vitoziv/VIPhotoView) - 图片浏览,用于展示图片的工具类,因为是个 View,所以你可以放在任何地方显示。支持旋转,双击指定位置放大等. * [YUCIHighPassSkinSmoothing](https://github.com/YuAo/YUCIHighPassSkinSmoothing) - 磨皮滤镜. * [react-native-image-crop-picker](https://github.com/ivpusic/react-native-image-crop-picker) - iOS/Android image picker with support for camera, configurable compression, multiple images and cropping. * [YUGPUImageHighPassSkinSmoothing](https://github.com/YuAo/YUGPUImageHighPassSkinSmoothing) - 一个基于 GPUImage 的磨皮滤镜. * [XHImageViewer](https://github.com/JackTeam/XHImageViewer) - XHImageViewer is images viewer, zoom image. * [card.io-iOS-SDK](https://github.com/AllLuckly/card.io-iOS-SDK) - OCR光学识别储蓄卡以及信用卡,[oc与swift使用教程](http://www.jianshu.com/p/82f73c23a76a). * [自定义宽高比的相册框 拍照](http://code.cocoachina.com/detail/320603/) - 取出照片时 弹出自定义view。在这个自定义view上创建一个需要的相框大小的view层 把取出的图片赋值给UIImageView按缩放添加到这个层上。对uiimageView添加捏合、移动 手势。添加按钮 选取,最后根据位移和缩放比例 裁剪image. * [LGPhotoBrowser](https://github.com/gang544043963/LGPhotoBrowser) - LGPhotoBrowser:相册选择/浏览器/照相机(仿微信),包含三个模块:照片浏览器,相册选择器,照相机. * [BeautyHour](https://github.com/xujingzhou/BeautyHour) - 完整应用,功能与“美图秀秀”雷同. * [WSImagePicker](https://github.com/wsjtwzs/WSImagePicker) - 高性能多选图片库,类似于微信发布朋友圈中 ‘获取相册及拍照’模块. * [JTSImageViewController](https://github.com/jaredsinclair/JTSImageViewController) - 图片浏览. * [SGPhotoBrowser](https://github.com/Soulghost/SGPhotoBrowser) - 图片浏览. * [HeavenMemoirs](https://github.com/SherlockQi/HeavenMemoirs) - AR相册 Photo Album For AR. * [QBImagePicker](https://github.com/questbeat/QBImagePicker) - A clone of UIImagePickerController with multiple selection support. #### 图像缓存@ * [SDWebImage](https://github.com/rs/SDWebImage) - 非常优秀的图像缓存库. * [UIActivityIndicator-for-SDWebImage](https://github.com/JJSaccolo/UIActivityIndicator-for-SDWebImage) - 为SDWebImage显示加载效果. * [FastImageCache](https://github.com/path/FastImageCache) - 👍 非常棒的一个 一个高效显示图片的库,支持图片缓存、平滑滚动和图片检索. * [DFImageManager](https://github.com/kean/DFImageManager) - 图片加载、处理、缓存、预加载. * [LKImageKit](https://github.com/Tencent/LKImageKit) - Tencent:A high-performance image framework, including a series of capabilities such as image views, image downloader, memory caches, disk caches, image decoders and image processors. * [Twitter Image Pipline](https://github.com/twitter/ios-twitter-image-pipeline) - Twitter出品的一个高性能的图片下载、缓存库. * [AlamofireImage](https://github.com/Alamofire/AlamofireImage) - Alamofire的一个图片组件,支持图片序列化,UIImage扩展(压缩、缩放、圆角、核心图像),单个、多个的图片过滤、自动清除内存,队列图片下载、URL鉴定、图片占位和异步远程图片下载、UIImageView过滤和转换等. An image component library for Alamofire. * [AsyncImageView](https://github.com/nicklockwood/AsyncImageView) - 一个易用的UIImageView扩展,用于异步加载、显示图片,对UI显示无影响。 * [PINRemoteImage](https://github.com/pinterest/PINRemoteImage) - 一个线程安全、高效的远程图片管理库,支持图片下载、缓存、处理,也支持GIF. * [FastImageCache](https://github.com/path/FastImageCache) - 非常赞 FastImageCache 网络图片获取及缓存处理,[iOS图片加载速度极限优化—FastImageCache解析](http://blog.cnbang.net/tech/2578/). * [YYWebImage](https://github.com/ibireme/YYWebImage) - 异步图片加载库 (supports WebP, APNG, GIF). * [EGOCache](https://github.com/enormego/EGOCache) - 十分知名的第三方缓存类库,可以缓存NSString、UIImage、NSImage以及NSData。除此,如果还可以缓存任何一个实现了<NSCoding>接口的对象。所有缓存的数据都可以自定义过期的时间,默认是1天。EGOCache 支持多线程(thread-safe),[UITableView加载多张照片导致内存上涨的问题](http://www.superqq.com/blog/2014/11/06/ioskai-fa-:uitableviewjia-zai-duo-zhang-zhao-pian-dao-zhi-nei-cun-shang-zhang-de-wen-ti/)。 * [YYWebImage](https://github.com/ibireme/YYWebImage/) - 一个图片加载库 YYWebImage,支持 APNG、WebP、GIF 播放,支持渐进式图片加载,更高性能的缓存,更多图像处理方法,可以替代 SDWebImage 等开源库,[相关文章](http://blog.ibireme.com/2015/11/02/mobile_image_benchmark/). * [JDSwiftAvatarProgress](https://github.com/JellyDevelopment/JDSwiftAvatarProgress) - 容易定制的异步图片加载进度条. * [ImageButter](https://github.com/dollarshaveclub/ImageButter) - 平滑的处理网络图片,支持缓存,异步编码,加载进度View,GIFs动画等. #### 滤镜@ * [XBImageFilters](https://github.com/xissburg/XBImageFilters) - 图像滤镜. * [CoreImageShop](https://github.com/rFlex/CoreImageShop) - CoreImageShop图片滤镜处理-- Mac app that let you create a complete Core Image Filter usable on iOS using SCRecorder。 #### 图像识别@ * [libfacedetection](https://github.com/ShiqiYu/libfacedetection) - C++ 人脸识别 包含正面和多视角人脸检测两个算法.优点:速度快(OpenCV haar+adaboost的2-3倍), 准确度高 (FDDB非公开类评测排名第二),能估计人脸角度. * [YLFaceuDemo](https://github.com/Guikunzhi/YLFaceuDemo) - 在直播应用中添加Faceu贴纸效果。Faceu贴纸效果其实就是在人脸上贴一些图片,同时这些图片是跟随着人脸的位置改变的。[说明](http://www.jianshu.com/p/ba1f79f8f6fa). * [IDCardRecognition](https://github.com/zhongfenglee/IDCardRecognition) - 中国大陆第二代身份证识别,自动读出身份证上的信息(姓名、性别、民族、住址、身份证号码)并截取身份证照片 Edit * [ZQCNN](https://github.com/zuoqing1988/ZQCNN) - 一款比mini-caffe更快的Forward库,觉得好用请点星啊,400星公布快速人脸检测模型,500星公布106点landmark,600星公布人头检测模型,700星公布人脸检测套餐(六种pnet,两种rnet随意混合使用满足各种速度/精度要求),800星公布更准的106点模型. * [AiyaEffectsIOS](https://github.com/aiyaapp/AiyaEffectsIOS) - 宝宝特效 SDK IOS Demo,支持美颜,3D特效,3D动画特效,2D特效等,免费使用 visual effects IOS demo, support 3D effect, 3D Animation, 2D effect for FREE http://www.bbtexiao.com/. * [SSIDCard](https://github.com/sansansisi/SSIDCard) - iOS中国二代身份证号扫描识别. #### 图像圆角@ * [ZYCornerRadius](https://github.com/liuzhiyi1992/ZYCornerRadius) - 赞 一句代码,圆角风雨无阻。A Category to make cornerRadius for UIImageView have no Offscreen-Rendered, be more efficiency. http://zyden.vicp.cc/zycornerradius/ #### 截屏@ * [PPSnapshotKit](https://github.com/VernonVan/PPSnapshotKit) - 在包括 UIWebView 和 WKWebView 的网页中进行长截图. * [SDScreenshotCapture](https://github.com/shinydevelopment/SDScreenshotCapture) - 一个工具类,用于捕获不包括 iOS 状态栏的应用程序窗口的屏幕截图. #### 安全@ * [Objective-C-RSA](https://github.com/ideawu/Objective-C-RSA) - Doing RSA encryption and decryption with Objective-C on iOS. * [NSDictionary-NilSafe](https://github.com/allenhsu/NSDictionary-NilSafe) - How we made NSDictionary nil safe at Glow. * [Myriam](https://github.com/GeoSn0w/Myriam) - A vulnerable iOS App with Security Challenges for the Security Researcher inside you. * [LuLu](https://github.com/objective-see/LuLu) - 防火墙 LuLu is the free open-source macOS firewall that aims to block unauthorized (outgoing) network traffic. * [Valet](https://github.com/square/Valet) - 让你安全地存储在iOS和OS X的钥匙串数据,而无需了解的钥匙扣如何工作的事情. * [Hopper App](https://www.hopperapp.com/) - Hopper Disassembler是一款逆向工程工具,iOS爱好者可以使用它来进行反汇编,反编译和调试应用程序。此工具也可用于修改和重组代码。你只需在你的macOS或Linux系统上启动该应用,然后将其指向你需要破解的二进制文件即可。总的来说Hopper是一款非常好用的逆向工程工具,对于热衷于iOS漏洞赏金的人而言,无疑它将成为一个首选. * [ios-class-guard](https://github.com/Polidea/ios-class-guard) - 一个用于混淆iOS的类名、方法名以及变量名的开源库--有人反映编译出来的app运行不了. * [《Protecting iOS Applications》](https://www.polidea.com/#!heartbeat/blog/Protecting_iOS_Applications) - 文章系统地介绍了如何保护iOS程序的代码安全,防止反汇编分析. * [MMPlugin](https://github.com/gaoshilei/MMPlugin) - 微信自动抢红包、防消息撤回、修改运动步数、朋友圈小视频转发等功能(无需越狱),附微信重签名教程. * [fishhook](https://github.com/facebook/fishhook) - fishhook是Facebook开源的一个可以hook系统方法的工具. * [MonkeyDev](https://github.com/AloneMonkey/MonkeyDev) - CaptainHook Tweak、Logos Tweak and Command-line Tool、Patch iOS Apps, Without Jailbreak. * [MSCrashProtector](https://github.com/JZJJZJ/MSCrashProtector) - An Global protection scheme(代码容错处理). * [JMPasswordView](https://github.com/Juuman/JMPasswordView) - 简单实用的手势密码,效果可自行调控. * [LSSafeProtector](https://github.com/lsmakethebest/LSSafeProtector) - 防止crash框架,不改变原代码支持KVO自释放,可以检测到dealloc时未释放的kvo,等19种crash. * [WHC_ConfuseSoftware](https://github.com/netyouli/WHC_ConfuseSoftware) - iOS代码自动翻新(混淆)专家(WHC_ConfuseSoftware)是一款新一代运行在MAC OS平台的App、完美支持Objc和Swift项目代码的自动翻新(混淆)、支持文件名、类名、方法名、属性名、添加混淆方法体、添加混淆属性、自动调用混淆方法等。。。功能强大而稳定. * [仿密码锁-九宫格](http://code.cocoachina.com/detail/298556/%E4%BB%BF%E5%AF%86%E7%A0%81%E9%94%81-%E4%B9%9D%E5%AE%AB%E6%A0%BC/) - 仿密码锁-九宫格,主要是使用UIButton 手势事件 UIBezierPath画图,解锁失败弹出“密码错误”. * [CoreLock](https://github.com/CharlinFeng/CoreLock) - 本框架是高仿支付宝,并集成了所有功能,并非一个简单的解锁界面展示。个人制作用时1周多,打造解锁终结者框架. * [LikeAlipayLockCodeView](https://github.com/crazypoo/LikeAlipayLockCodeView) - 高仿支付宝手势解锁(超级版). * [Smile-Lock.swfit](https://github.com/liu044100/Smile-Lock) - 一个类似于iOS的解锁界面. * [PCGestureUnlock](https://github.com/iosdeveloperpanc/PCGestureUnlock) - 目前最全面最高仿支付宝的手势解锁,而且提供方法进行参数修改,能解决项目开发中所有手势解锁的开发. * [ICPayPassWordDemo](https://github.com/icoder20150719/ICPayPassWordDemo) - CPayPassWordDemo,一个模仿支付宝支付密码输入对话框小demo. * [RSAESCryptor](https://github.com/bigsan/RSAESCryptor) - 加密 RSA+AES Encryption/Decryption library for iOS. This library uses 2048-bit RSA and 256-bit key with 128-bit block size AES for encryption/decryption. * [TouchID](https://github.com/bringbird/TouchID) - 用法简单的TouchID验证框架:两行代码搞定. * [SFHFKeychainUtils] (https://github.com/ldandersen/scifihifi-iphone) - iOS中使用SFHFKeychainUtils保存用户密码,比如项目中需要保存用户密码,以实现自动登录的功能可以使用. * [AESCipher-iOS](https://github.com/WelkinXie/AESCipher-iOS) - AESCipher-iOS:用 Objective-C 实现的 AES 加密。与 [AESCipher-Java](https://github.com/WelkinXie/AESCipher-Java) 一并使用能达到 在iOS、Android、Java后台产生相同密文、正确解密成明文的目的。[AES加密 - iOS与Java的同步实现](http://www.jianshu.com/p/df828a57cb8f). * [ABPadLockScreen](https://github.com/abury/ABPadLockScreen) - 九宫格密码锁. * [DKWechatHelper](https://github.com/DKJone/DKWechatHelper) - 不止于抢红包,功能丰富的微信插件. #### 逆向@ * [ios-app-signer](https://github.com/DanTheMan827/ios-app-signer) - 重签名工具. * [app2dylib](https://github.com/tobefuturer/app2dylib) - A reverse engineering tool to convert iOS app to dylib. * [iWeChat](https://github.com/lefex/iWeChat) - 我们一起来还原微信。希望通过 iWeChat 这个项目能过勾勒出微信的设计,使用到的技术手段等. #### AutoLayout@ * [Masonry](https://github.com/SnapKit/Masonry) - 非常赞-Masonry是一个轻量级的布局框架,拥有自己的描述语法,采用更优雅的链式语法封装自动布局,简洁明了并具有高可读性( [使用介绍1](http://adad184.com/2014/09/28/use-masonry-to-quick-solve-autolayout/) [使用介绍2](http://ios.jobbole.com/81483/)),[iOS自适应前段库-Masonry的使用](http://www.cocoachina.com/ios/20150702/12217.html)),[Masonry、Classy、ClassyLiveLayout介绍](http://www.jianshu.com/p/2ed5f7444900)。[使用DEMO](https://github.com/lcddhr/DDMasonryTest) 视图居中显示、子视图含边距、视图等距离摆放、计算ScrollView的contentsize. * [Classy](https://github.com/ClassyKit/Classy) - Classy是一个能与UIKit无缝结合stylesheet(样式)系统。它借鉴CSS的思想,但引入新的语法和命名规则,[Classy官网](http://classy.as/getting-started/),[Masonry、Classy、ClassyLiveLayout介绍](http://www.jianshu.com/p/2ed5f7444900). * [ClassyLiveLayout](https://github.com/olegam/ClassyLiveLayout) - ClassyLiveLayout通过结合Classy stylesheets与Masonry一起使用,能够在运行的模拟器中微调Auto Layout约束实时显示效果的工具,[Masonry、Classy、ClassyLiveLayout介绍](http://www.jianshu.com/p/2ed5f7444900). * [PureLayout](https://github.com/PureLayout/PureLayout) - PureLayout 是 iOS & OS X Auto Layout 的终极 API——非常简单,又非常强大。PureLayout 通过一个全面的Auto Layout API 扩展了 UIView/NSView, NSArray 和 NSLayoutConstraint,仿照苹果自身的框架. * [UIView-AutoLayout](https://github.com/smileyborg/UIView-AutoLayout) -Deprecated in favor of PureLayout, which includes OS X support:https://github.com/smileyborg/PureLayout. * [UIView-FDCollapsibleConstraints](https://github.com/forkingdog/UIView-FDCollapsibleConstraints) - 一个AutoLayout辅助工具,最优雅的方式解决自动布局中子View的动态显示和隐藏的问题。第二个Demo模拟了一个经典的FlowLayout,任意一个元素隐藏时,底下的元素需要自动“顶”上来,配合这个扩展,你可以在IB里连一连,选一选,不用一行代码就能搞定. * [Autolayout_Demo](https://github.com/luodezhao/Autolayout_Demo) - 在项目中用自动布局实现的类似抽屉效果. * [当view隐藏的时候也隐藏其autolayout的NSLayoutAttribute](http://code.cocoachina.com/detail/320405/) - 当view隐藏的时候也隐藏其autolayout的NSLayoutAttribute,从而不用大量的代码工作. * [SDAutoLayout](https://github.com/gsdios/SDAutoLayout) - AutoLayout 一行代码搞定自动布局!支持Cell、Label和Tableview高度自适应,致力于做最简单易用的AutoLayout库. * [MyLinearLayout](https://github.com/youngsoft/MyLinearLayout) - MyLayout is a powerful iOS UI framework implemented by Objective-C. It integrates the functions with Android Layout,iOS AutoLayout,SizeClass, HTML CSS float and flexbox and bootstrap. So you can use LinearLayout,RelativeLayout,FrameLayout,TableLayout,FlowLayout,FloatLayout,PathLayout,LayoutSizeClass to build your App 自动布局 UIView UITableView UICo… * [WHC_AutoLayoutKit](https://github.com/netyouli/WHC_AutoLayoutKit) - Had better use the auto layout of open source framework,致力打造使用最简单功能最强大的自动布局开源库. * [NerdyUI](https://github.com/nerdycat/NerdyUI) - 好用的快速布局 UI 库,适用于 iOS 8 及以上版本. * [FlexLib](https://github.com/zhenglibao/FlexLib) - FlexLib is a framework for creating native iOS applications using a human-readable markup language, similar to Android and .NET development way. It's based on flexbox model, easy & powerful. Trash xib & storyboard, autolayout & masonry now. :). #### 数据结构/算法@ * [LearningMasteringAlgorithms-C](https://github.com/yourtion/LearningMasteringAlgorithms-C) -《算法精解:C语言描述》源码及Xcode工程、Linux工程. * [Changeset](https://github.com/osteslag/Changeset) - Minimal edits from one collection to another :large_orange_diamond: * [Brick](https://github.com/hyperoslo/Brick) - :droplet: A generic view model for both basic and complex scenarios :large_orange_diamond: * [Algorithm](https://github.com/CosmicMind/Algorithm) - Algorithm is a collection of data structures that are empowered by a probability toolset. :large_orange_diamond: * [AnyObjectConvertible](https://github.com/tarunon/AnyObjectConvertible) - Convert your own struct/enum to AnyObject easily. :large_orange_diamond: * [EKAlgorithms](https://github.com/EvgenyKarkan/EKAlgorithms) - Some well known CS algorithms & data structures in Objective-C. * [Monaka](https://github.com/naru-jpn/Monaka) - Convert custom struct and fundamental values to NSData. * [Pencil](https://github.com/naru-jpn/pencil) - Write values to file and read it more easily. :large_orange_diamond: * [AlgorithmOC](https://github.com/wang542413041/AlgorithmOC) - OC算法与数据结构实现. * [100-Days-Of-iOS-DataStructure-Algorithm](https://github.com/renmoqiqi/100-Days-Of-iOS-DataStructure-Algorithm) - 100天iOS数据结构与算法实战. #### 上架@ * [Solve-App-Store-Review-Problemm](https://github.com/wg689/Solve-App-Store-Review-Problem) - (ipv6,ipv6被拒绝,后台定位等审核问题的终极解决方案汇总). #### iOS11@ * [iOS11](https://github.com/2877025939/iOS11) - 这里总结了大家iOS 11,iPhone X 适配问题.如有问题,欢迎大家讨论. #### 应用内支付@ * [IAPDemo](https://github.com/WildDylan/IAPDemo) - 应用内支付IAP全部流程, [教程](http://www.jianshu.com/p/e9ae4cece800). * [IAPHelper](https://github.com/saturngod/IAPHelper) - 应用内付费给我们提供了很多样本代码,而这个库丢掉了那些代码,将金钱交易相关的大多通用任务做了简单的封装. #### UI@ #### 综合UI@ * [Texture](https://github.com/TextureGroup/Texture) - Texture——保持最复杂的用户界面的流畅和响应. * [Material-Controls-For-iOS](https://github.com/fpt-software/Material-Controls-For-iOS) - Many Google Material Design Controls for iOS native application. * [Material-Controls-For-iOS](https://github.com/fpt-software/Material-Controls-For-iOS) - 大神模仿谷歌做的各种各样的iOS原生特效控件,非常全面. * [Form](https://github.com/hyperoslo/Form) - Form 是一个方便开发者创建表单填写工作的 UI 库. * [QMUI_iOS](https://github.com/Tencent/QMUI_iOS) - 腾讯出品 QMUI iOS——致力于提高项目 UI 开发效率的解决方案 http://qmuiteam.com/ios * [JXCategoryView](https://github.com/pujiaxin33/JXCategoryView) - A powerful and easy to use category view (segmentedcontrol, segmentview, pagingview, pagerview, pagecontrol) (腾讯新闻、今日头条、QQ音乐、网易云音乐、京东、爱奇艺、腾讯视频、淘宝、天猫、简书、微博等所有主流APP分类切换滚动视图). * [material-components-ios](https://github.com/material-components/material-components-ios) - 基于 Material Design 的组件库,包含iOS、Android、Web 三个平台的组件库和调用方法. * [fluid-slider](https://github.com/Ramotion/fluid-slider) - A slider widget with a popup bubble displaying the precise value selected. * [YXYDashLayer](https://github.com/yulingtianxia/YXYDashLayer) - Colorful Rounded Rect Dash Border. #### 列表@ * [Eureka](https://github.com/xmartlabs/Eureka) - Eureka可以帮你简单优雅的实现动态table-view表单。它由rows,sections和forms组成。如果你的app包含大量表单,Eureka可以真正帮你节省时间. * [Parade](https://github.com/HelloElephant/Parade) - Parallax Scroll-Jacking Effects Engine for iOS / tvOS. #### TableView@ * [SWTableViewCell](https://github.com/CEWendel/SWTableViewCell) - 非常赞 UITableViewCell 的子类, 实现了左右滑动显示信息视图并调出按钮. * [RETableViewManager](https://github.com/romaonthego/RETableViewManager) - 赞 一个非常强大的使用数据驱动的 UITableView 内容管理。可以十分方便地生成各种样式、各种功能的TableView。只要开发者能想到的列表效果或者功能,都可以利用这份代码迅速编写出来。比如,之前要实现一个填写各种资料的列表,可能需要很多代码,现在只需要几行代码就可以实现. * [DZNEmptyDataSet](https://github.com/dzenbot/DZNEmptyDataSet) - 非常赞 DZNEmptyDataSet算是一个很标准的iOS内建方式,适合用来处理空的tableview和collection view。会自动将collection view处理完善,并将用户消息以合适美观的方式显示出来。每个iOS项目都可以自动处理. * [folding-cell](https://github.com/Ramotion/folding-cell) - 很赞 一个比较酷炫的cell折叠动画效果. * [VVeboTableViewDemo](https://github.com/johnil/VVeboTableViewDemo) - 此项目由VVebo剥离,希望你能通过这个demo看到我是如何进行TableView流畅度优化的. * [SWTableViewCell](https://github.com/onevcat/SWTableViewCell) - 国内开源作者,带很多手势的表单元格. * [MGSwipeTableCell](https://github.com/MortimerGoro/MGSwipeTableCell) - 另一个常见于很多应用中的UI组件,苹果应该考虑在标准的iOS SDK中加入一些类似的内容。Swipeable表格cell是这个pod的最佳描述,也是最好的。非常👍👍👍 . * [MCSwipeTableViewCell](https://github.com/alikaragoz/MCSwipeTableViewCell) - 带很多手势的表单元格. * [TMQuiltView](https://github.com/1000Memories/TMQuiltView) - 瀑布流. * [XRWaterfallLayout](https://github.com/codingZero/XRWaterfallLayout) - 超简单的瀑布流实现,[实现说明](http://www.cocoachina.com/ios/20160407/15872.html). * [WaterfallFlowDemo](https://github.com/lengmolehongyan/WaterfallFlowDemo) - 一个简单的UICollectionView瀑布流布局演示demo. * [XLForm](https://github.com/xmartlabs/XLForm) - 很多表格类的table,写法更高冷一点,推荐使用. * [AMWaveTransition](https://github.com/andreamazz/AMWaveTransition) - 很炫的带有表格的视图控制器切换效果,点击每个栏目会有限带有波浪效果的信息展示,类似于Facebook Paper. * [UIScrollSlidingPages](https://github.com/TomThorpe/UIScrollSlidingPages) - 允许添加多视图控件,并且可以横向滚动。有点类似于Groupon app. * [HorizontalScrollCell](https://github.com/mcelayir/HorizontalScrollCell) - HorizontalScrollCell是一款使用方便的水平方向可滚动的单元格,适用于UICollectionView中实现水片方向滚动视图. * [SYJiugonggeTableView](https://github.com/shiyuan17/syTableView) - tableView封装的九宫格. * [UUChatTableView](https://github.com/ZhipingYang/UUChatTableView) - UUChatTableView 气泡聊天界面,支持文本、图片以及音频的气泡聊天界面。[源码推荐说明](http://www.cocoachina.com/ios/20150205/11116.html). * [Atlas-iOS](https://github.com/layerhq/Atlas-iOS) - 快速在iOS里集成聊天功能,类似开源版本的环信。Layer家开源了一套聊天app界面的解决方案.看起来很赞,很多蛮复杂的东西直接都帮封好了。不得不说现在做app开发真是很简单,大部分时间搭积木就可以了。[官方网站](https://atlas.layer.com/). * [DLSlideView](https://github.com/agdsdl/DLSlideView) - DLSlideView对常见的顶部Tab页点击、滑动分页做了封装。它使用基于ViewController的container特性(而不是scrollview)来管理各个子页面,以支持无限分页,[源码推荐说明](http://www.cocoachina.com/ios/20150205/11116.html). * [VOVCManager](https://github.com/pozi119/VOVCManager) - 页面管理器:1.跳转指定页面,只需要知道viewController的Class名,如果有storyboard,则需要指定storyboard名;2.无需添加基类;3.支持URLScheme跳转指定页面。 * [MBXPageViewController](https://github.com/Moblox/MBXPageViewController) - 简洁快速的页面切换--MBXPageViewController,带有按钮控件的UIPageController,非常整洁、简单以及快速。该项目通过三种形式展示页面之间的切换,比如导航栏上的多个tab切换、页面左右两端箭头指示切换,以及使用分段控件. * [PagerTab](https://github.com/ming1016/PagerTab) - UIScrollView实现滑动转换页面,类似网易云音乐iOS版的页面滑动切换效果. * [BATabBarController](https://github.com/antiguab/BATabBarController) - A TabBarController with a unique animation for selection. [GUITabPagerViewController](https://github.com/guilhermearaujo/GUITabPagerViewController) - 多个tab滑动切换. * [VOMetroLayoutDemo](https://github.com/pozi119/VOMetroLayoutDemo) - Metro风格的UICollectionView, 目前只支持横向布局,仅在iPad上应用. * [KYCellAnimation](https://github.com/KittenYang/KYCellAnimation) - 给UITableViewCell增加进入的动画. * [RDVTabBarController](https://github.com/robbdimitrov/RDVTabBarController) - 一个TabBar组件,可以方便设置底部菜单的文字图片,点击效果,小红点提示等. * [WXTabBarController](https://github.com/leichunfeng/WXTabBarController) - 在系统 UITabBarController 的基础上完美实现了安卓版微信 TabBar 的滑动切换功能,单手操作 iPhone 6 Plus 切换 TabBar 一直是一件很痛苦的事情,而滑动切换是一种不错的解决方案,支持屏幕旋转. * [CYLTableViewPlaceHolder](https://github.com/ChenYilong/CYLTableViewPlaceHolder) - 一行代码完成“空TableView占位视图”管理. * [GooeyTabbar](https://github.com/KittenYang/GooeyTabbar) - 皮筋式弹性缩放工具栏示例及演示. * [横向展示文本内容的自定义cell](http://d.cocoachina.com/code/detail/298409) - 可以横向展示文本内容的自定义cell,根据文本无限滚动. * [ExpandingStackCells](https://github.com/jozsef-vesza/ExpandingStackCells) - 采用 UIStackView 实现表格单元格扩展内容显示示例及解决方案. * [FDStackView](https://github.com/forkingdog/FDStackView) - 可以将 UIStackView 的最低支持版本拉低到 iOS6,无需配置,没有代码侵染,扔到工程里后直接用系统 UIStackView 的 API 即可,同时兼容 Storyboard. * [JXPagingView](https://github.com/pujiaxin33/JXPagingView) - 类似微博主页、简书主页等效果。多页面嵌套,既可以上下滑动,也可以左右滑动切换页面。支持HeaderView悬浮、支持下拉刷新、上拉加载更多. * [MDIHorizontalSectionTableViewController](https://github.com/WeeTom/MDIHorizontalSectionTableViewController) - 根据产品需求开源了一个交互项目,可以理解为横向Section的TableView,section和cell同时支持拖拽,后续安卓版本也会开源出来. * [JZNavigationExtension](https://github.com/JazysYu/JZNavigationExtension) - 多功能导航控制器,可以透明返回栏. * [QuickRearrangeTableView](https://github.com/okla/QuickRearrangeTableView) - 基于 UITableView 的快速重排功能扩展子类。通过长按选定单元格然后滚动移动到指定位置. * [uicollectionview-reordering](https://github.com/nshintio/uicollectionview-reordering) - UICollectionViews的拖拽(拖动、移动)效果,[实例教程](http://nshint.io/blog/2015/07/16/uicollectionviews-now-have-easy-reordering/). * [JXPageListView](https://github.com/pujiaxin33/JXPageListView) - 高仿闲鱼、转转、京东、中央天气预报等主流APP列表底部分页滚动视图. * [LLNoDataView](https://github.com/LvJianfeng/LLNoDataView) - 超简单的空数据提示通用View支持UIScrollView、UITableView、UICollectionView、UIWebView. * [XLPlainFlowLayout](https://github.com/HebeTienCoder/XLPlainFlowLayout) - 可以让UICollectionView的header也支持悬停效果,类似于tableView的Plain风格. * [PSTCollectionView](https://github.com/steipete/PSTCollectionView) - PSTCollectionView. * [LLRiseTabBar-iOS](https://github.com/lianleven/LLRiseTabBar-iOS) - 直接使用系统的特性实现的tabbar,比较简单. * [MTMaterialDelete](https://github.com/MartinRGB/MTMaterialDelete) - 非常有趣的Material Design动画,动画删除表里面的单元格. * [BusyNavigationBar](https://github.com/gmertk/BusyNavigationBar) - 进度条式NavigationBar导航条. * [LGSettingView](https://github.com/LiGoEX/LGSettingView) - LGSettingView仅需三句代码即可快速集成设置界面,免去每次开发新应用都要重新布置设置界面的烦恼. * [微博cell自动布局](http://code.cocoachina.com/view/129212) - 使用autoLayout对微博的cell进行自动布局,自适应cell的高度. * [TreeTableView](https://github.com/TyroneWing/TreeTableView) - ZYTreeTableView:TreeView 模仿好友列表的实现方式. * [ZWSlideViewController](https://github.com/squarezw/ZWSlideViewController) - ZWSlideViewController多页滑动视图控制器(类似新闻类门户APP),可以用最简单的继承方法使用,也可以不用继承,只用菜单或主视图页面,可实现丰富的定制,可以使用在多种不同形态的APP下,还可以将其做为多页或多图的滑动介绍. * [XWCatergoryView](https://github.com/wazrx/XWCatergoryView) - 一个轻量级的顶部分类视图控件,只需要通过简单的设置,你就可以快速集成该控件, 控件目前暂时有底部横条移动,椭圆背景移动,文字缩放,文字颜色变化,和文字颜色渐变五种效果,五种效果可以叠加使用也可以单一使用。[实现教程](http://www.jianshu.com/p/274d19f97564) * [jingDongFenLei](http://code.cocoachina.com/view/129675) - 简单仿写京东分类中的多级分类页面. * [RKSwipeBetweenViewControllers](https://github.com/cwRichardKim/RKSwipeBetweenViewControllers) - 页面滑动和标签选项卡类库. * [FriendSearch](http://www.cocoachina.com/ios/20160407/15870.html) - 两种UI的搜索,搜索的算法可以满足中英文互搜,联想搜索等,其中还包含对一组数据自动进行按字母分组等功能. * [YX_UITableView_IN_UITableView](https://github.com/yixiangboy/YX_UITableView_IN_UITableView) - UITableview嵌套UITableView案例实践(仿淘宝商品详情页实现),[项目讲解](http://blog.csdn.net/yixiangboy/article/details/51009010). * [TYPagerController](https://github.com/12207480/TYPagerController) - 简单,支持定制,页面控制器,可以滚动内容和标题栏,包含多种style. * [YZHeaderScaleImage](https://github.com/iThinkerYZ/YZHeaderScaleImage) - 一行代码快速集成tableView中头部缩放视图. * [ExpandTableView](https://github.com/zhengwenming/ExpandTableView) - 可折叠展开的tableView,QQ好友分组列表. * [SwipeTableView](https://github.com/Roylee-ML/SwipeTableView) - Both scroll horizontal and vertical for segment scrollview which have a same header. — 类似半糖、美丽说主页与QQ音乐歌曲列表布局效果,实现不同菜单的左右滑动切换,同时支持类似tableview的顶部工具栏悬停(既可以左右滑动,又可以上下滑动)。兼容下拉刷新,自定义 collectionview实现自适应 contentSize 还可实现瀑布流功能. * [TableViewAnimationKit](https://github.com/alanwangmodify/TableViewAnimationKit) - TableView Animation ,move your tableView. * [HVScrollView](https://github.com/SPStore/HVScrollView) - 这不是框架,只是3个示例程序,给大家提供一个实现这种布局的思路. * [iOS开发的一些奇巧淫技1](http://www.jianshu.com/p/50b63a221f09) - TableView不显示没内容的Cell怎么办. * [EHHorizontalSelectionView](https://github.com/josshad/EHHorizontalSelectionView) - Horizontal table view style controller. * [YHListKit](https://github.com/ShannonChenCHN/YHListKit) - 一个轻量级的数据驱动列表框架. * [LYEmptyView](https://github.com/yangli-dev/LYEmptyView) - iOS一行代码集成空白页面占位图(无数据、无网络占位图). #### TableView适配@ * [UITableView-FDTemplateLayoutCell](https://github.com/forkingdog/UITableView-FDTemplateLayoutCell) - UITableView-FDTemplateLayoutCell 是一个方便缓存 UITableViewCell 的高度的框架. #### CollectionView@ * [IGListKit](https://github.com/Instagram/IGListKit) - IGListKit是Instagram推出的新的UICollectionView框架,使用数据驱动,为了构建快速和可扩展的列表。另外,它有助于你在 app 结束对于大量视图控制器的使用. * [SFFocusViewLayout](https://github.com/fdzsergio/SFFocusViewLayout) - UICollectionView的高级使用方法哦SFFocusViewLayou. * [RACollectionViewReorderableTripletLayout](https://github.com/ra1028/RACollectionViewReorderableTripletLayout) - 自定义的CollectionView布局,可以通过拖动进行cell的重新排序. * [CollectionViewClassifyMenu](https://github.com/ChenYilong/CollectionViewClassifyMenu) - CollectionView做的两级菜单,可以折叠第二级菜单. * [TableFlip](https://github.com/mergesort/TableFlip) - A simpler way to do cool UITableView animations. * [DraggingSort](https://github.com/HelloYeah/DraggingSort) - 长按拖拽排序. * [AppStore-Horizontal-Demo](https://github.com/liao3841054/AppStore-Horizontal-Demo) - 仿半糖App 个人中心可以横向滚动的 列表 UICollectionView UITableView UISrcrollView. * [CollectionKit](https://github.com/SoySauceLab/CollectionKit) - A modern Swift framework for building reusable data-driven collection components. * [CSStickyHeaderFlowLayout](https://github.com/jamztang/CSStickyHeaderFlowLayout) - CollectionView实现悬停的header. #### 图表@ * [Charts](https://github.com/danielgindi/Charts) - 一款优秀 Android 图表开源库 MPAndroidChart 的 Swift 语言实现版(支持 Objective-C 和 Swift 调用)。缺省提供的示例代码为 Objective-C. * [PNChart](https://github.com/kevinzhow/PNChart) - 国内开源作者,动态的图表. * [JBChartView](https://github.com/Jawbone/JBChartView) - 基于iOS的用于线路和条形图的图表库. * [KLine](https://github.com/AbuIOSDeveloper/KLine) - (CAShapelayer + UIBezierPath)绘制K线支撑横竖屏切换、刷新、长按、缩放、masonry适配,完美支持金融产品 非常的流畅,占用内存少,使用矢量进行填充K线,持续更新. * [XJYChart](https://github.com/JunyiXie/XJYChart) - 优秀的的图表框架。支持动画,点击,滑动,区域高亮. * [AAChartKit](https://github.com/AAChartModel/AAChartKit) - 极其精美而又强大的 iOS 图表组件库,支持柱状图、条形图、折线图、曲线图、折线填充图、曲线填充图、气泡图、扇形图、环形图、散点图、雷达图、混合图等各种类型的多达几十种的信息图图表,完全满足… * [YOChartImageKit](https://github.com/yasuoza/YOChartImageKit) - 支持在watchOS上绘制图表,看它最近更新挺勤快的,可以关注一下. * [RealtimeGradientText](https://github.com/kevinzhow/RealtimeGradientText) - Fun With CALayer Mask 刚好今天开源了一个有趣的项目 RealtimeGradientText,所以也好聊一下 CALayer 的 Mask,[说明](http://blog.zhowkev.in/2015/07/06/fun-with-mask/). * [XYPieChart](https://github.com/xyfeng/XYPieChart) - XYPieChart:饼状图, 饼图, 数据统计, 数据可视化,可以在图形上标注数据。效果十分漂亮,而且没有用到一张图片. * [ZFChart](https://github.com/Zirkfied/ZFChart) - 模仿PNChart写的一个图表库,用法简单,暂时有柱状图,线状图,饼图三种类型,后续可能会更新新的类型. * [JYRadarChart](https://github.com/johnnywjy/JYRadarChart) - 一个很赞的图表库. * [iOS-Echarts](https://github.com/Pluto-Y/iOS-Echarts) - 将百度的 ECharts (Echarts2) 工具封装成对应的 iOS 和 Mac 的控件。 * [FSLineChart](https://github.com/ArthurGuibert/FSLineChart) - 一个适用于 iOS 的折线图表。 #### 下拉刷新@ * [MJRefresh](https://github.com/CoderMJLee/MJRefresh) - 仅需一行代码就可以为UITableView或者CollectionView加上下拉刷新或者上拉刷新功能。可以自定义上下拉刷新的文字说明。具体使用看“使用方法”. * [XHRefreshControl](https://github.com/xhzengAIB/XHRefreshControl) - XHRefreshControl 是一款高扩展性、低耦合度的下拉刷新、上提加载更多的组件. * [CBStoreHouseRefreshControl](https://github.com/coolbeet/CBStoreHouseRefreshControl) - 一个效果很酷炫的下拉刷新控件. * [KYJellyPullToRefresh](https://github.com/KittenYang/KYJellyPullToRefresh) - 实现弹性物理效果的下拉刷新,神奇的贝塞尔曲线,配合UIDynamic写的一个拟物的下拉刷新动画. * [MHYahooParallaxView](https://github.com/michaelhenry/MHYahooParallaxView) - 类似于Yahoo Weather和News Digest首屏的视差滚动. * [SDRefreshView](https://github.com/gsdios/SDRefreshView) - 简单易用的上拉和下拉刷新(多版本细节适配). * [可展开/收缩的下拉菜单--SvpplyTable](http://d.cocoachina.com/code/detail/237753) - 一个可展开可收缩的下拉菜单,类似Svpply app. * [ODRefreshControl](https://github.com/Sephiroth87/ODRefreshControl) - 原iOS6上的橡皮糖刷新样式,很有意思。现在也很多大的 App 在用,比如虾米音乐和 QQ 客户端. * [PullToMakeSoup](https://github.com/Yalantis/PullToMakeSoup) - PullToMakeSoup, 自定义下拉刷新的动画效果:煮饭, Yalantis新作. * [TwitterCover](https://github.com/cyndibaby905/TwitterCover) - Twitter iOS客户端的下拉封面模糊效果. * [Replace-iOS](https://github.com/MartinRGB/Replace-iOS) - Replace-iOS 让人眼前一亮的下拉刷新(iOS). * [Animations](https://github.com/KittenYang/Animations) - 封装了一下,使用的时候只要两行代码。一些动画的飞机稿,都是一些单独分离出来的用于测试的子动画,现在统一归类一下. * [PullToBounce](https://github.com/entotsu/PullToBounce) - 下拉刷新的动画 for UIScrollView. * [WaterDropRefresh](https://github.com/li6185377/WaterDropRefresh) - 仿Path 水滴的下拉刷新效果 还有视差滚动. * [ESRefreshControl](https://github.com/EnjoySR/ESRefreshControl) - 仿新浪微博、百度外卖、网易新闻下拉刷新样式Demo(仅供参考). * [WaveRefresh](https://github.com/alienjun/AJWaveRefresh) - 下拉刷新水波纹动画. * [DGElasticPullToRefresh](https://github.com/gontovnik/DGElasticPullToRefresh) - 是一款带有弹性效果的 iOS 下拉刷新组件. * [BanTangAnimation](https://github.com/zangqilong198812/BanTangAnimation) - 半糖下拉刷新的原理。简单来说是利用CGGlyph,字符图形转换成cgpath,然后绘制strokeEnd动画。把timeoffset和scrolloffset结合就行了。 * [SURefresh](https://github.com/DaMingShen/SURefresh) - BOSS直聘APP下拉刷新动画实现,效果展示图-> [实现思路](http://mp.weixin.qq.com/s?__biz=MzA4ODk0NjY4NA==&mid=2701606115&idx=1&sn=98a486103668a30e16a328cbb529fe5e&scene=23&srcid=0728iIHfF3zMvIvdpqrIXCOK#rd)再复杂的动画都可以拆分成许多简单的动画组合起来,这个动画大概可以分成两个主体,我把它分别录制出来给大家看看. * [TGRefreshOC](https://github.com/targetcloud/TGRefreshOC) - 弹簧、橡皮筋下拉刷新控件,类似QQ下拉刷新效果,同时支持其他样式. * [GSRefresh](https://github.com/wxxsw/GSRefresh) - 完全自定义视图和动画的下拉刷新、上拉加载库,易扩展. #### 模糊效果@ * [FXBlurView](https://github.com/nicklockwood/FXBlurView) - 是一个UIView子类,支持iOS5.0以上版本,支持静态、动态模糊效果,继承与UIView的模糊特效. * [VVBlurPresentation](https://github.com/onevcat/VVBlurPresentation) - 很简单易用的在原来viewconntroller基础上做模糊,然后present新的viewcontroller的. * [UICustomActionSheet](https://github.com/pchernovolenko/UICustomActionSheet) - 通过模糊背景来着重强调与菜单相关的元素--对话框 里面已经收藏. * [SABlurImageView](https://github.com/szk-atmosphere/SABlurImageView) - 支持渐变动画效果的图像模糊化类库。P.S. 与前几天推存类库 SAHistoryNavigationViewController 是同一位作者. #### 日历三方库@ * [FSCalendar](https://github.com/WenchaoD/FSCalendar) - 一个完全可定制的 iOS 日历库,兼容 Objective-C 和 Swift。 * [TEAChart](https://github.com/xhacker/TEAChart) - xhacker/TEAChart 一个简洁的 iOS 图表库,支持柱状图、饼图以及日历等. * [CVCalendar](https://github.com/Mozharovsky/CVCalendar) - 是一个方便开发者集成自定义日历视图到自己 iOS 应用的项目, 支持 Storyboard 和手动配置, 使用 CocoaPods 进行安装, 提供了丰富的 API 供开发者使用. #### 颜色@ * [Chameleon](https://github.com/ViccAlexander/Chameleon) - Chameleon是一个非常棒👍👍👍iOS的色彩框架。它运用现代化flat color将UIColor扩展地非常美观。我们还可以通过它运用自定义颜色创建调色板。它还有很多功用,请浏览readme。同时支持Swift. * [Colours](https://github.com/bennyguitar/Colours) - Colours–颜色库,包含100种预定义的颜色和方法. * [DKNightVersion](https://github.com/Draveness/DKNightVersion) - Manage Colors, Integrate Night/Multiple Themes. #### scrollView@ * [SYParallaxScrollView](https://github.com/syjdev/SYParallaxScrollView) - Useful for Configure Horizontal Parallax Scroll. * [LazyScrollView](https://github.com/alibaba/LazyScrollView) - iOS 高性能异构滚动视图构建方案. * [GKPageScrollView](https://github.com/QuintGao/GKPageScrollView) - iOS类似微博、抖音、网易云等个人详情页滑动嵌套效果. #### 对话交互@ #### 隐藏与显示@ * [SlideTapBar](http://d.cocoachina.com/code/detail/286102) - 滚动栏菜单,向上滚动时隐藏tabbar,向下滚动马上显示tabbar. * [FoldingTabBar.iOS](https://github.com/Yalantis/FoldingTabBar.iOS) - 可折叠Tab Bar和Tab Bar Controller. * [KMNavigationBarTransition](https://github.com/MoZhouqi/KMNavigationBarTransition) - LTNavigationBar在右滑返回的时候NavigationBar显示都不完美,KMNavigationBarTransition一个用来统一管理导航栏转场以及当 push 或者 pop 的时候使动画效果更加顺滑的通用库,并且同时支持竖屏和横屏. * [HYNavBarHidden](https://github.com/HelloYeah/HYNavBarHidden) - 导航条滚动透明,超简单好用的监听滚动,导航条渐隐的UI效果实现. * [BLKFlexibleHeightBar](https://github.com/bryankeller/BLKFlexibleHeightBar) - 非常赞,是一个使导航栏高度可以动态变化的 UI 库。固定Header的效果库,一个拥有非常灵活高度的标题栏,可以为使用软件的用户提供更多的阅读和滑动空间,现在已经被众多app所采用. * [JXT_iOS_Demos](https://github.com/kukumaluCN/JXT_iOS_Demos) - AboutNavigationBar:一些关于navigationBar的非常规的但是较为实用的操作,包括利用毛玻璃、动态透明、动态隐藏,以及头视图的动态缩放,并同时涉及了statusBar的动态设置(换色)。[教程](http://www.jianshu.com/p/b2585c37e14b). * [NavigationBarScaleViewDemo](https://github.com/CoderJackyHuang/NavigationBarScaleViewDemo) - iOS导航条自由缩放头像效果。[原理剖析](http://www.henishuo.com/nav-photo-scale/). #### HUD与Toast@ * [MBProgressHUD](https://github.com/jdg/MBProgressHUD) - MBProgressHUD + Customizations. * [SVProgressHUD](https://github.com/SVProgressHUD/SVProgressHUD) - 非常赞 SVProgressHUD的loading,如果你需要定制化的等待提示器,这个就是了(也许是最好的). * [JDStatusBarNotification](https://github.com/calimarkus/JDStatusBarNotification) - 非常赞👍👍👍 的自定义顶部通知. * [Toast](https://github.com/scalessec/Toast) - An Objective-C category that adds toast notifications to the UIView object class. * [EBuyCommon](https://github.com/LvJianfeng/EBuyCommon) - 1.基于MBProgressHUD实现得图形加载提示方式,及其它标题方式提醒。2.弹窗. * [WZDraggableSwitchHeaderView](https://github.com/wongzigii/WZDraggableSwitchHeaderView) - Show status for transition across viewControllers. * [ProgressHUD](https://github.com/relatedcode/ProgressHUD) - ProgressHUD的loading,使用最简单. * [MMProgressHUD](https://github.com/mutualmobile/MMProgressHUD) - 设置HUD出现和消失的方式(包括上下、左右、淡入淡出、放大缩小等等),设置HUD的内容(可以在HUD中加入帧动画、动态图片等等),设置HUD出现时的底部覆盖层颜色,等等。总而言之,这是一份集大成的HUD代码. * [WSProgressHUD](https://github.com/devSC/WSProgressHUD) - 一个小巧精致的HUD,支持添加到自定义View上, 还有更多小细节. * [PreLoader](https://github.com/liuzhiyi1992/PreLoader) - 一个很有意思的HUD loading ,通过运动污点和固定污点之间的粘黏动画吸引用户的眼球跟踪,能有效分散等待注意力。[PreLoader的实现讲解](http://www.cocoachina.com/ios/20160427/16029.html). * [FillableLoaders](https://github.com/poolqf/FillableLoaders) - 自定义加载进度UI-Completely customizable progress based loaders drawn using custom CGPaths written in Swift :large_orange_diamond: * [TopAlert](https://github.com/roycms/TopAlert) - 顶部提示View. * [CMPopTipView](https://github.com/chrismiles/CMPopTipView) - 自定义气泡View提示框. * [WeChatFloat](https://github.com/SherlockQi/WeChatFloat) - 仿微信浮窗功能. * [KJLoadingDemo](https://github.com/yangKJ/KJLoadingDemo) - 汇集整理一些样式的Loading加载等待动画,封装以及简单调用,使用起来也非常方便快捷,同样你也可以把他作为HUD来使用 * [JGProgressHUD](https://github.com/JonasGessner/JGProgressHUD) - An elegant and simple progress HUD for iOS and tvOS, compatible with Swift and ObjC. #### 对话框@ * [SCLAlertView](https://github.com/dogo/SCLAlertView) - 有特色的对话框. * [LCActionSheet](https://github.com/iTofu/LCActionSheet) - 一款简约而不失强大的 ActionSheet,微信和微博都采取了极其类似的样式. * [WCAlertView](https://github.com/m1entus/WCAlertView) - 自定义的对话框. * [STPopup](https://github.com/kevin0571/STPopup) - 提供了一个可在 iPhone 和 iPad 上使用的具有 UINavigationController 弹出效果的 STPopupController 类, 并能在 Storyboard 上很好的工作. * [AMSmoothAlert](https://github.com/mtonio91/AMSmoothAlert) - 动画效果不错,最多star,但不支持arm64. * [DQAlertView](https://github.com/dinhquan/DQAlertView) - 扁平化的样式不错. * [HHAlertView](https://github.com/mrchenhao/HHAlertView) - 一个简易的alertview 有三种样式,有成功,失败,和警告三种样式,支持Delegate和block两种回调. * [MJPopupViewController](https://github.com/martinjuhasz/MJPopupViewController) - 实现弹出视图的各种弹出和消失效果,包括淡入淡出(fade in,fade out),从屏幕上方飞进,下方飞出,从屏幕左方飞进,右方飞出等等效果,弹窗. * [MMPopupView](https://github.com/adad184/MMPopupView) - 弹出框的基类组件(弹窗). * [Menu](https://github.com/fengchuanxiang/Menu) - 项目中可能会用到的常用菜单,以后有时间会继续补充,弹窗. * [EasyTipView](https://github.com/teodorpatras/EasyTipView) - 弹出提示框类及演示示例。同样地,API 简单、易用。好“轮子”,弹窗. * [kxmenu](https://github.com/kolyvan/kxmenu) - kxmenu弹出菜单,点击视图上任意位置的按钮,会弹出一个菜单,并且有个小箭头指向点击的按钮,类似气泡视图。弹出的菜单位置会根据按钮的位置来进行调整. * [QBPopupMenu](https://github.com/questbeat/QBPopupMenu) - QBPopupMenu弹出菜单,实现类似 UIMenuItem 的弹出菜单按钮。点击按钮,会弹出一个菜单,上面可以排列多个按钮。纯代码实现,不需要任何图片. * [GMenuController](https://github.com/GIKICoder/GMenuController) - 具有和系统UIMenuController行为,交互一致的Menu弹出控件.相比UIMenuController.具有更加友好的使用方式. 支持MenuItem指定target.使用更加灵活,支持更改menuview 外观设置. * [STModalDemo](https://github.com/zhenlintie/STModalDemo) - 弹出视图(通知,提示,选择,窗口). * [TAOverlay](https://github.com/TaimurAyaz/TAOverlay) - TAOverlay可通过叠加层展示有用的信息,可自定义文本和背景色,添加阴影和模糊效果,以及更改字体大小或者用自定义图片替换页面上的icon. * [UICustomActionSheet](https://github.com/pchernovolenko/UICustomActionSheet) - 通过模糊背景来着重强调与菜单相关的元素--模糊效果 里面已经收藏. * [ActionSheetPicker-3.0](http://code.cocoachina.com/detail/232178) - 该项目是此前热门项目ActionSheetPicker的新版本,快速复制了iOS 8上的下拉 UIPickerView/ActionSheet功能. * [MJAlertView](https://github.com/mayuur/MJAlertView) - 3D效果转场效果警示图--MJAlertView. * [PSTAlertController](https://github.com/steipete/PSTAlertController) - 兼容 iOS7的 XXAlertController,接口跟UIAlertController 一模一样,做到高低版本通用. * [PCLBlurEffectAlert.swfit](https://github.com/hryk224/PCLBlurEffectAlert) - 细节定制较丰富的弹出警报窗口组件. * [GSAlert.swfit](https://github.com/wxxsw/GSAlert) - 苹果在iOS8推出了全新的UIAlertController,旧的UIAlertView和UIActionSheet渐渐被废弃,但如果你仍然支持iOS7系统,你将不得不写两套代码。GSAlert解决了这个问题. * [SweetAlert-iOS](https://github.com/codestergit/SweetAlert-iOS) - SweetAlert-iOS 带动画效果弹窗对话框封装类. * [CCActionSheet](https://github.com/maxmoo/CCActionSheet) - CCActionSheet:仿照微信朋友圈自定义actionsheet,一行代码即可使用. * [CustomPopOverView](https://github.com/maltsugar/CustomPopOverView) - 自定义弹出视图,内容支持传一组菜单标题,也支持自定义view,或者自定义viewController,支持任意按钮触发,会显示在按钮底部,也支持切换按钮的对齐方式:左对齐、居中、右对齐. * [TOActionSheet](https://github.com/TimOliver/TOActionSheet) - 是一个 iOS UI 控件,提供一个模态提示控制,类似于 UIActionSheet。不同于 UIActionSheet 的是,它可以深度重设主题,通过对每个按钮使用块来避免委托模式. * [ZFAlertController](https://github.com//ICU-Coders/ZFAlertController) - 一款可高度自定义的弹窗(Alert,ActionSheet),使用方法完全类似UIAlertController #### Pop@ * [AMPopTip](https://github.com/andreamazz/AMPopTip) - 一个可以定义frame的带动画的popover. An animated popover that pops out a given frame, great for subtle UI tips and onboarding. * [DXPopover](https://github.com/xiekw2010/DXPopover) - 很赞 DXPopover微信右上角的+点击展示列表效果,弹窗菜单。 A Popover mimic Facebook app popover using UIKit. * [zhPopupController](https://github.com/snail-z/zhPopupController) - Popup your custom view is easy, support custom mask style, transition effects and gesture to drag. * [FFPopup](https://github.com/JonyFang/FFPopup) - 🎉Presenting custom views as a popup in iOS. * [GTSheet](https://github.com/gametimesf/GTSheet) - An easy to integrate solution for presenting UIViewControllers in a bottom sheet. * [LewPopupViewController](https://github.com/pljhonglu/LewPopupViewController) - ios 弹出视图. * [YCXMenuDemo_ObjC](https://github.com/Aster0id/YCXMenuDemo_ObjC) - `TCXMenu` is an easy-to-use menu. * [PopMenu](https://github.com/xhzengAIB/PopMenu) - 用POP动画引擎写的Sina微博的Menu菜单. * [XTPopView](https://github.com/summerxx27/XTPopView) - 一个易用的带箭头的View, 可以实现类似于微信添加好友那个View的效果 (包含Objective-C和Swift版本). * [MLMOptionSelectView](https://github.com/MengLiMing/MLMOptionSelectView) - 弹出-选择-展示框. * [LiquidFloatingActionButton](https://github.com/yoavlt/LiquidFloatingActionButton) - 卫星弹出菜单. * [HyPopMenuView](https://github.com/wwdc14/HyPopMenuView) - 模仿新浪微博弹出菜单. * [DOPScrollableActionSheet](https://github.com/mrhyh/DOPScrollableActionSheet) - Multi-row scrollable action sheet. * [DropDownMenu](https://github.com/MartinLi841538513/DropDownMenu) - 仿美团下拉菜单,二级菜单. #### 状态栏@ * [MTStatusBarOverlay](https://github.com/myell0w/MTStatusBarOverlay) - MTStatusBarOverlay 是一个定制的 iOS 状态栏,用于覆盖系统默认的状态栏,类似 Reeder, Evernote and Google Mobile App。支持两种点击动作:1. 当用户点击状态栏时,状态栏会收缩,仅仅遮盖住状态栏右方的电池图标;2. 当用户点击状态栏时,一个有详细信息的视图会从系统状态栏中下拉出现. #### 导航栏@ * [WRNavigationBar](https://github.com/wangrui460/WRNavigationBar) - 超简单!!! 一行代码设置状态栏、导航栏按钮、标题、颜色、透明度,移动等. * [AMScrollingNavbar](https://github.com/andreamazz/AMScrollingNavbar) - 一个可以上拉隐藏导航栏和下拉显示导航栏的框架. * [JTNavigationController](https://github.com/JNTian/JTNavigationController) - 一个拥有更平滑的navigationBar切换动画的NavigationController. * [NavigationController](https://github.com/Roxasora/RxWebViewController) - 实现类似微信的 webView 导航效果,包括进度条,左滑返回上个网页或者直接关闭,就像 UINavigationController. * [LTNavigationBar](https://github.com/ltebean/LTNavigationBar) - 叠。[实现教程](http://tech.glowing.com/cn/change-uinavigationbar-backgroundcolor-dynamically/). * [LSNavigationBarTransition](https://github.com/lsmakethebest/LSNavigationBarTransition) - 导航栏背景色可以统一设置,每一个控制器导航栏背景色还可以自己单独设置不影响统一设置的界面,采用自定义交互动画实现淘宝,京东等软件当下最流行的导航控制器效果,比其他实现方式每一个控制器都包装一个导航控制器性能更好,使用方法更贴合系统使用方法. * [HBDNavigationBar](https://github.com/listenzz/HBDNavigationBar) - A custom UINavigationBar for smooth switching between various states, including bar style, bar tint color, background image, background alpha, bar hidden, title text attributes, tint color, shadow hidden... #### 设置@ * [InAppSettingsKit](https://github.com/futuretap/InAppSettingsKit) - InAppSettingsKit 是一款功能强大的ios设置组件,可以满足各种各样的app设置需求. #### 引导页@ * [XHLaunchAd](https://github.com/CoderZhuXH/XHLaunchAd) - 🔥The screen opening advertising solutions - 开屏广告、启动广告解决方案-支持静态/动态图片广告,mp4视频广告,全屏/半屏广告、兼容iPhone/iPad. * [RMParallax](https://github.com/michaelbabiy/RMParallax) - RMParallax是一个app启动页引导开源项目,除了细微的翻页视差效果,描述文本的过渡也非常美观(版本新特性、导航页、引导页). * [ADo_GuideView](https://github.com/Nododo/ADo_GuideView) - 转动的用户引导页(模仿网易bobo) 因为没有从app包里抓到@3x的图片,建议在iPhone5模拟器运行,保证效果~ (版本新特性、导航页、引导页). * [CoreNewFeatureVC](https://github.com/CharlinFeng/CoreNewFeatureVC) - 版本新特性(引导页),1.封装并简化了版本新特性启动视图!2.添加了版本的本地缓存功能,3.集成简单,使用方便,没有耦合度,4.支持block回调(版本新特性、导航页、引导页). * [MZGuidePages](https://github.com/MachelleZhang/MZGuidePages) - 自己写的通用导航页,可以直接引入工程使用,请参考案例(版本新特性、导航页、引导页). * [ABCIntroView](https://github.com/AdamBCo/ABCIntroView) - ABCIntroView是一个易于使用的入门类,让你到达主屏幕之前介绍你的应用程序(版本新特性、导航页、引导页). * [EAIntroView](https://github.com/ealeksandrov/EAIntroView) - Highly customizable drop-in solution for introduction views. * [Onboard](https://github.com/mamaral/Onboard) - 一个iOS框架,轻松创建一个美丽和吸引人的使用引导,只需行代码,非常赞👍👍,同时支持Swift. * [JMHoledView](https://github.com/leverdeterre/JMHoledView) - 一个不错的使用引导库,使用View实现. * [TNTutorialManager](https://github.com/Tawa/TNTutorialManager) - 内嵌的App使用引导库. #### Switch@ * [JTMaterialSwitch](https://github.com/JunichiT/JTMaterialSwitch) - A Customizable Switch UI for iOS, Inspired from Google's Material Design. * [LLSwitch](https://github.com/lilei644/LLSwitch) - 一个有趣的switch. * [ViralSwitch](https://github.com/andreamazz/ViralSwitch) - A UISwitch that infects its superview with its tint color. #### Label@ * [YYAsyncLayer](https://github.com/ibireme/YYAsyncLayer) - iOS utility classes for asynchronous rendering and display. * [PPCounter](https://github.com/jkpang/PPCounter) - 一款简单实用的数字加减动画,支持UILabel、UIButton显示. * [MZTimerLabel](https://github.com/mineschan/MZTimerLabel) - 使用UILabel作为倒数计时器或秒表. #### Search@ * [PYSearch](https://github.com/iphone5solo/PYSearch) - 非常赞 An elegant search controller for iOS. * [search](https://github.com/mrhyh/search) - 搜索历史标签. * [CYLSearchViewController](https://github.com/ChenYilong/CYLSearchViewController) - 模仿iPhone短信聊天里的搜索框样式,点击搜索后,搜索框平滑移动到导航栏上. #### 主题@ * [Hodor](https://github.com/Aufree/Hodor) Hodor 是一套可让你的应用快速支持本地化的解决方案, 允许你在应用内直接更改应用语言而无需退出应用, 类似微信. * [LEETheme](https://github.com/lixiang1994/LEETheme) - 优雅的主题管理库- 一行代码完成多样式切换. * [PYTheme](https://github.com/iphone5solo/PYTheme) - PYTheme通过NSObject的分类实现使用简单的主题更换. * [EasyTheme](https://github.com/JyHu/EasyTheme) - 支持动态主题更换,使用简单。 #### 电影选座@ * [ZFSeatsSelection](https://github.com/ZFbaby/ZFSeatsSelection) - 高仿猫眼电影选座(选票)模块(High imitation opal film seat selection (vote) module). * [FVSeatsPicker](https://github.com/Upliver/FVSeatsPicker) - FVSeatsPicker是一个高性能的选座框架,可以直接pod引入,使用时可以直接当做View添加到任何视图控件内部. #### 瀑布流@ * [CHTCollectionViewWaterfallLayout](https://github.com/chiahsien/CHTCollectionViewWaterfallLayout) - 赞 UICollectionViewLayout的一个子类,尽可能地模仿了UICollectionViewFlowLayout的用法,灵感来源于Pinterest,同时还兼容PSTCollectionView. #### 菜单@ * [JSDBanTangHomeDemo](https://github.com/JoySeeDog/JSDBanTangHomeDemo) - 真正的仿半塘首页效果,半糖首页核心技术解析. * [HACursor](https://github.com/HAHAKea/HACursor) - 帮助开发者方便集成导航指示器,用于管理视图页面. * [ZTPageController](https://github.com/wuzhentao/ZTPageController) - 模仿网易新闻和其他新闻样式做的一个菜单栏,栏中有各自的控制器。 不建议用VC做展示,具体可以参考我最近写的. * [circle-menu](https://github.com/Ramotion/circle-menu) - 赞 一个不错的旋转点击菜单,类似于遥控器的上下左右中点击样式. * [KYGooeyMenu](https://github.com/KittenYang/KYGooeyMenu) - KYGooeyMenu 是一个具有 Gooey Effects 带粘性的扇形菜单控件(卫星菜单、path). * [DCPathButton](https://github.com/Tangdixi/DCPathButton) - Path,4.0的弹出菜单,呼出或者关闭菜单时,多个小图标会分别按照逆时针和顺时针的方向进行滚动. * [类似美团的下拉选项](http://code4app.com/ios/%E7%B1%BB%E4%BC%BC%E7%BE%8E%E5%9B%A2%E7%9A%84%E4%B8%8B%E6%8B%89%E9%80%89%E9%A1%B9/538606d4933bf06e0a8b496e) - 类似于美团、大众点评的下拉菜单选项,code4app代码,评论代码有瑕疵. * [KJMenuView](https://github.com/yangKJ/KJMenuView) - 封装整理一些菜单控件、下拉菜单,横向滚动菜单 #### TabBar@ * [DLSlideView](https://github.com/agdsdl/DLSlideView) - DLSlideView对常见的顶部Tab页点击、滑动分页做了封装。 它使用基于ViewController的container特性(而不是scrollview)来管理各个子页面,保留原始的系统消息,没有隐患。 同时内存模型更优于使用scrollview的方式,理论上可以支持无限分页. * [LLRiseTabBar-iOS](https://github.com/NoCodeNoWife/LLRiseTabBar-iOS) - 仿淘宝闲鱼的TabBar. * [AxcAE_TabBar](https://github.com/axclogo/AxcAE_TabBar) - AxcAE_TabBar,特效TabBar,以开放为封装核心的TabBar组件,尽量将属性、API等参数全部开放给使用者,能够很方便快速使用的一个TabBar选项卡组件. #### 小红点@ * [WZLBadge](https://github.com/weng1250/WZLBadge) - 小红点,Badge,支持横竖屏支持iOS5~iOS8允许高度定制化,包括“红点”的背景颜色,文字(字体大小、颜色),位置等。[说明](http://code.cocoachina.com/detail/316890/%E4%B8%80%E8%A1%8C%E4%BB%A3%E7%A0%81%E5%AE%9E%E7%8E%B0%E5%A4%9A%E9%A3%8E%E6%A0%BC%E7%9A%84%E6%8E%A8%E9%80%81%E5%B0%8F%E7%BA%A2%E7%82%B9/). * [RKNotificationHub](https://github.com/cwRichardKim/RKNotificationHub) - 快速给 UIView 添加上炫酷的通知图标(Badge、红点、提示). * [PPBadgeView](https://github.com/jkpang/PPBadgeView) - iOS自定义Badge组件, 支持UIView、UITabBarItem、UIBarButtonItem ,支持Objective-C/Swift双版本. #### page@ * [VTMagic](https://github.com/tianzhuo112/VTMagic) - VTMagic is a page container library for iOS. * [NinaPagerView](https://github.com/RamWire/NinaPagerView) - 一行代码搞定顶部菜单栏。类似网易新闻、今日头条、虎扑看球等app做的一个顶部菜单栏,每栏中有独立的控制器,可自己定制. * [PageMenu](https://github.com/uacaps/PageMenu) - A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram) [⚠️已失去维护] * [WMPageController](https://github.com/wangmchn/WMPageController) - 一个方便的 pageContrller 的控件,里面还包括滚动视图。 * [MXSegmentedPager](https://github.com/maxep/MXSegmentedPager) - 分页滚动,多个分页的pageController效果. * [ZJScrollPageView](https://github.com/jasnig/ZJScrollPageView) - 网易新闻, 腾讯视频, 头条 等首页的滑块视图联动的效果OC版的简单方便的集成. * [HMSegmentedControl](https://github.com/HeshamMegid/HMSegmentedControl) - 一个比较好用的第三方分段控制器. * [XHTwitterPaggingViewer](https://github.com/xhzengAIB/XHTwitterPaggingViewer) - 类似 Twitter 风格的导航栏页面控制器。 * [SPPage](https://github.com/xichen744/SPPage) - 高性能PageController. * [SCSafariPageController](https://github.com/stefanceriu/SCSafariPageController) - A page view controller component that reproduces Mobile Safari's tab switching behavior. * [YNPageViewController](https://github.com/yongyuandouneng/YNPageViewController) - 重构版--特斯拉组件、多页面嵌套滚动、悬停效果、美团、淘宝、京东、微博、腾讯新闻、网易新闻、今日头条等标题滚动视图. * [XBScrollPageController](https://github.com/changjianfeishui/XBScrollPageController) - iOS 分页控制器,只需传入标题数组和控制器类名数组即可。 #### 轮播@ * [KJBannerView](https://github.com/yangKJ/KJBannerViewDemo) - 轮播图Banner - 无任何第三方依赖、轻量级组件 支持缩放、自带缓存加载 支持自定义继承、定制特定样式 支持网络GIF播放和网络图片和本地图片混合显示轮播 支持在Storyboard和Xib中创建并配置其属性 * [SGPagingView](https://github.com/kingsic/SGPagingView) - A powerful and easy to use segment control (美团、淘宝、京东、微博、腾讯、网易、今日头条等标题滚动视图). * [iCarousel](https://github.com/nicklockwood/iCarousel) - 非常赞 作者是英国 Charcoal Design 公司的创始人, 开源领域的贡献颇为卓著, 这个项目就是其中之一, 这是一款可以在 iOS 上实现旋转木马视图切换效果的第三方控件, 并提供多种切换效果。是一个使用简单、高度自定义的多类型视图切换的控件,支持iOS/Mac OS、ARC & Thread Safety; A simple, highly customisable, data-driven 3D carousel for iOS and Mac OS * [SDCycleScrollView](https://github.com/gsdios/SDCycleScrollView) - 无限循环自动图片轮播器(一步设置即可使用). * [HYBLoopScrollView](https://github.com/CoderJackyHuang/HYBLoopScrollView) - 一行代码接入轮播组件,自带图片下载、缓存相关功能,无任何第三方依赖、轻量级组件. #### 选择器@ * [ActionSheetPicker-3.0](https://github.com/skywinder/ActionSheetPicker-3.0) - Quickly reproduce the dropdown UIPickerView / ActionSheet functionality on iOS. * [STPickerView](https://github.com/STShenZhaoliang/STPickerView) - 一个多功能的选择器,有城市选择,日期选择和单数组源自定的功能,方便大家的使用,低耦合,易扩展. * [ASDayPicker](http://code.cocoachina.com/detail/226543) - 适用于iOS (iPhone)的日期选择器(时间选择器),类似于Calendar app的周视图. * [HSDatePickerViewController](https://github.com/EmilYo/HSDatePickerViewController) - 带有Dropbox Mailbox感觉的时间日期选择器(时间选择器)。启动是背景被模糊化。界面也是主流的扁平化风格. * [HZQDatePickerView](https://github.com/huzhiqin/HZQDatePickerView) - 自定义时间选择器(日期选择器),包括开始日期和结束日期两种类型. * [CFCityPickerVC](https://github.com/CharlinFeng/CFCityPickerVC) - 城市选取控制器. * [YMCitySelect](https://github.com/mrhyh/YMCitySelect) - 重量级城市选择框架,类似美团、猫眼电影、美团外卖、百度外卖、百度糯米等团购类app城市选择界面. * [JFCitySelector](https://github.com/zhifenx/JFCitySelector) -(仿美团)简单好用的城市选择器,三行代码搞定. * [PGDatePicker](https://github.com/xiaozhuxiong121/PGDatePicker) - 日期选择器,支持年、年月、年月日、年月日时分、年月日时分秒、时分、时分秒、月日周 时分等. * [UsefulPickerView](https://github.com/jasnig/UsefulPickerView) - 可以简单快速实现点击TextField或者按钮弹出单列, 多列, 多列关联,城市选择, 日期选择的pickerView. #### 购物车@ * [ShoppingCartExample](https://github.com/gbaldera/ShoppingCartExample) - 购物车最多star demo. * [shoppingCart1](https://github.com/yhangeline/shoppingCart) - 仿美团购物车效果。 * [ZFShoppingCart](https://github.com/WZF-Fei/ZFShoppingCart) - 仿照美团外卖加入购物车的动态效果. * [shoppingCart2](https://github.com/spxvszero/ShoppingCart) - 一个购物车demo,包含购物车动画效果、购物车多选、删除、编辑等功能. * [shoppingCart-demo](https://github.com/DrYrw/shoppingCart-demo) - 一个简单的购物车功能实现demo. * [iOS_oShoppingCart_Demo](https://github.com/ZyZwei/iOS_oShoppingCart_Demo) - 简单实现购物车常见的筛选功能. * [XNQShoppingTrolley](https://github.com/342261733/XNQShoppingTrolley) - 购物车功能 基本功能仿照淘宝的购物车. * [ShoppingDemo](https://github.com/Zhangjingwang1993/ShoppingDemo) - iOS仿美团外卖饿了吗App点餐动画,购物车. * [shopCarDemobyCX](http://code.cocoachina.com/view/129430) - shopCarDemobyCX一个简易购物车效果,最重要的是可以分单结算,分单个商品结算,代理是主要技术. * [MVVM KVO购物车](http://code.cocoachina.com/view/128713) - MVVM KVO 购物车(一处计算总价钱). * [CartDemo](https://github.com/LQQZYY/CartDemo) - CartDemo比较完整的购物车界面及逻辑,商品展示,多选,单选,全选及滑动删除,价格计算. * [shopCartDemo](https://github.com/wangluhui/shopCartDemo) - 购物车Demo. * [ShoppingCartDemo](https://github.com/Andy0570/ShoppingCartDemo) - iOS 中的购物车页面示例。 #### 按钮@ * [TORoundedButton](https://github.com/TimOliver/TORoundedButton) - A high-performance button control with rounded corners for iOS. * [DownloadButton](https://github.com/PavelKatunin/DownloadButton) - Customizable App Store style download button. * [PPNumberButton](https://github.com/jkpang/PPNumberButton) - 高仿京东淘宝商品数量的加减按钮,可定制程度较高,使用简单. #### 类3D@ * [SphereView](https://github.com/heroims/SphereView) - 球形3D 标签 类似网易订阅 可放大 缩小 滑动 点击自动旋转. #### 进度@ * [NVActivityIndicatorView](https://github.com/ninjaprox/NVActivityIndicatorView) - loading 进度条动画,有20-30多种,非常👍👍👍 . * [DGActivityIndicatorView](https://github.com/gontovnik/DGActivityIndicatorView) - DGActivityIndicatorView is a great way to make loading spinners in your application look nicer. It contains 32 different indicator view styles. * [M13ProgressSuite](https://github.com/Marxon13/M13ProgressSuite) - 含有许多工具套件,以在iOS上显示进度信息. * [YLProgressBar](https://github.com/yannickl/YLProgressBar) - UIProgressView replacement with an highly and fully customizable animated progress bar in pure Core Graphics. * [NJKWebViewProgress](https://github.com/ninjinkun/NJKWebViewProgress) - 很赞 一个 UIWebView 的进度条接口库,UIWebView 本身是不提供进度条的。 * [UAProgressView](https://github.com/UrbanApps/UAProgressView) - 很赞 的一个进度指示View. * [AwesomeMenu](https://github.com/levey/AwesomeMenu) - 最多人用的Path菜单. * [ZFProgressView](https://github.com/WZF-Fei/ZFProgressView) - A simple digit progress view.(version1.3 使用GCD定时器代替NSTimer,避免内存泄露问题). * [WaveLoadingView](https://github.com/liuzhiyi1992/WaveLoadingView) - iOS 唯一完美的波浪进度加载指示器,[实现说明](http://zyden.vicp.cc/waveloadingindicator/). * [JZMultiChoicesCircleButton](https://github.com/JustinFincher/JZMultiChoicesCircleButton) - 三维多选按钮. * [ASProgressPopUpView](https://github.com/alskipp/ASProgressPopUpView) - 弹出的进度条显示进度. * [CircularProgressControl](https://github.com/carantes/CircularProgressControl) - Circular Progress Control using CAShapeLayer ,环形进度控制条. * [SDProgressView](https://github.com/gsdios/SDProgressView) - 简便美观的进度指示器,此系列共有六种样式的进度指示器. * [LoopProgressDemo](https://github.com/saitjr/STLoopProgressView) - 环形渐变进度条,[环形渐变进度条实现](http://www.superqq.com/blog/2015/08/12/realization-circular-gradient-progress/). * [MDCSwipeToChoose](https://github.com/modocache/MDCSwipeToChoose) - MDCSwipeToChoose可简单地添加滑动手势来调用UIView,并使用该行为提供了一个组件以创建类似Tinder app的like或者dislike界面的轻扫。基于轻扫的方向,你可以决定执行什么样的行为,并且你可以自定义文本颜色和图片。该项目适用于教学用的抽认卡、图片查看器以及其他等. * [MediumScrollFullScreen](https://github.com/pixyzehn/MediumScrollFullScreen) - Medium的可扩展滚动页面,上下滚动时,全屏显示内容,并自然消隐上下菜单。由此项目感知,作者是一位很注重细节的开发者,他的另外[几个菜单类项目](https://github.com/pixyzehn)也都不错,值得参考,比如:PathMenu, MediumMenu 等. * [today extension](http://adad184.com/2014/10/29/2014-10-29-how-to-setup-today-extension-programmatically/) - 用纯代码构建一个Widget(today extension). * [ImagePickerSheetController](https://github.com/larcus94/ImagePickerSheetController) - 图片或视频选择器(可多选)组件及其示例项目. * [ImagePickerSheet](https://github.com/larcus94/ImagePickerSheetController) - 图片或视频选择器(可多选)组件及其示例项目. * [BLEProgressView](https://github.com/blueeee/BLEProgressView) - 使用pop实现动画的进度条. * [ZZCircleProgress](https://github.com/zhouxing5311/ZZCircleProgress) - draw rect实现的圆形进度条。可以使用部分圆弧当做整个进度条,并可以随意设置起始角度及减少的圆弧角度大小. * [BubbleTransition](https://github.com/andreamazz/BubbleTransition) - 以气泡膨胀和缩小的动画效果来显示和移除 controller,Uber的就是这种取消操作的方式. * [KYFloatingBubble](https://github.com/KittenYang/KYFloatingBubble) - 类似iOS7中Game Center浮动气泡的效果. * [DKNightVersion](https://github.com/Draveness/DKNightVersion) - DKNightVersion 是一个支持夜间模式切换的框架. * [EasyUIControl](https://github.com/sx1989827/EasyUIControl) - 一个可以简化界面ui的控件框架. * [QQBtn](https://github.com/ZhongTaoTian/QQBtn) - 仿QQ未读消息弹性按钮动画,达到和手机QQ未读信息一样的动画效果,效果基本实现. * [TZStackView](https://github.com/tomvanzummeren/TZStackView) - OS 9 UIStackView 功能模拟实现于 iOS 7/ iOS 8 内. * [Ruler](https://github.com/nixzhu/Ruler) - 尺子. * [HUMSlider](https://github.com/justhum/HUMSlider) - HUMSlider是一款能够自动显示刻度记号的滑竿,滑动到某处,该处的刻度会自动上升,两边还能配置图像。支持代码或storyboard中实现. * [3DTouchDemo](https://github.com/luzefeng/3DTouchDemo) - 详细介绍了每个参数的含义和3Dtouch的入口,保证包学包会. * [3DTouchSample](https://github.com/RichardLeung/3DTouchSample) - 3D-Touch的功能分为两个部分:Shortcut和Preview. * [SBShortcutMenuSimulator](https://github.com/DeskConnect/SBShortcutMenuSimulator) - 教你如何在模拟器上测试 3D Touch 功能. * [仿LOL滚动视图](http://code.cocoachina.com/view/128287) - 仿LOL滚动视图. * [答题选择切换页](http://code.cocoachina.com/view/128281) - 将scrollview和tableview封装在一起,在初始化的时候简单的将数据带上,就可以一页一页的左右来回滑动. * [SCTrelloNavigation](https://github.com/SergioChan/SCTrelloNavigation) - 类似trello的导航动效控件实现. * [RGCategoryView](https://github.com/refinemobi/RGCategoryView) - 仿了个苏宁易购的分类页面. * [VBFPopFlatButton](https://github.com/victorBaro/VBFPopFlatButton) - 通过几条线段实现的非常Q萌的动画按钮效果. * [LNPopupController](https://github.com/LeoNatan/LNPopupController) - AppleMusic式pop up,弹出是页面,可以上下拉动. * [DGRunkeeperSwitch](https://github.com/gontovnik/DGRunkeeperSwitch/) - 动画segment,节选器. * [DynamicMaskSegmentSwitch](https://github.com/KittenYang/DynamicMaskSegmentSwitch) - 一个简单有趣的 SegmentedControl 节选器. * [YXFilmSelectView](https://github.com/yixiangboy/YXFilmSelectView) - 仿造时光网选择电影票的UI而开发的一个自定义View. * [FJTagCollectionView](http://code.cocoachina.com/view/129152) - 标签(适配宽度). * [DFTimelineView](https://github.com/anyunzhong/DFTimelineView) - DFTimelineView仿微信朋友圈 时间轴. * [HYBImageCliped](https://github.com/CoderJackyHuang/HYBImageCliped) - 可给任意继承UIView的控件添加任意多个圆角、可根据颜色生成图片且可带任意个圆角、给UIButton设置不同状态下的图片且可带任意圆角、给UIImageView设置任意图片,支持带圆角或者直接生成圆形. * [StackViewController](https://github.com/seedco/StackViewController) - 方便 iOS 开发者使用 UIStackView 构建表单或其它静态内容视图. * [LLBootstrapButton](https://github.com/lilei644/LLBootstrapButton) - Bootstrap 3.0扁平化风格按钮,自带图标,一句代码直接调用. * [JMRoundedCorner](https://github.com/raozhizhen/JMRoundedCorner) - UIView设置不触发离屏渲染的圆角. * [KNCirclePercentView](https://github.com/knn90/KNCirclePercentView) - 一个自定义动画的圆形进度View. * [MetalPetal](https://github.com/MetalPetal/MetalPetal) - A GPU-accelerated image and video processing framework based on Metal. #### 其他UI@ * [drawablebubble](https://github.com/KittenYang/KYCuteView) - QQ中未读气泡拖拽消失的实现分析[分析文章](http://kittenyang.com/drawablebubble/). * [YJFavorEmitter](https://github.com/SplashZ/YJFavorEmitter) - 一个非常好用的点赞粒子发射器. * [BEMCheckBox](https://github.com/Boris-Em/BEMCheckBox) - BEMCheckBox 是一个用于 iOS 应用上构建漂亮, 高度可定制化动画效果的复选框类库, 最低支持到 iOS 7 系统, 有多种不同风格的动画效果可供选择. * [BFPaperCheckbox](https://github.com/bfeher/BFPaperCheckbox) - iOS Checkboxes inspired by Google's Paper Material Design. * [GMenuController](https://github.com/GIKICoder/GMenuController) - 具有和UIMenuController一致的UI 与交互行为. menuItem可指定target. 可定制化UI.对外API与原生UIMenuController 一致. #### 工具@ #### 综合@ * [sstoolkit](https://github.com/soffes/sstoolkit) - 一个不错的工具包,提供各种比如编码、加密、字符串处理等等东西,还提供了一些不错的自定义控件,并且文档非常齐全 * [KJEmitterView](https://github.com/yangKJ/KJEmitterView) - 粒子效果、扩展、好用的工具等等,Button图文混排、点击事件封装、扩大点击域,手势封装、圆角渐变、Xib属性、TextView输入框扩展、限制字数,Image图片加工处理、滤镜渲染、泛洪算法_KJMacros常用宏定义,Label富文本,自定义笑脸Switch,自定义动画选中控件,Alert控件,数组和字典防崩处理,数组算法处理等等等 #### 提醒用户评分@ * [iRate](https://github.com/nicklockwood/iRate) - 问卷调查. * [UAAppReviewManager](https://github.com/urbanapps/UAAppReviewManager) - 一个轻量级的,易用的App评分提醒库. * [appirater](https://github.com/arashpayan/appirater) - 用于提醒用户给你的 APP 打分的工具. #### 压缩解压@ * [ZipArchive](https://github.com/ZipArchive/ZipArchive) - 适用iOS和OS X的解压库. #### Category@ * [FlatUIKit](https://github.com/Grouper/FlatUIKit) - 针对Foundation的扩展,非常👍 A collection of awesome flat UI components for iOS. * [JKCategories](https://github.com/shaojiankui/JKCategories) - 非常棒👍👍👍 的分类集合,包含Foundation,UIKit,CoreData,QuartzCore,CoreLocation,MapKit Etc等等. * [UIScrollView-InfiniteScroll](https://github.com/pronebird/UIScrollView-InfiniteScroll) - 滚动视图无限滚动分类 UIScrollView infinite scroll category. * [LTNavigationBar](https://github.com/ltebean/LTNavigationBar) - 允许改变导航栏appearance dynamically的分类 UINavigationBar Category which allows you to change its appearance dynamically. * [BlocksKit](https://github.com/zwaldowski/BlocksKit) - block框架,为 OC 常用类提供了强大的 Block 语法支持,使得编写 OC 代码变得舒适、快速、优雅。 The Objective-C block utilities you always wish you had. * [YYCategories](https://github.com/ibireme/YYCategories) - 功能丰富的 Category 类型工具库. * [BFKit](https://github.com/FabrizioBrancati/BFKit) - 一个非常不错的分类集合工具库,大幅提高开发效率.同时包含Swift版本. * [NullSafe](https://github.com/nicklockwood/NullSafe) - NullSafe is a simple category on NSNull that returns nil for any unrecognised messages instead of throwing an exception pod 'NullSafe', '~> 1.2.2' 用于防止项目中数组为空时越界访问崩溃. * [iOS-Categories](https://github.com/shaojiankui/IOS-Categories) - 收集了许多有助于开发的iOS扩展,各种category分类. * [cocoacats](http://cocoacats.com/) -【分类汇总】里面收集了 iOS 中常用的分类文件,一直在更新. * [libextobjc](https://github.com/jspahrsummers/libextobjc - Libextobjc是一个非常强大的Objective-C库的扩展,为Objective-C提供诸如Safe categories、Concrete protocols、简单和安全的key paths以及简单使用block中的弱变量等功能。libextobjc非常模块化,只需要一个或者两个依赖就能使用大部分类和模块. * [SFJumpToLine](https://github.com/sferrini/SFJumpToLine) - Xcode plugin that moves the instruction pointer to the selected line. * [DTFoundation](https://github.com/Cocoanetics/DTFoundation) - 标准工具类和分类 - Standard toolset classes and categories. #### 代码片@ * [snippets](https://github.com/Xcode-Snippets/Objective-C) - A few code snippets from my Xcode arsenal. #### Github相关@ * [http://shields.io/](http://shields.io/) - 开源项目的徽章. * [Classroom for GitHub](https://github.com/education/classroom) - Classroom for GitHub 可以自动创建代码仓库和访问控制,可以让老师很方便的在 GitHub 上发布代码任务和收集作业. * [Hexo](https://github.com/hexojs/hexo) - 通过Github Pages写博客的Node.js框架. * [octicons](https://github.com/github/octicons) - GitHub的 图标字体. * [markdown-editor](https://github.com/jbt/markdown-editor) - GitHub味道的markdown编辑器. * [backup-utils](https://github.com/github/backup-utils) - backup-utils 是 Github 企业备份工具,它包括一些备份和恢复工具。这些备份工具实现了多项用于备份主机的高级功能,还原功能也已经包括在 GitHub Enterprise 中. * [gistblog](https://github.com/jazzychad/gistblog) -gistblog 是一个简单的 Node.js 应用,使用 Github 的认证系统和 gist 提供的后台存储来实现博客的功能。可使用 Markdown 编写博客. * [openspace](https://github.com/EverythingMe/openspace) -Openspace 是一个用来将你在 Github 上的项目汇总显示在一个网页里的应用. * [primer](https://github.com/primer/primer) -Primer 是 Github 工具包,用于 Github 前端设计. * [https://gitter.im](https://gitter.im) - 专门给GitHub开源项目或者开源作者提供的聊天软件. * [boennemann - badges](https://github.com/boennemann/badges) - 各种徽章. * [GitTorrent](https://github.com/cjb/GitTorrent) - The Decentralization of GitHub. #### 键盘@ * [IQKeyboardManager](https://github.com/hackiftekhar/IQKeyboardManager) - 处理键盘事件强大的库,有OC和Swift版本,纯代码、Storyboard和Xib都适用. * [YYKeyboardManager](https://github.com/ibireme/YYKeyboardManager) - iOS 键盘监听管理工具. #### 分发@ * [TestFlight.Top](https://testflight.top/) - 60秒制作TestFlight内测App分发页,用户直接下载测试. #### 文本@ #### 文本输入@ * [GrowingTextView](https://github.com/HansPinckaers/GrowingTextView) - 一个非常棒的UITextView库. * [JVFloatLabeledTextField](https://github.com/jverdi/JVFloatLabeledTextField) - 作者是 Thumb Labs 的联合创始人, JVFloatLabeledTextField 是 UITextField 的子类, 主要实现输入框标签浮动效果, 创作灵感来自 Dribbble, 已出现多个移植版本 UITextField subclass with floating labels - inspired by Matt D. Smith's design: http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users * [GBigbang](https://github.com/GIKICoder/GBigbang) - 一个分词功能组件/大爆炸/tagFlowView. * [PowerMode](https://github.com/younatics/PowerMode) - 一个很酷的文本输入框. * [Stryng](https://github.com/BalestraPatrick/Stryng) - Swift strings taken to a whole new syntax level. * [CMInputView](https://github.com/CrabMen/CMInputView) - UITextView输入时高度自适应. * [WCLPassWordView](https://github.com/631106979/WCLPassWordView) - 实现类似微信和支付宝的密码输入框. #### 富文本@ * [YYText](https://github.com/ibireme/YYText) - 功能强大的 iOS 富文本框架. * [SJAttributesFactory](https://github.com/changsanjiang/SJAttributesFactory) - 富文本编辑工厂, 让代码更清晰. 文本编辑, 高度计算等等... 简便操作, 让你爽到爆. * [Shimmer](https://github.com/facebook/Shimmer) - BlingBling闪光效果,酷炫的Label的效果,可以用于加载等待提示,可以让view展示波光粼粼的效果. * [GRichLabel ](https://github.com/GIKICoder/GRichLabel) - 支持选择复制.支持自定义选择弹出menu的富文本Label.内部使用YYAsyncLayer提供异步绘制任务. * [TFHpple ](https://github.com/topfunky/hpple) - TFHpple解析html的轻量级框架. * [RTLabel](https://github.com/honcheng/RTLabel) - RTLabel 基于UILabel类的拓展,能够支持Html标记的富文本显示,它是基于Core Text,因此也支持Core Text上的一些东西。32位,很久没有更新了. * [RTLabel](https://github.com/bingxue314159/RTLabel) - 富文本,RTLabel支持64位. * [DTCoreText](https://github.com/Cocoanetics/DTCoreText) - 可以解析HTML与CSS最终用CoreText绘制出来,通常用于在一些需要显示富文本的场景下代替低性能的UIWebView。[DTCoreText源码解析](http://blog.cnbang.net/tech/2630/). * [TYAttributedLabel](https://github.com/12207480/TYAttributedLabel) - TYAttributedLabel。 简单易用的属性文本控件(无需了解CoreText),支持富文本,图文混排显示,支持添加链接,image和UIView控件,支持自定义排版显示. * [TTTAttributedLabel](https://github.com/TTTAttributedLabel/TTTAttributedLabel) - 一个文字视图开源组件,是UILabel的替代元件,可以以简单的方式展现渲染的属性字符串。另外,还支持链接植入,不管是手动还是使用UIDataDetectorTypes自动把电话号码、事件、地址以及其他信息变成链接。[用TTTAttributedLabel创建变化丰富的UILabel](http://blog.csdn.net/prevention/article/details/9998575) - 网易新闻iOS版使用. * [MLEmojiLabel](https://github.com/molon/MLEmojiLabel) - 自动识别网址、号码、邮箱、@、#话题#和表情的label。可以自定义自己的表情识别正则,和对应的表情图像。(默认是识别微信的表情符号),继承自TTTAttributedLabel,所以可以像label一样使用。label的特性全都有,使用起来更友好更方便. * [FXLabel](https://github.com/nicklockwood/FXLabel) - FXLabel是一个功能强大使用简单的类库,通过提供一个子类改进了标准的UILabel组件,为字体增加了阴影、内阴影和渐变色等,可以被用在任何标准的UILabel中。FXLabel还提供了更多控件,可以对字体行距、字体间距等进行调整. * [WFReader](https://github.com/TigerWf/WFReader) - 一款简单的coretext阅读器,支持文本选择、高亮以及字体大小选择等. * [WPAttributedMarkup](https://github.com/nigelgrange/WPAttributedMarkup) - WPAttributedMarkup is a simple utility category that can be used to easily create an attributed string from text with markup tags and a style dictionary. * [MessageThrottle](https://github.com/yulingtianxia/MessageThrottle) - A lightweight Objective-C message throttle and debounce library. * [UUColorSwitch](https://github.com/zhangyu9050/UUColorSwitch) - Switch 开关动画效果,当打开开关时,Switch可实现平滑渲染过渡到父视图的效果. * [UITextViewDIYEmojiExample](https://github.com/zekunyan/UITextViewDIYEmojiExample) - [UITextView编辑时插入自定义表情-简单的图文混编](http://tutuge.me/2015/03/07/UITextView%E7%BC%96%E8%BE%91%E6%97%B6%E6%8F%92%E5%85%A5%E8%87%AA%E5%AE%9A%E4%B9%89%E8%A1%A8%E6%83%85-%E7%AE%80%E5%8D%95%E7%9A%84%E5%9B%BE%E6%96%87%E6%B7%B7%E7%BC%96/). * [MMMarkdown](https://github.com/mdiep/MMMarkdown) - 一个Objective-C的静态库,用于将Markdown语法转换换为HTML. * [ZSSRichTextEditor](https://github.com/nnhubbard/ZSSRichTextEditor) - 适用于iOS的富文本WYSIWYG编辑器,支持语法高亮和源码查看。ZSSRichTextEditor包含所有WYSIWYG标准的编辑器工具. * [CSGrowingTextView](https://github.com/cloverstudio/CSGrowingTextView) - 用作即时通讯文本框和评论文本框使用,可以显示多行输入. * [MarkdownTextView](https://github.com/indragiek/MarkdownTextView) - 显示Markdown的TextView. * [高仿微信限定行数文字内容](http://d.cocoachina.com/code/detail/300299) - 采用Autolayout高仿微信纯文字限定行数. * [FuriganaTextView](https://github.com/lingochamp/FuriganaTextView) - 实现复杂的日文韩文排版. * [ParkedTextField](https://github.com/gmertk/ParkedTextField) - 带固定文本的输入组件. * [GJCFCoreText](https://github.com/zyprosoft/GJCFCoreText) - 图文混排. * [AttributedLabel](https://github.com/KyoheiG3/AttributedLabel) - 显示性能数量级 UILabel 的 AttributedLabel。无畏无惧、挑战权威. * [FFLabel](https://github.com/liufan321/FFLabel) - 自动检测 URLs, @username, #topic# 等关链词(提供响应扩展)。实用的标签文本小组件. * [TextFieldEffects](https://github.com/raulriera/TextFieldEffects) - 标准的UITextField有些枯燥么?来认识一下TextFieldEffects吧!废话不多说,只要看几个例子,是啊,都是些简单的dropin控制器。甚至可以在storyboard中使用IBDesignables. * [AutocompleteField](https://github.com/filipstefansson/AutocompleteField) - 可应用于 iOS 应用中文字输入框自动补全的场景, 兼容到 iOS 8. * [WordPress-Editor-iOS](https://github.com/wordpress-mobile/WordPress-Editor-iOS) - 一个文本编辑器 简书和新浪博客都在用. * [placeholder_TextView](http://code.cocoachina.com/view/129099) - 带有placeholder的TextView:带有提示信息的textview,使用懒加载的思想,支持扩展、自定义,类似许多APP内部的意见反馈页面. * [M80AttributedLabel](https://github.com/xiangwangfeng/M80AttributedLabel) - M80AttributedLabel实现文字与表情的混排。一般使用气泡作为背景.功能较齐全的attributed lable,支持attributed string和图片、链接、控件的混排. * [CTTextDisplayView](https://github.com/BrownCN023/CTTextDisplayView) - 一个CoreText完成的图文混排视图,主要用于文本中显示表情@#URL等,类似于QQ、微博的评论图文功能. #### 表情@ * [SBSAnimoji](https://github.com/simonbs/SBSAnimoji) - 🐵 Animoji app using Apples AvatarKit. * [AnimojiStudio](https://github.com/insidegui/AnimojiStudio) - Make Animoji videos with unlimited duration and share anywhere. * [Animoji](https://github.com/efremidze/Animoji) - Animoji Generator 🦊 . #### 字体@ * [xkcd-font](https://github.com/ipython/xkcd-font) - The xkcd font. * [FontAwesomeKit](https://github.com/PrideChung/FontAwesomeKit) - 图片字体库,支持超级字体、基础Icon等,支持同时支持Swift. #### 日历@ * [FDCalendar](https://github.com/fergusding/FDCalendar) - A custom calendar control in iOS. * [FSCalendar](https://github.com/WenchaoD/FSCalendar) - 一款漂亮,强大的 iOS 日历组件 A fully customizable iOS calendar library, compatible with Objective-C and Swift. * [MSSCalendar](https://github.com/MSS0306/MSSCalendar) - A simple iOS Calendar 高性能日历控件(类似去哪网). * [Calendar](https://github.com/jumartin/Calendar) - 日历、行程安排类的View和控制器。A set of views and controllers for displaying and scheduling events on iOS. * [HYYCalendar](https://github.com/kRadius/HYYCalendar) - 一个简单易用的日期的选择的控件,支持日历选择和Picker选择两种方式。支持iOS 6+. * [JTCalendar](https://github.com/jonathantribouharet/JTCalendar) - iOS下优美的 Calendar 组件,做 GTD 类 App 必备. * [MSCollectionViewCalendarLayout](https://github.com/erichoracek/MSCollectionViewCalendarLayout) - 日历 UICollectionViewLayout for displaying cells chronologically. Similar to the iOS Calendar app. * [PDTSimpleCalendar](https://github.com/jivesoftware/PDTSimpleCalendar) - 是iOS最棒的日历组件了。你可以在各个方面对它进行定制,无论是运行逻辑还是外观方面. #### 游戏@ * [Urho3D](https://github.com/urho3d/Urho3D) - a free lightweight, cross-platform 2D and 3D game engine implemented in C++. * [cocos2d-objc](https://github.com/cocos2d/cocos2d-objc) - Cocos2d for iOS and OS X, built using Objective-C. #### 小样@ #### 机器学习@ * [ShowAndTell](https://github.com/LitleCarl/ShowAndTell) - A Show And Tell implementation for iOS 11.0 based on CoreML. #### VPN@ * [Hydro.network](https://github.com/CatchChat/Hydro.network) - [Hydro.network 的开发旅程](http://blog.zhowkev.in/2015/03/09/hydro-network-de-kai-fa-lu-cheng/), [gitcafe](https://gitcafe.com/Catch/Hydro.network). * [new-pac](https://github.com/Alvin9999/new-pac/wiki) - 自由上网方法. * [Shadowsocks-X](https://github.com/yangfeicheung/Shadowsocks-X) - Latest ShadowsocksX for Mac OS X 10.9+. * [Potatso](https://github.com/shadowsocks/Potatso) - 基于iOS 9 的 NetworkExtension 框架实现 Shadowsocks 代理,由国人开发,虽然还有很多问题不过确实值得期待. * [forum](https://github.com/getlantern/forum) - 蓝灯(Lantern)官方论坛. * [WireGuard](https://github.com/WireGuard/WireGuard) - Jason A. Donenfeld开发的开源VPN协议。目前支持Linux, macOS, Android以及OpenWrt. * [V2RayX](https://github.com/Cenmrev/V2RayX) - 一个非常小巧灵活的代理软件. * [clashX](https://github.com/yichengchen/clashX) - A rule based proxy For Mac base on Clash. #### 地图@ * [YJLocationConverter](https://github.com/stackhou/YJLocationConverter) - 中国国测局地理坐标(GCJ-02)<火星坐标>、世界标准地理坐标(WGS-84) 、百度地理坐标(BD-09)坐标系转换工具类. * [LocationManager](https://github.com/intuit/LocationManager) - 对苹果 Core Location 框架的封装,轻松获取 iOS 设备上的位置信息和方向信息。支持 Objective-C 和 Swift。 #### 通知@ * [JSQNotificationObserverKit](https://github.com/jessesquires/JSQNotificationObserverKit) - 一款轻量、易用的通知发送及响应框架类库。作者是知名开源项目 JSQMessagesViewController(Objective-C 版即时聊天)的作者 Jesse Squires. * [NWPusher](https://github.com/noodlewerk/NWPusher) - OS X and iOS application and framework to play with the Apple Push Notification service (APNs). * [TSMessages](https://github.com/KrauseFx/TSMessages) - 易于使用和定制的消息/通知,用于 iOS版Tweetbot. * [terminal-notifier](https://github.com/julienXX/terminal-notifier) - Send User Notifications on macOS from the command-line. * [CWStatusBarNotification](https://github.com/cezarywojcik/CWStatusBarNotification) - 酷炫的通知栏,多种通知样式,使用简单,非常赞👍 . * [GLPubSub](https://github.com/Glow-Inc/GLPubSub) - 一个简短实用的 NSNotificationCenter 的封装. * [JDStatusBarNotification](https://github.com/jaydee3/JDStatusBarNotification) - 在状态栏顶部显示通知。可以自定义颜色字体以及动画。支持进度显示以及显示状态指示器. * [obito](https://github.com/jiajunhuang/obito) - an iOS notification service out of box. * [iVersion](https://github.com/nicklockwood/iVersion) 非常赞👍 的一个灵活动态监测App是否有更新的库,并可以通知用户升级. #### 通讯录@ * [快速查找联系人](http://code.cocoachina.com/view/128245) - 类似微信联系人搜索的界面,快速查找联系人,并支持点击查询结果. * [PPGetAddressBook](https://github.com/jkpang/PPGetAddressBook) - 对联系人姓名第二个字做排序处理,对AddressBook框架(iOS9之前)和Contacts框架(iOS9之后)做了对应的封装处理,一句代码搞定联系人的获取与排序. #### 深度学习@ * [TrafficLights-DeepLearning-iOS](https://github.com/asavihay/TrafficLights-DeepLearning-iOS) 利用Caffe深度学习执着的一个交通灯信号检测App #### 侧滑与右滑返回手势@ * [ViewDeck](https://github.com/ViewDeck/ViewDeck) - 项目需要用到左侧右侧各有一个抽屉视图,而这个类库可以极其简单的实现这个功能,不单单是左右各一个,它可以随意设置上下左右的抽屉视图,简直是360度想怎么抽怎么抽. * [FDFullscreenPopGesture](https://github.com/forkingdog/FDFullscreenPopGesture) - 非常棒的全屏手势侧滑,只需导入此库,就可以让你的App具备左滑返回功能,不用写一句代码. * [SloppySwiper](https://github.com/fastred/SloppySwiper) - iOS系统自带的UINavigationController要7.0才支持,但不过该手势只能从屏幕左侧边缘识别,如果要扩大到整个屏幕范围怎么办?配合一个SloppySwiper无需代码就可以轻松实现。此库支持iOS5.0以上版本(另外:Nav的title滑动不明显,本人写了2个类似的控件),[SloppySwiper-demo](https://github.com/Tim9Liu9/SloppySwiper-Example) :代码方式与storyboard方式。 * [SCNavigation](https://github.com/singro/SCNavigation) - UINavigation可以右滑返回,隐藏UINavigationBar. * [UINavigationController-YRBackGesture](https://github.com/YueRuo/UINavigationController-YRBackGesture) - 支持右滑返回手势,标题栏不动。 * [GHSidebarNav](https://github.com/gresrun/GHSidebarNav) - 现在比较流行使用侧开(侧滑)菜单设计。试了不少控件,感觉GHSidebarNav最成熟,尤其对纯代码创建的界面兼容性最好。[在Storyboard中使用GHSidebarNav侧开菜单控件](http://www.cnblogs.com/zyl910/archive/2013/06/14/ios_storyboard_sidemenu.html). * [iOS-Slide-Menu](https://github.com/aryaxt/iOS-Slide-Menu) - 能够类似Facebook和Path那样弹出左右边栏侧滑菜单,还支持手势。多种可以自定义的属性 (非常不错). * [ECSlidingViewController](https://github.com/ECSlidingViewController/ECSlidingViewController) - 侧滑菜单. * [JASidePanels](https://github.com/gotosleep/JASidePanels) - 侧滑菜单,有左右菜单,有pop功能,支持手势侧滑,本人使用中:简单. * [animated-tab-bar](https://github.com/Ramotion/animated-tab-bar) - 让 Tabbar items能显示萌萌的动画. * [tabbar图标动画](http://code.cocoachina.com/detail/284346) - tabbar上图标的动画实现,[源码推荐说明](http://www.cocoachina.com/ios/20150205/11116.html)。 * [JHMenuTableViewDemo](https://github.com/Jiahai/JHMenuTableViewDemo) - 仿网易邮箱列表侧滑菜单. * [SlideMenuView](https://github.com/xudafeng/SlideMenuView) - 炫酷侧滑菜单布局框架,[Android版本的一致实现](Android 版本的一致实现请见:https://github.com/xudafeng/SlidingMenu)。 * [KGFloatingDrawer](https://github.com/KyleGoddard/KGFloatingDrawer) - 侧滑菜单,qq类似,KyleGoddard/KGFloatingDrawer:一款适合于大屏手机或平板的浮动抽屉式导航界面组件。效果很赞- 侧开菜单,qq类似(与RESideMenu类似). * [AIFlatSwitch](https://github.com/cocoatoucher/AIFlatSwitch) - 一款带平滑过渡动画的 Switch 组件类,类相同风格的 Menu/Back[HamburgerButton](https://github.com/fastred/HamburgerButton),类似相同风格的 Menu/Close[hamburger-button](https://github.com/robb/hamburger-button). * [WXGSlideMenuDemo](https://github.com/WXGBridgeQ/WXGSlideMenuDemo) - 个简单实现侧拉(侧滑)菜单的小demo,供初学者共同学习、练习使用. * [PKRevealController](https://github.com/pkluz/PKRevealController) - PKRevealController是一个可以滑动的侧边栏菜单(可向左、向右或者同时向两侧),只需手指轻轻一点(或者按一下按钮,但是这样滑动时不够炫酷),这类控制的其他库,而PKRevealController是最棒的。安装简便,高度定制且对手势识别良好。可以当做一个标准控件用在iOS SDK中. * [FlipBoardNavigationController](https://github.com/michaelhenry/FlipBoardNavigationController) - FlipBoardNavigationController. * [MMDrawerController](https://github.com/mutualmobile/MMDrawerController) - 最多人用的一个有关侧边“抽屉”导航框架,里面还有很多你意想不到的交互效果,侧滑. * [UIWebView翻页返回效果](http://code.cocoachina.com/detail/316925/UIWebView%E7%BF%BB%E9%A1%B5%E8%BF%94%E5%9B%9E%E6%95%88%E6%9E%9C%EF%BC%88%E5%8F%98%E9%80%9A%E6%96%B9%E6%B3%95%EF%BC%89/) - UIWebView翻页返回效果(变通方法). * [LLSlideMenu](https://github.com/lilei644/LLSlideMenu) - 一个弹性侧滑菜单,弹性动画原理借鉴该项目中阻尼函数实现. * [ScreenShotBack](https://github.com/zhengwenming/ScreenShotBack) - 全屏返回,截图手势返回,景深效果,类似斗鱼、天天快报、腾讯新闻等APP的手势返回. * [MLTransition](https://github.com/molon/MLTransition) iOS7+, pop ViewController with pan gesture from middle or edge of screen. #### ipad@ * [UISplitViewControllerDemo](https://github.com/NatashaTheRobot/UISplitViewControllerDemo) - iOS8 UISplitViewController Demo. * [Shadertweak](https://github.com/warrenm/Shadertweak) - An iPad app that allows you to rapidly prototype fragment shaders in the Metal shading language. * [IntelligentSplitViewController](https://github.com/mrhyh/IntelligentSplitViewController) - A smarter UISplitViewController that rotates correctly when placed inside a UITabBarController. #### 通讯@ * [peertalk](https://github.com/rsms/peertalk) - peertalk 是一个支持 iOS 与 Mac 通过 USB 相互通讯的开源库。 Duet Display 基于此实现了将 Mac 界面呈现到 iOS 设备上. #### 其他库@ * [iOS源代码](http://opensource.apple.com/source/CF/) - iOS源代码. * [Slidden](https://github.com/Brimizer/Slidden) - 一个老外开源的开发自定义键盘的库,利用这个开源库,可以方便的配置键位、颜色以及键位对应的图片. * [TPKeyboardAvoiding](https://github.com/michaeltyson/TPKeyboardAvoiding) - 用户键盘弹出自动计算高度,进行屏幕滚动操作. * [CDPMonitorKeyboard](http://d.cocoachina.com/code/detail/298267) - CDPMonitorKeyboard封装,可以解决输入视图(例如textField,textView等)被键盘覆盖问题,并可设置高于键盘多少. * [自动监听键盘高度](http://code.cocoachina.com/detail/297973/%E8%87%AA%E5%8A%A8%E7%9B%91%E5%90%AC%E9%94%AE%E7%9B%98%E9%AB%98%E5%BA%A6/) - 自动监听键盘高度,初始界面,输入框在屏幕最下方,当键盘出现时,输入框随即移动到键盘上方. * [ZYKeyboardUtil](https://github.com/liuzhiyi1992/ZYKeyboardUtil) - 全自动处理键盘遮挡事件,只需要一个Block,全自动处理任何多层嵌套复杂界面 因键盘升降 造成的输入控件遮挡问题。 第三方键盘分次弹出问题 ,[说明](http://ios.jobbole.com/85135/). * [KeyboardToolBar](https://github.com/Jiar/KeyboardToolBar/) - 从此不再担心键盘遮住输入框,[文档](http://www.jianshu.com/p/48993ff982c1)。 * [Review Monitor](https://launchkit.io/reviews/) - 第一时间自动推送 Apple Store 的用户评论到你的邮件箱或者 Slack,第一时间跟进用户反馈,打造优秀 App 必备工具!类似的有:App annie 的类似功能. * [WBWebViewConsole](https://github.com/Naituw/WBWebViewConsole) - 类似微博iPhone客户端的 “调试选项” 吗?把其中的 “内置浏览器网页调试” 开源在 Github 上了. * [ios-good-practices](https://github.com/futurice/ios-good-practices) - ios-good-practices iOS 开发最佳实践. * [iOS开发最佳实践](http://ios.jobbole.com/81830/) - iOS 开发最佳实践-中文. * [TodayExtensionSharingDefaults](http://code.cocoachina.com/detail/232160) - TodayExtensionSharingDefaults是一个iOS 8 Today扩展示例,可以使用NSUserDefaults与其containing app分享数据. * [Password-keyboard](https://github.com/liuchunlao/Password-keyboard) - 随机变换数字位置的密码键盘。 模仿银行类应用在付款时输入的随机密码键盘. * [SemverKit](https://github.com/nomothetis/SemverKit) - 针对符合『语义化版本规范 2.0.0』版本号的解析、比较运算类库。不仅支持 Major, Minor, Patch,还支持 Alpha 和 Beta 预发布版本,以及相应地递增运算扩展. * [Tesseract-OCR-iOS](https://github.com/gali8/Tesseract-OCR-iOS) - 有关OCR文字识别项目. * [Screenotate](https://github.com/osnr/Screenotate) - 支持 OCR 文字识别的载屏笔记 Mac 完整应用. * [Olla4iOS](https://github.com/nonstriater/Olla4iOS) - 过去积累的一些方便复用的类和方法,还在整理中. * [DKNightVersion](https://github.com/Draveness/DKNightVersion) - 用最快的方式给你的应用加上夜间和白天的切换效果. * [TouchVisualizer](https://github.com/morizotter/TouchVisualizer) - 实用的多点触摸可视化组件。扩展并作用于 UIWindows,结构上提供了简单地针对触摸显示定制,比如触摸点的颜色. * [RegexKitLite](https://github.com/wezm/RegexKitLite) - 用来处理正则表达式. * [Seam](https://github.com/nofelmahmood/Seam) - 基于 CloudKit 服务器实现多终端数据同步。 * [IDNFeedParser](https://github.com/photondragon/IDNFeedParser) - 一个简单易用的Rss解析库. * [CoreUmeng](https://github.com/CharlinFeng/CoreUmeng) - 简单:友盟分享封装. * [Mirror](https://github.com/kostiakoval/Mirror) - 通过反射(Refection)实现镜像对象封装库。从而可以更轻松获取(或输出)对象属性名、类型及值变量. * [PermissionScope](https://github.com/nickoneill/PermissionScope) - 用这个库可以在询问用户前,就告知用户所需的系统权限,为用户带来更好的体验。接受度更高—>更多活跃用户->更高的留存率->数据更好->下载率更高. * [LocationManager](https://github.com/intuit/LocationManager) - 地理位置管理封装库, CoreLocation使用起来还是比较麻烦的,需要授权,判断系统版本等等,所以推荐使用第三方框架LocationManager,使用Block,十分简单![iOS-CoreLocation:无论你在哪里,我都要找到你!](http://www.cocoachina.com/ios/20150721/12611.html) . * [pangu.objective-c](https://github.com/Cee/pangu.objective-c) - 有多种语言实现版本~ Pangu.Objective-C:格式化中英文之间的空格(OC). * [objection](https://github.com/atomicobject/objection) - 一个轻量级的依赖注入框架Objection. * [ControlOrientation](https://github.com/johnlui/Swift-On-iOS/tree/master/ControlOrientation/ControlOrientation) - 如何用代码控制以不同屏幕方向打开新页面【iOS】, [使用说明](https://lvwenhan.com/ios/458.html). * [GameCenterManager](https://github.com/nihalahmed/GameCenterManager) - 在iOS上管理GameCenter vanilla并不算难,但是有了这个库会更简单也更快。好上加好不是更好么. * [SlackTextViewController](https://github.com/slackhq/SlackTextViewController) - 用作极佳、定制的文本输入控制时,自适应文本区域,手势识别、自动填充、多媒体合并,快速drop-in解决方案. * [TAPromotee](https://github.com/JanC/TAPromotee) - 交叉推广应用是你可以免费实现的最佳市场推广策略之一。使用这个库做起来非常简单,不用都不可能——将TAPromotee加入你的podfile中,免费配置与享受更多下载吧。 * [DownloadFontOnline](https://github.com/cgwangding/DownloadFontOnline) - 实现了在线下载一些字体的功能,不用在工程中导入字体库,下载的字体也不会保存在你的应用中,所以可以放心使用。修复了一下崩溃的bug。 * [STClock](https://github.com/zhenlintie/STClock) - 仿锤子时钟. * [GitUp](https://github.com/git-up/GitUp) - GitUp是一个可视化的Git客户端,能够实时的进行编辑、合并、回滚等多种操作,更多功能,请下载体验. * [获取联系人信息,通讯录](http://code.cocoachina.com/detail/320392/) - 获取联系人信息,通讯录. * [Universal-Jump-ViewController](https://github.com/HHuiHao/Universal-Jump-ViewController) - 根据规则跳转到指定的界面(runtime实用篇一)。 * [打开自带地图、百度地图、腾讯地图](http://code.cocoachina.com/view/128249) - 打开自带地图、百度地图、腾讯地图。 * [DDSlackFeedback](https://github.com/deepdevelop/DDSlackFeedback) - 用这个接口实现的摇一摇上传文字或者截屏反馈到你的 Slack channel,特别适合测试 app 的时候用,集成也很简单。 * [BabyBluetooth](https://github.com/coolnameismy/BabyBluetooth) - 是一个非常容易使用的蓝牙库, 适用于 iOS 和 Mac OS, 基于原生 CoreBluetooth 框架封装, 可以帮开发者们更简单地使用 CoreBluetooth API, 使用链式方法体, 使得代码更简洁、优雅。[iOS蓝牙开发(四):BabyBluetooth蓝牙库介绍](http://www.cocoachina.com/ios/20160219/15301.html) * [BHBDrawBoarderDemo车](https://github.com/bb-coder/BHBDrawBoarderDemo) - 仿写猿题库练题画板功能,没有用drawRect,而是用CAShapeLayer来做画板绘画,特别省内存,赞1个,[实现分析](http://bihongbo.com/2016/01/03/memoryGhostdrawRect/). * [BGTaobao](https://github.com/huangzhibiao/-) - ios 高仿淘宝/京东详情页 - 集合各种测试框架. * [PromiseKit](https://github.com/mxcl/PromiseKit) - 同时支持 Swift 及 Objective-C 的 Promise 类库,异步编程类库 提供了很多实用的异步函数 让异步编程更简单. * [HWChangeFont](https://github.com/Loveway/HWChangeFont) - 利用runtime一键改变字体。[教程](http://www.jianshu.com/p/b9fdd17c525e). * [RuntimeSummary](https://github.com/Tuccuay/RuntimeSummary) - 一个集合了常用 Objective-C Runtime 使用方法的 Playground。 * [GCDThrottle](https://github.com/cyanzhong/GCDThrottle) - 限制频率过高的调用GCD多线程。 * [WHC_KeyboardManager](https://github.com/netyouli/WHC_KeyboardManager)iOS平台轻量级的键盘管理器,使用简单功能强大,键盘再也不会挡住输入控件 * [Inkpad](https://github.com/TheLittleBoy/inkpad-fork) - iOS高级画板,原inkpad项目修复bug的版本。 * [coobjc](https://github.com/alibaba/coobjc) - Alibaba 开源库,这个库为 Objective-C 和 Swift 提供了协程功能。coobjc 支持 await、generator 和 actor model,接口参考了 C# 、Javascript 和 Kotlin 中的很多设计。还提供了 cokit 库为 Foundation 和 UIKit 中的部分 API 提供了协程化支持,包括 NSFileManager , JSON , NSData , UIImage 等。coobjc 也提供了元组的支持。 #### 消息相关@ #### 消息推送客户端@ * [SmartPush](https://github.com/shaojiankui/SmartPush) SmartPush,一款iOS苹果远程推送测试程序,Mac OS下的APNS工具APP,iOS Push Notification Debug App * [Orbiter](https://github.com/mattt/Orbiter) - 消息推送客户端:Push Notification Registration for iOS. * [PushDemo](https://github.com/ios44first/PushDemo) - 客户端消息接收消息代码,[IOS开发之 ---- IOS8推送消息注册](http://blog.sina.com.cn/s/blog_71715bf80102uy2k.html) , [分分钟搞定IOS远程消息推送](http://my.oschina.net/u/2340880/blog/413584)。 #### 消息推送服务端@ * [javapns源代码](https://code.google.com/p/archive/downloads/list) - 消息推送的java服务端代码,注意:DeviceToken中间不能有空格。 * [pushMeBaby](https://github.com/stefanhafeneger/PushMeBaby) - Mac端消息推送端代码,注意:DeviceToken中间要有空格。 #### 时间日期@ * [DateTools](https://github.com/MatthewYork/DateTools) - 用于提高Objective-C中日期和时间相关操作的效率。灵感来源于 DateTime和Time Period Library. * [NSDate-TimeAgo](https://github.com/kevinlawler/NSDate-TimeAgo) - A "time ago", "time since", "relative date", or "fuzzy date" category for NSDate and iOS, Objective-C, Cocoa Touch, iPhone, iPad. * [DatePicker](https://github.com/Zws-China/DatePicker) - 日期选择器,日期时间选择,时间选择器. * [iso-8601-date-formatter](https://github.com/boredzo/iso-8601-date-formatter) - cocoaNSFormatter子类日期转换为从ISO- 8601格式的字符串。支持日历,星期,和序格式. #### 设计模式@ * [Design-Patterns-In-Swift](https://github.com/ochococo/Design-Patterns-In-Swift) 非常👍 Design Patterns implemented in Swift * [KVOController](https://github.com/facebook/KVOController) 是一个简单安全的KVO(Key-value Observing,键-值观察)工具,用于iOS 和OS X 应用开发中,开源自facebook。 在项目中有使用 KVO ,那么 KVOController 绝对是个好选择。 * [DecouplingKit](https://github.com/coderyi/DecouplingKit) iOS模块化过程中模块间解耦方案。 * [Trip-to-iOS-Design-Patterns](https://github.com/skyming/Trip-to-iOS-Design-Patterns) #### 三方@ #### 三方分享、支付、登录等等@ * [openshare](https://github.com/100apps/openshare) - 不用官方SDK,利用社交软件移动客户端(微信/QQ/微博/人人/支付宝)分享/登录/支付. * [RongCloud-SDK-description](https://github.com/zhengwenming/RongCloud-SDK-description) 介绍融云SDK即时通讯机制和集成步骤,由于国内CSDN博客封杀带有广告性质的文章(其实不是打广告,纯粹的技术分享),所以只能在Github发表了。希望大家支持我,谢谢。Demo地址:https://github.com/zhengwenming/RCIM . * [RCIM](https://github.com/zhengwenming/RCIM) 融云SDK集成即时通讯。单聊,群聊,讨论组,自定义cell,自定义消息等. * [WechatPayDemo](https://github.com/gbammc/WechatPayDemo) - 非官方微信支付 iOS demo. * [ShareView](https://github.com/mrhyh/ShareView) - 一个xib做的分享UI. * [HXEasyCustomShareView](https://github.com/huangxuan518/HXEasyCustomShareView) - 轻松集成分享界面UI. #### 区块链@ * [awesome-blockchain](https://github.com/chaozh/awesome-blockchain) - 收集所有区块链(BlockChain)技术开发相关资料,包括Fabric和Ethereum开发资料. #### 版本管理@ * [cocoapods安装指南](http://code4app.com/article/cocoapods-install-usage) - cocoapods安装指南. * [fastlane](https://github.com/fastlane/fastlane) - 非常棒👍👍👍一套iOS开发和持续集成的命令行工具fastlane,可以用来快速搭建CI甚至自动提交的开发环境。这套工具中包括了上传ipa文件,自动截取多语言截屏,生成推送证书,管理产品证书等一系列实用工具. #### Git用法@ * [objective-git](https://github.com/libgit2/objective-git) - objective-git 是libgit2 的Objective-C 封装版本,支持OS X 和iOS 系统.Libgit2 是一个 Git 的非依赖性的工具,它致力于为其他程序使用 Git 提供更好的 API. * [git-recipes](https://github.com/geeeeeeeeek/git-recipes) - 高质量的Git中文教程. * [lark](https://github.com/larkjs/lark/wiki/怎样贡献代码) - 怎样在Github上面贡献代码. * [my-git](https://github.com/xirong/my-git) - 有关git的学习资料. * [gitignore](https://github.com/github/gitignore) - .gitignore模板集合,包含了各种语言. * [Linus讲解git](https://www.youtube.com/watch?v=4XpnKHJAok8) - Google大会演讲,Linus介绍他创造git的原因,对比了git和svn. * [Git教程 - 廖雪峰的官方网站](http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000) - 史上最浅显易懂的Git教程. * [git - 简明指南](http://rogerdudler.github.io/git-guide/index.zh.html) - 助你入门 git 的简明指南,木有高深内容 ;) * [常用 Git 命令清单](http://www.ruanyifeng.com/blog/2015/12/git-cheat-sheet.html) - 来自阮一峰的网络日志,列出了 Git 最常用的命令。 * [Pro Git(中文版)](https://git.oschina.net/progit/) - Pro Git(中文版). * [Git Submodule使用完整教程](http://www.kafeitu.me/git/2012/03/27/git-submodule.html) - Git Submodule使用完整教程. * [Git权威指南](http://www.worldhello.net/gotgit/) - Git权威指南. * [git-flow 备忘清单](http://danielkummer.github.io/git-flow-cheatsheet/index.zh_CN.html) - git-flow 是一个 git 扩展集,按 Vincent Driessen 的分支模型提供高层次的库操作. * [Git Magic](http://www-cs-students.stanford.edu/~blynn/gitmagic/intl/zh_cn/) - git-flow 备忘清单. * [Atlassian Git Tutorials](https://www.atlassian.com/git/tutorials/setting-up-a-repository/) - Atlassian Git Tutorials. * [Try Git ( Interactive)](https://try.github.io/levels/1/challenges/1) - 互动性的教你使用git. * [Git (简体中文)](https://wiki.archlinux.org/index.php/Git_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)) - Git (简体中文). * [Git Community Book 中文版](http://gitbook.liuhui998.com/index.html) - Git Community Book 中文版. * [awesome-github-templates](https://github.com/devspace/awesome-github-templates) - github issue 和 pull request教程模板. * [git-recipes](https://github.com/geeeeeeeeek/git-recipes) - 高质量的Git中文教程,来自国外社区的优秀文章和个人实践. * [git-it](http://jlord.us/git-it/) - GitHub一位女员工写的Git教程. * [Git Town](http://www.git-town.com/) - GitTown 定义了很多高级的 git 命令,例如 git ship / git sync 等以方便 git 的使用. * [git-tips](https://github.com/git-tips/tips) - 最常用的Git的提示和技巧。 * [「Githug」Git 游戏通关流程](http://www.jianshu.com/p/482b32716bbe) - 这个命令行工具通过游戏的方式来练习你的 Git 技能. * [progit2-zh](https://github.com/progit/progit2-zh) - Pro Git,第二版,简体中文. * [git-style-guide](https://github.com/agis-/git-style-guide)- git风格指南. * [Git 进阶技巧](https://github.com/xhacker/GitProTips/blob/master/zh_CN.md) - 适合了解 Git 的基本使用,知道 commit、push、pull,希望掌握 Git 更多功能的人阅读. * [learn-git-basics](https://github.com/NataliaLKB/learn-git-basics) - git指南. * [30 天精通 Git 版本控管](https://github.com/doggy8088/Learn-Git-in-30-days/blob/master/zh-tw/README.md) 30 天精通 Git 版本控管. * [图解Git](http://marklodato.github.io/visual-git-guide/index-zh-cn.html) - 图解git中的最常用命令. * [沉浸式学 Git](http://igit.linuxtoy.org/contents.html) - 简洁github教程. * [工作中常用的Git命令行](https://github.com/DefaultYuan/Git-Pro) - 自己在工作中常用的Git命令行的小总结. #### GitHub@ * [python_github_collect_star](https://github.com/Tim9Liu9/python_github_collect_star) - 收集github上项目的star数、fork数、watch数 * [GitHub Pages 指南](http://jekyllcn.com/) - GitHub官方文档翻译版. * [GitHub Pages 指南 - 极客学院](http://wiki.jikexueyuan.com/project/github-pages-basics/) - GitHub Pages 官网 GitHub Pages Basics 的中文翻译版本. * [github-cheat-sheet](https://github.com/tiimgreen/github-cheat-sheet) - 一些酷酷的Git和GitHub功能收集. * [jekyll官方文档中文翻译版](http://jekyllcn.com/) - 将纯文本转换为静态博客网站. * [搭建一个免费的,无限流量的Blog----github Pages和Jekyll入门](http://www.ruanyifeng.com/blog/2012/08/blogging_with_jekyll.html) - 示范如何在github上搭建Blog,你可以从中掌握github的Pages功能,以及Jekyll软件的基本用法。更重要的是,你会体会到一种建立网站的全新思路. * [免费使用Jekyll+Github Page搭建博客入门攻略](http://www.cellier.me/2015/01/04/jekyll%E6%90%AD%E5%BB%BA%E5%8D%9A%E5%AE%A2%E6%95%99%E7%A8%8B/) - Jekyll建站 * [jekyll 学习资料整理](https://github.com/mba811/jekyll-study) - 在学习的同时将内容整理很多相关资料. * [jekyll-style-guide](http://ben.balter.com/jekyll-style-guide/) - jekyll-style-guide. * [hexo你的博客](http://ibruce.info/2013/11/22/hexo-your-blog/) - hexo出自台湾大学生[tommy351](https://twitter.com/tommy351)之手,是一个基于Node.js的静态博客程序,其编译上百篇文字只需要几秒. * [如何搭建一个独立博客——简明Github Pages与Hexo教程](http://www.jianshu.com/p/05289a4bc8b2) - 详尽的独立博客搭建教程,里面介绍了域名注册、DNS设置、github和Hexo设置等过程. * [Hexo中文版](https://hexo.io/zh-cn/) - hexo官网中文版. * [像geek一样写博客](http://wiki.jikexueyuan.com/project/github-page/) - 结合了Octopress. #### GitBook@ * [GitBook简明教程](http://www.chengweiyang.cn/gitbook/index.html) - 本教程主要围绕 GitBook 的安装,使用,集成,书籍发布,个性化以及实用插件几个方面. * [Gitbook入门教程](https://yuzeshan.gitbooks.io/gitbook-studying/content/index.html) - 本书将简单介绍如何安装、编写、生成、发布一本在线图书,且示例全部在windows下展示(其他系统差不多一致). * [Git教学](https://kingofamani.gitbooks.io/git-teach/content/index.html) - GIT版本控制. * [Gitbook 使用入门](https://github.com/wwq0327/gitbook-zh) - 本书将简单介绍如何安装、编写、生成、发布一本在线图书. * [api-guide](https://github.com/GitbookIO/api-guide) - gitbook的api文档. #### Git文章@ * [如何高效利用GitHub](http://www.yangzhiping.com/tech/github.html) - 本文尝试谈谈GitHub的文化、技巧与影响. * [GitHub连击500天:让理想的编程成为习惯](https://www.phodal.com/blog/github-500-program-as-usual/) - phodal对于GitHub的看法. * [Github装逼指南——Travis CI 和 Codecov](https://segmentfault.com/a/1190000004415437) - 关于持续集成和统计单测覆盖率. * [如何用Github去管理你的Idea](http://zhuanlan.zhihu.com/phodal/20442311) - 用Github的README.md和Issues来管理我的idea. * [GitHub开源项目负责人谈开源](http://www.infoq.com/cn/news/2015/10/GitHub-OpenSource) - Brandon就其与开源的缘分、当前工作的职责、GitHub及员工与开源的关系等方面的问题一一进行了回答. * [亲爱的GitHub](https://github.com/dear-github/dear-github) - 致GitHub的一封公开信. * [thank-you-github](https://github.com/thank-you-github/thank-you-github) - 一封从GitHub毕业的公开信. * [用Github issues作为blog的例子](https://github.com/lifesinger/blog/labels/blog)- 用Github issues作为blog的例子. * [2014年GitHub 中国开发者年度报告](http://githuber.info/report) - 使用python分析数据后的报告. * [Gist介绍与用法](http://platinhom.github.io/2015/11/26/gist/) - Gist https://gist.github.com/ 是Github的一个子服务. * [最活跃的GitHub用户](https://gist.github.com/paulmillr/2657075/) - 想看最活跃用户可以看这里. * [10个立即提高你生产力的GitHub技能](http://usersnap.com/blog/github-hacks-productivity/) * [Top 10 Git Tutorials for Beginners](http://sixrevisions.com/resources/git-tutorials-beginners/) - 教你使用git最好的10本书. * [使用GitHub进行团队合作](http://xiaocong.github.io/blog/2013/03/20/team-collaboration-with-github/) - 译文. * [一键收藏至Github](http://www.jianshu.com/p/19d2f3a3b5d8) - 通过 Rails 收藏文章,并自动提交至 github. * [Github Hacking](http://www.jianshu.com/p/d6b54f1d60f1) - Github的各种黑客技能. * [如何参与一个GitHub开源项目?](http://www.csdn.net/article/2014-04-14/2819293-Contributing-to-Open-Source-on-GitHub) - 如何参与一个GitHub开源项目? * [试译:开源项目成功的十条准则](http://www.zhuangbiaowei.com/blog/?cat=31) -作者将自己30年来的开发经验,总结为开源软件的十条成功法则。 * [漫谈Github与开源](http://www.wdk.pw/802.html) -本文作者为大二在读Geek学生关于GitHub与开源的理解。 * [关于Pull Request的十个建议](http://blog.ploeh.dk/2015/01/15/10-tips-for-better-pull-requests/) - 作者Mark Seemann. * [Github上都有哪些有用但不为大家熟知的小功能?](https://www.zhihu.com/question/36974348) * [如果你用GitHub,可以这样提高效率](http://huang-jerryc.com/2016/01/15/%E5%A6%82%E6%9E%9C%E4%BD%A0%E7%94%A8GitHub%EF%BC%8C%E5%8F%AF%E4%BB%A5%E8%BF%99%E6%A0%B7%E6%8F%90%E9%AB%98%E6%95%88%E7%8E%87/) - 基于Github,搭建一整套代码管理服务 * [如何选择开源许可证?](http://www.ruanyifeng.com/blog/2011/05/how_to_choose_free_software_licenses.html) - 六种开源协议GPL、BSD、MIT、Mozilla、Apache和LGPL之间的区别. * [如何用好github中的watch、star、fork](http://www.jianshu.com/p/6c366b53ea41) - 介绍watch、star、fork的具体作用. * [git-commit-guide](https://github.com/bluejava/git-commit-guide) - git commit message 指南. * [git操作是不是很难记住?](http://www.jianshu.com/p/e870fdd971fc) - 笔者试着分类git的常用操作,方便同样是刚入门git的你查阅. * [GUI for git|SourceTree|入门基础](http://www.jianshu.com/p/be9f0484af9d) - SourceTree简介. * [话说Svn与Git的区别](http://www.jianshu.com/p/bfec042349ca) - SVN的特点是简单,只是需要一个放代码的地方时用是OK的。Git的特点版本控制可以不依赖网络做任何事情,对分支和合并有更好的支持. * [多用Git少交税](http://www.jianshu.com/p/8a985c622e61) * [Git版本控制与工作流](http://www.jianshu.com/p/67afe711c731) - 针对git版本控制和工作流的总结. * [在github上写博客](http://www.jianshu.com/p/1260517bbedb) * [GitHub & Bitbucket & GitLab & Coding 的对比分析](http://blog.flow.ci/github-bitbucket-gitlab-coding) #### GithubRank@ * [GitHub Rank (China)](http://githubrank.com/) - GitHub上中国程序员的排名网站,根据follower. * [GitHub Ranking | GitHub Awards](http://github-awards.com/) - GitHub上程序员的排名网站,根据star. * [GitHub Ranking](https://github-ranking.com/) - GitHub用户和仓库排名,根据star,不区分语言. * [diycode - GitHub Ranking](http://www.diycode.cc/trends) - GitHub 全球 Developers, Organizations and Repositories 排行榜. #### 桌面工具@ * [ohmystar](http://www.ohmystarapp.com/) - Mac上管理你GitHub star的工具 * [GithubPulse](https://github.com/tadeuzagallo/GithubPulse) - OS X状态栏的APP,帮你记住你在GitHub每天的贡献. * [githubtrending](http://www.githubtrending.com/) - OS X状态栏的APP,显示GitHub Trending,也有iOS端. * [ghstatus](https://itunes.apple.com/cn/app/ghstatus/id883585153?mt=12) - OS X状态栏的APP,显示GitHub Status. * [pophub](http://questbe.at/pophub/) - OS X状态栏的APP,显示GitHub 的activities. * [git-dude](https://github.com/sickill/git-dude) - git commit通知. * [gitee](https://github.com/Nightonke/Gitee) - Gitee, OS X status bar application for Github 漂亮的GitHub数据统计工具,还有notifications功能. #### Github客户端@ * [MVVMReactiveCocoa](https://github.com/leichunfeng/MVVMReactiveCocoa) - GitBucket iOS App,一个GitHub第三方客户端. * [Monkey](https://github.com/coderyi/Monkey) - Monkey是一个GitHub第三方iOS客户端,主要是用来展示GitHub上的开发者的排名,以及仓库的排名. * [react-native-gitfeed](https://github.com/xiekw2010/react-native-gitfeed) - 一个React Native写的Github客户端,支持iOS和Android. * [githot](https://github.com/andyiac/githot) - GitHot是一个Android App,用来发现世界上最流行的项目和人. * [CodeHub](https://github.com/thedillonb/CodeHub) - CodeHub是C#写的,它是iOS设备上最好的GitHub仓库浏览和维护工具. * [ioctocat](https://github.com/dennisreimann/ioctocat) - GitHub的iOS客户端. * [napcat](https://itunes.apple.com/cn/app/napcat-github-client-for-open/id606238223?mt=8) - 一个比较全面的GitHub的iOS客户端. * [RepoStumble](https://github.com/thedillonb/RepoStumble) - 查看GitHub仓库的手机客户端. * [GithubTrends](https://github.com/laowch/GithubTrends) - Material Design风格的查看GitHub仓库trending app. * [ForkHub](https://github.com/jonan/ForkHub) - Android平台的GitHub客户端. * [GitEgo](https://github.com/hrules6872/GitEgo) - Android平台的GitHub客户端. * [Sources](https://github.com/vulgur/Sources) - 一个极简的 Github 客户端,Sources。内置几十个语法高亮的主题可供选择. * [igithub](https://github.com/schacon/igithub) - github 的iOS端. * [gitmonitor-ios](https://github.com/theotow/gitmonitor-ios) - 一个通知你不用再push代码的iOS app. * [GithubWidget](https://github.com/Nightonke/GithubWidget) - 轻量级显示Github用户的贡献、星数、Follower数、热门仓库的App. * [GitPocket](https://github.com/jindulys/GitPocket) - Swift编写GitHub客户端. * [GitHubContributionsiOS](https://github.com/JustinFincher/GitHubContributionsiOS) - 显示你的GitHub Contributions的Today Extension,App Store链接,[Contributions for GitHub](https://itunes.apple.com/us/app/contributions-for-github/id1153432612?l=zh&ls=1&mt=8). * [PPHub](https://github.com/jkpang/PPHub-Feedback) - 一个漂亮的GitHub iOS客户端, 使用Swift编写 #### Github插件@ * [octotree](https://github.com/buunguyen/octotree) - 浏览器扩展,树状格式显示GitHub的代码. * [octo-linker](https://github.com/octo-linker/chrome-extension) - 这款谷歌 Chrome 扩展允许您轻松地浏览 GitHub.com 上的文件和包. * [github-hovercard](https://github.com/Justineo/github-hovercard) - GitHub Hovercard 是一个浏览器扩展,实现了展示用户在 Github 上信息的信息卡功能,支持 Firefox 和 Chrome 浏览器. * [notifier-for-github-chrome](https://github.com/sindresorhus/notifier-for-github-chrome) - 一个浏览器扩展,它能显示 Github 通知的未读数量. * [github-menu-back](https://github.com/summerblue/github-menu-back) - 一款修改 GitHub 导航栏为之前状态的 Chrome 插件. * [gitsense-extensions](https://github.com/gitsense/gitsense-extensions) - GitSense 是一个 Chrome 插件,可以让你在浏览 Github 的时候体验更好. * [git-draw](https://github.com/ben174/git-draw) - 谷歌 Chrome 扩展,给GitHub提交历史画个画. * [ShowInGitHub](https://github.com/larsxschneider/ShowInGitHub) - Xcode插件,打开选中行的GitHub提交页面. * [Reveal-In-GitHub](https://github.com/lzwjava/Reveal-In-GitHub) - 有关GitHub的Xcode插件. * [Visual Studio](https://github.com/github/VisualStudio) - 有关GitHub的Visual Studio插件. * [github-sublime-theme](https://github.com/AlexanderEkdahl/github-sublime-theme) - GitHub Sublime 主题. * [GitHubinator](https://github.com/ehamiter/GitHubinator) - sublime插件,显示选中文本上的远程GitHub仓库. * [alfred-github-workflow](https://github.com/gharlan/alfred-github-workflow) - Alfred 2上使用GitHub命令. * [ZenHub](https://github.com/ZenHubIO/support) -ZenHub 能优化你的 GitHub 工作流,是轻量级的 Chrome 浏览器插件. * [github-gmail](https://github.com/muan/github-gmail) - 在Gmail内快速打开GitHub的通知. * [chrome-github-avatars](https://github.com/anasnakawa/chrome-github-avatars) - 谷歌Chrome扩展,可以让你的GitHub主页显示用户的头像. * [tab-size-on-github](https://github.com/sindresorhus/tab-size-on-github) - 谷歌Chrome和Opera扩展,让代码缩进为4个空格而不是8个. * [hide-files-on-github](https://github.com/sindresorhus/hide-files-on-github) - 谷歌Chrome和Opera扩展,隐藏点文件. * [github-highlight-selected](https://github.com/Nuclides/github-highlight-selected) - 谷歌Chrome和Safari扩展,代码高亮,看起来像sublime. * [github-awesome-autocomplete](https://github.com/algolia/github-awesome-autocomplete) - 谷歌Chrome和Safari以及Firefox扩展,在GitHub的搜索栏加入自动补全功能. * [chrome-github-mate](https://github.com/rubyerme/chrome-github-mate) - 谷歌Chrome扩展,下载单个文件. * [Pages2Repo](https://github.com/Frozenfire92/Pages2Repo) - 谷歌Chrome扩展,通过GitHub Pages网站就能访问仓库. * [lovely-forks](https://github.com/musically-ut/lovely-forks) - 谷歌Chrome扩展,显示fork你仓库中star最多的. * [github-pr-filter](https://github.com/danielhusar/github-pr-filter) - 谷歌Chrome扩展,在pr中过滤文件. * [github-ast-viewer](https://github.com/lukehorvat/github-ast-viewer) - 谷歌Chrome扩展,增加代码的抽象语法树. * [github-canned-responses](https://github.com/notwaldorf/github-canned-responses) - 谷歌Chrome扩展,评论pr或者issue的时候有一些可选项. * [categoric](https://github.com/ozlerhakan/categoric) - 谷歌Chrome扩展,为你的通知分类. * [octo-preview](https://github.com/DrewML/octo-preview) - 谷歌Chrome扩展,预览你评论的markdown内容. * [GifHub](https://github.com/DrewML/GifHub) - 谷歌Chrome扩展,GifHub一个往GitHub评论里边插入Gif动画的Chrome插件. * [star-history-plugin](https://github.com/timqian/star-history-plugin) - 查看仓库star历史的插件. * [open-on-github](https://github.com/atom/open-on-github) - atom插件,打开文件在github.com. * [refined-github](https://github.com/sindresorhus/refined-github) - chrome插件,简化你的github,增加了一些可用的功能. * [gitpress](https://github.com/enricob/gitpress) - github的wordpress插件,用于列出用户的仓库. * [jquery-github](https://github.com/zenorocha/jquery-github) - jquery的插件显示github仓库. * [sublime-text-git](https://github.com/kemayo/sublime-text-git) - sublime的git插件. * [git-plugin](https://github.com/jenkinsci/git-plugin) - jenkins的git插件. * [github-oauth-plugin](https://github.com/jenkinsci/github-oauth-plugin) - jenkins的github oauth登录插件. * [twitter-for-github](https://github.com/bevacqua/twitter-for-github) - 在github上显示用户twitter的chrome插件. * [Hudson-GIT-plugin](https://github.com/magnayn/Hudson-GIT-plugin) - Hudson上的GIT插件. * [git-time-machine](https://github.com/littlebee/git-time-machine) - atom插件查看提交历史. * [GitDiff](https://github.com/johnno1962/GitDiff) - Xcode插件. * [vim-gitgutter](https://github.com/airblade/vim-gitgutter) - git的vim 插件. #### Git平台与工具@ * [git](https://github.com/git/git) - git源码. * [sourcetree](https://www.atlassian.com/software/sourcetree) - Windows 和Mac OS X 下免费的 Git客户端. * [gitbucket](https://github.com/gitbucket/gitbucket) - Scala编写的开源Git平台,扩展性好,兼容GitHub. * [gogs](https://github.com/gogits/gogs) - Gogs (Go Git Service) 是一款极易搭建的自助 Git 服务. * [gitlab](https://github.com/gitlabhq/gitlabhq) - 一个用于仓库管理系统的开源项目. * [git-annex](https://github.com/joeyh/git-annex) - git管理大文件. * [gitx](https://github.com/pieter/gitx) - Mac平台上的Git GUI客户端. * [gity](https://github.com/beheadedmyway/gity) - mac的git客户端. * [svn2git](https://github.com/nirvdrum/svn2git) - ruby 实现的迁移svn工程到git. * [stupidgit](https://github.com/gyim/stupidgit) - python编写的git的跨平台GUI. * [GitUp](https://github.com/git-up/GitUp) - Objective-C编写的Mac上的Git客户端. #### 命令行@ * [hub](https://github.com/github/hub) - github官方出品的命令行工具,让你更好地使用github. * [gitflow](https://github.com/nvie/gitflow) Git extensions to provide high-level repository operations for Vincent Driessen's branching model. * [gh](https://github.com/jingweno/gh) - gh 是一个用 Go 语言开发的 Github 命令行客户端. * [node-gh](https://github.com/node-gh/gh) - Node GH 是基于 Node.js 编写的 Github 命令行工具. * [gitsome](https://github.com/donnemartin/gitsome/) - supercharged Github Client. * [git-blame-someone-else](https://github.com/jayphelps/git-blame-someone-else) - 吐槽别人的烂代码. * [git-pulls](https://github.com/schacon/git-pulls) - github pull requests的命令后行工具. * [git-scribe](https://github.com/schacon/git-scribe) - 写电子书的命令行工具. * [github-gem](https://github.com/defunkt/github-gem) - github命令行工具. * [ghterm](https://github.com/github-archive/ghterm) - github终端. * [git-sh](https://github.com/rtomayko/git-sh) - 适合git的bash工作环境. * [legit](https://github.com/kennethreitz/legit) - 灵感来自于github for mac的git 命令行工具. * [git-sweep](https://github.com/arc90/git-sweep) - git命令行工具,帮助你清理已经merge到master的分支. * [github-email](https://github.com/paulirish/github-email) - 获取用户的邮箱. * [git-town](https://github.com/Originate/git-town) Generic, high-level Git workflow support. * [git-fire](https://github.com/qw3rtman/git-fire) - 紧急情况下保存代码. * [gitsome](https://github.com/donnemartin/gitsome) - Git/GitHub命令行工具. * [maintainer](https://github.com/gaocegege/maintainer) - 让你的 GitHub repo 对开发者更加友好的命令行工具. #### Github项目@ * [resume.github.com](https://github.com/resume/resume.github.com) - 根据用户的github信息生成简历 * [github-trending](https://github.com/josephyzhou/github-trending) - 记录下GitHub历史上的每日trending. * [GitHub-Dark](https://github.com/StylishThemes/GitHub-Dark) - 黑色的GitHub网站风格. * [github-gists](https://github.com/kevva/github-gists) - 拿到一个GitHub用户的所有gist. * [Get-Your-GitHub-Card](https://github.com/codesboy/Get-Your-GitHub-Card) - 基于jquery拿到你的GitHub用户资料. * [ohmyrepo](https://github.com/no13bus/ohmyrepo) - 一个 GitHub 仓库分析工具. * [greenhat](https://github.com/4148/greenhat) - 一个让GitHub全绿的“旁门左道”的东西. * [gitfiti](https://github.com/gelstudios/gitfiti) - 滥用github提交历史. * [Github-profile-name-writer](https://github.com/ironmaniiith/Github-profile-name-writer) - 把github提交历史变成你的名字. * [github-contributions](https://github.com/IonicaBizau/github-contributions) - 可以让你的 github 提交日历排出有趣的图案. * [github-corners](https://github.com/tholman/github-corners) - 显示 "Fork me on GitHub". * [GitHub-jQuery-Repo-Widget](https://github.com/JoelSutherland/GitHub-jQuery-Repo-Widget) - 一个GitHub风格的挂件,方便在页面中展示GitHub项目. * [GitHub Archive](https://github.com/igrigorik/githubarchive.org) - GitHub Archive 是一个记录GitHub时间线的项目. * [github-cards](https://github.com/lepture/github-cards) - GitHub Cards 用来展示你的简介. * [githut](https://github.com/littleark/githut) - 可视化了GitHub Archive的数据. * [lolcommits](https://github.com/mroth/lolcommits) - 每次提交Git都自拍一张. * [github-selfies](https://github.com/thieman/github-selfies) - Github Selfies 可以在你 Github 的需求和贡献上加上你的自拍照. * [badges](https://github.com/boennemann/badges) - 收集GitHub上readme页显示的与javascript有关的各种徽章. * [MediumArticles](http://www.jianshu.com/p/19d2f3a3b5d8) - 一键收藏至Github. * [GitHunt](https://github.com/apollostack/GitHunt) - 为你喜欢的仓库投票的项目. * [githug](https://github.com/Gazler/githug) - 通过游戏的方式来练习Git的命令行工具. * [css3-github-buttons](https://github.com/necolas/css3-github-buttons) - 帮助你创建github风格的 button. * [git-crypt](https://github.com/AGWA/git-crypt) - git加密. * [is-github-down](https://github.com/sindresorhus/is-github-down) - 检查github有没有down机. * [miaopull](https://github.com/aquarhead/miaopull) - 自动化pull工具. * [go-git](https://github.com/src-d/go-git)- 通过go来从git服务器读取仓库. * [GitViz](https://github.com/Readify/GitViz) - 帮助你训练git时的可视化工具. * [learnGitBranching](https://github.com/pcottle/learnGitBranching) - 学习git的可视化工具. #### Git库@ * [octokit](https://github.com/octokit) - GitHub API的官方封装库. * [GitHub Java API (org.eclipse.egit.github.core)](https://github.com/eclipse/egit-github/tree/master/org.eclipse.egit.github.core) - eclipse出品,Java写的GitHub API的封装库. * [github - michael](https://github.com/michael/github) - JavaScript写的GitHub API的封装库. * [PyGithub](https://github.com/PyGithub/PyGithub) - Python的GitHub API封装库. * [UAGithubEngine](https://github.com/owainhunt/uagithubengine) - Objective-C的GitHub API封装库. * [RxGitHubAPI](https://github.com/FengDeng/RxGitHubAPI) - 基于RxSwift的GitHub API封装库. * [GitHub API for Java](http://github-api.kohsuke.org/) - 面向对象的GitHub API库. * [GitHubObjC](https://github.com/ernstsson/GitHubObjC) - Objective-C实现的GitHub API库. * [go-github](https://github.com/google/go-github) - Go实现的GitHub API库. * [ruby-github](https://github.com/peter-murach/github) - Ruby实现的GitHub API库. * [libgit2](https://github.com/libgit2/libgit2) - Git核心库,通过它可以写一个自己的git应用. * [Gift](https://github.com/modocache/Gift) - 通过Swift绑定libgit2,通过它你可以clone一个仓库,查看commit,提交等. * [gitkit-js](https://github.com/SamyPesse/gitkit-js) - gitkit-js,SamyPesse开源的git的javascript实现,包含一系列API,可以管理git仓库,包括读文件,commit, clone,push,fetch等,可以工作在浏览器和node.js上. * [github3.py](https://github.com/sigmavirus24/github3.py) - GitHub API v3的python接口. * [PyGithub](https://github.com/PyGithub/PyGithub) - GitHub API v3的python接口. * [github-backup](https://github.com/joeyh/github-backup) - 备份GitHub仓库,包括branches, tags, other forks, issues, comments, wikis, milestones, pull requests, watchers, stars. 通过haskell编写. * [github - Haskell](https://github.com/PyGithub/PyGithub) - GitHub API 的Haskell接口. * [objective-git](https://github.com/schacon/objective-git) - Git的Objective-C实现. * [node-gitlab](https://github.com/node-gitlab/node-gitlab) - gitlab的node api. * [php-github-api](https://github.com/KnpLabs/php-github-api) - php的github api. * [cocoagit](https://github.com/geoffgarside/cocoagit) - git的objetive-c实现. * [ruby-github](https://github.com/mbleigh/ruby-github) - mbleigh写的ruby的github api. * [Git.framework](https://github.com/geoffgarside/Git.framework) - mac os x 平台的objective-c的git实现. * [pygit2](https://github.com/libgit2/pygit2) - libgit2的python版. * [git.js](https://github.com/danlucraft/git.js) - git的js实现. * [nodegit](https://github.com/nodegit/nodegit) - git的node实现. * [GitSharp](https://github.com/henon/GitSharp) - .Net实现的git. * [erlangit](https://github.com/schacon/erlangit) - erlang 的git实现. * [github4j](https://github.com/defunct/github4j) - 一个github 下载的java api. * [libgit2sharp](https://github.com/libgit2/libgit2sharp) - .Net实现的git. * [Gift](https://github.com/modocache/Gift) - Swift编写的git实现. * [SwiftGit2](https://github.com/SwiftGit2/SwiftGit2) - Swift编写的git实现. * [GithubPilot](https://github.com/jindulys/GithubPilot) - Swift的GitHub API 封装. * [GitYourFeedback](https://github.com/gabek/GitYourFeedback) - 让你可以直接在iOS App内feedback时向GitHub提交issue. #### Github浏览器工具@ * [awesome-browser-extensions-for-github](https://github.com/stefanbuck/awesome-browser-extensions-for-github) GitHub浏览器扩展收集列表. #### 版本新API的Demo@ * [appleSample](https://github.com/WildDylan/appleSample) - iOS 苹果官方Demo合集, [官方demo](https://developer.apple.com/library/ios/navigation/#section=Resource%20Types&topic=Sample%20Code). * [iOS7-Sampler](https://github.com/shu223/iOS7-Sampler) - 整合了iOS7.0的一些十分有用的特性,比如:Dynamic Behaviors、碰撞检测、语音合成、视图切换、图像滤镜、三维地图、Sprite Kit(动画精灵)、Motion Effect(Parallax)、附近蓝牙或者wifi搜索连接、AirDrop、运动物体追踪(iPhone 5S以上,需要M7处理器)等等。对于日常的应用开发十分实用。 * [iOS8-Sampler](https://github.com/shu223/iOS8-Sampler) - 日本的shuさん制作的 iOS8 参考代码集。01.Audio Effects ;02.New Image Filters;03.Custom Filters;04.Metal Basic;05.Metal Uniform Streaming;06.SceneKit;07.HealthKit;08.TouchID;09.Visual Effects;10.WebKit;11.UIAlertController;12.User Notification;13.Pedometer;14.AVKit;15.Histogram;16.Code Generator;17.New Fonts;18.Popover;19.Accordion Fold Transition * [iOS-9-Sampler](https://github.com/shu223/iOS-9-Sampler) - 通过实例介绍了iOS 9 SDK中重要新特性的使用。 * [iOS 9 分屏多任务](http://www.cocoachina.com/ios/20150714/12557.html) - iOS 9 分屏多任务:Slide Over & Split View快速入门(中文版)。 * [Search-APIs](https://github.com/fish-yan/Search-APIs) - iOS 9 学习系列: SearchAPIs。[教程](http://blog.csdn.net/fish_yan_/article/details/50635433) #### 版本适配@ * [iOS9AdaptationTips](https://github.com/ChenYilong/iOS9AdaptationTips) iOS9适配系列教程 #### 深度链接@ * [DeepLinkKit](https://github.com/button/DeepLinkKit) - 深度链接,A splendid route-matching, block-based way to handle your deep links. #### 测试调试@ * [FLEX](https://github.com/Flipboard/FLEX) 非常赞👍👍👍 的 一个Xcode界面调试工具,FLEX是一个需要注入式的一种框架,从描述来看,功能非常多。主要来讲的话能够对正在运行的应用进行样式的修改和控件的读取。FLEX会赐予你SuperPower!!! 1. 可以查看控件的坐标和属性 2. 看任何一个对象的属性和成员变量 3. 动态修改属性和成员变量 4. 动态的调用实例和类方法 FLEX正因为是注入式的,所以不需要在链接LLDB或者Xocde,或者是远程的调试服务器,它可以在本地随时随地的进行自有的操作和调试 * [Quick](https://github.com/Quick/Quick) - 非常赞👍👍👍 用于Swift中的单元测试(也可用于Objective-C),与Xcode整合在一起。如果你是Objective-C的粉丝,我建议用Specta代替这个,但是对Swift使用者来说,Quick是最佳选择. * [commandLine](https://github.com/jlevy/the-art-of-command-line/blob/master/README-zh.md) - 五万星登顶,程序员命令行最全技巧宝典. * [KIF](https://github.com/kif-framework/KIF) - 是一个开源的用户界面UI测试框架. 使用 KIF, 并利用 iOS中的辅助功能 API, 你将能够编写模拟用户输入,诸如点击,触摸和文本输入,自动化的UI测试. * [FBSimulatorControl](https://github.com/facebook/FBSimulatorControl) - 支持同时启动多个模拟器的库,FaceBook出品. * [calabash-ios](https://github.com/calabash/calabash-ios) - 自动测试 Calabash is an automated testing technology for Android and iOS native and hybrid applications. * [Buildasaur](https://github.com/czechboy0/Buildasaur) 自动测试框架 Automatic testing of your Pull Requests on GitHub and BitBucket using Xcode Server. Keep your team productive and safe. Get up and running in minutes. @buildasaur * [CocoaLumberjack](https://github.com/CocoaLumberjack/CocoaLumberjack) - 是一个快速、简单,但很强大的日志框架,可以自定义打印日志的颜色. * [MLeaksFinder](https://github.com/Tencent/MLeaksFinder) - 内存泄露检测工具. * [AMLeaksFinder](https://github.com/liangdahong/AMLeaksFinder) - 一款用于自动检测 iOS 项目中【控制器内存泄漏,View 内存泄漏】的小工具,支持 ObjC,Swift. * [CocoaDebug](https://github.com/CocoaDebug/CocoaDebug) - iOS内置调试工具(日志打印/网络监控/内存监控/沙盒查看...)[兼容Swift和Objective-C]. * [IPAPatch](https://github.com/Naituw/IPAPatch) 免越狱调试、修改第三方App,👍👍 . * [DBDebugToolkit](https://github.com/dbukowski/DBDebugToolkit) - Set of easy to use debugging tools for iOS developers & QA engineers. * [DoraemonKit](https://github.com/didi/DoraemonKit) - 一个不错的可视化调试、各种测试工具. * [iOS-Performance-Optimization](https://github.com/skyming/iOS-Performance-Optimization) - 关于iOS 性能优化梳理、内存泄露、卡顿、网络、GPU、电量、 App 包体积瘦身、启动速度优化等、Instruments 高级技巧、常见的优化技能- Get — Edit. * [FBMemoryProfiler](https://github.com/facebook/FBMemoryProfiler) - Facebook出品,内存检测库.FBMemoryProfiler 基础教程](http://ifujun.com/fbmemoryprofiler-shi-yong-ji-chu-jiao-cheng/)。(https://swiftcafe.io/2017/05/02/mem-profiler/?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io) * [xctool](https://github.com/facebook/xctool) - Facebook出的自动化打包工具,它规范了输出的log日志,而且一些错误信息也更为清晰一些. * [MSLeakHunter](https://github.com/mindsnacks/MSLeakHunter) - 自动检测 UIViewController 和 UIView 对象的内存泄露。Find memory leaks in your iOS app at develop time. [MLeaksFinder 的使用参照](https://github.com/Zepo/MLeaksFinder). * [chisel](https://github.com/facebook/chisel) - Chisel扩展了一些列的lldb的命令来帮助iOS开发者调试iOS应用程序. * [PonyDebugger](https://github.com/square/PonyDebugger) - 由 Square 公司推出的一款优秀的 iOS 应用网络调试工具, 用户可以实时看到应用程序的网络请求, 也可以对 iOS 应用程序的核心数据栈进行远程调试. * [ViewMonitor](https://github.com/daisuke0131/ViewMonitor) - 能够帮助 iOS 开发者们精确的测量视图, 可直接在调试应用中查看具体某个视图的坐标, 宽高等参数. * [pxctest](https://github.com/plu/pxctest) - Execute tests in parallel on multiple iOS Simulators 在多个 iOS 模拟器上并行测试. * [ios-snapshot-test-case](https://github.com/facebookarchive/ios-snapshot-test-case) - 保持它的功能 - 在iOS功能测试框架. * [dSYMTools](https://github.com/answer-huang/dSYMTools) - 友盟 dSYM analyze 备用地址[https://github.com/mrhyh/dSYMTools]. * [HeapInspector](https://github.com/tapwork/HeapInspector-for-iOS) - HeapInspector是一个用于检测应用中的内存泄漏的开源调试工具. * [UIViewController-Swizzled](https://github.com/RuiAAPeres/UIViewController-Swizzled) - 把你进入的每一个controller的类名打出来,如果看一些特别复杂的项目的时候直接运行demo就可以知道执行次序了. * [MTHawkeye](https://github.com/meitu/MTHawkeye) - Profiling / Debugging assist tools for iOS. * [YourView](https://github.com/TalkingData/YourView) - YourView is a desktop App in MacOS based on Apple SceneKit. You may use it to view iOS App's view hierarchy 3D. * [snoop-it](https://code.google.com/archive/p/snoop-it/) - snoop-it比UIViewController-Swizzled好用,代码托管在google上。 * [Versions](https://github.com/zenangst/Versions) - 版本比较小工具. * [MobileWebPageTest](http://code4app.com/ios/MobileWebPerformanceTest/5465d3e9933bf00c658b4f43) - MobileWebPageTest是用来测试移动网页性能的软件,它可以对页面的加载和渲染过程进行截屏,协助开发者分析出页面性能瓶颈. * [ios-snapshot-test-case](https://github.com/uber/ios-snapshot-test-case) - Snapshot view unit tests for iOS. * [WebDriverAgent](https://github.com/facebook/WebDriverAgent) - Facebook 推出了一款新的iOS移动测试框架 A WebDriver server for iOS that runs inside the Simulator. * [specta](https://github.com/specta/specta) - TDD或BDD,objective-c语言的测试框架,用的人多. * [cedar](https://github.com/pivotal/cedar) - TDD或BDD,objective-c语言的测试框架,用的人少. * [cedar](https://github.com/cedarbdd/cedar) - BDD-style testing using Objective-C. * [KKLog](https://github.com/Coneboy-k/KKLog) - 一个日志管理系统. * [Buildasaur](https://github.com/czechboy0/Buildasaur) - 自动测试框架 Buildasaur. * [使用Quick框架和Nimble来测试ViewControler](http://www.devtf.cn/?p=739) - Quick是一个用于创建BDD测试的框架。配合Nimbl,可以为你创建更符合预期目标的测试. * [Bugtags-iOS](https://github.com/bugtags/Bugtags-iOS) - 一个简单、有效的bug和崩溃报告工具. * [iOS-private-api-checker](https://github.com/NetEaseGame/iOS-private-api-checker) - iOS-private-api-checker 苹果iOS私有API检查工具. * [gitbook](https://github.com/GitbookIO/gitbook) - GitBook 是一个基于Node.js 的命令行工具,可使用Github/Git 和Markdown 来制作精美的电子书。 GitBook需要使用markdown格式编写,如果你不了解可以看看这里. * [crashlytics](https://www.fabric.io/onboard) - Twitter出的一个崩溃分析软件. * [Knuff](https://github.com/KnuffApp/Knuff) - 调试iOS App远程推送(APNs)的工具. * [PPAutoPackageScript](https://github.com/jkpang/PPAutoPackageScript) - Xcode8以后的iOS自动打包脚本,配置简单/方便. * [CocoaDebugKit](https://github.com/Patrick-Kladek/CocoaDebugKit) - Debugging made easy. Automatically create QuickLook images of custom objects. * [AssetsExtractor](https://github.com/pcjbird/AssetsExtractor) - 『Assets提取工具』是一款OSX平台上用于将Assets.car或xxx.app中打包的png图片、pdf等资源重新提取出来的开发者工具。Assets.car常见于iOS/Mac/Unity等开发中的资源打包. * [fbretaincycledetector](https://github.com/facebook/fbretaincycledetector) - Facebook出品,通过Runtime监测循环引用. * [FBAllocationTracker](https://github.com/facebook/FBAllocationTracker) - Facebook出品,跟踪oc对象的分配情况. * [JxbDebugTool](https://github.com/JxbSir/JxbDebugTool) - 一个iOS调试工具,监控所有HTTP请求,自动捕获Crash分析. * [KSCrash](https://github.com/kstenerud/KSCrash) - iOS Crash 捕获上报工具, 可以自己配置服务器, 也可以与它推荐的服务器搭配使用. * [FBMemoryProfiler](https://github.com/facebook/FBMemoryProfiler) - iOS tool that helps with profiling iOS Memory usage. * [kiwi-bdd](https://github.com/kiwi-bdd/Kiwi/wiki) - TDD或BDD,objective-c语言的测试框架,最流行的BDD测试框架了,Kiwi最受欢迎(根据github上的star数来推断,行为描述和期望写起来也比较易懂,至少我是这么认为的) [iOS开发中的测试框架](http://www.jianshu.com/p/7e3f197504c1#)。 * [MMPlaceHolder](https://github.com/adad184/MMPlaceHolder) - 一行代码显示UIView的位置及相关参数. * [KMCGeigerCounter](https://github.com/kconner/KMCGeigerCounter) - KMCGeigerCounter通过复杂和简单的视图演示了类似盖革计数器的帧速计算功能。掉帧通常是可见的,但是很难区分55fps和60fps之间的不同,而KMCGeigerCounter可以让你观测到掉落5帧的情况. * [XcodeServerSDK](https://github.com/czechboy0/XcodeServerSDK) - 非官方 Xcode Server SDK 封装库。 P.S. 该 SDK 分离自之前推荐的由该作者开发的自动测试框架. * [Crashlytics](http://try.crashlytics.com/) - Crashlytics 崩溃报告 崩溃日志 [使用说明](http://www.infoq.com/cn/articles/crashlytics-crash-statistics-tools) 。 * [AvoidCrash](https://github.com/chenfanfang/AvoidCrash) 利用runtime处理崩溃问题的一个框架 * [iConsole](https://github.com/nicklockwood/iConsole) - 调试利器 In-app console for viewing logs and typing debug commands in iPhone apps. * [RealmBrowser-iOS](https://github.com/TimOliver/RealmBrowser-iOS) - A native iOS debugging framework for introspecting Realm files on device. * [iOS-Debug-Hacks](https://github.com/aozhimin/iOS-Debug-Hacks) - 项目开发过程中用到的高级调试技巧,涉及三方库动态调试、静态分析和反编译等领域. * [iSimulator](https://github.com/wigl/iSimulator) - 模拟器控制工具,simctl的GUI实现,可以方便打开模拟器位置、App沙盒文件位置,并且可以启动、关闭模拟器. * [Kiwi](https://github.com/kiwi-bdd/Kiwi) - 简单的BDD为iOS. * [GTrack](https://github.com/gemr/GTrack) - Lightweight Objective-C wrapper around the Google Analytics for iOS SDK with some extra goodies. #### Xcode工具@ * [react-native-device-info](https://github.com/rebeccahughes/react-native-device-info) react-native获取设备信息组件,支持iOS、Android. * [XcodeCleaner](https://github.com/waylybaye/XcodeCleaner) - Cleaner for Xcode.app built with react-native-macos. * [cartool](https://github.com/steventroughtonsmith/cartool) - 导出ipa包中Assets.car文件中的切图. * [Import](https://github.com/markohlebar/Import) 快捷导入头文件-Xcode extension for adding imports from anywhere in the code. * [XcodeSourceEditorExtension-Alignment](https://github.com/tid-kijyun/XcodeSourceEditorExtension-Alignment) 对齐属性声明 This Xcode source editor extension align your assignment statement. * [Dash-iOS](https://github.com/Kapeli/Dash-iOS) Dash gives your iPad and iPhone instant offline access to 150+ API documentation sets https://kapeli.com/dash_ios * [HYBUnicodeReadable](https://github.com/CoderJackyHuang/HYBUnicodeReadable) -解决打印日志对于Unicode编码不能正常显示中文的问题,只需要将文件导入工程,不需要引用,就能达到打印日志显示Unicode编码中文数据 * [JSONExport](https://github.com/Ahmed-Ali/JSONExport) - 一个json转模型的mac软件,ESJsonFormat-Xcode的替代产品,非常不错👍 . * [WHC_DataModelFactory](https://github.com/netyouli/WHC_DataModelFactory) Mac上iOS开发辅助工具,快速把json/xml数据转换生成对应模型类属性,省去麻烦手动创建,提高开发效率。 * [Hyperion-iOS](https://github.com/willowtreeapps/Hyperion-iOS) - 内嵌app内部的控件尺寸测量工具. #### 崩溃捕获@ - [plcrashreporter](https://github.com/microsoft/plcrashreporter) - Reliable, open-source crash reporting for iOS and Mac OS X . #### Runtime@ * [iOS私有API](https://github.com/nst/iOS-Runtime-Headers) - 这个仓库可以调取苹果的所有私有方法头文件,相当强大。私有API,绿色 == public,红色 == private,蓝色 == dylib。 * [iOS10-Runtime-Headers](https://github.com/JaviSoto/iOS10-Runtime-Headers) - iOS10-Runtime-Headers. * [dyci-main](https://github.com/DyCI/dyci-main) - Dynamic Code Injection Tool for Objective-C. * [RuntimeDemo](https://github.com/cimain/RuntimeDemo) #### Xcode插件@ * [injectionforxcode](https://github.com/johnno1962/injectionforxcode) - Injection for Xcode:成吨的提高开发效率,[使用说明](http://www.jianshu.com/p/27be46d5e5d4). * [XVim2](https://github.com/XVimProject/XVim2) - Vim key-bindings for Xcode 9. * [MonkeyDev](https://github.com/AloneMonkey/MonkeyDev) 原有iOSOpenDev的升级,非越狱插件开发集成神器! CaptainHook Tweak、Logos Tweak and Command-line Tool、Patch iOS Apps, Without Jailbreak. * [xTextHandler](https://github.com/cyanzhong/xTextHandler) Xcode源码编辑扩展工具(Xcode8版) Xcode Source Editor Extension Tools (Xcode 8 Plugins) * [首先学习使用Xcode](http://www.cocoachina.com/special/xcode/) - 学习使用Xcode构建出色的应用程序!在Xcode启动的时候,Xcode将会寻找位于~/Library/Application Support/Developer/Shared/Xcode/Plug-ins文件夹中的后缀名为.xcplugin的bundle作为插件进行加载(运行其中的可执行文件)。 * [RPAXU](https://github.com/cikelengfeng/RPAXU) 每当 Xcode 升级之后,都会导致原有的 Xcode 插件不能使用,这是因为每个插件的 Info.plist 中记录了该插件兼容的 Xcode 版本的DVTPlugInCompatibilityUUID,而每个版本的 Xcode 的 DVTPlugInCompatibilityUUID 都是不同的。如果想让原来的插件继续工作,我们就得将新版 Xcode 的 DVTPlugInCompatibilityUUID 加入到每一个插件的 Info 文件中,手动添加的话比较费时间还可能出错,所以作者写了一个脚本来做这件事。 * [Alcatraz](https://github.com/alcatraz/Alcatraz) -使用Alcatraz来管理Xcode插件 * [Polychromatic](https://github.com/kolinkrewinkel/Polychromatic) 为不同的变量类型赋予不同的颜色 * [ClangFormat-Xcode](https://github.com/travisjeffery/ClangFormat-Xcode) clang-format 代码格式化 * [BBUncrustifyPlugin-Xcode](https://github.com/benoitsan/BBUncrustifyPlugin-Xcode) 代码格式化 * [HOStringSense-for-Xcode](https://github.com/holtwick/HOStringSense-for-Xcode)有图,点进去一看就明白了,代码编辑器里的字符串编辑器,粘贴大段 HTML 字符串之类的很方便,自动转义。 * [ZLGotoSandboxPlugin](https://github.com/MakeZL/ZLGotoSandboxPlugin) - 支持Xcode快捷键了跳转当前应用沙盒了!快捷键是 Shift+Common+w。 * [cocoapods-xcode-plugin](https://github.com/kattrali/cocoapods-xcode-plugin) - 该CocoaPods的插件增加了一个CocoaPods菜单到Xcode的产品菜单。如果你不喜欢命令行,那么你一定会喜欢这个插件。 * [Carthage](https://github.com/Carthage/Carthage)Carthage是一个新的第三方库管理工具,它轻耦合,使用很灵活,不会修改项目文件,使用xcodebuild工具来编译第三方库。跟cocoaPod有些类似。 * [KSImageNamed](https://github.com/ksuther/KSImageNamed-Xcode) - 自动完成,特别是如果你正在写Objective-C,如果Xcode能自动完成文件名难道不会很伟大吗?比如图像文件的名称。 * [KFCocoaPodsPlugin](https://github.com/ricobeck/KFCocoaPodsPlugin) Xcode插件 cocoapod, 方便编辑Podfile,显示构建日志 * [XCActionBar](https://github.com/pdcgomes/XCActionBar) 是一个用于 Xcoded 的通用生产工具。 * [XcodeBoost](https://github.com/fortinmike/XcodeBoost) XcodeBoost 是一款可以让开发者轻而易举地检查和修改 Objective-C 代码的插件。XcodeBoost 能够自动进行一些繁琐的操作,比如方法的定义与声明、添加基于命令行的代码处理(剪切/复制/粘贴/重复/删除行)、持续高亮等。 * [SCXcodeSwitchExpander](https://github.com/stefanceriu/SCXcodeSwitchExpander)在写switch时,自动补全所有选项 (只支持NS_ENUM) * [ColorSense-for-Xcode](https://github.com/omz/ColorSense-for-Xcode)ColorSense是一款Xcode颜色插件,可让UIColor和NSColor更加可视化。虽然已经有很多工具允许你从取色板插入UIColor/NSColor或者从屏幕上取色,但这些工具并不会记忆你此前你的常用选择。不过ColorSense可以解决这个问题,把插入符放在代码上即可展示实际颜色,并可以使用标准的Mac OS X颜色选择器进行调整。此外,该插件还在编辑菜单上添加了可插入颜色或者暂时禁用颜色高亮的项目,这些菜单项目没有默认的快捷键,但是你可以通过系统的键盘设置偏好进行设置。 * [tween-o-matic](https://github.com/simonwhitaker/tween-o-matic) 编辑CAMediaTimingFunction动画曲线 * [iOS-Universal-Framework] (https://github.com/kstenerud/iOS-Universal-Framework) iOS-Universal-Framework 是一个方便你将第三方 SDK 编译成 Framework 的开源工具。 * [iOS-Framework](https://github.com/jverkoey/iOS-Framework) 编译iOS的Framework的通用模板 [Xcode-Plugin-Template ](https://github.com/kattrali/Xcode-Plugin-Template) 插件开发 [XcodeEditor](https://github.com/appsquickly/XcodeEditor) 解析和操作Xcode工程文件 * [fui](https://github.com/dblock/fui) Fui 可以用来查找 Xcode 项目中无用的 import 并予以删除 * [SCStringsUtility](https://github.com/stefanceriu/SCStringsUtility) 让你在一个清爽的界面编辑不同的语言,简单地输入/输出NSLocalizedString数据。 * [Lin](https://github.com/questbeat/Lin) 一个开源的Mac基础工具,可以让你在一个清爽的界面编辑不同的语言,简单地输入/输出NSLocalizedString数据。提供了一个非常不错的操作界面,并且为不同的语言提供了不同的区域。 * [Transformifier](https://github.com/erwinmaza/Transformifier) Transformifier是一款通用的交互式的3D转换调整工具,用于iOS开发。开发者可以通过它以可视化的方式变换各维度上的值,还可以把使用CATransform3D输出的代码导入自己的app中. * [iconizer](https://github.com/raphaelhanneken/iconizer) - Create Xcode asset catalogs swift and painless. Generate images for macOS and iOS app icons, launch images and image sets. * [UIEffectDesignerView](https://github.com/icanzilb/UIEffectDesignerView) - iOS和OSX原生粒子系统效果图搭载QuartzCore * [Xcode5 Plugins 开发简介](http://studentdeng.github.io/blog/2014/02/21/xcode-plugin-fun/) [写个自己的Xcode4插件](http://joeyio.com/ios/2013/07/25/write_xcode4_plugin_of_your_own/) * [RTImageAssets](https://github.com/rickytan/RTImageAssets) - 一个 Xcode 插件,用来生成 @3x 的图片资源对应的 @2x 和 @1x 版本。[Asset Catalog Creator](https://itunes.apple.com/app/asset-catalog-creator-free/id866571115?mt=12) 功能强大,能自动生成全部尺寸:包括App Icons、Image Sets、Launch Screens Generator。 * [VVDocumenter-Xcode](https://github.com/onevcat/VVDocumenter-Xcode) - 一个Xcode插件,build后,随手打开一个你之前的项目,然后在任意一个方法上面连按三下"/"键盘,就ok了。 * [java2Objective-c](https://github.com/google/j2objc) - Google公司出得java转Obje-C转换工具,转换逻辑,不转换UI。 * [RegX](https://github.com/kzaher/RegX) - 专治代码强迫症的 Xcode 插件,使用 Swift 和 Objective-C 编写。其用竖向对齐特定源代码的元素,使得代码更易读和易理解。[说明](http://www.cocoachina.com/ios/20141224/10743.html) ; 菜单:xcode——》Edit-》Regx 。 * [CodePilot](https://github.com/macoscope/CodePilot) Code Pilot是一款在项目中快速方便地查找文件、方法和符号,Xcode 5的扩充开源插件,开发者无需鼠标进行操作。 * [XVim](https://github.com/XVimProject/XVim) 支持绑定VIM快捷键 * [CATweaker](https://github.com/keefo/CATweaker) CATweaker – 一个用于创建漂亮的CAMediaTimingFunction 曲线的插件. XcodeWay – 便捷地导航到多个地方 * [FuzzyAutocomplete](https://github.com/FuzzyAutocomplete/FuzzyAutocompletePlugin) - Xcode的实现自动完成还不完美,此插件能给出你所期望或想要的建议,设置:xcode-》Editor-》FuzzyAutocomplete-》plugin settings。 * [GitDiff](https://github.com/johnno1962/GitDiff) - Xcode的代码编辑器的一个微妙的补强,加上了足够的可见信息以了解上次git提交以来发生了什么变化,设置:xcode-》Edit-》GitDiff. * [XToDo](https://github.com/trawor/XToDo) - 这个插件不仅凸显TODO,FIXME,???,以及!!!注释,也在便利列表呈现他们。 菜单:xcode-》view-》snippets; 调出列表显示: xcode-》view-》ToDo List : ctrl + T . * [Backlight](https://github.com/limejelly/Backlight-for-XCode) - 突出显示当前正在编辑的行。菜单:xcode-》view-》Backlight. * [Peckham](https://github.com/markohlebar/Peckham) - 添加import语句比较麻烦,此插件 按Command-Control-P,给出的选项列表中选择要的头文件。先要安装. * [Auto-Importer](https://github.com/citrusbyte/Auto-Importer-for-Xcode) - Auto-Importer是一个自动导入类对应的头文件的Xcode插件. * [KSHObjcUML](https://github.com/kimsungwhee/KSHObjcUML) -KSHObjcUML 是一个 Objective-C 类引用关系图的 Xcode 插件. * [Dash-Plugin-for-Xcode](https://github.com/omz/Dash-Plugin-for-Xcode) * [ESJsonFormat-Xcode](https://github.com/EnjoySR/ESJsonFormat-Xcode) - 将Json格式化输出为模型的属性. * [SCXcodeMiniMap](https://github.com/stefanceriu/SCXcodeMiniMap) - Xcode迷你小地图-SCXcodeMiniMap. * [xTransCodelation](http://code.cocoachina.com/detail/316095/xTransCodelation/) - XCODE中英文翻译插件,提供API查询模式和网页模式,都是利用的百度翻译。另外集成了一个可以一键关闭其他所有APP的实用功能,方便开发者!目前只有30多颗星。 * [jazzy](https://github.com/realm/jazzy) - 通过代码注释生成doc文档,支持ObjC/Swift,分析准确. * [CoPilot](https://vimeo.com/128713880) - 通过此插件, Xcode 可以协同编程了(采用 WebSocket 通讯)。如此强大的“黑工具”,不爱它能行吗. * [SuggestedColors](https://github.com/jwaitzel/SuggestedColors/) - Xcode 插件SuggestedColors,用于 IB颜色设置 辅助插件,非常好用. * [Crayons](https://github.com/Sephiroth87/Crayons) - Xcode调色板增强插件. * [IconMaker](https://github.com/kaphacius/IconMaker) - 只需要一步,自动生成不同尺寸的App icon。超级方便. * [BuildTimeAnalyzer-for-Xcode](https://github.com/RobertGummesson/BuildTimeAnalyzer-for-Xcode) - 实用的编译时间分析 Xcode 插件. * [FastStub-Xcode](https://github.com/music4kid/FastStub-Xcode) - 一只快速生成代码的Xcode插件,[说明](http://mrpeak.cn/blog/faststub/). * [ESTranslate-Xcode](https://github.com/EnjoySR/ESTranslate-Xcode) - 一个快速翻译Xcode代码里面单词(我主要用于翻译句子~)的插件,快捷键:Ctrl+Shift+T. * [liftoff](https://github.com/liftoffcli/liftoff) - 用于创建和配置新的Xcode项目的CLI. * [ProvisionQL](https://github.com/ealeksandrov/ProvisionQL) - .ipa 和mobileprovision的快速外观插件. #### 接口调试工具@ * [PostMan](https://www.getpostman.com/) - google出品的接口调试工具. #### UI调试@ * [Reveal:分析iOS UI的利器](http://revealapp.com/) * [Reveal-Plugin-for-XCode](https://github.com/shjborage/Reveal-Plugin-for-XCode) - 一个Reveal插件,可以使工程不作任何修改的情况下使用Reveal,该插件已在Alcatraz上架 * [Lookin iOS免费UI调试利器](https://lookin.work/) #### AppleWatch * [Tesla汽车AppleWatch app demo演示](https://github.com/eleks/rnd-apple-watch-tesla) - 通过AppleWatch控制特斯拉汽车,同时可以看到汽车的相关信息,比如剩余电量、可续行里程等,以及解锁/上锁车门、调节司机和乘客的四区域空调温度、开启车辆大灯、定位汽车等。[源码推荐说明](http://www.cocoachina.com/ios/20150205/11116.html)。 * [WatchKit-Apps](https://github.com/kostiakoval/WatchKit-Apps) - WatchKit 开源小项目示例集锦。是不可多得地学习 WatchKit 的示例式教程(1.如何创建一个简单的交互式计数器;2.如何从手表上控制iOS app;3.如何在WatchKit app和iOS app之间共享数据;4.如何创建一个拥有不同背景色的数字时钟;5.展示不同的UI层;6.如何创建支持滑动手势的应用程序。)。 * [ipapy](https://github.com/hades0918/ipapy) - iOS项目自动打包脚本,并且上传到fir.im,然后发送邮件给测试人员。 #### 动态更新@ * [waxPatch](https://github.com/mmin18/WaxPatch) - 大众点评的屠毅敏同学在基于[wax](https://github.com/probablycorey/wax)的基础上写了waxPatch,这个工具的主要原理是通过lua来针对objc的方法进行替换,由于lua本身是解释型语言,可以通过动态下载得到,因此具备了一定的动态部署能力。 * [JSPatch](https://github.com/bang590/JSPatch) - JSPatch 是一个开源项目(Github链接),只需要在项目里引入极小的引擎文件,就可以使用 JavaScript 调用任何 Objective-C 的原生接口,替换任意 Objective-C 原生方法。目前主要用于下发 JS 脚本替换原生 Objective-C 代码,实时修复线上 bug。[官网](https://github.com/bang590/JSPatch)。(JSPatchX)[https://github.com/bang590/JSPatchX] JSPatch的XCode 代码补全插件。 * [CTJSBridge](https://github.com/casatwy/CTJSBridge) - JCTJSBridge:a javascript bridge for iOS app to interact with h5 web view。 #### AppleWatch@ * [Tesla汽车AppleWatch app demo演示](https://github.com/eleks/rnd-apple-watch-tesla) - 通过AppleWatch控制特斯拉汽车,同时可以看到汽车的相关信息,比如剩余电量、可续行里程等,以及解锁/上锁车门、调节司机和乘客的四区域空调温度、开启车辆大灯、定位汽车等。[源码推荐说明](http://www.cocoachina.com/ios/20150205/11116.html)。 * [WatchKit-Apps](https://github.com/kostiakoval/WatchKit-Apps) - WatchKit 开源小项目示例集锦。是不可多得地学习 WatchKit 的示例式教程(1.如何创建一个简单的交互式计数器;2.如何从手表上控制iOS app;3.如何在WatchKit app和iOS app之间共享数据;4.如何创建一个拥有不同背景色的数字时钟;5.展示不同的UI层;6.如何创建支持滑动手势的应用程序。)。 * [KYVoiceCurve](https://github.com/KittenYang/KYVoiceCurve) - 类似Apple Watch中语音的声音曲线动画。 * [IGInterfaceDataTable](https://github.com/facebookarchive/IGInterfaceDataTable) - IGInterfaceDataTable是WKInterfaceTable对象的一个类别,可以让开发者更简单地配置多维数据。该项目使用类似UITableViewDataSource的数据源模式配置Apple Watch表格,而不是将数据结构扁平化成为数组。 * [watchOS-2-Sampler](https://github.com/shu223/watchOS-2-Sampler) - 基于 watchOS 2 若干新特性,写了相应的示例代码供大家学习、参考。 * [HMWatch](https://github.com/KhaosT/HMWatch) - HMWatch是个有待完善的watchOS 2.0 HomeKit 应用示例。 * [CocoaMultipeer](https://github.com/manavgabhawala/CocoaMultipeer) - CocoaMultipeer这个开源框架支持OS X, iOS和watchOS设备间的点对点通信,解决watchOS和Mac之间通信的方案还是很有用的。 * [HighstreetWatchApp](https://github.com/GetHighstreet/HighstreetWatchApp) - 是电商平台Highstreet针对App Watch的一款应用,该demo中加载的是虚拟数据。 * [NKWatchChart](https://github.com/NilStack/NKWatchChart) - NKWatchChart是一个基于PNChart专门为Apple Watch 开发的图表库,目前支持 line, bar, pie, circle 和 radar 等 图表形式。 * [BeijingAirWatch](https://github.com/diwu/BeijingAirWatch) - 国人的开源项目代码 !WatchOS 2.0 Complication of Real-time Air Quality for Major Chinese Cities 苹果表盘实时刷新北上广沈蓉空气质量。 #### 美工资源@ * [TWG_Retina_Icons](https://github.com/markohlebar/Peckham) - 一套支持 Retina 高清屏的 iPhone 免费图标集。 * [ASCIImage](https://github.com/cparnot/ASCIImage) - 使用 NSString 创建 image,[说明](http://cocoamine.net/blog/2015/03/20/replacing-photoshop-with-nsstring/)。 * [my-sketch-colors](https://github.com/RayPS/my-sketch-colors) - 配色。 * [Font Awesome](http://www.imooc.com/wenda/detail/250367) - Font Awesome:一套绝佳的图标字体库和CSS框架,详细的安装方法请参考[官方网站](http://fortawesome.github.io/Font-Awesome/icons/)[中文网站](http://fontawesome.dashgame.com/),[GitHub地址](https://github.com/FortAwesome/Font-Awesome) 。 * [DynamicColor](https://github.com/yannickl/DynamicColor) - 强大的颜色操作扩展类。通过该类,你可以通过扩展方法基于某个颜色得到不同深浅、饱和度、灰度、色相,以及反转后的新颜色。是不可多得的好类库。 * [FontBlaster](https://github.com/ArtSabintsev/FontBlaster) - 载入定制字体时更简单。 #### 文章@ * [自定义转场动画](http://www.jianshu.com/p/38cd35968864) - 3 种方法~ 关于自定义转场动画。 * [用 JSON 构建 API 的标准指南](http://jsonapi.org.cn/) - 用 JSON 构建 API 的标准指南。 * [iOS创建半透明ViewController](http://miketech.it/ios-transparent-viewcontroller/) - iOS创建半透明ViewController。 * [iOS蓝牙开发(四):BabyBluetooth蓝牙库介绍](http://www.cocoachina.com/ios/20160219/15301.html) - [iOS蓝牙开发(一)蓝牙相关基础知识](http://www.cocoachina.com/ios/20150915/13454.html),[iOS蓝牙开发(二):iOS连接外设的代码实现](http://www.cocoachina.com/ios/20160217/15294.html),[iOS蓝牙开发(三):App作为外设被连接的实现](http://www.cocoachina.com/ios/20160218/15299.html)。 * [ImageOptim](https://imageoptim.com/) 图片保真压缩。【iOS图片压缩工具】效率最高的是[tiny-png](http://www.alfredforum.com/topic/1520-tiny-png-workflow-updated-to-v12/):在线压缩,前500张免费。 * [iOS推送之远程推送](http://ios.jobbole.com/83952/) 、[iOS推送之本地推送](http://ios.jobbole.com/83949/)。 * [动态部署方案](http://www.cocoachina.com/ios/20151019/13761.html) - iOS应用架构谈动态部署方案。 * [ReactiveCocoa 4 文档翻译目录](http://www.jianshu.com/p/fccba7be1ca1) - ReactiveCocoa 4 文档翻译目录。 * [每个Xcode开发者应该知道的七个使用技巧](http://www.cocoachina.com/ios/20160304/15558.html) - 每个Xcode开发者应该知道的七个使用技巧。 * [腾讯力作!超实用的iOS 9人机界面指南](http://blog.jobbole.com/94261/) - 腾讯力作!超实用的iOS 9人机界面指南。 * [iOS开发-超链接富文本案](http://ios.jobbole.com/84956/) - iOS开发-超链接富文本。 * [UIView+RedPoint实现底部UITabBarItem和控件的右上角显示和隐藏红点/数字的需求](https://segmentfault.com/a/1190000005112043) - * [使用GCD实现和封装分组并发网络请求](www.jianshu.com/p/54bbacfcc31b) - 使用GCD实现和封装分组并发网络请求。 * [微信语音连播的实现思路](http://www.jianshu.com/p/1d354feacf3c) - 微信语音连播的实现思路。 * [UITableView 手势延迟导致subview无法完成两次绘制](http://www.jianshu.com/p/b422d92738ac) - UITableView 手势延迟导致subview无法完成两次绘制。 #### 其他资源@ * [githuber](http://githuber.info/#/index) - 最好用的GitHub人才搜索工具。 * [codatlas](https://www.codatlas.com) - 源代码搜索利器。 * [searchcode](https://searchcode.com/) - 源代码搜索利器:来自悉尼的代码搜索引擎汇聚了 Github, Bitbucket, Sourceforge...等多家开源站点超20万个项目、180亿行源代码,能以特殊字符、语言、仓库和源方式从90多种语言找到函数、API的真实代码。 * [kitematic](https://github.com/docker/kitematic) - Mac 上使用 Docker 最简单的方案。 #### 学习资料@ #### 播客@ * [The Ray Wenderlich Podcast](https://www.raywenderlich.com/rwpodcast) * [Debug](http://www.imore.com/debug) * [App Story](http://www.appstorypodcast.com) * [Mobile Couch](http://mobilecouch.co/) * [iOS Bytes](https://iosbytes.codeschool.com/) * [iPhreaks](https://devchat.tv/iphreaks) * [Under the Radar](https://www.relay.fm/radar) * [Core Intuition](http://coreint.org/) * [Release Notes](https://releasenotes.tv/) * [More Than Just Code](http://mtjc.fm/) * [Runtime](https://spec.fm/podcasts/runtime) * [Consult](http://consultpodcast.com/) * [Fireside Swift](https://itunes.apple.com/us/podcast/fireside-swift/id1269435221?mt=2) #### 学习资料@ * [free-programming-books](https://github.com/EbookFoundation/free-programming-books) - 非常棒👍👍👍 经常更新的免费资源列表,包括书籍,播客,网站,开发工具等等。对于正在学习代码的人来说挺实用; Whether you're learning to code or are already an experienced programmer, this GitHub repository is an incredible resource of free programming books. ... You'll find books on professional development, specific platforms like Android and Oracle Server, and about 80 programming languages. * [coding-interview-university](https://github.com/jwasham/coding-interview-university) 非常棒👍👍👍 A complete computer science study plan to become a software engineer. * [Analyze](https://github.com/Draveness/Analyze) - 深入解析 iOS 开源项目. * [articles](https://github.com/objccn/articles) - Articles for objccn.io. objc.io的完整、准确、优雅的中文翻译版本. * [网易新闻iOS版使用的开源组件](http://m.163.com/special/newsclient/ios_libraries.html) - 网易新闻iOS版在开发过程中使用的第三方开源类库、组件. * [iOSInterviewQuestions](https://github.com/ChenYilong/iOSInterviewQuestions) - iOS面试题集锦(附答案). * [iOS-InterviewQuestion-collection](https://github.com/liberalisman/iOS-InterviewQuestion-collection) - iOS 开发者在面试过程中,常见的一些面试题,建议尽量弄懂了原理,并且多实践. * [growth-ebook](https://github.com/phodal/growth-ebook) - Growth Engineering: The Definitive Guide,全栈增长工程师指南. * [ideabook](https://github.com/phodal/ideabook) - 一个全栈增长工程师的练手项目集. A Growth Engineering Idea in Action. * [zen](https://github.com/100mango/zen) - iOS, Swift, Objective-C 心得. * [objc-zen-book-cn](https://github.com/oa414/objc-zen-book-cn) - 禅与 Objective-C 编程艺术 (Zen and the Art of the Objective-C Craftsmanship 中文翻译). * [dev-blog](https://github.com/nixzhu/dev-blog) - 翻译、开发心得或学习笔记. * A-[awesome-awesomeness](https://github.com/bayandin/awesome-awesomeness) - GitHub上所有Awesome Awesomeness 系列集合. 这个系列集合收集上GitHub上优秀的开源项目、框架、书籍、网站、类库等实用资源的集合. * [iOS-Core-Animation-Advanced-Techniques](https://github.com/AttackOnDobby/iOS-Core-Animation-Advanced-Techniques) - 中文版iOS 高级动画技术. * [iOS开发的一些奇巧淫技2](http://www.jianshu.com/p/08f194e9904c) - 用一个pan手势来代替UISwipegesture的各个方向、拉伸图片、播放GIF、上拉刷新、把tableview里cell的小对勾的颜色改变、navigationbar弄成透明的而不是带模糊的效果、改变uitextfield placeholder的颜色和位置. * [iOS-Tips](https://github.com/awesome-tips/iOS-Tips) - iOS知识小集. * [RemoteControl](https://github.com/johnno1962/Remote) - Control your iPhone from inside Xcode for end-to-end testing. * [iOS](https://github.com/Lafree317/iOS) - iOS资源大全中文版. * [MVVM 介绍](http://objccn.io/issue-13-1/) - 替换MVC的开发模式. * [第三方接口](http://apistore.baidu.com/astore/index) - 基本所有第三方接口都在这,再也不用那么麻烦去找了. * [提高iOS开发效率的方法和工具](http://yyny.me/ios/%E6%8F%90%E9%AB%98iOS%E5%BC%80%E5%8F%91%E6%95%88%E7%8E%87%E7%9A%84%E6%96%B9%E6%B3%95%E5%92%8C%E5%B7%A5%E5%85%B7/) - 提高iOS开发效率的方法和工具。 * [禅与 Objective-C 编程艺术](https://github.com/oa414/objc-zen-book-cn) - 禅与 Objective-C 编程艺术 (Zen and the Art of the Objective-C Craftsmanship 中文翻译). * [Objective-C编码规范:26个方面解决iOS开发问题](http://www.imooc.com/article/1216) - 【Objective-C编码规范:26个方面解决iOS开发问题:“我们制定Objective-C编码规范的原因是我们能够在我们的书,教程和初学者工具包的代码保持优雅和一致。”今天分享的规范来自raywenderlich.com团队成员共同完成的,希望对学习OC的朋友们有所指导和帮助. * [demo](https://github.com/coolnameismy/demo) - 刘彦玮的技术博客中文章对应的demo. * [awesome-growth](https://github.com/phodal/awesome-growth) - IT技能图谱. * [ios_core_animation_advanced_techniques](https://github.com/ZsIsMe/ios_core_animation_advanced_techniques) - 核心动画学习资料 [其中的核心动画电子书](https://zsisme.gitbooks.io/ios-/content/) * [Apple-OfficialTranslation-SourceAnnotation](https://github.com/CustomPBWaters/Apple-OfficialTranslation-SourceAnnotation) Apple官方译文框架源码注解,当你「了解权威 & 进阶原理」的时候,网搜的众多中 ~ ~(自行脑补)。一劳永逸,渐进式学习。 以简化初学者入门和老司机回顾的繁索过程,尽快切入主题,快速使用起来. * [RuntimeBrowser](https://github.com/nst/RuntimeBrowser) This is a class browser for the Objective-C runtime on iOS and OS X. * [iOS10AdaptationTips](https://github.com/ChenYilong/iOS10AdaptationTips) - for iOS10 in [ObjC, Swift, English, 中文] {...}. * [blog](https://github.com/jiajunhuang/blog) - 个人博客. * [ios-learning-materials](https://github.com/jVirus/ios-learning-materials) - Curated list of articles, web-resources, tutorials and code repositories that may help you dig a little bit deeper into iOS. * [JHBlog](https://github.com/SunshineBrother/JHBlog) - iOS开发:我的初级到中级的晋级之路. #### 其他开源@ * [appleOpenSource](https://opensource.apple.com/) - 苹果官方开源的源码. * [awesome-ios](https://github.com/vsouza/awesome-ios) 一个非常棒👍👍👍 的开源库集合. * [awesome-osx](https://github.com/iCHAIT/awesome-osx) - 一个非常棒👍👍👍的Mac OS X开源库集合。 * [open-source-ios-apps](https://github.com/dkhamsing/open-source-ios-apps) - iOS开源App集合(swift、Objective-C). * [awesome-ios-ui](https://github.com/cjwirth/awesome-ios-ui) - 收集了不少 iOS UI/UX 库, 包含了很多酷炫的动画效果. * [awesome-mac](https://github.com/jaywcjlove/awesome-mac) - Mac软件、开发工具、设计工具集合. * [ios-cosmos](http://www.ios-cosmos.com/) - The iOS Cosmos:收录了iOS绝大部分的开源框架和工具. * [pttrns](http://pttrns.com/) - iOS各种源码. * [Awesome Haskell资料大全](https://haskell.zeef.com/konstantin.skipor#block_28362_basics) - Awesome Haskell 资料大全:框架,库和软件. * [Cosmos](http://ios-cosmos.com) - The iOS Cosmos:收录了IOS绝大部分的开源框架和工具. * [cocoacontrols](https://www.cocoacontrols.com/) - 收集了很多UI控件效果代码,缺点是需要翻墙,而且代码分类不够好。 * [lexrus](https://github.com/lexrus) - lexrus国内出名的iOS开源coder,非常酷的label动画、textfield动画。 * [适合iOS开发者的15大网站推荐](http://www.csdn.net/article/2015-03-04/2824108-ios-developers-sites) - 适合 iOS 开发者的 15 大网站推荐 --- 英文网站。 * [Objective-C GitHub 排名前 100 项目简介](https://github.com/Aufree/trip-to-iOS/blob/master/Top-100.md) - 主要对当前 GitHub 排名前 100 的项目做一个简单的简介, 方便初学者快速了解到当前 Objective-C 在 GitHub 的情况。 * [Github-iOS备忘](http://github.ibireme.com/github/list/ios/) - 整理了比较常用的iOS第三方组件,以及github上的统计. * [超全!整理常用的iOS第三方资源](http://www.cocoachina.com/ios/20160121/14988.html) - 超全!整理常用的iOS第三方资源. * [MyGithubMark](https://github.com/JanzTam/MyGithubMark) - Github上的iOS资料-个人记录(持续更新). * [Github 上的 iOS 开源项目](http://ios.jobbole.com/84684/) - Github 上的 iOS 开源项目总结. * [iOS资源大全中文版](https://github.com/jobbole/awesome-ios-cn) - iOS资源大全中文版. * [LearningIOS](https://github.com/zhouhuanqiang/LearningIOS) - Learning materials of iOS. * [Dev-Repo](https://github.com/DevDragonLi/Dev-Repo) - 学习经验、面试题等集合. * [awesome-github](https://github.com/AntBranch/awesome-github) - awesome-github:收集这个列表,只是为了更好地使用亲爱的GitHub。 * [freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) - The https://freeCodeCamp.org open source codebase and curriculum. Learn to code and help nonprofits. * [Show](https://github.com/CharlinFeng/Show) - 成都地区一个公司开源项目目录. * [EFArticles](https://github.com/EyreFree/EFArticles) - EyreFree 存放所发布的各种水文的仓库. * [Book-Recommend-Github](https://github.com/iOShuyang/Book-Recommend-Github) - 推荐生活当中积累的优秀Objective-C和Swift三方库. #### 博客@ * [Halfrost-Field](https://github.com/halfrost/Halfrost-Field) - iOS学习博客. * [唐巧整理](https://github.com/tangqiaoboy/iOSBlogCN) - 中文 iOS/Mac 开发博客列表,猿题库唐巧整理. * [11个超棒的iOS开发学习国外网站](http://www.cocoachina.com/ios/20150626/11348.html) - 11个超棒的iOS开发学习网站:[objc.io](https://www.objc.io) ;[subjc.com](http://subjc.com) ;[NSHipster](http://nshipster.com) ;[Peter Steinberger](http://petersteinberger.com) ;[Ole Begemann](http://oleb.net) ;[Florian Kugler](http://floriankugler.com) ;[NSBlog](https://www.mikeash.com/pyblog/) ;[Cocoa](http://cocoa.tumblr.com) ;[iOS Dev Weekly](http://iosdevweekly.com) ;[iOS Developer Tips](http://iosdevelopertips.com) ;[iOS Goodies](http://ios-goodies.com) ;[AppCoda](http://www.appcoda.com) 香港人创建;[Krzysztof Zab?ocki](http://merowing.info) ;[iOS Development tips](http://iosdevtips.co) ; 博客地址 | RSS地址 ----- | ----- [南峰子的技术博客](http://southpeak.github.io/) | 南峰子的技术博客。 [唐巧的技术博客](http://blog.devtang.com) | <http://blog.devtang.com/atom.xml> [OneV's Den](https://onevcat.com) | <https://onevcat.com/atom.xml> [objc 中国](http://objccn.io/) | 为中国 Objective-C 社区带来最佳实践和先进技术。 [破船之家](http://beyondvincent.com) | <http://beyondvincent.com/atom.xml> [NSHipster](http://nshipster.cn) | <http://nshipster.cn/feed.xml> [Limboy 无网不剩](http://limboy.me/) | <http://feeds.feedburner.com/lzyy> [Lex iOS notes](http://lextang.com) | <http://ios.lextang.com/rss> [念茜的博客](http://nianxi.net) | <http://nianxi.net/feed.xml> [Xcode Dev](http://blog.xcodev.com) | <http://blog.xcodev.com/atom.xml> [Ted's Homepage](http://wufawei.com/)| <http://wufawei.com/feed> [txx's blog](http://blog.t-xx.me) | <http://blog.t-xx.me/atom.xml> [KEVIN BLOG](http://imkevin.me) | <http://imkevin.me/rss> [阿毛的蛋疼地](http://xiangwangfeng.com/) | <http://xiangwangfeng.com/atom.xml> [亚庆的 Blog](http://billwang1990.github.io) | <http://billwang1990.github.io/atom.xml> [Nonomori](http://nonomori.farbox.com) | <http://nonomori.farbox.com/feed> [言无不尽](http://tang3w.com) | <http://tang3w.com/atom.xml> [Wonderffee's Blog](http://wonderffee.github.io) | <http://wonderffee.github.io/atom.xml> [I'm TualatriX](http://imtx.me) | <http://imtx.me/feed/latest/> [vclwei](http://www.vclwei.com/) | <http://www.vclwei.com/posts.rss> [Cocoabit](http://blog.cocoabit.com) | <http://blog.cocoabit.com/atom.xml> [nixzhu on scriptogr.am](http://nixzhu.me) | <http://nixzhu.me/feed> [不会开机的男孩](http://studentdeng.github.io) | <http://studentdeng.github.io/atom.xml> [Nico](http://www.taofengping.com) | <http://www.taofengping.com/rss.xml> [阿峰的技术窝窝](http://hufeng825.github.io) | <http://hufeng825.github.io/atom.xml> [answer_huang](http://answerhuang.duapp.com) | <http://answerhuang.duapp.com/index.php/feed/> [webfrogs](http://webfrogs.me) | <http://webfrogs.me/feed/> [代码手工艺人](http://joeyio.com) | <http://joeyio.com/atom.xml> [Lancy's Blog](http://gracelancy.com) | <http://gracelancy.com/atom.xml> [I'm Allen](http://imallen.com/) | <http://imallen.com/atom.xml> [Travis' Blog](http://imi.im/)| <http://imi.im/feed> [王中周的技术博客](http://wangzz.github.io/) |<http://wangzz.github.io/atom.xml> [会写代码的猪](http://jiajun.org/)|<http://gaosboy.com/feed/atom/> [克伟的博客](http://wangkewei.cnblogs.com/)|<http://feed.cnblogs.com/blog/u/23857/rss> [摇滚诗人](http://www.cnblogs.com/biosli)|<http://feed.cnblogs.com/blog/u/35410/rss> [Luke's Homepage](http://geeklu.com/) | <http://geeklu.com/feed/> [萧宸宇](http://iiiyu.com/) | <http://iiiyu.com/atom.xml> [Yuan博客](http://www.heyuan110.com/) | <http://www.heyuan110.com/?feed=rss2> [Shining IO](http://shiningio.com/) | <http://shiningio.com/atom.xml> [YIFEIYANG--易飞扬的博客](http://www.yifeiyang.net/) | <http://www.yifeiyang.net/feed> [KooFrank's Blog](http://koofrank.com/) | <http://koofrank.com/rss> [hello it works](http://helloitworks.com) | <http://helloitworks.com/feed> [码农人生](http://msching.github.io/) | <http://msching.github.io/atom.xml> [玉令天下的Blog](http://yulingtianxia.com) | <http://yulingtianxia.com/atom.xml> [不掏蜂窝的熊](http://www.hotobear.com/) | <http://www.hotobear.com/?feed=rss2> [猫·仁波切](https://andelf.github.io/) | <https://andelf.github.io/atom.xml> [煲仔饭](http://ivoryxiong.org/) | <http://ivoryxiong.org/feed.xml> [里脊串的开发随笔](http://adad184.com) | <http://adad184.com/atom.xml> [ibireme伽蓝之堂](http://blog.ibireme.com/) | <http://blog.ibireme.com/feed/> [https://onevcat.com/#blog](王巍的博客) #### 学习笔记@ * [iOS-Note](https://github.com/seedante/iOS-Note) - A@ 非常好的学习笔记,主要目录1.Core Data 笔记2.Photos 笔记3.转场动画详解4.自定义容器控制器转场5.交互式动画. * [iOS-InterviewQuestion-collection](https://github.com/liberalisman/iOS-InterviewQuestion-collection) - iOS 开发者在面试过程中,常见的一些面试题,建议尽量弄懂了原理,并且多实践. #### 书籍@ * [free-programming-books-zh_CN](https://github.com/justjavac/free-programming-books-zh_CN) - 免费的计算机编程类中文书籍. * [awesome-programming-books](https://github.com/jobbole/awesome-programming-books) - 经典编程书籍大全,涵盖:计算机系统与网络、系统架构、算法与数据结构、前端开发、后端开发、移动开发、数据库、测试、项目与团队、程序员职业修炼、求职面试等. * [coding-interview-university](https://github.com/jwasham/coding-interview-university/blob/master/translations/README-cn.md) - [译] Google Interview University 一套完整的学习手册帮助自己准备 Google 的面试. * [it-ebooks](http://www.it-ebooks.info/) - 可以下载IT电子书籍的网站(英文). * [allitebooks](http://www.allitebooks.com/) - 各种各样的IT电子书籍都可以找到(英文). * [oreilly Free Programming Ebooks](http://www.oreilly.com/programming/free/) - ORielly 的免费电子书,有需要的童鞋可以免费下载(英文). * [free-programming-books](https://github.com/EbookFoundation/free-programming-books/blob/master/free-programming-books.md) - 免费的编程书籍索引(英文). * [gitbook](https://www.gitbook.com/explore?lang=all) - gitbook上有很多书籍,可以看看(英文、中文). * [QDFuns](http://www1.qdfuns.com/feres.php?do=picture&listtype=book) - 里面也能下载一些书籍资源. #### 设计@ * [design-resource](https://github.com/timmy3131/design-resource) - 设计师资源列表. #### 物联网@ * [awesome-iot](https://github.com/phodal/awesome-iot) - 这份物联网学习参考大全太给力。从物联网协议、嵌入式系统、相关开源库、相关书籍、博客、学习笔记、标准应有尽有。 #### mac@ * [wechat_jump_game](https://github.com/wangshub/wechat_jump_game) - 微信《跳一跳》Python 辅助. * [WeChatExtension-ForMac](https://github.com/MustangYM/WeChatExtension-ForMac) - Mac版微信的功能拓展. * [spectacle](https://github.com/eczarny/spectacle) - Spectacle allows you to organize your windows without using a mouse(窗口控制器). * [alfred-workflows](https://github.com/zenorocha/alfred-workflows) - 首推 Alfred,可以说是 Mac 必备软件,利用它我们可以快速地进行各种操作,大幅提高工作效率,如快速打开某个软件、快速打开某个链接、快速搜索某个文档,快速定位某个文件,快速查看本机 IP,快速定义某个色值,几乎你能想到的都能对接实现. * [radiant-player-mac](https://github.com/radiant-player/radiant-player-mac) - 一个Google Play音乐转换成与Mac整合的独立,美观的mac音乐播放器. * [aria2gui](https://github.com/yangshun1029/aria2gui) - 不错的下载工具,添加插件后支持百度网盘高速下载. * [DevDataTool](https://github.com/MxABC/DevDataTool) - OSX系统 转换、加解密工具. * [high-speed-downloader](https://github.com/high-speed-downloader/high-speed-downloader) - 百度网盘不限速下载 支持Windows和Mac 2018年1月16日更新. * [MenuMeters](https://github.com/yujitach/MenuMeters) - my fork of MenuMeters by. * [WeChatPlugin-MacOS](https://github.com/TKkk-iOSer/WeChatPlugin-MacOS) - mac OS版微信小助手 功能: 自动回复、消息防撤回、远程控制、微信多开. * [WeChatTweak-macOS](https://github.com/Sunnyyoung/WeChatTweak-macOS) - A dynamic library tweak for WeChat macOS - 微信 macOS 客户端撤回拦截与多开. * [KeepingYouAwake](https://github.com/newmarcel/KeepingYouAwake) - 防止mac休眠. * [squirrel](https://github.com/rime/squirrel) - Rime鼠须管”输入法. * [Sparkle](https://github.com/sparkle-project/Sparkle) - A software update framework for macOS (mac软件自动升级开源类库). * [magnetX](https://github.com/youusername/magnetX) - 资源搜索型软件 macOS OSX magnet. * [highsierramediakeyenabler](https://github.com/milgra/highsierramediakeyenabler) - MacOS High Sierra Media Key Enabler for iTunes. * [santa](https://github.com/google/santa) - A binary whitelisting/blacklisting system for Mac OS X. * [overkill-for-mac](https://github.com/KrauseFx/overkill-for-mac) - Stop iTunes from opening when you connect your iPhone. * [Sloth](https://github.com/sveinbjornt/Sloth) - Mac app that shows all open files and sockets in use by all running applications. Nice GUI for lsof. 记录Mac应用访问了那些文件、IP、目录等等. * [QQMusicHelper](https://github.com/AsTryE/QQMusicHelper) - Mac版QQ音乐绿砖破解,可收听无损音乐和下载无损音乐到本地. * [MarzipanPlatter](https://github.com/biscuitehh/MarzipanPlatter) - UIKit + macOS. * [HexFiend](https://github.com/ridiculousfish/HexFiend) - A fast and clever hex editor for Mac OS X. * [hammerspoon](https://github.com/Hammerspoon/hammerspoon) - Staggeringly powerful OS X desktop automation with Lua(一个可以用来进行窗口管理的 App). * [marzipanify](https://github.com/steventroughtonsmith/marzipanify) - Convert an iOS Simulator app bundle to an iOSMac (Marzipan) one (Unsupported & undocumented, WIP). * [EnergyBar](https://github.com/billziss-gh/EnergyBar) - Supercharge your Mac's Touch Bar. * [HexFiend](https://github.com/ridiculousfish/HexFiend) - 在mac下查看二进制文件的编辑器. * [syncthing-macos](https://github.com/syncthing/syncthing-macos) - Frugal and native macOS Syncthing application bundle. * [blink](https://github.com/blinksh/blink) - 可用于iOS的shell工具. * [QQRedPackHelper](https://github.com/AsTryE/QQRedPackHelper) - Mac 系统下的QQ抢红包插件,消息防撤回,消息自动回复,红包指定群过滤,红包指定关键字过滤,无需回复-抢文字口令红包,时间随机延迟抢红包. * [MacPass](https://github.com/MacPass/MacPass) - mac os密码管理工具. * [Retroactive](https://github.com/cormiertyshawn895/Retroactive) - Run Aperture, iPhoto, or iTunes on macOS Catalina. * [BaiduNetdiskPlugin-macOS ](https://github.com/CodeTips/BaiduNetdiskPlugin-macOS) - For macOS.百度网盘 破解SVIP、下载速度限制. * [MaciASL](https://github.com/acidanthera/MaciASL) - Macisl黑苹果ACPI编译修改工具. * [Hackintool](https://github.com/headkaze/Hackintool) - Mac平台上的一款黑苹果系统工具。Hackintool 中文版是黑苹果安装完成后定制核显、定制USB、调试显卡必不可少的万能驱动神器,这款直观的补丁工具,使配置和排除您的Hackintosh系统故障的过程更容易一点. #### iOS插件@ * [WeChatRedEnvelopesHelper](https://github.com/kevll/WeChatRedEnvelopesHelper) - iOS版微信抢红包插件,支持后台抢红包. #### 开发环境@ * [iTerm2](https://github.com/gnachman/iTerm2) - iTerm2 is a terminal emulator for Mac OS X that does amazing things. http://iterm2.com/. * [Homebrew](https://github.com/Homebrew/brew) Homebrew是一款Mac OS平台下的软件包管理工具,拥有安装、卸载、更新、查看、搜索等很多实用的功能。简单的一条指令,就可以实现包管理,而不用你关心各种依赖和文件路径的情况,十分方便快捷。 #### game@ * [Retro](https://github.com/OpenEmu/OpenEmu) - 🕹 Retro video game emulation for macOS. * [Game Off 2017 winners](https://github.com/blog) - Game Off 2017 winners Github. #### 前端@ * [fks](https://github.com/JacksonTian/fks) - 前端技能汇总 Frontend Knowledge Structure. * [blog](https://github.com/zhiqiang21/blog) - 记录前端开发日常点滴。为梦想Coding... * [TSW](https://github.com/Tencent/TSW) - 一套面向WEB前端开发者,以提升问题定位效率为初衷,提供染色抓包、全息日志和异常发现的Node.js基础设施. * [phoenix](https://github.com/kasper/phoenix) - A lightweight macOS/OS X window and app manager scriptable with JavaScript. * [bootstrap](https://github.com/twbs/bootstrap) - The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web. * [freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) - 非常棒👍👍👍 We’re a community that helps you learn to code, then get experience by contributing to open source projects used by nonprofits. * [You-Dont-Know-JS](https://github.com/getify/You-Dont-Know-JS) - A book series on JavaScript. @YDKJS on twitter. * [wiki](https://github.com/d3/d3/wiki) - D3 (Data-Driven Documents or D3.js) is a JavaScript library for visualizing data using web standards. * [awesome-python](https://github.com/vinta/awesome-python) - A curated list of awesome Python frameworks, libraries, software and resources. * [You-Dont-Need-jQuery](https://github.com/oneuijs/You-Dont-Need-jQuery) - 专注于使用 vanilla JavaScript 解决典型的编程问题,这个仓库的兴起与 React 的兴起密切相关; Examples of how to do query, style, dom, ajax, event etc like jQuery with plain javascript. * [public-apis](https://github.com/toddmotto/public-apis) - 经常更新的web开发公共JSON API 列表。 A collective list of public JSON APIs for use in web development. * [wiki](https://github.com/d3/d3/wiki) - D3 (Data-Driven Documents or D3.js) is a JavaScript library for visualizing data using web standards. * [You-Dont-Need-jQuery](https://github.com/oneuijs/You-Dont-Need-jQuery) - Examples of how to do query, style, dom, ajax, event etc like jQuery with plain javascript. * [public-apis](https://github.com/toddmotto/public-apis) - A collective list of public JSON APIs for use in web development. * [weapp-ide-crack](https://github.com/gavinkwoe/weapp-ide-crack) - 【应用号】IDE + 破解 + Demo. * [taobao](https://github.com/KeithChou/taobao) - 淘宝购物车站点. #### 后台@ * [HttpServerDebug](https://github.com/rob2468/HttpServerDebug) * [GCDWebServer](https://github.com/swisspol/GCDWebServer) - 基于GCD的轻量级的HTTP1.1的服务器. * [awesome-python](https://github.com/vinta/awesome-python) - A curated list of awesome Python frameworks, libraries, software and resources. * [django](https://github.com/django/django) - The Web framework for perfectionists with deadlines. * [Python-Guide-CN](https://github.com/Prodesire/Python-Guide-CN) - Python最佳实践指南. * [APIJSON](https://github.com/APIJSON/APIJSON) - 🏆码云最有价值开源项目 🚀后端接口和文档自动化,前端(客户端) 定制返回 JSON 的数据和结构!. #### AppHTTPServer@ * [CocoaHTTPServer](https://github.com/robbiehanson/CocoaHTTPServer) - A small, lightweight, embeddable HTTP server for Mac OS X or iOS applications. #### 其他@ * [BaiduYunEnhancer](https://github.com/maoger/BaiduYunEnhancer) - 破解 百度云/百度网盘 的下载限制. * [UTM](https://github.com/utmapp/UTM) - 让你的iphone可以运行windows、Android等的虚拟机. * [KernBypass-Public](https://github.com/akusio/KernBypass-Public) - 内核级越狱屏蔽检测,简单而实用级,屏蔽吃鸡封号,游戏封号 #### Runtime@ * [jrswizzle](https://github.com/rentzsch/jrswizzle) - runtime实现的Method Swizzling第三方框架. * [jrswizzle介绍](https://www.valiantcat.cn/index.php/2017/11/03/53.html?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io)
58
A complete date/time library for Elixir projects.
## Timex [![Master](https://github.com/bitwalker/timex/workflows/elixir/badge.svg?branch=master)](https://github.com/bitwalker/timex/actions?query=workflow%3A%22elixir%22+branch%3Amaster) [![Hex.pm Version](https://img.shields.io/hexpm/v/timex.svg?style=flat)](https://hex.pm/packages/timex) [![Coverage Status](https://coveralls.io/repos/github/bitwalker/timex/badge.svg?branch=master)](https://coveralls.io/github/bitwalker/timex?branch=master) Timex is a rich, comprehensive Date/Time library for Elixir projects, with full timezone support via the `:tzdata` package. If you need to manipulate dates, times, datetimes, timestamps, etc., then Timex is for you! It is very easy to use Timex types in place of default Erlang types, as well as Ecto types via the `timex_ecto` package. The complete documentation for Timex is located [here](https://hexdocs.pm/timex). ## Migrating to Timex 3.x If you are coming from an earlier version of Timex, it is recommended that you evaluate whether or not the functionality provided by the standard library `Calendar` API is sufficient for your needs, as you may be able to avoid the dependency entirely. For those that require Timex for one reason or another, Timex now delegates to the standard library where possible, and provides backward compatibility to Elixir 1.8 for APIs which are used. This is to avoid duplicating effort, and to ease the maintenance of this library in the future. Take a look at the documentation to see what APIs are available and how to use them. Many of them may have changed, been removed/renamed, or have had their semantics improved since early versions of the library, so if you are coming from an earlier version, you will need to review how you are using various APIs. The CHANGELOG is a helpful document to sort through what has changed in general. Timex is primarily oriented around the Olson timezone database, and so you are encouraged to use those timezones in favor of alternatives. Timex does provide compatibility with the POSIX-TZ standard, which allows specification of custom timezones, see [this document](https://pubs.opengroup.org/onlinepubs/9699919799/) for more information. Timex does not provide support for timezones which do not adhere to one of those two standards. While Timex attempted to support timezone abbreviations without context in prior versions, this was broken, and has been removed. ## Getting Started There are some brief examples on usage below, but I highly recommend you review the API docs [here](https://hexdocs.pm/timex), there are many examples, and some extra pages with richer documentation on specific subjects such as custom formatters/parsers, etc. ### Quickfast introduction To use Timex, I recommend you add `use Timex` to the top of the module where you will be working with Timex modules, all it does is alias common types so you can work with them more comfortably. If you want to see the specific aliases added, check the top of the `Timex` module, in the `__using__/1` macro definition. Here's a few simple examples: ```elixir > use Timex > Timex.today() ~D[2016-02-29] > datetime = Timex.now() #<DateTime(2016-02-29T12:30:30.120+00:00Z Etc/UTC) > Timex.now("America/Chicago") #<DateTime(2016-02-29T06:30:30.120-06:00 America/Chicago) > Duration.now() #<Duration(P46Y6M24DT21H57M33.977711S)> > {:ok, default_str} = Timex.format(datetime, "{ISO:Extended}") {:ok, "2016-02-29T12:30:30.120+00:00"} > {:ok, relative_str} = Timex.shift(datetime, minutes: -3) |> Timex.format("{relative}", :relative) {:ok, "3 minutes ago"} > strftime_str = Timex.format!(datetime, "%FT%T%:z", :strftime) "2016-02-29T12:30:30+00:00" > Timex.parse(strftime_str, "{ISO:Extended}") {:ok, #<DateTime(2016-02-29T12:30:30.120+00:00 Etc/Utc)} > Timex.parse!(strftime_str, "%FT%T%:z", :strftime) #<DateTime(2016-02-29T12:30:30.120+00:00 Etc/Utc) > Duration.diff(Duration.now(), Duration.zero(), :days) 16850 > Timex.shift(date, days: 3) ~D[2016-03-03] > Timex.shift(datetime, hours: 2, minutes: 13) #<DateTime(2016-02-29T14:43:30.120Z Etc/UTC)> > timezone = Timezone.get("America/Chicago", Timex.now()) #<TimezoneInfo(America/Chicago - CDT (-06:00:00))> > Timezone.convert(datetime, timezone) #<DateTime(2016-02-29T06:30:30.120-06:00 America/Chicago)> > Timex.before?(Timex.today(), Timex.shift(Timex.today, days: 1)) true > Timex.before?(Timex.shift(Timex.today(), days: 1), Timex.today()) false > interval = Timex.Interval.new(from: ~D[2016-03-03], until: [days: 3]) %Timex.Interval{from: ~N[2016-03-03 00:00:00], left_open: false, right_open: true, step: [days: 1], until: ~N[2016-03-06 00:00:00]} > ~D[2016-03-04] in interval true > ~N[2016-03-04 00:00:00] in interval true > ~N[2016-03-02 00:00:00] in interval false > Timex.Interval.overlaps?(Timex.Interval.new(from: ~D[2016-03-04], until: [days: 1]), interval) true > Timex.Interval.overlaps?(Timex.Interval.new(from: ~D[2016-03-07], until: [days: 1]), interval) false ``` There are a ton of other functions, all of which work with Erlang datetime tuples, Date, NaiveDateTime, and DateTime. The Duration module contains functions for working with Durations, including Erlang timestamps (such as those returned from `:timer.tc`) ## Extensibility Timex exposes a number of extension points for you, in order to accommodate different use cases: Timex itself defines its core operations on the Date, DateTime, and NaiveDateTime types using the `Timex.Protocol` protocol. From there, all other Timex functionality is derived. If you have custom date/datetime types you want to use with Timex, this is the protocol you would need to implement. Timex also defines a `Timex.Comparable` protocol, which you can extend to add comparisons to custom date/datetime types. You can provide your own formatter/parser for datetime strings by implementing the `Timex.Format.DateTime.Formatter` and/or `Timex.Parse.DateTime.Parser` behaviours, depending on your needs. ### Timex with escript If you need to use Timex from within an escript, add `{:tzdata, "~> 0.1.8", override: true}` to your deps, more recent versions of :tzdata are unable to work in an escript because of the need to load ETS table files from priv, and due to the way ETS loads these files, it's not possible to do so. If your build still throws an error after this, try removing the `_build` and `deps` folder. Then execute `mix deps.unlock tzdata` and `mix deps.get`. ### Automatic time zone updates Timex includes the [Tzdata](https://github.com/lau/tzdata) library for time zone data. Tzdata has an automatic update capability that fetches updates from IANA and which is enabled by default; if you want to disable it, check [the Tzdata documentation](https://github.com/lau/tzdata#automatic-data-updates) for details. ## License This software is licensed under [the MIT license](LICENSE.md).
59
Trello inspired kanban board made with the Godot Engine and GDScript, powered by an online real-time collaborative backend (Elixir and Phoenix Channels)
# Godello (aka GodoTrello) ![Godot 3.5](https://img.shields.io/badge/godot-v3.5-%23478cbf) [![Donate using PayPal](https://raw.githubusercontent.com/laurent22/joplin/dev/Assets/WebsiteAssets/images/badges/Donate-PayPal-green.svg)](https://www.paypal.com/donate?hosted_button_id=FC5FTRRE3548C) [![Become a patron](https://raw.githubusercontent.com/laurent22/joplin/dev/Assets/WebsiteAssets/images/badges/Patreon-Badge.svg)](https://www.patreon.com/alfredbaudisch) Trello inspired kanban board made with the [Godot Engine](http://godotengine.org/) and GDScript, powered by an online real-time collaborative backend made with [Elixir](https://elixir-lang.org/) and [Phoenix Channels](https://phoenixframework.org/) (with the possibility of additional backend languages and frameworks). **ATTENTION: 70% done. Remaining WIP in the branch [integrate_elixir](https://github.com/alfredbaudisch/Godello/tree/integrate_elixir). See "[Progress](#progress-)" below.** ![Godello Drag and Drop + Reactive Example](./doc/godello-drag-and-drop-example.gif) ## Table of Contents - [Introduction Video](#introduction-video) - [Motivation 💡](#motivation-) - [Features 🎛️](#features-️) - [Progress 🚧](#progress-) - [What is finished](#what-is-finished) - [Work in progress](#work-in-progress) - [Roadmap 🗺️](#roadmap-️) - [Sponsorship and Donations ❤️](#sponsorship-and-donations-️) - [Updates 📡](#updates-) - [License ⚖️](#license-%EF%B8%8F) ## Introduction Video [![Video](./doc/video_preview.png)](https://www.youtube.com/watch?v=Ckc8zEEjyfo) ## Motivation 💡 A Godot Engine proof of concept for: - Business applications - Advanced GUI - Complex data architecture and data modeling - Real-time online data flow - Connected multi-user collaborative interfaces and interactions In the end, the idea is to showcase Godot as a viable option for native Desktop applications and tools, no matter how simple or complex/advanced the application and the interface are. ## Features 🎛️ - Trello-like interface, data organization and interactions: - Support for multiple Kanban Boards with Lists and Cards - Ordering and positioning of Lists and Cards by dragging and dropping - In place editing (example: clicking a card's title to edit it) - Support for hundreds of lists and cards in the same board, without loss of frame rate - Card description and TODO list - Repository data design pattern - Reactive [React](https://reactjs.org/)-like, pseudo two-way data binding and data propagation using Godot's [signals](https://docs.godotengine.org/en/stable/getting_started/step_by_step/signals.html). - Real-time online connectivity and multiple user collaboration using Godot's [WebSockets](https://docs.godotengine.org/en/stable/tutorials/networking/websocket.html). - The backend layer is implemented using an agnostic BackendAdapter, this way any backend language and framework can be used. The BackendAdapter even allows to remove the usage of WebSockets and use only HTTP or local calls. - The main backend implementation is made with [Elixir](http://elixir-lang.org/) + [Phoenix Channels](https://phoenixframework.org/) backed by a PostgreSQL database. Communication with Godot is done using the library [GodotPhoenixChannels](https://github.com/alfredbaudisch/GodotPhoenixChannels). - Multi-user presence detection - User account flow (sign-up and login) - Multi-resolution responsive and expansible interface - Interface elements are all implemented with [Godot's Control](https://docs.godotengine.org/en/stable/classes/class_control.html) nodes, inside Container nodes, there is no usage of Node2D's nodes. ## Progress 🚧 ### What is finished - The GodotEngine frontend: - Trello-like interface and all its local interactions, including the dragging and dropping of Lists and Cards. - The main data architecture, with reactive, two way data bindings and the Repository design pattern. - Scene flow. - The [Elixir](https://elixir-lang.org/) + [Phoenix Channels](https://phoenixframework.org/) backend, backed by a PostgreSQL database (it's in the branch [backend_elixir](https://github.com/alfredbaudisch/Godello/tree/backend_elixir), still not merged into `master`). ### Work in progress - The real-time connectivity and multi-user collaboration via the integration with the Elixir backend is currently a work in process in the branch [integrate_elixir](https://github.com/alfredbaudisch/Godello/tree/integrate_elixir). - Since the frontend in the `master` branch is not integrated with the backend, no data is persisted (all data is lost as soon as the application is closed and the application is opened as a blank canvas). - Although the data architecture is finished in the frontend, the work in the `integrate_elixir` branch is constantly making changes to it, to better accomodate the needs of the backend integration. ## Roadmap 🗺️ - Finish the Elixir + Phoenix Channels [integration](https://github.com/alfredbaudisch/Godello/tree/integrate_elixir). - Code refactoring following Godot's style guide. - Immutable reactivity, Redux-like. - This will allow for undos and redos, as well optimistic UI interactions. - Optimistic UI updates. - Currently it's inbetween optimistic and pessimistic. - A course titled "Creating Advanced Interfaces and connected Business Applications with Godot" where we build this project from scratch - Instead of a course, process videos could be an option - Additional Trello features: - Share boards publically without inviting individual members (via a code that can be typed into the Godot application) - Card file attachments - User account improvements: - Password recovery - Profile management (update user profile and credentials) - Additional backends and backend adapters: - Node.js (Express + socket.io) - Kotlin (Ktor) - PHP (Laravel) **NOTICE:** The roadmap implementation is stalled since this project went open-source in 2019. It's unlikely that at this stage the roadmap will be implemented. But other than that, the core of the project is already implemented, i.e. the Trello-like user interface with Godot. ## Sponsorship and Donations ❤️ You can support my open-source contributions and this project on [Patreon](https://www.patreon.com/alfredbaudisch) or with a [PayPal donation](https://www.paypal.com/donate?hosted_button_id=FC5FTRRE3548C). Patrons and donors of any tier will have their name listed here. Patrons of the **Sponsors** tier or higher, can also have a link and a logo listed here. - Mike King ## Updates 📡 For news and more code and art experiments and prototypes: - Follow me on [Twitter 🐦](https://twitter.com/alfredbaudisch) - Subscribe to my [YouTube channel 📺](https://www.youtube.com/alfredbaudischcreations) ## License ⚖️ MIT License - Copyright (c) 2020 Alfred Reinold Baudisch
60
A curated list of awesome Elixir and Command Query Responsibility Segregation (CQRS) resources.
# Awesome Elixir and CQRS [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) A curated list of awesome Elixir, Command Query Responsibility Segregation (CQRS), and event sourcing resources. ### Contents - [Libraries](#libraries) - [Community resources](#community-resources) - [Books](#books) - [Articles](#articles) - [Presentations](#presentations) - [Podcasts](#podcasts) - [Research papers](#research-papers) - [Screencasts](#screencasts) - [Example applications](#example-applications) ## Libraries - [Chronik](https://hex.pm/packages/chronik) - A lightweight event sourcing micro framework for Elixir. - [Commanded](https://github.com/commanded/commanded) - Use Commanded to build your own Elixir applications following the CQRS/ES pattern. Provides support for command registration and dispatch, hosting and delegation to aggregate roots, event handling, and long running process managers. - [Commanded audit middleware](https://github.com/commanded/commanded-audit-middleware) - Command auditing middleware for Commanded CQRS/ES applications using Ecto for persistence. - [Commanded Ecto projections](https://github.com/commanded/commanded-ecto-projections) - Read model projections for Commanded using Ecto. - [Commanded scheduler](https://github.com/commanded/commanded-scheduler) - Schedule one-off and recurring commands for Commanded CQRS/ES applications . - [Commanded Swarm registry](https://github.com/commanded/commanded-swarm-registry) - Distributed process registry using Swarm for Commanded. - [Disco](https://github.com/andreapavoni/disco) - Simple, opinionated yet flexible library to build CQRS/ES driven systems. - [Eidetic](https://github.com/rawkode/eidetic-elixir) - An event sourcing library for Elixir. - [ES](https://github.com/nerdyworm/es) - Event Sourcing for Ecto and Postgresl/Dynamodb events storage. - [EventBus](https://github.com/otobus/event_bus) - Traceable, extendable and minimalist event bus implementation for Elixir with built-in event store and event watcher based on ETS. - [Eventlog](https://github.com/nerdyworm/eventlog) - A simple event log backed by dynamodb and dynamodb streams. - [EventStore](https://github.com/commanded/eventstore) - An Elixir event store using PostgreSQL for persistence. - [Extreme](https://github.com/exponentially/extreme) - Elixir adapter for Greg Young's [Event Store](https://geteventstore.com/). - [Fable](https://github.com/CargoSense/fable) - An Elixir event sourcing library. - [Helios.Aggregate](https://github.com/exponentially/helios_aggregate) - Elixir library defining Aggregate behaviour and providing extendable facility for aggregate command pipeline. - [Incident](https://github.com/pedroassumpcao/incident) - Event Sourcing and CQRS in Elixir abstractions. - [Maestro](https://github.com/toniqsystems/maestro) - An Elixir event store + CQRS library. - [Pachyderm](https://github.com/CrowdHailer/pachyderm) - A virtual/immortal/durable/resilient/global actor "always exists" and "never fails". - [Perhap](https://github.com/Perhap/perhap) - Purely functional event store and service framework inspired by domain driven design and reactive architectures. - [Seven Otters](https://github.com/sevenotters/sevenotters) - A CQRS/ES Starter Kit for the BEAM. - [TeaVent](https://github.com/Qqwy/elixir-tea_vent) - TeaVent allows you to perform event-dispatching in a style that is a mixture of Event Sourcing and The "Elm Architecture" (TEA). ## Community resources - [Awesome Domain-Driven Design](https://github.com/heynickc/awesome-ddd) - A (non language specific) curated list of Domain-Driven Design (DDD), Command Query Responsibility Segregation (CQRS), Event Sourcing, and Event Storming resources. - [DDD/CQRS/ES Discord](https://discord.gg/sEZGSHNNbH) - A Discord server for those who want to chat about domain-driven design, CQRS, event sourcing, and sometimes random things. Main channel is language and framework agnostic. [Join ddd-cqrs-es Discord server](https://discord.gg/sEZGSHNNbH) - [Elixir lang Slack](https://elixir-lang.slack.com/) - This offical Elixir language Slack team includes an [#eventsourcing](https://elixir-lang.slack.com/messages/C2REECQ1Z/) channel for CQRS/ES and Elixir discussion. [Join **Elixir** on Slack](https://elixir-slackin.herokuapp.com/) to get an invite. ## Books - [Building Conduit](https://leanpub.com/buildingconduit) - Applying CQRS/ES to an Elixir and Phoenix web app. ## Articles - [A Functional Foundation for CQRS/ES](http://verraes.net/2014/05/functional-foundation-for-cqrs-event-sourcing/) by [Mathias Verraes](https://twitter.com/mathiasverraes) - A CQRS architecture can be seen as a set of referentially transparent functions that model decisions and interpretation. - [Building a CQRS/ES web application in Elixir using Phoenix](https://10consulting.com/2017/01/04/building-a-cqrs-web-application-in-elixir-using-phoenix/) by [Ben Smith](https://twitter.com/slashdotdash) - Case study describing how a web application was built using CQRS/ES. - [CQRS with Elixir and Phoenix](http://jfcloutier.github.io/jekyll/update/2015/11/04/cqrs_elixir_phoenix.html) by Jean-François Cloutier - Implementing the CQRS pattern in Elixir. - [DDD within Elixir/Phoenix project: Umbrella apps & Service Object](https://medium.com/@andreichernykh/thoughts-on-structuring-an-elixir-phoenix-project-cb083a8894ef) by [David McLeod](http://davidmcleod.com/). - [Elixir: Domain driven design with Actor Model](https://www.linkedin.com/pulse/domain-driven-design-elixir-naveen-negi) by [Naveen Negi](https://www.linkedin.com/in/nav301186/). - [Event Sourcing in Elixir](https://tech.zilverline.com/2017/04/07/elixir_event_sourcing) by Derek Kraan - Explore how we can use some of Elixir’s more interesting features to implement event sourcing. - [Event Sourcing in React, Redux & Elixir](https://medium.com/rapport-blog/event-sourcing-in-react-redux-elixir-how-we-write-fast-scalable-real-time-apps-at-rapport-4a26c3aa7529) by [Gary McAdam](https://twitter.com/gpmcadam) - How we write fast, scalable, real-time apps at Rapport. - [My First Event Sourced Application](https://www.codementor.io/leifio/my-first-event-sourced-application-flj7z32hl) by [Leif Gensert](https://twitter.com/leifg) - Building an event sourced application using [Commanded](https://github.com/commanded/commanded). ### 2019 - [Event Sourcing With Elixir](https://blog.nootch.net/post/event-sourcing-with-elixir/) by [Bruno Antunes](https://twitter.com/b_antunes) - A multi-part blog series on event sourcing with Elixir using Commanded. - [My Journey into CQRS and Event Sourcing](https://medium.com/@rodrigo.botti/my-journey-into-cqrs-and-event-sourcing-4bd7d0c1c670) by [Rodrigo Botti](https://github.com/rodrigobotti) - Learning these patterns by building a patient consent example application in Elixir. - [Creating a single-node Elixir/Phoenix web app with Commanded & Postgres](https://bitfield.co/commanded-part1/) by [Ben Moss](https://github.com/drteeth) - A blog post series to walk the reader through installing and configuring Commanded for use in a single-node Phoenix web app backed by Postgres. ### 2021 - [Building an event-sourced game with Phoenix Liveview](https://blog.charlesdesneuf.com/articles/phoenix-liveview-event-sourced-game-intro) by [Charles Desneuf](https://twitter.com/SelrahcD) - A series on building an event-sourced game in Elixir with Phoenix Liveview. - [Getting started with Elixir and EventStoreDB with the Spear gRPC client](https://www.eventstore.com/blog/getting-started-with-elixir-and-eventstoredb-with-the-spear-grpc-client) by Michael Davis. - [Tackling software complexity with the CELP stack](http://evrl.com/agile,/elixir/2021/01/15/the-CEL-stack.html) by [Cees de Groot](https://twitter.com/cdegroot). ### 2022 - [Adding soft delete to a Phoenix Commanded (CQRS) API](https://dev.to/christianalexander/adding-soft-delete-to-a-phoenix-commanded-cqrs-api-516h) by [Christian Alexander](https://twitter.com/RootCert) - [Supercharging our event-sourcing capabilities with Phoenix LiveView](https://medium.com/casavo/supercharging-our-event-sourcing-capabilities-with-phoenix-liveview-c4a9d1d4ab99) by [Simone D'Avico](https://sdavico.medium.com/) - Building visual tools to tame event sourcing architecture complexity. - [Using CQRS in a simple Phoenix API with Commanded](https://dev.to/christianalexander/using-cqrs-in-a-simple-phoenix-api-with-commanded-364k) by [Christian Alexander](https://twitter.com/RootCert) ## Presentations ### 2014 - [CQRS with Erlang](https://vimeo.com/97318824) by [Bryan Hunter](https://twitter.com/bryan_hunter) @ NDC 2014 - Dive into CQRS, and explore a sample implementation written in Erlang. [ [slides](https://github.com/bryanhunter/cqrs-with-erlang/raw/ndc-oslo/cqrs-with-erlang.pptx) | [source code](https://github.com/bryanhunter/cqrs-with-erlang/tree/ndc-oslo) ] ### 2016 - [Implementing CQRS on top of OTP (in Elixir)](http://slides.com/hubertlepicki/implementing-cqrs-in-elixir) by Hubert Łępicki. [ [video](https://www.youtube.com/watch?v=0StE5LzYxGQ) ] ### 2017 - [Building CQRS/ES web applications in Elixir using Phoenix](https://10consulting.com/2017/03/23/building-cqrs-web-applications-in-elixir/) by [Ben Smith](https://twitter.com/slashdotdash). - [Event Sourcing with Commanded](https://bitbucket.org/drozdyuk/bank-commanded-presentation-sep-25-2017) by [Andriy Drozdyuk](https://twitter.com/andriyko). [ [slides](https://bitbucket.org/drozdyuk/bank-commanded-presentation-sep-25-2017/raw/2398395ef908696c580800be37a0cdbb1a7d60be/presentation/Eventsourcing%20with%20Commanded.pdf) | [source code](https://bitbucket.org/drozdyuk/bank-commanded-presentation-sep-25-2017) ] - [Intro to Event Sourcing and CQRS](https://drteeth.github.io/elixir-es-cqrs/) in Elixir by [Ben Moss](https://twitter.com/benjamintmoss). - [Perhap: Applying Domain Driven Design and Reactive Architectures to Functional Programming](https://www.youtube.com/watch?v=kq4qTk18N-c) at ElixirConf 2017 by [Rob Martin](https://twitter.com/version2beta). - [Winter is coming](https://www.youtube.com/watch?v=vXTrLYAzOd0) by [Luis Ferreira](https://twitter.com/zamith) @ Functional Conf 2017 - Building maintainable applications by applying domain-driven design in Elixir using umbrella apps and its actor model. [ [slides](https://speakerdeck.com/zamith/winter-is-coming) | [video](https://www.youtube.com/watch?v=vXTrLYAzOd0) ] ### 2018 - [Building beautiful systems with Phoenix contexts](https://www.youtube.com/watch?v=l3VgbSgo71E) by [Andrew Hao](https://github.com/andrewhao) @ ElixirDaze 2018 - Learn about Phoenix contexts from their origins in domain-driven design and how they help you to organise an Elixir application by providing rules around communication, boundary enforcement and testing. [ [slides](https://speakerdeck.com/andrewhao/building-beautiful-systems-with-phoenix-contexts-and-ddd) ] - [CQRS and Event Sourcing](https://www.youtube.com/watch?v=S3f6sAXa3-c) by [Bernardo Amorim](https://github.com/bamorim) @ Code Beam SF 2018 - A look into what Event Sourcing and Command Query Responsibility Segregation are and how they fit together, followed by a tutorial on how to implement an application using these concepts with Commanded (a framework for Elixir). - [Event-driven architectures in Elixir](https://www.youtube.com/watch?v=8qDXG7tnl9w) by [Maciej Kaszubowski](https://github.com/mkaszubowski) @ ElixirConf EU 2018 - Learn how you can improve your architecture and reduce coupling by using events. [ [slides](http://s3.amazonaws.com/erlang-conferences-production/media/files/000/000/875/original/Maciej_Kaszubowski_-_Event-driven_architectures_in_Elixir.pdf) ] - [Event Sourcing in Elixir](https://www.youtube.com/watch?v=1lOUtisllFA) by [Pedro Assumpção](https://twitter.com/pedroassumpcao) @ ChicagoElixir Meetup, November 2018 - In this talk, Pedro quickly introduces Event Sourcing and CQRS, but the main part is about [FootBroker](https://footbroker.tk), an online soccer fantasy game that it is running in production in a beta stage, and has its main pieces using Event Sourcing and CQRS patterns. - [Event Sourcing in Real World Applications Challenges, Successes and Lessons Learned](https://www.youtube.com/watch?v=ESRjkG5f7wg) by [James Smith](https://twitter.com/st23am) @ ElixirConf 2018 - Building a real time auction application for supplying fuel to ships using event sourcing. ### 2019 - [An event-driven approach to building Elixir applications](https://www.youtube.com/watch?v=TdGxvekg6xM) by [Ben Smith](https://twitter.com/slashdotdash) @ Code Elixir LDN 2019 - We experience the real world by reacting to events that have occurred, what if we modelled our Elixir applications in the same way? [ [slides](https://10consulting.com/2019/07/18/event-driven-elixir-applications/) ] - [Building Event Sourced Apps](https://speakerdeck.com/leifg/building-event-sourced-apps) by [Leif Gensert](https://twitter.com/leifg) @ London BEAM User Group, January 2019 - Instead of defining a global data model that fits all of your use cases think about the things your system does. Record the events that occur and then build multiple data models that fit your individual use cases. - [CQRS/ES & Elixir](https://github.com/bdubaut/talks/tree/master/2019/Elixir/CQRS_ES_and_Elixir) by [Bertrand Dubaut](https://github.com/bdubaut) @ Amsterdam Elixir Meetup, September 2019 - An introduction to the CQRS/ES architecture pattern and how to implement it in your application in Elixir with the Commanded framework. - [Elixir + CQRS - Architecting for Availability, Operability, and Maintainability At PagerDuty](https://www.youtube.com/watch?v=-d2NPc8cEnw) by [Jon Grieman](https://github.com/jongrieman) @ ElixirConf 2019 - This talk looks at the service that powers PagerDuty’s timeline entries, a critical component for understanding what happens during an incident and covers how the service is architected for Command Query Responsibility Segregation and the benefits of those choices. - [Event sourcing in practice - Using Elixir to build event-driven applications](https://10consulting.com/2019/03/29/event-sourcing-in-practice/) by [Ben Smith](https://twitter.com/slashdotdash) @ Elixir London user group, March 2019 - Practical example of event sourcing in Elixir. - [Event sourcing/CQRS in Elixir with Commanded: Where the rubber hits the road](https://drteeth.github.io/attend-elixir-talk/) by [Ben Moss](https://twitter.com/benjamintmoss) @ Toronto Elixir meetup, May 2019. [ [source code](https://github.com/drteeth/attend) ] - [gen_persistence: persist the state of your processes](https://www.youtube.com/watch?v=g-2qYXMexg8) by [Benoît Chesneau](https://twitter.com/benoitc) @ Code BEAM STO 2019 - This talk describes the usage of `gen_persistence` and how to create custom plugins to store events and snapshots. [ [slides](https://codesync.global/uploads/media/activity_slides/0001/02/66d3ad28168e01c69a8887fe5fc21364396d28bc.pdf) ] ### 2020 - [Event Sourcing with Elixir](https://www.youtube.com/watch?v=mmRxrq8hELY) by [Peter Ullrich](https://twitter.com/PJUllrich) @ ElixirConf EU Virtual 2020 - Introduction to event sourcing with examples using EventStore. [ [slides](https://raw.githubusercontent.com/PJUllrich/event-sourcing-with-elixir/master/slides.pdf) | [source](https://github.com/PJUllrich/event-sourcing-with-elixir) ] ### 2021 - [Eventsourcing and CQRS in Elixir](https://www.youtube.com/watch?v=NTzP_5CHqKk) by Vasilis Spilka @ ElixirConf EU 2021 - In this talk, we will go through how we can build an eventsourced application using simple abstractions provided to us by the Commanded library. [ [slides](https://drive.google.com/file/d/1a4TKyAXJ00WiMjKtPHjAJMkLp4SplZLv/view) ] - [Modelling complex business domains with events](https://www.youtube.com/watch?v=hE5GymSyKXM) by [Ben Smith](https://twitter.com/slashdotdash) @ Alchemy Conf 2021 - Discover how we can use domain events (simple facts relevant to a business) to model business processes. Using tools such as Event Storming we can design our applications around these events. [ [slides](https://10consulting.com/presentations/alchemy-conf-2021/) ] ## Podcasts ## 2021 - [Elixir Mix #148 Event Sourcing and CQRS ft. Ben Moss](https://elixirmix.com/event-sourcing-and-cqrs-ft-ben-moss-emx-148) - Discusion about Event Sourcing and CQRS in Elixir. Event sourcing is the practice of logging data across logged series of events and then reconstructing data from the events. CQRS is focused on keeping read and write operations from conflicting. - [Thinking Elixir #075 RabbitMQ and Commanded at Simplebet with Dave Lucia](https://thinkingelixir.com/podcast-episodes/075-rabbitmq-and-commanded-at-simplebet-with-dave-lucia/) - Talk about Simplebet's use of RabbitMQ and Commanded for solving unique real-time problems. We learn how Simplebet uses Elixir when creating real-time sports betting markets. We also learn what CQRS systems are, how the Commanded library supports that in Elixir, and how Commanded pairs well with RabbitMQ. ## Research papers ### 2017 - [The Dark Side of Event Sourcing: Managing Data Conversion](https://www.movereem.nl/files/2017SANER-eventsourcing.pdf) by Michiel Overeem, Marten Spoor, and Slinger Jansen. ### 2021 - [An Empirical Characterization of Event Sourced Systems and Their Schema Evolution - Lessons from Industry](https://arxiv.org/abs/2104.01146) by Michiel Overeem, Marten Spoor, Slinger Jansen, Sjaak Brinkkemper. ## Screencasts - [Building a single event sourced feature in Elixir using Commanded](https://www.youtube.com/watch?v=n7v73Rbk670) by [Shawn McCool](https://twitter.com/ShawnMcCool). ## Example applications - [Bank](https://github.com/bamorim/commanded-bank) by [Bernardo Amorim](https://github.com/bamorim) - Sample Application for Elixir Brasil Talk. - [Bonfire](https://github.com/qhwa/bonfire) by [Qiu Hua](https://github.com/qhwa) - A small project for exploring some interesting approaches to a delightful web application. - [Coins](https://github.com/bamorim/ex-cbsf2018) by [Bernardo Amorim](https://github.com/bamorim) - An example app using CQRS and Event Sourcing built with Commanded for a talk at CodeBEAM SF 2018. - [Conduit](https://github.com/slashdotdash/conduit) - A blogging platform, an exemplary Medium.com clone, built as a Phoenix web application. - [DDD Shipping Example](https://github.com/pcmarks/ddd_elixir_demo_stage1) by [Peter C Marks](https://github.com/pcmarks) - Elixir implementation of the shipping example from Eric Evan's "Domain-driven Design: Tackling Complexity in the Heart of Software" book. - [Gift card demo](https://github.com/slashdotdash/gift-card-demo/) by [Ben Smith](https://twitter.com/slashdotdash) - a Commanded demo application focused around a simplified gift card domain using Phoenix LiveView for realtime UI updates. - [Segment Challenge](https://github.com/slashdotdash/segment-challenge/) by [Ben Smith](https://twitter.com/slashdotdash) - a full featured Elixir Phoenix web application built with Commanded used to host Strava competitions for athletes. - [Simple Pay](https://github.com/ChrisYammine/simple_pay) by [Christopher Yammine](https://github.com/ChrisYammine) - An exploration of using CQRS/ES with Elixir & EventStore database. - [Honeydew](https://github.com/quarterpi/honeydew) by [Matthew Moody](https://github.com/quarterpi) - A very basic example to help you get started with the CELP (Commanded, Elixir, LiveView, PostgreSQL) stack. ## License [![CC0](http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)](https://creativecommons.org/publicdomain/zero/1.0/) To the extent possible under law, [Ben Smith](mailto:[email protected]) has waived all copyright and related or neighbouring rights to this work.
61
A scalable global Process Registry and Process Group manager for Erlang and Elixir.
![CI](https://github.com/ostinelli/syn/actions/workflows/ci.yml/badge.svg) [![Hex pm](https://img.shields.io/hexpm/v/syn.svg)](https://hex.pm/packages/syn) # Syn **Syn** (short for _synonym_) is a scalable global Process Registry and Process Group manager for Erlang and Elixir, able to automatically manage dynamic clusters (addition / removal of nodes) and to recover from net splits. Syn is a replacement for Erlang/OTP [global](https://www.erlang.org/doc/man/global.html)'s registry and [pg](https://www.erlang.org/doc/man/pg.html) modules. The main differences with these OTP's implementations are: * OTP's `global` module chooses Consistency over Availability, therefore it can become difficult to scale when registration rates are elevated and the cluster becomes larger. If eventual consistency is acceptable in your case, Syn can considerably increase the registry's performance. * Syn allows to attach metadata to every process, which also gets synchronized across the cluster. * Syn implements [cluster-wide callbacks](syn_event_handler.html) on the main events, which are also properly triggered after net splits. [[Documentation](https://hexdocs.pm/syn/)] ## Introduction ### What is a Process Registry? A global Process Registry allows registering a process on all the nodes of a cluster with a single Key. Consider this the process equivalent of a DNS server: in the same way you can retrieve an IP address from a domain name, you can retrieve a process from its Key. Typical Use Case: registering on a system a process that handles a physical device (using its serial number). ### What is a Process Group? A global Process Group is a named group which contains many processes, possibly running on different nodes. With the group Name, you can retrieve on any cluster node the list of these processes, or publish a message to all of them. This mechanism allows for Publish / Subscribe patterns. Typical Use Case: a chatroom. ### What is Syn? Syn is a Process Registry and Process Group manager that has the following features: * Global Process Registry (i.e. a process is uniquely identified with a Key across all the nodes of a cluster). * Global Process Group manager (i.e. a group is uniquely identified with a Name across all the nodes of a cluster). * Any term can be used as Key and Name. * PubSub mechanism: messages can be published to all members of a Process Group (_globally_ on all the cluster or _locally_ on a single node). * Subclusters by using Scopes allows great scalability. * Dynamically sized clusters (addition / removal of nodes is handled automatically). * Net Splits automatic resolution. * Fast writes. * Configurable callbacks. * Processes are automatically monitored and removed from the Process Registry and Process Groups if they die. ## Notes In any distributed system you are faced with a consistency challenge, which is often resolved by having one master arbiter performing all write operations (chosen with a mechanism of [leader election](http://en.wikipedia.org/wiki/Leader_election)), or through [atomic transactions](http://en.wikipedia.org/wiki/Atomicity_(database_systems)). Syn was born for applications of the [IoT](http://en.wikipedia.org/wiki/Internet_of_Things) field. In this context, Keys used to identify a process are often the physical object's unique identifier (for instance, its serial or MAC address), and are therefore already defined and unique _before_ hitting the system. The consistency challenge is less of a problem in this case, since the likelihood of concurrent incoming requests that would register processes with the same Key is extremely low and, in most cases, acceptable. In addition, write speeds were a determining factor in the architecture of Syn. Therefore, Availability has been chosen over Consistency and Syn implements [strong eventual consistency](http://en.wikipedia.org/wiki/Eventual_consistency). ## Installation #### Elixir Add it to your deps: ```elixir defp deps do [{:syn, "~> 3.3"}] end ``` #### Erlang If you're using [rebar3](https://github.com/erlang/rebar3), add `syn` as a dependency in your project's `rebar.config` file: ```erlang {deps, [ {syn, {git, "git://github.com/ostinelli/syn.git", {tag, "3.3.0"}}} ]}. ``` Or, if you're using [Hex.pm](https://hex.pm/) as package manager (with the [rebar3_hex](https://github.com/hexpm/rebar3_hex) plugin): ```erlang {deps, [ {syn, "3.3.0"} ]}. ``` Ensure that `syn` is started with your application, for example by adding it in your `.app` file to the list of `applications`: ```erlang {application, my_app, [ %% ... {applications, [ kernel, stdlib, sasl, syn, %% ... ]}, %% ... ]}. ``` ## Quickstart ### Registry #### Elixir ```elixir iex> :syn.add_node_to_scopes([:users]) :ok iex> pid = self() #PID<0.105.0> iex> :syn.register(:users, "hedy", pid) :ok iex> :syn.lookup(:users, "hedy") {#PID<0.105.0>,:undefined} iex> :syn.register(:users, "hedy", pid, [city: "Milan"]) :ok iex> :syn.lookup(:users, "hedy") {#PID<0.105.0>,[city: "Milan"]} iex> :syn.registry_count(:users) 1 ``` #### Erlang ```erlang 1> syn:add_node_to_scopes([users]). ok 2> Pid = self(). <0.93.0> 3> syn:register(users, "hedy", Pid). ok 4> syn:lookup(users, "hedy"). {<0.93.0>,undefined} 5> syn:register(users, "hedy", Pid, [{city, "Milan"}]). ok 6> syn:lookup(users, "hedy"). {<0.93.0>,[{city, "Milan"}]} 7> syn:registry_count(users). 1 ``` ### Process Groups #### Elixir ```elixir iex> :syn.add_node_to_scopes([:users]) :ok iex> pid = self() #PID<0.88.0> iex> :syn.join(:users, {:italy, :lombardy}, pid) :ok iex> :syn.members(:users, {:italy, :lombardy}) [{#PID<0.88.0>,:undefined}] iex> :syn.is_member(:users, {:italy, :lombardy}, pid) true iex> :syn.publish(:users, {:italy, :lombardy}, "hello lombardy!") {:ok,1} iex> flush() Shell got "hello lombardy!" ok ``` #### Erlang ```erlang 1> syn:add_node_to_scopes([users]). ok 2> Pid = self(). <0.88.0> 3> syn:join(users, {italy, lombardy}, Pid). ok 4> syn:members(users, {italy, lombardy}). [{<0.88.0>,undefined}] 5> syn:is_member(users, {italy, lombardy}, Pid). true 6> syn:publish(users, {italy, lombardy}, "hello lombardy!"). {ok,1} 7> flush(). Shell got "hello lombardy!" ok ``` ## Contributing So you want to contribute? That's great! Please follow the guidelines below. It will make it easier to get merged in. Before implementing a new feature, please submit a ticket to discuss what you intend to do. Your feature might already be in the works, or an alternative implementation might have already been discussed. Do not commit to master in your fork. Provide a clean branch without merge commits. Every pull request should have its own topic branch. In this way, every additional adjustments to the original pull request might be done easily, and squashed with `git rebase -i`. The updated branch will be visible in the same pull request, so there will be no need to open new pull requests when there are changes to be applied. Ensure that proper testing is included. To run Syn tests you simply have to be in the project's root directory and run: ```bash $ make test ``` ## License Copyright (c) 2015-2022 Roberto Ostinelli and Neato Robotics, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
62
An Erlang VM implementation in Rust
![Enigma](/enigma.png) Enigma VM ========= [![Build status](https://api.travis-ci.org/archseer/enigma.svg?branch=master)](https://travis-ci.org/archseer/enigma) [![Windows build status](https://ci.appveyor.com/api/projects/status/github/archseer/enigma?svg=true)](https://ci.appveyor.com/project/archseer/enigma) An implementation of the Erlang VM in Rust. We aim to be complete, correct and fast, in that order of importance. OTP 22+ compatible (sans the distributed bits for now) &mdash; all your code should eventually run on Enigma unchanged. Deprecated opcodes won't be supported. ## Why? Because it's fun and I've been learning a lot. BEAM and HiPE are awesome, but they're massive (~300k SLOC). A small implementation makes it easier for new people to learn Erlang internals. We also get a platform to quickly iterate on ideas for inclusion into BEAM. ## Installation Only prerequisite to building Enigma is Rust. Use [rustup](https://rustup.rs/) to install the latest nightly rust. At this time we don't support stable / beta anymore, because we're relying on async/await, which is scheduled to run in stable some time in Q3 2019. To boot up OTP you will also need to compile the standard library. At the moment, that relies on the BEAM build system: ```bash git submodule update --init --depth 1 cd otp /otp_build setup -a make libs make local_setup ``` We hope to simplify this step in the future (once enigma can run the compiler). Run `cargo run` to install dependencies, build and run the VM. By default, it will boot up the erlang shell ([iex also works, but has some rendering bugs](https://asciinema.org/a/zIjbf5AJx9YxEycyl9ij5ISVM)). Expect crashes, but a lot of the functionality is already available. Pre-built binaries for various platforms will be available, once we reach a certain level of stability. ## Feature status We implement most of the opcodes, and about half of all BIFs. You can view a detailed progress breakdown on [opcodes](/notes/opcodes.org) or [BIFs](/notes/bifs.org). #### Roadmap - [x] Get the full OTP kernel/stdlib to boot (`init:start`). - [x] Get the Eshell to run. - [x] Get OTP tests to run (works with a custom runner currently). - [x] Get the erlang compiler to work. - [x] Get IEx to run. - [ ] Get OTP tests to pass. #### Features - [x] Floating point math - [x] Spawn & message sending - [x] Lambdas / anonymous functions - [x] Exceptions & stack traces - [x] Process dictionary - [x] Signal queue - [x] Links & monitors - [ ] Timers - [x] Maps - [x] Binaries - [ ] File IO - [x] open/read/close/read_file/write - [ ] Filesystem interaction - [ ] [External NIFs](http://erlang.org/doc/man/erl_nif.html) - [ ] Ports (might never be fully supported, we provide a few boot-critical ones as builtins: tty, fd) - [ ] External Term representation - [x] Decoding - [ ] Encoding - [ ] ETS - [x] PAM implementation - [x] All table types partially, but we do not provide any concurrency guarantees - [ ] Regex (some support exists for basic matching) - [ ] Garbage Collection (arena-based per-process at the moment) - [ ] inet via socket nifs - [ ] Code reloading - [ ] Tracing/debugging support - [ ] Load-time instruction transform - [x] Load-time instruction specialization engine ### Goals, ideas & experiments Process scheduling is implemented on top of rust futures: - A process is simply a long running future, scheduled on top of tokio-threadpool work-stealing queue - A timer is a delay/timeout future relying on tokio-timer time-wheel - Ports are futures we can await on - File I/O is AsyncRead/AsyncWrite awaitable - NIF/BIFs are futures that yield at certain points to play nice with reductions (allows a much simpler yielding implementation) Future possibilities: - Write more documentation about more sparsely documented BEAM aspects (binary matching, time wheel, process monitors, ...) - Explore using immix as a GC for Erlang - Eir runtime - JIT via Eir - BIF as a generator function (yield to suspend/on reduce) - Provide built-in adapter modules for [hyper](https://github.com/hyperium/hyper) as a Plug Adapter / HTTP client. - Cross-compile to WebAssembly ([runtime](https://github.com/rustasync/runtime/)) #### Initial non-goals Until the VM doesn't reach a certain level of completeness, it doesn't make sense to consider these. - Distributed Erlang nodes - Tracing / debugging support - BEAM compatible NIFs / FFI Note: NIF/FFI ABI compatibility with OTP is going to be quite some work. But, a rust-style NIF interface will be available. It would also probably be possible to make an adapter compatible with [rustler](https://github.com/rusterlium/rustler). ## Contributing Contributors are very welcome! The easiest way to get started is to look at the `notes` folder and pick a BIF or an opcode to implement. Take a look at `src/bif.rs` and the `bif` folder on how other BIFs are implemented. There's also a few issues open with the `good first issue` tag, which would also be a good introduction to the internals. Alternatively, search the codebase for `TODO`, `FIXME` or `unimplemented!`, those mark various places where a partial implementation exists, but a bit more work needs to be done. Test coverage is currently lacking, and there's varying levels of documentation; I will be addressing these soon. We also have a #enigma channel on the [Elixir Slack](https://elixir-slackin.herokuapp.com/).
63
List of Elixir books
# Awesome Elixir Books [![Build Status](https://github.com/sger/ElixirBooks/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/sger/ElixirBooks/actions/workflows/main.yml) [![Awesome](https://cdn.jsdelivr.net/gh/sindresorhus/awesome@d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) Contents ==== * [Books](#books) * [Starter Books](#starter-books) * [Advanced Books](#advanced-books) * [Web Development](#web-development) * [Resources](#resources) **Books** ==== **Starter Books** ---- ### [Adopting Elixir](https://pragprog.com/titles/tvmelixir/adopting-elixir/) <img src="https://covers.oreillystatic.com/images/9781680502527/cat.gif" width="180px" title="Elixir logo" /> Adoption is more than programming. Elixir is an exciting new language, but to successfully get your application from start to finish, you’re going to need to know more than just the language. You need the case studies and strategies in this book. Learn the best practices for the whole life of your application, from design and team-building, to managing stakeholders, to deployment and monitoring. Go beyond the syntax and the tools to learn the techniques you need to develop your Elixir application from concept to production. ### [Elixir Cookbook](https://www.packtpub.com/product/elixir-cookbook/9781784397517) <img src="https://m.media-amazon.com/images/I/81-ZwJtxOJL._AC_UY436_QL65_ML3_.jpg" width="120px"/> This book is a set of recipes grouped by topic that acts as a good reference to get ideas from or to quickly search for a solution to a problem. You will begin by launching an IEx session and using it to test some ideas. Next, you will perform various operations like loading and compiling modules, inspecting your system, generating a supervised app, and so on. Furthermore, you will be introduced to immutability, working with data structures, performing pattern matching, and using stream modules to generate infinite data sequences. You will learn about everything from joining strings to determining the word frequency in text. With respect to modules and functions, you will also discover how to load code from other modules and use guards and pattern matching in functions. ### [Elixir in Action](https://www.manning.com/books/elixir-in-action) <img src="https://images.manning.com/255/340/resize/book/5/2e8efb1-9e6f-462c-9487-04eac07ea623/juric.png" width="120px"/> Elixir in Action teaches you how to solve practical problems of scalability, concurrency, fault tolerance, and high availability using Elixir. You'll start with the language, learning basic constructs and building blocks. Then, you'll learn to think about problems using Elixir's functional programming mindset. With that solid foundation, you'll confidently explore Elixir's seamless integration with BEAM and Erlang's powerful OTP framework of battle-tested abstractions you can use immediately. Finally, the book provides guidance on how to distribute a system over multiple machines and control it in production. ### [Elixir succinctly](https://www.syncfusion.com/succinctly-free-ebooks/elixir-succinctly) *Free* <img src="https://cdn.syncfusion.com/content/images/downloads/ebook/ebook-cover/elixir-succinctly.png" width="120px"/> This is a introductionary book about Elixir and OTP, written to go straight to the point. Almost 100 pages to learn the language and the platform. ### [Études for Elixir](https://www.oreilly.com/library/view/etudes-for-elixir/9781491917640/) *Free* <img src="https://learning.oreilly.com/library/cover/9781491917640/250w/" width="120px"/> In this book, you will find descriptions of programs that you can write in Elixir. The programs will usually be short, and each one has been designed to provide practice material for a particular Elixir programming concept. These programs have not been designed to be of considerable difficulty, though they may ask you to stretch a bit beyond the immediate material and examples that you find in the book Introducing Elixir. ### [Getting Started](https://elixir-lang.org/getting-started/introduction.html) *Free* <img src="https://elixir-lang.org/images/logo/logo.png" width="180px" title="Elixir logo" /> Official Elixir starting guide that will take you through the language foundations. You will also explore how to build projects with Mix and OTP, and it will introduce you to more advanvced techniques suchs as meta-programming. ### [Introducing Elixir](https://www.oreilly.com/library/view/introducing-elixir/9781449369989/) <img src="https://learning.oreilly.com/library/cover/9781449369989/250w/" width="120px"/> Elixir is an excellent language if you want to learn about functional programming, and with this hands-on introduction, you’ll discover just how powerful and fun Elixir can be. This language combines the robust functional programming of Erlang with a syntax similar to Ruby, and includes powerful features for metaprogramming. ### [Learn Functional Programming with Elixir](https://pragprog.com/search/?q=learn-functional-programming-with-elixir) <img src="http://t3.gstatic.com/images?q=tbn:ANd9GcSKqtSJPiXGRxX140Y-BAXI7Bt7ja9965hL_Xo4CVVBbrVNOlbm" width="120px"/> Elixir’s straightforward syntax and this guided tour give you a clean, simple path to learn modern functional programming techniques. No previous functional programming experience required! This book walks you through the right concepts at the right pace, as you explore immutable values and explicit data transformation, functions, modules, recursive functions, pattern matching, high-order functions, polymorphism, and failure handling, all while avoiding side effects. ### [Learn You Some Erlang for Great Good](https://learnyousomeerlang.com/) <img src="https://nostarch.com/sites/default/files/imagecache/product_main_page/erlang_newsmall.png" width="120px"/> Hey there! This is Learn You Some Erlang for great good! This book is for you if you’ve got some programming experience and if you’re not too familiar with functional programming. It can still be useful if you’re too good for that, as we progressively go into more and more advanced topics. ### [Learning Elixir](https://www.packtpub.com/product/learning-elixir/9781785881749) <img src="https://static.packt-cdn.com/products/9781785881749/cover/smaller" width="120px"/> Elixir, based on Erlang’s virtual machine and ecosystem, makes it easier to achieve scalability, concurrency, fault tolerance, and high availability goals that are pursued by developers using any programming language or programming paradigm. Elixir is a modern programming language that utilizes the benefits offered by Erlang VM without really incorporating the complex syntaxes of Erlang. ### [Programming Elixir ≥ 1.6](https://pragprog.com/titles/elixir16/programming-elixir-1-6/) <img src="https://pragprog.com/titles/elixir16/programming-elixir-1-6/elixir16_hu6d5b8b63a4954cb696e89b39f929331b_1496817_500x0_resize_q75_box.jpg" width="120px"/> This book is the introduction to Elixir for experienced programmers, completely updated for Elixir 1.6 and beyond. Explore functional programming without the academic overtones (tell me about monads just one more time). Create concurrent applications, but get them right without all the locking and consistency headaches. Meet Elixir, a modern, functional, concurrent language built on the rock-solid Erlang VM. Elixir’s pragmatic syntax and built-in support for metaprogramming will make you productive and keep you interested for the long haul. Maybe the time is right for the Next Big Thing. Maybe it’s Elixir. ### [The Little Elixir & OTP Guidebook](https://www.manning.com/books/the-little-elixir-and-otp-guidebook) <img src="https://images.manning.com/255/340/resize/book/2/cf70537-0068-4d76-b254-3082c3bc12a3/TanWeiHao_final.png" width="120px"/> The Little Elixir & OTP Guidebook gets you started programming applications with Elixir and OTP. You begin with a quick overview of the Elixir language syntax, along with just enough functional programming to use it effectively. Then, you'll dive straight into OTP and learn how it helps you build scalable, fault-tolerant and distributed applications through several fun examples. Come rediscover the joy of programming with Elixir and remember how it feels like to be a beginner again. ### [The Ultimate Guide For Making the Jump To Elixir](https://www.amazon.com/Ultimate-Guide-Making-Jump-Elixir-ebook/dp/B07DH4G7X2) <img src="https://images-na.ssl-images-amazon.com/images/I/51Ipbs%2BRkOL.jpg" width="120px"/> Want to learn an up and coming functional programming language? Check out Elixir, designed by Ruby on Rails core team member Jose Valim. If you have a full-time day job, a family, or other pressing commitments, taking hours out of your week to read blog posts or spending the time to contribute to open source could be a deal breaker for you. This book helps to get you up to speed with what you need to know. **Advanced Books** --- ### [Building Scalable Applications with Erlang](https://www.abebooks.com/9780321636461/Building-Scalable-Applications-Erlang-Developers-0321636465/plp) <img src="https://pictures.abebooks.com/isbn/9780321636461-us.jpg" width="120px"/> Erlang is emerging as a leading language for concurrent programming in mission-critical enterprise environments where applications must deliver exceptional reliability, availability, and scalability. It’s already used by organizations ranging from Facebook to Amazon, and many others are adopting or considering it. As a functional language, however, Erlang is radically different from conventional object-oriented languages like C++ and Java. This book quickly brings experienced object-oriented programmers up to speed with both Erlang and the principles of functional programming. Jerry Jackson thoroughly explains Erlang’s key concepts, principles, and features, bridging the conceptual gaps that often frustrate object developers. Next, he shows how to use Erlang to build massively-scalable real-world systems with up to “nine nines” availability: that is, up to 99.9999999% uptime. ### [Craft GraphQL APIs in Elixir with Absinthe](https://pragprog.com/titles/wwgraphql/craft-graphql-apis-in-elixir-with-absinthe/) <img src="https://pragprog.com/titles/wwgraphql/craft-graphql-apis-in-elixir-with-absinthe/wwgraphql_hu6d5b8b63a4954cb696e89b39f929331b_360248_500x0_resize_q75_box.jpg" width="120px"/> Your domain is rich and interconnected, and your API should be too. Upgrade your web API to GraphQL, leveraging its flexible queries to empower your users, and its declarative structure to simplify your code. Absinthe is the GraphQL toolkit for Elixir, a functional programming language designed to enable massive concurrency atop robust application architectures. Written by the creators of Absinthe, this book will help you take full advantage of these two groundbreaking technologies. Build your own flexible, high-performance APIs using step-by-step guidance and expert advice you won’t find anywhere else.s ### [Designing Elixir Systems with OTP](https://pragprog.com/titles/jgotp/designing-elixir-systems-with-otp/) <img src="https://pragprog.com/titles/jgotp/designing-elixir-systems-with-otp/jgotp_hu6d5b8b63a4954cb696e89b39f929331b_938959_500x0_resize_q75_box.jpg" width="120px"/> You know how to code in Elixir; now learn to think in it. Learn to design libraries with intelligent layers that shape the right data structures, flow from one function into the next,and present the right APIs. Embrace the same OTP that’s kept our telephone systems reliable and fast for over 30 years. Move beyond understanding the OTP functions to knowing what’s happening under the hood, and why that matters. Using that knowledge, instinctively know how to design systems that deliver fast and resilient services to your users, all with an Elixir focus. ### [Designing for Scalability with Erlang/OTP](https://www.oreilly.com/library/view/designing-for-scalability/9781449361556/) <img src="https://learning.oreilly.com/library/cover/9781449361556/250w/" width="120px"/> If you need to build a scalable, fault tolerant system with requirements for high availability, discover why the Erlang/OTP platform stands out for the breadth, depth, and consistency of its features. This hands-on guide demonstrates how to use the Erlang programming language and its OTP framework of reusable libraries, tools, and design principles to develop complex commercial-grade systems that simply cannot fail. ### [Erlang and Elixir for Imperative Programmers](https://www.amazon.com/Erlang-Elixir-Imperative-Programmers-Wolfgang/dp/1484223934) <img src="https://media.springernature.com/full/springer-static/cover-hires/book/978-1-4842-2394-9?as=webp" width="120px"/> Learn and understand Erlang and Elixir and develop a working knowledge of the concepts of functional programming that underpin them. This book takes the author’s experience of taking on a project that required functional programming and real-time systems, breaks it down, and organizes it. You will get the necessary knowledge about differences to the languages you know, where to start, and where to go next. ### [Erlang and OTP in Action](https://www.manning.com/books/erlang-and-otp-in-action) <img src="https://images.manning.com/255/340/resize/book/f/d21069b-7a05-4be7-bcd8-7d38aff03e34/logan.png" width="120px"/> Erlang and OTP in Action teaches you the concepts of concurrent programming and the use of Erlang's message-passing model. It walks you through progressively more interesting examples, building systems in Erlang and integrating them with C/C++, Java, and .NET applications, including SOA and web architectures. ### [Erlang In Anger](http://www.erlang-in-anger.com/) <img src="https://s3.us-east-2.amazonaws.com/ferd.erlang-in-anger/book-cover.png" width="120px"/> This book intends to be a little guide about how to be the Erlang medic in a time of war. It is first and foremost a collection of tips and tricks to help understand where failures come from, and a dictionary of different code snippets and practices that helped developers debug production systems that were built in Erlang. ### [Mastering Elixir](https://www.packtpub.com/product/mastering-elixir/9781788472678) <img src="https://static.packt-cdn.com/products/9781788472678/cover/smaller" width="120px"/> In this book you will learn how to build a rock-solid file hosting service on top of both Erlang’s OTP and using Elixir own abstractions, that allow you to build applications that are easy to parallelize and distribute. You'll use GenStage to process file uploads, and you'll then simplify it by implementing a DSL. You will use Phoenix to expose your application to the world. Upon finishing implementation, you will learn how to take your application to the cloud, using Kubernetes to automatically deploy, scale and manage it. Last, but not least, you will keep your peace of mind by both learning how to thoroughly test and then monitor your application when it goes live. ### [Metaprogramming Elixir](https://pragprog.com/titles/cmelixir/metaprogramming-elixir/) <img src="https://pragprog.com/titles/cmelixir/metaprogramming-elixir/cmelixir_hu6d5b8b63a4954cb696e89b39f929331b_1494046_500x0_resize_q75_box.jpg" width="120px"/> Write code that writes code with Elixir macros. Macros make metaprogramming possible and define the language itself. In this book, you’ll learn how to use macros to extend the language with fast, maintainable code and share functionality in ways you never thought possible. You’ll discover how to extend Elixir with your own first-class features, optimize performance, and create domain-specific languages. ### [Programming Erlang](https://pragprog.com/titles/jaerlang2/programming-erlang-2nd-edition/) <img src="https://pragprog.com/titles/jaerlang2/programming-erlang-2nd-edition/jaerlang2_hu6d6484fd7d993fffccac9fd34a29e94f_1016144_500x0_resize_q75_box.jpg" width="120px"/> A multi-user game, web site, cloud application, or networked database can have thousands of users all interacting at the same time. You need a powerful, industrial-strength tool to handle the really hard problems inherent in parallel, concurrent environments. You need Erlang. In this second edition of the bestselling Programming Erlang, you’ll learn how to write parallel programs that scale effortlessly on multicore systems. ### [Property-Based Testing with PropEr, Erlang, and Elixir](https://pragprog.com/titles/fhproper/property-based-testing-with-proper-erlang-and-elixir/) <img src="https://pragprog.com/titles/fhproper/property-based-testing-with-proper-erlang-and-elixir/fhproper_hu6d5b8b63a4954cb696e89b39f929331b_998569_500x0_resize_q75_box.jpg" width="120px"/> Property-based testing helps you create better, more solid tests with little code. By using the PropEr framework in both Erlang and Elixir, this book teaches you how to automatically generate test cases, test stateful programs, and change how you design your software for more principled and reliable approaches. You will be able to better explore the problem space, validate the assumptions you make when coming up with program behavior, and expose unexpected weaknesses in your design. PropEr will even show you how to reproduce the bugs it found. With this book, you will be writing efficient property-based tests in no time. ### [Hands-on Elixir & OTP: Cryptocurrency trading bot](https://elixircryptobot.com/) *Free* <img src="https://raw.githubusercontent.com/Cinderella-Man/hands-on-elixir-and-otp-cryptocurrency-trading-bot/main/images/cover.png" width="120px"/> Want to learn Elixir & OTP by creating a real-world project? With Hands-on Elixir & OTP: Cryptocurrency trading bot you will gain hands-on experience by working on an interesting software project. We will explore all the key abstractions and essential principles through iterative implementation improvements. **Web Development** --- ### [Building Web Applications with Erlang](https://www.oreilly.com/library/view/building-web-applications/9781449320621/) <img src="https://learning.oreilly.com/library/cover/9781449320621/250w/" width="120px"/> Why choose Erlang for web applications? Discover the answer hands-on by building a simple web service with this book. If you’re an experienced web developer who knows basic Erlang, you’ll learn how to work with REST, dynamic content, web sockets, and concurrency through several examples. In the process, you’ll see first-hand that Erlang is ideal for building business-critical services. ### [Elixir and Elm Tutorial](https://leanpub.com/elixir-elm-tutorial) <img src="https://s3.amazonaws.com/titlepages.leanpub.com/elixir-elm-tutorial/hero?1518079280" width="120px"/> Welcome to the world of functional web programming! In this book, we'll learn how to create fun, scalable, and maintainable web applications. We'll use the latest ideas from emerging languages like Elixir and Elm to craft a fun experience. Rather than focusing on theory, we'll take a practical approach and build a real-world application. ### [Functional Web Development with Elixir, OTP, and Phoenix](https://pragprog.com/titles/lhelph/functional-web-development-with-elixir-otp-and-phoenix/) <img src="https://pragprog.com/titles/lhelph/functional-web-development-with-elixir-otp-and-phoenix/lhelph_hu6d5b8b63a4954cb696e89b39f929331b_345845_500x0_resize_q75_box.jpg" width="120px"/> Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web applications. Make the most of them as you build a stateful web app with Elixir and OTP. Model domain entities without an ORM or a database. Manage server state and keep your code clean with OTP Behaviours. Layer on a Phoenix web interface without coupling it to the business logic. Open doors to powerful new techniques that will get you thinking about web development in fundamentally new ways. ### [Phoenix in Action](https://www.manning.com/books/phoenix-in-action) <img src="https://images-na.ssl-images-amazon.com/images/I/41V2OUmPO8L._SX397_BO1,204,203,200_.jpg" width="120px"/> Phoenix is a modern web framework built for the Elixir programming language. Elegant, fault-tolerant, and performant, Phoenix is as easy to use as Rails and as rock-solid as Elixir's Erlang-based foundation. Phoenix in Action builds on your existing web dev skills, teaching you the unique benefits of Phoenix along with just enough Elixir to get the job done. ### [Programming Ecto](https://pragprog.com/titles/wmecto/programming-ecto/) <img src="https://m.media-amazon.com/images/I/81U41AFtHeL._AC_UY218_SEARCH213888_ML3_.jpg" width="120px"/> Languages may come and go, but the relational database endures. Learn how to use Ecto, the premier database library for Elixir, to connect your Elixir and Phoenix apps to databases. Get a firm handle on Ecto fundamentals with a module-by-module tour of the critical parts of Ecto. Then move on to more advanced topics and advice on best practices with a series of recipes that provide clear,step-by-step instructions on scenarios commonly encountered by app developers. Co-authored by the creator of Ecto, this title provides all the essentials you need to use Ecto effectively. ### [Programming Phoenix](https://pragprog.com/titles/phoenix14/programming-phoenix-1-4/) <img src="http://ecx.images-amazon.com/images/I/41pPn50VnvL._SX415_BO1,204,203,200_.jpg" width="120px"/> Don’t accept the compromise between fast and beautiful: you can have it all. Phoenix creator Chris McCord, Elixir creator José Valim, and award-winning author Bruce Tate walk you through building an application that’s fast and reliable. At every step, you’ll learn from the Phoenix creators not just what to do, but why. Packed with insider insights, this definitive guide will be your constant companion in your journey from Phoenix novice to expert, as you build the next generation of web applications. ### [Real-Time Phoenix](https://pragprog.com/titles/sbsockets/real-time-phoenix/) <img src="https://m.media-amazon.com/images/I/81zoKXoKFbL._AC_UY436_QL65_ML3_.jpg" width="120px"/> Give users the real-time experience they expect, by using Elixir and Phoenix Channels to build applications that instantly react to changes and reflect the application’s true state. Learn how Elixir and Phoenix make it easy and enjoyable to create real-time applications that scale to a large number of users. Apply system design and development best practices to create applications that are easy to maintain. Gain confidence by learning how to break your applications before your users do. Deploy applications with minimized resource use and maximized performance. ### [Testing Elixir](https://pragprog.com/titles/lmelixir/testing-elixir/) <img src="https://pragprog.com/titles/lmelixir/testing-elixir/lmelixir-500.jpg" width="120px"/> Elixir offers new paradigms, and challenges you to test in unconventional ways. Start with ExUnit: almost everything you need to write tests covering all levels of detail, from unit to integration, but only if you know how to use it to the fullest—we’ll show you how. Explore testing Elixir-specific challenges such as OTP-based modules, asynchronous code, Ecto-based applications, and Phoenix applications. Explore new tools like Mox for mocks and StreamData for property-based testing. Armed with this knowledge, you can create test suites that add value to your production cycle and guard you from regressions. ### [Exploring Graphs with Elixir](https://pragprog.com/titles/thgraphs/exploring-graphs-with-elixir/) <img src="https://pragprog.com/titles/thgraphs/exploring-graphs-with-elixir/thgraphs-beta-500.jpg" width="120px"/> Data is everywhere—it’s just not very well connected, which makes it super hard to relate dataset to dataset. Using graphs as the underlying glue, you can readily join data together and create navigation paths across diverse sets of data. Add Elixir, with its awesome power of concurrency, and you’ll soon be mastering data networks. Learn how different graph models can be accessed and used from within Elixir and how you can build a robust semantics overlay on top of graph data structures. We’ll start from the basics and examine the main graph paradigms. Get ready to embrace the world of connected data! ### [Genetic Algorithms in Elixir](https://pragprog.com/titles/smgaelixir/genetic-algorithms-in-elixir/) <img src="https://pragprog.com/titles/smgaelixir/genetic-algorithms-in-elixir/smgaelixir-500.jpg" width="120px"/> From finance to artificial intelligence, genetic algorithms are a powerful tool with a wide array of applications. But you don’t need an exotic new language or framework to get started; you can learn about genetic algorithms in a language you’re already familiar with. Join us for an in-depth look at the algorithms, techniques, and methods that go into writing a genetic algorithm. From introductory problems to real-world applications, you’ll learn the underlying principles of problem solving using genetic algorithms. ### [Programmer Passport: Elixir](https://pragprog.com/titles/passelixir/programmer-passport-elixir/) <img src="https://pragprog.com/titles/passelixir/programmer-passport-elixir/passelixir-500.jpg" width="120px"/> Elixir is a functional language that crosses many boundaries. With a syntax borrowing heavily from Ruby, a runtime that is on the Erlang BEAM, a macro system like that in Lisp, and a streaming library like you might find in Haskell, Elixir takes the best features from many environments. Elixir borrows from Erlang’s “Let It Crash” philosophy, and adds significant improvements with structs, first-class hygienic macros, and abstractions such as protocols. Many of these ideas were borrowed from other communities, and they make a big difference in language adoption. This book gives you a quick guided tour through the fascinating world of Elixir! ### [Build a Binary Clock with Elixir and Nerves](https://pragprog.com/titles/thnerves/build-a-binary-clock-with-elixir-and-nerves/) <img src="https://pragprog.com/titles/thnerves/build-a-binary-clock-with-elixir-and-nerves/thnerves-500.jpg" width="120px"/> Want to get better at coding Elixir? Write a hardware project with Nerves. As you build this binary clock, you’ll build in resiliency using OTP, the same libraries powering many commercial phone switches. You’ll attack complexity the way the experts do, using a layered approach. You’ll sharpen your debugging skills by taking small, easily verified steps toward your goal. When you’re done, you’ll have a working binary clock and a good appreciation of the work that goes into a hardware system. You’ll also be able to apply that understanding to every new line of Elixir you write. ### [Build a Weather Station with Elixir and Nerves](https://pragprog.com/titles/passweather/build-a-weather-station-with-elixir-and-nerves/) <img src="https://pragprog.com/titles/passweather/build-a-weather-station-with-elixir-and-nerves/passweather-500.jpg" width="120px"/> The Elixir programming language has become a go-to tool for creating reliable, fault-tolerant, and robust server-side applications. Thanks to Nerves, those same exact benefits can be realized in embedded applications. This book will teach you how to structure, build, and deploy production grade Nerves applications to network-enabled devices. The weather station sensor hub project that you will be embarking upon will show you how to create a full stack IoT solution in record time. You will build everything from the embedded Nerves device to the Phoenix backend and even the Grafana time-series data visualizations. ### [Concurrent Data Processing in Elixir](https://pragprog.com/titles/sgdpelixir/concurrent-data-processing-in-elixir/) <img src="https://pragprog.com/titles/sgdpelixir/concurrent-data-processing-in-elixir/sgdpelixir-500.jpg" width="120px"/> Learn different ways of writing concurrent code in Elixir and increase your application’s performance, without sacrificing scalability or fault-tolerance. Most projects benefit from running background tasks and processing data concurrently, but the world of OTP and various libraries can be challenging. Which Supervisor and what strategy to use? What about GenServer? Maybe you need back-pressure, but is GenStage, Flow, or Broadway a better choice? You will learn everything you need to know to answer these questions, start building highly concurrent applications in no time, and write code that’s not only fast, but also resilient to errors and easy to scale. ### [Programming Phoenix LiveView](https://pragprog.com/titles/liveview/programming-phoenix-liveview/) <img src="https://pragprog.com/titles/liveview/programming-phoenix-liveview/liveview-beta-500.jpg" width="120px"/> The days of the traditional request-response web application are long gone, but you don’t have to wade through oceans of JavaScript to build the interactive applications today’s users crave. The innovative Phoenix LiveView library empowers you to build applications that are fast and highly interactive, without sacrificing reliability. This definitive guide to LiveView isn’t a reference manual. Learn to think in LiveView. Write your code layer by layer, the way the experts do. Explore techniques with experienced teachers to get the best possible performance. **Resources** ==== * [Joe Armstrong - A week with Elixir](https://joearms.github.io/published/2013-05-31-a-week-with-elixir.html) * [Elixir Sips](http://elixirsips.com) * [LearnElixir.tv](https://www.learnelixir.tv/) * [Reddit](https://www.reddit.com/r/elixir/) * [Stack Overflow](https://stackoverflow.com/questions/tagged/elixir) * [Exercism.io](https://exercism.org/tracks/elixir) * [Elixir Radar Newsletter](https://elixir-radar.com) * [Elixir Koans](http://elixirkoans.io) * [Awesome Elixir](https://github.com/h4cc/awesome-elixir) * [Discover Elixir & Phoenix](https://ludu.co/course/discover-elixir-phoenix/) * [Elixir School](https://elixirschool.com/en) * [Elixir for Programmers](https://codestool.coding-gnome.com/courses/elixir-for-programmers) Contributing ==== Your contributions are always welcome, just follow [the rules](https://github.com/sger/ElixirBooks/blob/main/CONTRIBUTING.md)! License ==== This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
64
Catalog of Elixir-specific code smells
# [Catalog of Elixir-specific code smells][Elixir Smells] [![Run in Livebook](https://livebook.dev/badge/v1/black.svg)](https://livebook.dev/run?url=https%3A%2F%2Fgithub.com%2Flucasvegi%2FElixir-Code-Smells%2Fblob%2Fmain%2Fcode_smells.livemd) [![GitHub last commit](https://img.shields.io/github/last-commit/lucasvegi/Elixir-Code-Smells)](https://github.com/lucasvegi/Elixir-Code-Smells/commits/main) [![Twitter URL](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Fgithub.com%2Flucasvegi%2FElixir-Code-Smells)](https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Flucasvegi%2FElixir-Code-Smells&via=lucasvegi&text=Catalog%20of%20Elixir-specific%20code%20smells%3A&hashtags=MyElixirStatus%2CElixirLang) ## Table of Contents * __[Introduction](#introduction)__ * __[Design-related smells](#design-related-smells)__ * [GenServer Envy](#genserver-envy) * [Agent Obsession](#agent-obsession) * [Unsupervised process](#unsupervised-process) * [Large messages](#large-messages) * [Unrelated multi-clause function](#unrelated-multi-clause-function) * [Complex extractions in clauses](#complex-extractions-in-clauses) [^*] * [Using exceptions for control-flow](#using-exceptions-for-control-flow) * [Untested polymorphic behaviors](#untested-polymorphic-behaviors) * [Code organization by process](#code-organization-by-process) * [Large code generation by macros](#large-code-generation-by-macros) [^*] * [Data manipulation by migration](#data-manipulation-by-migration) * [Global configuration for functions](#global-configuration-for-functions) * [Compile-time global configuration](#compile-time-global-configuration) * ["Use" instead of "import"](#use-instead-of-import) * __[Low-level concerns smells](#low-level-concerns-smells)__ * [Working with invalid data](#working-with-invalid-data) * [Complex branching](#complex-branching) * [Complex else clauses in with](#complex-else-clauses-in-with) [^*] * [Alternative return types](#alternative-return-types) [^*] * [Accessing non-existent map/struct fields](#accessing-non-existent-mapstruct-fields) * [Speculative Assumptions](#speculative-assumptions) * [Modules with identical names](#modules-with-identical-names) * [Unnecessary macros](#unnecessary-macros) * [Dynamic atom creation](#dynamic-atom-creation) [^**] * __[Traditional code smells][TraditionalSmells]__ * __[About](#about)__ * __[Acknowledgments](#acknowledgments)__ [^*]: These code smells were suggested by the Elixir community. [^**]: This code smell emerged from a study with mining software repositories (MSR). ## Introduction [Elixir][Elixir] is a functional programming language whose popularity is rising in the industry <sup>[link][ElixirInProduction]</sup>. However, there are few works in the scientific literature focused on studying the internal quality of systems implemented in this language. In order to better understand the types of sub-optimal code structures that can harm the internal quality of Elixir systems, we scoured websites, blogs, forums, and videos (grey literature review), looking for specific code smells for Elixir that are discussed by its developers. As a result of this investigation, we have initially proposed a catalog of 18 new smells that are specific to Elixir systems. After that, 1 new smell emerged from a study with mining software repositories (MSR) performed by us, and other smells are being suggested by the community, so this catalog is constantly being updated __(currently 23 smells)__. These code smells are categorized into two different groups ([design-related](#design-related-smells) and [low-level concerns](#low-level-concerns-smells)), according to the type of impact and code extent they affect. This catalog of Elixir-specific code smells is presented below. Each code smell is documented using the following structure: * __Name:__ Unique identifier of the code smell. This name is important to facilitate communication between developers; * __Category:__ The portion of code affected by smell and its severity; * __Problem:__ How the code smell can harm code quality and what impacts this can have for developers; * __Example:__ Code and textual descriptions to illustrate the occurrence of the code smell; * __Refactoring:__ Ways to change smelly code in order to improve its qualities. Examples of refactored code are presented to illustrate these changes. In addition to the Elixir-specific code smells, our catalog also documents 12 [traditional code smells][TraditionalSmells] discussed in the context of Elixir systems. The objective of this catalog of code smells is to instigate the improvement of the quality of code developed in Elixir. For this reason, we are interested in knowing Elixir's community opinion about these code smells: *Do you agree that these code smells can be harmful? Have you seen any of them in production code? Do you have any suggestions about some Elixir-specific code smell not cataloged by us?...* Please feel free to make pull requests and suggestions ([Issues][Issues] tab). We want to hear from you! [▲ back to Index](#table-of-contents) ## Design-related smells Design-related smells are more complex, affect a coarse-grained code element, and are therefore harder to detect. In this section, 14 different smells classified as design-related are explained and exemplified: ### GenServer Envy * __Category:__ Design-related smell. * __Problem:__ In Elixir, processes can be primitively created by ``Kernel.spawn/1``, ``Kernel.spawn/3``, ``Kernel.spawn_link/1`` and ``Kernel.spawn_link/3`` functions. Although it is possible to create them this way, it is more common to use abstractions (e.g., [``Agent``][Agent], [``Task``][Task], and [``GenServer``][GenServer]) provided by Elixir to create processes. The use of each specific abstraction is not a code smell in itself; however, there can be trouble when either a ``Task`` or ``Agent`` is used beyond its suggested purposes, being treated like a ``GenServer``. * __Example:__ As shown next, ``Agent`` and ``Task`` are abstractions to create processes with specialized purposes. In contrast, ``GenServer`` is a more generic abstraction used to create processes for many different purposes: * ``Agent``: As Elixir works on the principle of immutability, by default no value is shared between multiple places of code, enabling read and write as in a global variable. An ``Agent`` is a simple process abstraction focused on solving this limitation, enabling processes to share state. * ``Task``: This process abstraction is used when we only need to execute some specific action asynchronously, often in an isolated way, without communication with other processes. * ``GenServer``: This is the most generic process abstraction. The main benefit of this abstraction is explicitly segregating the server and the client roles, thus providing a better API for the organization of processes communication. Besides that, a ``GenServer`` can also encapsulate state (like an ``Agent``), provide sync and async calls (like a ``Task``), and more. Examples of this code smell appear when ``Agents`` or ``Tasks`` are used for general purposes and not only for specialized ones such as their documentation suggests. To illustrate some smell occurrences, we will cite two specific situations. 1) When a ``Task`` is used not only to async execute an action, but also to frequently exchange messages with other processes; 2) When an ``Agent``, beside sharing some global value between processes, is also frequently used to execute isolated tasks that are not of interest to other processes. * __Refactoring:__ When an ``Agent`` or ``Task`` goes beyond its suggested use cases and becomes painful, it is better to refactor it into a ``GenServer``. [▲ back to Index](#table-of-contents) ___ ### Agent Obsession * __Category:__ Design-related smell. * __Problem:__ In Elixir, an ``Agent`` is a process abstraction focused on sharing information between processes by means of message passing. It is a simple wrapper around shared information, thus facilitating its read and update from any place in the code. The use of an ``Agent`` to share information is not a code smell in itself; however, when the responsibility for interacting directly with an ``Agent`` is spread across the entire system, this can be problematic. This bad practice can increase the difficulty of code maintenance and make the code more prone to bugs. * __Example:__ The following code seeks to illustrate this smell. The responsibility for interacting directly with the ``Agent`` is spread across four different modules (i.e, ``A``, ``B``, ``C``, and ``D``). ```elixir defmodule A do #... def update(pid) do #... Agent.update(pid, fn _list -> 123 end) #... end end ``` ```elixir defmodule B do #... def update(pid) do #... Agent.update(pid, fn content -> %{a: content} end) #... end end ``` ```elixir defmodule C do #... def update(pid) do #... Agent.update(pid, fn content -> [:atom_value | [content]] end) #... end end ``` ```elixir defmodule D do #... def get(pid) do #... Agent.get(pid, fn content -> content end) #... end end ``` This spreading of responsibility can generate duplicated code and make code maintenance more difficult. Also, due to the lack of control over the format of the shared data, complex composed data can be shared. This freedom to use any format of data is dangerous and can induce developers to introduce bugs. ```elixir # start an agent with initial state of an empty list iex(1)> {:ok, agent} = Agent.start_link fn -> [] end {:ok, #PID<0.135.0>} # many data format (i.e., List, Map, Integer, Atom) are # combined through direct access spread across the entire system iex(2)> A.update(agent) iex(3)> B.update(agent) iex(4)> C.update(agent) # state of shared information iex(5)> D.get(agent) [:atom_value, %{a: 123}] ``` * __Refactoring:__ Instead of spreading direct access to an ``Agent`` over many places in the code, it is better to refactor this code by centralizing the responsibility for interacting with an ``Agent`` in a single module. This refactoring improves the maintainability by removing duplicated code; it also allows you to limit the accepted format for shared data, reducing bug-proneness. As shown below, the module ``KV.Bucket`` is centralizing the responsibility for interacting with the ``Agent``. Any other place in the code that needs to access shared data must now delegate this action to ``KV.Bucket``. Also, ``KV.Bucket`` now only allows data to be shared in ``Map`` format. ```elixir defmodule KV.Bucket do use Agent @doc """ Starts a new bucket. """ def start_link(_opts) do Agent.start_link(fn -> %{} end) end @doc """ Gets a value from the `bucket` by `key`. """ def get(bucket, key) do Agent.get(bucket, &Map.get(&1, key)) end @doc """ Puts the `value` for the given `key` in the `bucket`. """ def put(bucket, key, value) do Agent.update(bucket, &Map.put(&1, key, value)) end end ``` The following are examples of how to delegate access to shared data (provided by an ``Agent``) to ``KV.Bucket``. ```elixir # start an agent through a `KV.Bucket` iex(1)> {:ok, bucket} = KV.Bucket.start_link(%{}) {:ok, #PID<0.114.0>} # add shared values to the keys `milk` and `beer` iex(2)> KV.Bucket.put(bucket, "milk", 3) iex(3)> KV.Bucket.put(bucket, "beer", 7) # accessing shared data of specific keys iex(4)> KV.Bucket.get(bucket, "beer") 7 iex(5)> KV.Bucket.get(bucket, "milk") 3 ``` These examples are based on code written in Elixir's official documentation. Source: [link][AgentObsessionExample] [▲ back to Index](#table-of-contents) ___ ### Unsupervised process * __Category:__ Design-related smell. * __Problem:__ In Elixir, creating a process outside a supervision tree is not a code smell in itself. However, when code creates a large number of long-running processes outside a supervision tree, this can make visibility and monitoring of these processes difficult, preventing developers from fully controlling their applications. * __Example:__ The following code example seeks to illustrate a library responsible for maintaining a numerical ``Counter`` through a ``GenServer`` process outside a supervision tree. Multiple counters can be created simultaneously by a client (one process for each counter), making these unsupervised processes difficult to manage. This can cause problems with the initialization, restart, and shutdown of a system. ```elixir defmodule Counter do use GenServer @moduledoc """ Global counter implemented through a GenServer process outside a supervision tree. """ @doc """ Function to create a counter. initial_value: any integer value. pid_name: optional parameter to define the process name. Default is Counter. """ def start(initial_value, pid_name \\ __MODULE__) when is_integer(initial_value) do GenServer.start(__MODULE__, initial_value, name: pid_name) end @doc """ Function to get the counter's current value. pid_name: optional parameter to inform the process name. Default is Counter. """ def get(pid_name \\ __MODULE__) do GenServer.call(pid_name, :get) end @doc """ Function to changes the counter's current value. Returns the updated value. value: amount to be added to the counter. pid_name: optional parameter to inform the process name. Default is Counter. """ def bump(value, pid_name \\ __MODULE__) do GenServer.call(pid_name, {:bump, value}) get(pid_name) end ## Callbacks @impl true def init(counter) do {:ok, counter} end @impl true def handle_call(:get, _from, counter) do {:reply, counter, counter} end def handle_call({:bump, value}, _from, counter) do {:reply, counter, counter + value} end end #...Use examples... iex(1)> Counter.start(0) {:ok, #PID<0.115.0>} iex(2)> Counter.get() 0 iex(3)> Counter.start(15, C2) {:ok, #PID<0.120.0>} iex(4)> Counter.get(C2) 15 iex(5)> Counter.bump(-3, C2) 12 iex(6)> Counter.bump(7) 7 ``` * __Refactoring:__ To ensure that clients of a library have full control over their systems, regardless of the number of processes used and the lifetime of each one, all processes must be started inside a supervision tree. As shown below, this code uses a ``Supervisor`` <sup>[link][Supervisor]</sup> as a supervision tree. When this Elixir application is started, two different counters (``Counter`` and ``C2``) are also started as child processes of the ``Supervisor`` named ``App.Supervisor``. Both are initialized with zero. By means of this supervision tree, it is possible to manage the lifecycle of all child processes (e.g., stopping or restarting each one), improving the visibility of the entire app. ```elixir defmodule SupervisedProcess.Application do use Application @impl true def start(_type, _args) do children = [ # The counters are Supervisor children started via Counter.start(0). %{ id: Counter, start: {Counter, :start, [0]} }, %{ id: C2, start: {Counter, :start, [0, C2]} } ] opts = [strategy: :one_for_one, name: App.Supervisor] Supervisor.start_link(children, opts) end end #...Use examples... iex(1)> Supervisor.count_children(App.Supervisor) %{active: 2, specs: 2, supervisors: 0, workers: 2} iex(2)> Counter.get(Counter) 0 iex(3)> Counter.get(C2) 0 iex(4)> Counter.bump(7, Counter) 7 iex(5)> Supervisor.terminate_child(App.Supervisor, Counter) iex(6)> Supervisor.count_children(App.Supervisor) %{active: 1, specs: 2, supervisors: 0, workers: 2} #only one active iex(7)> Counter.get(Counter) #Error because it was previously terminated ** (EXIT) no process: the process is not alive... iex(8)> Supervisor.restart_child(App.Supervisor, Counter) iex(9)> Counter.get(Counter) #after the restart, this process can be accessed again 0 ``` These examples are based on codes written in Elixir's official documentation. Source: [link][UnsupervisedProcessExample] [▲ back to Index](#table-of-contents) ___ ### Large messages * __Category:__ Design-related smell. * __Note:__ Formerly known as "Large messages between processes". * __Problem:__ In Elixir, processes run in an isolated manner, often concurrently with other Elixir. Communication between different processes is performed via message passing. The exchange of messages between processes is not a code smell in itself; however, when processes exchange messages, their contents are copied between them. For this reason, if a huge structure is sent as a message from one process to another, the sender can become blocked, compromising performance. If these large message exchanges occur frequently, the prolonged and frequent blocking of processes can cause a system to behave anomalously. * __Example:__ The following code is composed of two modules which will each run in a different process. As the names suggest, the ``Sender`` module has a function responsible for sending messages from one process to another (i.e., ``send_msg/3``). The ``Receiver`` module has a function to create a process to receive messages (i.e., ``create/0``) and another one to handle the received messages (i.e., ``run/0``). If a huge structure, such as a list with 1_000_000 different values, is sent frequently from ``Sender`` to ``Receiver``, the impacts of this smell could be felt. ```elixir defmodule Receiver do @doc """ Function for receiving messages from processes. """ def run do receive do {:msg, msg_received} -> msg_received {_, _} -> "won't match" end end @doc """ Create a process to receive a message. Messages are received in the run() function of Receiver. """ def create do spawn(Receiver, :run, []) end end ``` ```elixir defmodule Sender do @doc """ Function for sending messages between processes. pid_receiver: message recipient. msg: messages of any type and size can be sent. id_msg: used by receiver to decide what to do when a message arrives. Default is the atom :msg """ def send_msg(pid_receiver, msg, id_msg \\ :msg) do send(pid_receiver, {id_msg, msg}) end end ``` Examples of large messages between processes: ```elixir iex(1)> pid = Receiver.create #PID<0.144.0> #Simulating a message with large content - List with length 1_000_000 iex(2)> msg = %{from: inspect(self()), to: inspect(pid), content: Enum.to_list(1..1_000_000)} iex(3)> Sender.send_msg(pid, msg) {:msg, %{ content: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, ...], from: "#PID<0.105.0>", to: "#PID<0.144.0>" }} ``` This example is based on a original code by Samuel Mullen. Source: [link][LargeMessageExample] [▲ back to Index](#table-of-contents) ___ ### Unrelated multi-clause function * __Category:__ Design-related smell. * __Note:__ Formerly known as "Complex multi-clause function". * __Problem:__ Using multi-clause functions in Elixir, to group functions of the same name, is not a code smell in itself. However, due to the great flexibility provided by this programming feature, some developers may abuse the number of guard clauses and pattern matches to group _unrelated_ functionality. * __Example:__ A recurrent example of abusive use of the multi-clause functions is when we’re trying to mix too much-unrelated business logic into the function definitions. This makes it difficult to read and understand the logic involved in the functions, which may impair code maintainability. Some developers use documentation mechanisms such as ``@doc`` annotations to compensate for poor code readability, but unfortunately, with a multi-clause function, we can only use these annotations once per function name, particularly on the first or header function. As shown next, all other variations of the function need to be documented only with comments, a mechanism that cannot automate tests, leaving the code prone to bugs. ```elixir @doc """ Update sharp product with 0 or empty count ## Examples iex> Namespace.Module.update(...) expected result... """ def update(%Product{count: nil, material: material}) when material in ["metal", "glass"] do # ... end # update blunt product def update(%Product{count: count, material: material}) when count > 0 and material in ["metal", "glass"] do # ... end # update animal... def update(%Animal{count: 1, skin: skin}) when skin in ["fur", "hairy"] do # ... end ``` * __Refactoring:__ As shown below, a possible solution to this smell is to break the business rules that are mixed up in a single unrelated multi-clause function in several different simple functions. Each function can have a specific ``@doc``, describing its behavior and parameters received. While this refactoring sounds simple, it can have a lot of impact on the function's current clients, so be careful! ```elixir @doc """ Update sharp product ## Parameter struct: %Product{...} ## Examples iex> Namespace.Module.update_sharp_product(%Product{...}) expected result... """ def update_sharp_product(struct) do # ... end @doc """ Update blunt product ## Parameter struct: %Product{...} ## Examples iex> Namespace.Module.update_blunt_product(%Product{...}) expected result... """ def update_blunt_product(struct) do # ... end @doc """ Update animal ## Parameter struct: %Animal{...} ## Examples iex> Namespace.Module.update_animal(%Animal{...}) expected result... """ def update_animal(struct) do # ... end ``` This example is based on a original code by Syamil MJ ([@syamilmj][syamilmj]). Source: [link][MultiClauseExample] [▲ back to Index](#table-of-contents) ___ ### Complex extractions in clauses * __Category:__ Design-related smell. * __Note:__ This smell was suggested by the community via issues ([#9][Complex-extraction-in-clauses-issue]). * __Problem:__ When we use multi-clause functions, it is possible to extract values in the clauses for further usage and for pattern matching/guard checking. This extraction itself does not represent a code smell, but when you have too many clauses or too many arguments, it becomes hard to know which extracted parts are used for pattern/guards and what is used only inside the function body. This smell is related to [Unrelated multi-clause function](#unrelated-multi-clause-function), but with implications of its own. It impairs the code readability in a different way. * __Example:__ The following code, although simple, tries to illustrate the occurrence of this code smell. The multi-clause function ``drive/1`` is extracting fields of an ``%User{}`` struct for usage in the clause expression (e.g. ``age``) and for usage in the function body (e.g., ``name``). Ideally, a function should not mix pattern matching extractions for usage in its clauses expressions and also in the function body. ```elixir def drive(%User{name: name, age: age}) when age >= 18 do "#{name} can drive" end def drive(%User{name: name, age: age}) when age < 18 do "#{name} cannot drive" end ``` While the example is small and looks like a clear code, try to imagine a situation where ``drive/1`` was more complex, having many more clauses, arguments, and extractions. This is the really smelly code! * __Refactoring:__ As shown below, a possible solution to this smell is to extract only pattern/guard related variables in the signature once you have many arguments or multiple clauses: ```elixir def drive(%User{age: age} = user) when age >= 18 do %User{name: name} = user "#{name} can drive" end def drive(%User{age: age} = user) when age < 18 do %User{name: name} = user "#{name} cannot drive" end ``` This example and the refactoring are proposed by José Valim ([@josevalim][jose-valim]) [▲ back to Index](#table-of-contents) ___ ### Using exceptions for control-flow * __Category:__ Design-related smell. * __Note:__ Formerly known as "Exceptions for control-flow". * __Problem:__ This smell refers to code that forces developers to handle exceptions for control-flow. Exception handling itself does not represent a code smell, but this should not be the only alternative available to developers to handle an error in client code. When developers have no freedom to decide if an error is exceptional or not, this is considered a code smell. * __Example:__ An example of this code smell, as shown below, is when a library (e.g. ``MyModule``) forces its clients to use ``try .. rescue`` statements to capture and evaluate errors. This library does not allow developers to decide if an error is exceptional or not in their applications. ```elixir defmodule MyModule do def janky_function(value) do if is_integer(value) do #... "Result..." else raise RuntimeError, message: "invalid argument. Is not integer!" end end end ``` ```elixir defmodule Client do # Client forced to use exceptions for control-flow. def foo(arg) do try do value = MyModule.janky_function(arg) "All good! #{value}." rescue e in RuntimeError -> reason = e.message "Uh oh! #{reason}." end end end #...Use examples... iex(1)> Client.foo(1) "All good! Result...." iex(2)> Client.foo("lucas") "Uh oh! invalid argument. Is not integer!." ``` * __Refactoring:__ Library authors should guarantee that clients are not required to use exceptions for control-flow in their applications. As shown below, this can be done by refactoring the library ``MyModule``, providing two versions of the function that forces clients to use exceptions for control-flow (e.g., ``janky_function``). 1) a version with the raised exceptions should have the same name as the smelly one, but with a trailing ``!`` (i.e., ``janky_function!``); 2) Another version, without raised exceptions, should have a name identical to the original version (i.e., ``janky_function``), and should return the result wrapped in a tuple. ```elixir defmodule MyModule do @moduledoc """ Refactored library """ @doc """ Refactored version without exceptions for control-flow. """ def janky_function(value) do if is_integer(value) do #... {:ok, "Result..."} else {:error, "invalid argument. Is not integer!"} end end def janky_function!(value) do case janky_function(value) do {:ok, result} -> result {:error, message} -> raise RuntimeError, message: message end end end ``` This refactoring gives clients more freedom to decide how to proceed in the event of errors, defining what is exceptional or not in different situations. As shown next, when an error is not exceptional, clients can use specific control-flow structures, such as the ``case`` statement along with pattern matching. ```elixir defmodule Client do # Clients now can also choose to use control-flow structures # for control-flow when an error is not exceptional. def foo(arg) do case MyModule.janky_function(arg) do {:ok, value} -> "All good! #{value}." {:error, reason} -> "Uh oh! #{reason}." end end end #...Use examples... iex(1)> Client.foo(1) "All good! Result...." iex(2)> Client.foo("lucas") "Uh oh! invalid argument. Is not integer!." ``` This example is based on code written by Tim Austin <sup>[neenjaw][neenjaw]</sup> and Angelika Tyborska <sup>[angelikatyborska][angelikatyborska]</sup>. Source: [link][ExceptionsForControlFlowExamples] [▲ back to Index](#table-of-contents) ___ ### Untested polymorphic behaviors * __Category:__ Design-related smell. * __Problem:__ This code smell refers to functions that have protocol-dependent parameters and are therefore polymorphic. A polymorphic function itself does not represent a code smell, but some developers implement these generic functions without accompanying guard clauses, allowing to pass parameters that do not implement the required protocol or that have no meaning. * __Example:__ An instance of this code smell happens when a function uses ``to_string()`` to convert data received by parameter. The function ``to_string()`` uses the protocol ``String.Chars`` for conversions. Many Elixir data types (e.g., ``BitString``, ``Integer``, ``Float``, ``URI``) implement this protocol. However, as shown below, other Elixir data types (e.g., ``Map``) do not implement it and can cause an error in ``dasherize/1`` function. Depending on the situation, this behavior can be desired or not. Besides that, it may not make sense to dasherize a ``URI`` or a number as shown next. ```elixir defmodule CodeSmells do def dasherize(data) do to_string(data) |> String.replace("_", "-") end end #...Use examples... iex(1)> CodeSmells.dasherize("Lucas_Vegi") "Lucas-Vegi" iex(2)> CodeSmells.dasherize(10) #<= Makes sense? "10" iex(3)> CodeSmells.dasherize(URI.parse("http://www.code_smells.com")) #<= Makes sense? "http://www.code-smells.com" iex(4)> CodeSmells.dasherize(%{last_name: "vegi", first_name: "lucas"}) ** (Protocol.UndefinedError) protocol String.Chars not implemented for %{first_name: "lucas", last_name: "vegi"} of type Map ``` * __Refactoring:__ There are two main alternatives to improve code affected by this smell. __1)__ You can either remove the protocol use (i.e., ``to_string/1``), by adding multi-clauses on ``dasherize/1`` or just remove it; or __2)__ You can document that ``dasherize/1`` uses the protocol ``String.Chars`` for conversions, showing its consequences. As shown next, we refactored using the first alternative, removing the protocol and restricting ``dasherize/1`` parameter only to desired data types (i.e., ``BitString`` and ``Atom``). Besides that, we use ``@doc`` to validate ``dasherize/1`` for desired inputs and to document the behavior to some types that we think don't make sense for the function (e.g., ``Integer`` and ``URI``). ```elixir defmodule CodeSmells do @doc """ Function that converts underscores to dashes. ## Parameter data: only BitString and Atom are supported. ## Examples iex> CodeSmells.dasherize(:lucas_vegi) "lucas-vegi" iex> CodeSmells.dasherize("Lucas_Vegi") "Lucas-Vegi" iex> CodeSmells.dasherize(%{last_name: "vegi", first_name: "lucas"}) ** (FunctionClauseError) no function clause matching in CodeSmells.dasherize/1 iex> CodeSmells.dasherize(URI.parse("http://www.code_smells.com")) ** (FunctionClauseError) no function clause matching in CodeSmells.dasherize/1 iex> CodeSmells.dasherize(10) ** (FunctionClauseError) no function clause matching in CodeSmells.dasherize/1 """ def dasherize(data) when is_atom(data) do dasherize(Atom.to_string(data)) end def dasherize(data) when is_binary(data) do String.replace(data, "_", "-") end end #...Use examples... iex(1)> CodeSmells.dasherize(:lucas_vegi) "lucas-vegi" iex(2)> CodeSmells.dasherize("Lucas_Vegi") "Lucas-Vegi" iex(3)> CodeSmells.dasherize(10) ** (FunctionClauseError) no function clause matching in CodeSmells.dasherize/1 ``` This example is based on code written by José Valim ([@josevalim][jose-valim]). Source: [link][JoseValimExamples] [▲ back to Index](#table-of-contents) ___ ### Code organization by process * __Category:__ Design-related smell. * __Problem:__ This smell refers to code that is unnecessarily organized by processes. A process itself does not represent a code smell, but it should only be used to model runtime properties (e.g., concurrency, access to shared resources, event scheduling). When a process is used for code organization, it can create bottlenecks in the system. * __Example:__ An example of this code smell, as shown below, is a library that implements arithmetic operations (e.g., add, subtract) by means of a ``GenSever`` process<sup>[link][GenServer]</sup>. If the number of calls to this single process grows, this code organization can compromise the system performance, therefore becoming a bottleneck. ```elixir defmodule Calculator do use GenServer @moduledoc """ Calculator that performs two basic arithmetic operations. This code is unnecessarily organized by a GenServer process. """ @doc """ Function to perform the sum of two values. """ def add(a, b, pid) do GenServer.call(pid, {:add, a, b}) end @doc """ Function to perform subtraction of two values. """ def subtract(a, b, pid) do GenServer.call(pid, {:subtract, a, b}) end def init(init_arg) do {:ok, init_arg} end def handle_call({:add, a, b}, _from, state) do {:reply, a + b, state} end def handle_call({:subtract, a, b}, _from, state) do {:reply, a - b, state} end end # Start a generic server process iex(1)> {:ok, pid} = GenServer.start_link(Calculator, :init) {:ok, #PID<0.132.0>} #...Use examples... iex(2)> Calculator.add(1, 5, pid) 6 iex(3)> Calculator.subtract(2, 3, pid) -1 ``` * __Refactoring:__ In Elixir, as shown next, code organization must be done only by modules and functions. Whenever possible, a library should not impose specific behavior (such as parallelization) on its clients. It is better to delegate this behavioral decision to the developers of clients, thus increasing the potential for code reuse of a library. ```elixir defmodule Calculator do def add(a, b) do a + b end def subtract(a, b) do a - b end end #...Use examples... iex(1)> Calculator.add(1, 5) 6 iex(2)> Calculator.subtract(2, 3) -1 ``` This example is based on code provided in Elixir's official documentation. Source: [link][CodeOrganizationByProcessExample] [▲ back to Index](#table-of-contents) ___ ### Large code generation by macros * __Category:__ Design-related smell. * __Note:__ This smell was suggested by the community via issues ([#13][Large-code-generation-issue]). * __Problem:__ This code smell is related to ``macros`` that generate too much code. When a ``macro`` provides a large code generation, it impacts how the compiler or the runtime works. The reason for this is that Elixir may have to expand, compile, and execute a code multiple times, which will make compilation slower. * __Example:__ The code shown below is an example of this smell. Imagine you are defining a router for a web application, where you could have macros like ``get/2``. On every invocation of the macro, which can be hundreds, the code inside ``get/2`` will be expanded and compiled, which can generate a large volume of code in total. ```elixir defmodule Routes do ... defmacro get(route, handler) do quote do route = unquote(route) handler = unquote(handler) if not is_binary(route) do raise ArgumentError, "route must be a binary" end if not is_atom(handler) do raise ArgumentError, "route must be a module" end @store_route_for_compilation {route, handler} end end end ``` * __Refactoring:__ To remove this code smell, the developer must simplify the ``macro``, delegating to other functions part of its work. As shown below, by encapsulating in the function ``__define__/3`` the functionality pre-existing inside the ``quote``, we reduce the code that is expanded and compiled on every invocation of the ``macro``, and instead we dispatch to a function to do the bulk of the work. ```elixir defmodule Routes do ... defmacro get(route, handler) do quote do Routes.__define__(__MODULE__, unquote(route), unquote(handler)) end end def __define__(module, route, handler) do if not is_binary(route) do raise ArgumentError, "route must be a binary" end if not is_atom(handler) do raise ArgumentError, "route must be a module" end Module.put_attribute(module, :store_route_for_compilation, {route, handler}) end end ``` This example and the refactoring are proposed by José Valim ([@josevalim][jose-valim]) [▲ back to Index](#table-of-contents) ___ ### Data manipulation by migration * __Category:__ Design-related smell. * __Problem:__ This code smell refers to modules that perform both data and structural changes in a database schema via ``Ecto.Migration``<sup>[link][Migration]</sup>. Migrations must be used exclusively to modify a database schema over time (e.g., by including or excluding columns and tables). When this responsibility is mixed with data manipulation code, the module becomes less cohesive, more difficult to test, and therefore more prone to bugs. * __Example:__ An example of this code smell is when an ``Ecto.Migration`` is used simultaneously to alter a table, adding a new column to it, and also to update all pre-existing data in that table, assigning a value to this new column. As shown below, in addition to adding the ``is_custom_shop`` column in the ``guitars`` table, this ``Ecto.Migration`` changes the value of this column for some specific guitar models. ```elixir defmodule GuitarStore.Repo.Migrations.AddIsCustomShopToGuitars do use Ecto.Migration import Ecto.Query alias GuitarStore.Inventory.Guitar alias GuitarStore.Repo @doc """ A function that modifies the structure of table "guitars", adding column "is_custom_shop" to it. By default, all data pre-stored in this table will have the value false stored in this new column. Also, this function updates the "is_custom_shop" column value of some guitar models to true. """ def change do alter table("guitars") do add :is_custom_shop, :boolean, default: false end create index("guitars", ["is_custom_shop"]) custom_shop_entries() |> Enum.map(&update_guitars/1) end @doc """ A function that updates values of column "is_custom_shop" to true. """ defp update_guitars({make, model, year}) do from(g in Guitar, where: g.make == ^make and g.model == ^model and g.year == ^year, select: g ) |> Repo.update_all(set: [is_custom_shop: true]) end @doc """ Function that defines which guitar models that need to have the values of the "is_custom_shop" column updated to true. """ defp custom_shop_entries() do [ {"Gibson", "SG", 1999}, {"Fender", "Telecaster", 2020} ] end end ``` You can run this smelly migration above by going to the root of your project and typing the next command via console: ```elixir mix ecto.migrate ``` * __Refactoring:__ To remove this code smell, it is necessary to separate the data manipulation in a ``mix task`` <sup>[link][MixTask]</sup> different from the module that performs the structural changes in the database via ``Ecto.Migration``. This separation of responsibilities is a best practice for increasing code testability. As shown below, the module ``AddIsCustomShopToGuitars`` now use ``Ecto.Migration`` only to perform structural changes in the database schema: ```elixir defmodule GuitarStore.Repo.Migrations.AddIsCustomShopToGuitars do use Ecto.Migration @doc """ A function that modifies the structure of table "guitars", adding column "is_custom_shop" to it. By default, all data pre-stored in this table will have the value false stored in this new column. """ def change do alter table("guitars") do add :is_custom_shop, :boolean, default: false end create index("guitars", ["is_custom_shop"]) end end ``` Furthermore, the new mix task ``PopulateIsCustomShop``, shown next, has only the responsibility to perform data manipulation, thus improving testability: ```elixir defmodule Mix.Tasks.PopulateIsCustomShop do @shortdoc "Populates is_custom_shop column" use Mix.Task import Ecto.Query alias GuitarStore.Inventory.Guitar alias GuitarStore.Repo @requirements ["app.start"] def run(_) do custom_shop_entries() |> Enum.map(&update_guitars/1) end defp update_guitars({make, model, year}) do from(g in Guitar, where: g.make == ^make and g.model == ^model and g.year == ^year, select: g ) |> Repo.update_all(set: [is_custom_shop: true]) end defp custom_shop_entries() do [ {"Gibson", "SG", 1999}, {"Fender", "Telecaster", 2020} ] end end ``` You can run this ``mix task`` above by typing the next command via console: ```elixir mix populate_is_custom_shop ``` This example is based on code originally written by Carlos Souza. Source: [link][DataManipulationByMigrationExamples] [▲ back to Index](#table-of-contents) ___ ### Global configuration for functions * __Category:__ Design-related smells. * __Note:__ Formerly known as "App configuration for code libs". * __Problem:__ The ``Application Environment`` <sup>[link][ApplicationEnvironment]</sup> is a global configuration mechanism and therefore can be used to parameterize values that will be used in several different places in a system implemented in Elixir. This parameterization mechanism can be very useful and therefore is not considered a code smell by itself. However, when ``Application Environments`` are used as a mechanism for configuring a library's functions, this can make these functions less flexible, making it impossible for a library-dependent application to reuse its functions with different behaviors in different places in the code. Libraries are created to foster code reuse, so this kind of limitation imposed by global configurations can be problematic in this scenario. * __Example:__ The ``DashSplitter`` module represents a library that configures the behavior of its functions through the global ``Application Environment`` mechanism. These configurations are concentrated in the ``config/config.exs`` file, shown below: ```elixir import Config config :app_config, parts: 3 import_config "#{config_env()}.exs" ``` One of the functions implemented by the ``DashSplitter`` library is ``split/1``. This function has the purpose of separating a string received via parameter into a certain number of parts. The character used as a separator in ``split/1`` is always ``"-"`` and the number of parts the string is split into is defined globally by the ``Application Environment``. This value is retrieved by the ``split/1`` function by calling ``Application.fetch_env!/2``, as shown next: ```elixir defmodule DashSplitter do def split(string) when is_binary(string) do parts = Application.fetch_env!(:app_config, :parts) # <= retrieve global config String.split(string, "-", parts: parts) # <= parts: 3 end end ``` Due to this type of global configuration used by the ``DashSplitter`` library, all applications dependent on it can only use the ``split/1`` function with identical behavior in relation to the number of parts generated by string separation. Currently, this value is equal to 3, as we can see in the use examples shown below: ```elixir iex(1)> DashSplitter.split("Lucas-Francisco-Vegi") ["Lucas", "Francisco", "Vegi"] iex(2)> DashSplitter.split("Lucas-Francisco-da-Matta-Vegi") ["Lucas", "Francisco", "da-Matta-Vegi"] ``` * __Refactoring:__ To remove this code smell and make the library more adaptable and flexible, this type of configuration must be performed via parameters in function calls. The code shown below performs the refactoring of the ``split/1`` function by adding a new optional parameter of type ``Keyword list``. With this new parameter it is possible to modify the default behavior of the function at the time of its call, allowing multiple different ways of using ``split/2`` within the same application: ```elixir defmodule DashSplitter do def split(string, opts \\ []) when is_binary(string) and is_list(opts) do parts = Keyword.get(opts, :parts, 2) # <= default config of parts == 2 String.split(string, "-", parts: parts) end end #...Use examples... iex(1)> DashSplitter.split("Lucas-Francisco-da-Matta-Vegi", [parts: 5]) ["Lucas", "Francisco", "da", "Matta", "Vegi"] iex(2)> DashSplitter.split("Lucas-Francisco-da-Matta-Vegi") #<= default config is used! ["Lucas", "Francisco-da-Matta-Vegi"] ``` These examples are based on code provided in Elixir's official documentation. Source: [link][AppConfigurationForCodeLibsExample] [▲ back to Index](#table-of-contents) ___ ### Compile-time global configuration * __Category:__ Design-related smells. * __Note:__ Formerly known as "Compile-time app configuration". * __Problem:__ As explained in the description of [Global configuration for functions](#global-configuration-for-functions), the ``Application Environment`` can be used to parameterize values in an Elixir system. Although it is not a good practice to use this mechanism in the implementation of libraries, sometimes this can be unavoidable. If these parameterized values are assigned to ``module attributes``, it can be especially problematic. As ``module attribute`` values are defined at compile-time, when trying to assign ``Application Environment`` values to these attributes, warnings or errors can be triggered by Elixir. This happens because, when defining module attributes at compile time, the ``Application Environment`` is not yet available in memory. * __Example:__ The ``DashSplitter`` module represents a library. This module has an attribute ``@parts`` that has its constant value defined at compile-time by calling ``Application.fetch_env!/2``. The ``split/1`` function, implemented by this library, has the purpose of separating a string received via parameter into a certain number of parts. The character used as a separator in ``split/1`` is always ``"-"`` and the number of parts the string is split into is defined by the module attribute ``@parts``, as shown next: ```elixir defmodule DashSplitter do @parts Application.fetch_env!(:app_config, :parts) # <= define module attribute # at compile-time def split(string) when is_binary(string) do String.split(string, "-", parts: @parts) #<= reading from a module attribute end end ``` Due to this compile-time configuration based on the ``Application Environment`` mechanism, Elixir can raise warnings or errors, as shown next, during compilation: ```elixir warning: Application.fetch_env!/2 is discouraged in the module body, use Application.compile_env/3 instead... ** (ArgumentError) could not fetch application environment :parts for application :app_config because the application was not loaded nor configured ``` * __Refactoring:__ To remove this code smell, when it is really unavoidable to use the ``Application Environment`` mechanism to configure library functions, this should be done at runtime and not during compilation. That is, instead of calling ``Application.fetch_env!(:app_config, :parts)`` at compile-time to set ``@parts``, this function must be called at runtime within ``split/1``. This will mitigate the risk that ``Application Environment`` is not yet available in memory when it is necessary to use it. Another possible refactoring, as shown below, is to replace the use of the ``Application.fetch_env!/2`` function to define ``@parts``, with the ``Application.compile_env/3``. The third parameter of ``Application.compile_env/3`` defines a default value that is returned whenever that ``Application Environment`` is not available in memory during the definition of ``@parts``. This prevents Elixir from raising an error at compile-time: ```elixir defmodule DashSplitter do @parts Application.compile_env(:app_config, :parts, 3) # <= default value 3 prevents an error! def split(string) when is_binary(string) do String.split(string, "-", parts: @parts) #<= reading from a module attribute end end ``` These examples are based on code provided in Elixir's official documentation. Source: [link][AppConfigurationForCodeLibsExample] * __Remark:__ This code smell can be detected by [Credo][Credo], a static code analysis tool. During its checks, Credo raises this [warning][CredoWarningApplicationConfigInModuleAttribute] when this smell is found. [▲ back to Index](#table-of-contents) ___ ### "Use" instead of "import" * __Category:__ Design-related smells. * __Note:__ Formerly known as "Dependency with "use" when an "import" is enough". * __Problem:__ Elixir has mechanisms such as ``import``, ``alias``, and ``use`` to establish dependencies between modules. Establishing dependencies allows a module to call functions from other modules, facilitating code reuse. A code implemented with these mechanisms does not characterize a smell by itself; however, while the ``import`` and ``alias`` directives have lexical scope and only facilitate that a module to use functions of another, the ``use`` directive has a broader scope, something that can be problematic. The ``use`` directive allows a module to inject any type of code into another, including propagating dependencies. In this way, using the ``use`` directive makes code readability worse, because to understand exactly what will happen when it references a module, it is necessary to have knowledge of the internal details of the referenced module. * __Example:__ The code shown below is an example of this smell. Three different modules were defined -- ``ModuleA``, ``Library``, and ``ClientApp``. ``ClientApp`` is reusing code from the ``Library`` via the ``use`` directive, but is unaware of its internal details. Therefore, when ``Library`` is referenced by ``ClientApp``, it injects into ``ClientApp`` all the content present in its ``__using__/1`` macro. Due to the decreased readability of the code and the lack of knowledge of the internal details of the ``Library``, ``ClientApp`` defines a local function ``foo/0``. This will generate a conflict as ``ModuleA`` also has a function ``foo/0``; when ``ClientApp`` referenced ``Library`` via the ``use`` directive, it has a dependency for ``ModuleA`` propagated to itself: ```elixir defmodule ModuleA do def foo do "From Module A" end end ``` ```elixir defmodule Library do defmacro __using__(_opts) do quote do import ModuleA # <= propagating dependencies! def from_lib do "From Library" end end end def from_lib do "From Library" end end ``` ```elixir defmodule ClientApp do use Library def foo do "Local function from client app" end def from_client_app do from_lib() <> " - " <> foo() end end ``` When we try to compile ``ClientApp``, Elixir will detect the conflict and throw the following error: ```elixir iex(1)> c("client_app.ex") ** (CompileError) client_app.ex:4: imported ModuleA.foo/0 conflicts with local function ``` * __Refactoring:__ To remove this code smell, it may be possible to replace ``use`` with ``alias`` or ``import`` when creating a dependency between an application and a library. This will make code behavior clearer, due to improved readability. In the following code, ``ClientApp`` was refactored in this way, and with that, the conflict as previously shown no longer exists: ```elixir defmodule ClientApp do import Library def foo do "Local function from client app" end def from_client_app do from_lib() <> " - " <> foo() end end #...Uses example... iex(1)> ClientApp.from_client_app() "From Library - Local function from client app" ``` These examples are based on code provided in Elixir's official documentation. Source: [link][DependencyWithUseExample] [▲ back to Index](#table-of-contents) ## Low-level concerns smells Low-level concerns smells are more simple than design-related smells and affect a small part of the code. Next, all 9 different smells classified as low-level concerns are explained and exemplified: ### Working with invalid data * __Category:__ Low-level concerns smells. * __Problem:__ This code smell refers to a function that does not validate its parameters' types and therefore can produce internal non-predicted behavior. When an error is raised inside a function due to an invalid parameter value, this can confuse the developers and make it harder to locate and fix the error. * __Example:__ An example of this code smell is when a function receives an invalid parameter and then passes it to a function from a third-party library. This will cause an error (raised deep inside the library function), which may be confusing for the developer who is working with invalid data. As shown next, the function ``foo/1`` is a client of a third-party library and doesn't validate its parameters at the boundary. In this way, it is possible that invalid data will be passed from ``foo/1`` to the library, causing a mysterious error. ```elixir defmodule MyApp do alias ThirdPartyLibrary, as: Library def foo(invalid_data) do #...some code... Library.sum(1, invalid_data) #...some code... end end #...Use examples... # with valid data is ok iex(1)> MyApp.foo(2) 3 #with invalid data cause a confusing error deep inside iex(2)> MyApp.foo("Lucas") ** (ArithmeticError) bad argument in arithmetic expression: 1 + "Lucas" :erlang.+(1, "Lucas") library.ex:3: ThirdPartyLibrary.sum/2 ``` * __Refactoring:__ To remove this code smell, client code must validate input parameters at the boundary with the user, via guard clauses or pattern matching. This will prevent errors from occurring deeply, making them easier to understand. This refactoring will also allow libraries to be implemented without worrying about creating internal protection mechanisms. The next code illustrates the refactoring of ``foo/1``, removing this smell: ```elixir defmodule MyApp do alias ThirdPartyLibrary, as: Library def foo(data) when is_integer(data) do #...some code... Library.sum(1, data) #...some code... end end #...Use examples... #with valid data is ok iex(1)> MyApp.foo(2) 3 # with invalid data errors are easy to locate and fix iex(2)> MyApp.foo("Lucas") ** (FunctionClauseError) no function clause matching in MyApp.foo/1 The following arguments were given to MyApp.foo/1: # 1 "Lucas" my_app.ex:6: MyApp.foo/1 ``` This example is based on code provided in Elixir's official documentation. Source: [link][WorkingWithInvalidDataExample] [▲ back to Index](#table-of-contents) ___ ### Complex branching * __Category:__ Low-level concerns smell. * __Note:__ Formerly known as "Complex API error handling". * __Problem:__ When a function assumes the responsibility of handling multiple errors alone, it can increase its cyclomatic complexity (metric of control-flow) and become incomprehensible. This situation can configure a specific instance of "Long function", a traditional code smell, but has implications of its own. Under these circumstances, this function could get very confusing, difficult to maintain and test, and therefore bug-proneness. * __Example:__ An example of this code smell is when a function uses the ``case`` control-flow structure or other similar constructs (e.g., ``cond``, or ``receive``) to handle multiple variations of response types returned by the same API endpoint. This practice can make the function more complex, long, and difficult to understand, as shown next. ```elixir def get_customer(customer_id) do case get("/customers/#{customer_id}") do {:ok, %Tesla.Env{status: 200, body: body}} -> {:ok, body} {:ok, %Tesla.Env{body: body}} -> {:error, body} {:error, _} = other -> other end end ``` Although ``get_customer/1`` is not really long in this example, it could be. Thinking about this more complex scenario, where a large number of different responses can be provided to the same endpoint, is not a good idea to concentrate all on a single function. This is a risky scenario, where a little typo, or any problem introduced by the programmer in handling a response type, could eventually compromise the handling of all responses from the endpoint (if the function raises an exception, for example). * __Refactoring:__ As shown below, in this situation, instead of concentrating all handlings within the same function, creating a complex branching, it is better to delegate each branch (handling of a response type) to a different private function. In this way, the code will be cleaner, more concise, and readable. ```elixir def get_customer(customer_id) when is_integer(customer_id) do case get("/customers/#{customer_id}") do {:ok, %Tesla.Env{status: 200, body: body}} -> success_api_response(body) {:ok, %Tesla.Env{body: body}} -> x_error_api_response(body) {:error, _} = other -> y_error_api_response(other) end end defp success_api_response(body) do {:ok, body} end defp x_error_api_response(body) do {:error, body} end defp y_error_api_response(other) do other end ``` While this example of refactoring ``get_customer/1`` might seem quite more verbose than the original code, remember to imagine a scenario where ``get_customer/1`` is responsible for handling a number much larger than three different types of possible responses. This is the smelly scenario! This example is based on code written by Zack <sup>[MrDoops][MrDoops]</sup> and Dimitar Panayotov <sup>[dimitarvp][dimitarvp]</sup>. Source: [link][ComplexErrorHandleExample]. We got suggestions from José Valim ([@josevalim][jose-valim]) on the refactoring. [▲ back to Index](#table-of-contents) ___ ### Complex else clauses in with * __Category:__ Low-level concerns smell. * __Note:__ This smell was suggested by the community via issues ([#7][Complex-else-clauses-in-with-issue]). * __Problem:__ This code smell refers to ``with`` statements that flatten all its error clauses into a single complex ``else`` block. This situation is harmful to the code readability and maintainability because difficult to know from which clause the error value came. * __Example:__ An example of this code smell, as shown below, is a function ``open_decoded_file/1`` that read a base 64 encoded string content from a file and returns a decoded binary string. This function uses a ``with`` statement that needs to handle two possible errors, all of which are concentrated in a single complex ``else`` block. ```elixir def open_decoded_file(path) do with {:ok, encoded} <- File.read(path), {:ok, value} <- Base.decode64(encoded) do value else {:error, _} -> :badfile :error -> :badencoding end end ``` * __Refactoring:__ As shown below, in this situation, instead of concentrating all error handlings within a single complex ``else`` block, it is better to normalize the return types in specific private functions. In this way, due to its organization, the code will be cleaner and more readable. ```elixir def open_decoded_file(path) do with {:ok, encoded} <- file_read(path), {:ok, value} <- base_decode64(encoded) do value end end defp file_read(path) do case File.read(path) do {:ok, contents} -> {:ok, contents} {:error, _} -> :badfile end end defp base_decode64(contents) do case Base.decode64(contents) do {:ok, contents} -> {:ok, contents} :error -> :badencoding end end ``` This example and the refactoring are proposed by José Valim ([@josevalim][jose-valim]) [▲ back to Index](#table-of-contents) ___ ### Alternative return types * __Category:__ Low-level concerns smell. * __Note:__ This smell was suggested by the community via issues ([#6][Alternative-return-type-issue]). * __Problem:__ This code smell refers to functions that receive options (e.g., ``keyword list``) parameters that drastically change its return type. Because options are optional and sometimes set dynamically, if they change the return type it may be hard to understand what the function actually returns. * __Example:__ An example of this code smell, as shown below, is when a library (e.g. ``AlternativeInteger``) has a multi-clause function ``parse/2`` with many alternative return types. Depending on the options received as a parameter, the function will have a different return type. ```elixir defmodule AlternativeInteger do def parse(string, opts) when is_list(opts) do case opts[:discard_rest] do true -> #only an integer value convert from string parameter _ -> #another return type (e.g., tuple) end end def parse(string, opts \\ :default) do #another return type (e.g., tuple) end end #...Use examples... iex(1)> AlternativeInteger.parse("13") {13, "..."} iex(2)> AlternativeInteger.parse("13", discard_rest: true) 13 iex(3)> AlternativeInteger.parse("13", discard_rest: false) {13, "..."} ``` * __Refactoring:__ To refactor this smell, as shown next, it's better to add in the library a specific function for each return type (e.g., ``parse_no_rest/1``), no longer delegating this to an options parameter. ```elixir defmodule AlternativeInteger do def parse_no_rest(string) do #only an integer value convert from string parameter end def parse(string) do #another return type (e.g., tuple) end end #...Use examples... iex(1)> AlternativeInteger.parse("13") {13, "..."} iex(2)> AlternativeInteger.parse_no_rest("13") 13 ``` This example and the refactoring are proposed by José Valim ([@josevalim][jose-valim]) [▲ back to Index](#table-of-contents) ___ ### Accessing non-existent Map/Struct fields * __Category:__ Low-level concerns smells. * __Note:__ Formerly known as "Map/struct dynamic access". * __Problem:__ In Elixir, it is possible to access values from ``Maps``, which are key-value data structures, either strictly or dynamically. When trying to dynamically access the value of a key from a ``Map``, if the informed key does not exist, a null value (``nil``) will be returned. This return can be confusing and does not allow developers to conclude whether the key is non-existent in the ``Map`` or just has no bound value. In this way, this code smell may cause bugs in the code. * __Example:__ The code shown below is an example of this smell. The function ``plot/1`` tries to draw a graphic to represent the position of a point in a cartesian plane. This function receives a parameter of ``Map`` type with the point attributes, which can be a point of a 2D or 3D cartesian coordinate system. To decide if a point is 2D or 3D, this function uses dynamic access to retrieve values of the ``Map`` keys: ```elixir defmodule Graphics do def plot(point) do #...some code... # Dynamic access to use point values {point[:x], point[:y], point[:z]} #...some code... end end #...Use examples... iex(1)> point_2d = %{x: 2, y: 3} %{x: 2, y: 3} iex(2)> point_3d = %{x: 5, y: 6, z: nil} %{x: 5, y: 6, z: nil} iex(3)> Graphics.plot(point_2d) {2, 3, nil} # <= ambiguous return iex(4)> Graphics.plot(point_3d) {5, 6, nil} ``` As can be seen in the example above, even when the key ``:z`` does not exist in the ``Map`` (``point_2d``), dynamic access returns the value ``nil``. This return can be dangerous because of its ambiguity. It is not possible to conclude from it whether the ``Map`` has the key ``:z`` or not. If the function relies on the return value to make decisions about how to plot a point, this can be problematic and even cause errors when testing the code. * __Refactoring:__ To remove this code smell, whenever a ``Map`` has keys of ``Atom`` type, replace the dynamic access to its values per strict access. When a non-existent key is strictly accessed, Elixir raises an error immediately, allowing developers to find bugs faster. The next code illustrates the refactoring of ``plot/1``, removing this smell: ```elixir defmodule Graphics do def plot(point) do #...some code... # Strict access to use point values {point.x, point.y, point.z} #...some code... end end #...Use examples... iex(1)> point_2d = %{x: 2, y: 3} %{x: 2, y: 3} iex(2)> point_3d = %{x: 5, y: 6, z: nil} %{x: 5, y: 6, z: nil} iex(3)> Graphics.plot(point_2d) ** (KeyError) key :z not found in: %{x: 2, y: 3} # <= explicitly warns that graphic.ex:6: Graphics.plot/1 # <= the z key does not exist! iex(4)> Graphics.plot(point_3d) {5, 6, nil} ``` As shown below, another alternative to refactor this smell is to replace a ``Map`` with a ``struct`` (named map). By default, structs only support strict access to values. In this way, accesses will always return clear and objective results: ```elixir defmodule Point do @enforce_keys [:x, :y] defstruct [x: nil, y: nil] end #...Use examples... iex(1)> point = %Point{x: 2, y: 3} %Point{x: 2, y: 3} iex(2)> point.x # <= strict access to use point values 2 iex(3)> point.z # <= trying to access a non-existent key ** (KeyError) key :z not found in: %Point{x: 2, y: 3} iex(4)> point[:x] # <= by default, struct does not support dynamic access ** (UndefinedFunctionError) ... (Point does not implement the Access behaviour) ``` These examples are based on code written by José Valim ([@josevalim][jose-valim]). Source: [link][JoseValimExamples] [▲ back to Index](#table-of-contents) ___ ### Speculative Assumptions * __Category:__ Low-level concerns smells. * __Note:__ Formerly known as "Unplanned value extraction". * __Problem:__ Overall, Elixir application’s are composed of many supervised processes, so the effects of an error will be localized in a single process, not propagating to the entire application. A supervisor will detect the failing process, and restart it at that level. For this type of design to behave well, it's important that problematic code crashes when it fails to fulfill its purpose. However, some code may have undesired behavior making many assumptions we have not really planned for, such as being able to return incorrect values instead of forcing a crash. These speculative assumptions can give a false impression that the code is working correctly. * __Example:__ The code shown below is an example of this smell. The function ``get_value/2`` tries to extract a value from a specific key of a URL query string. As it is not implemented using pattern matching, ``get_value/2`` always returns a value, regardless of the format of the URL query string passed as a parameter in the call. Sometimes the returned value will be valid; however, if a URL query string with an unexpected format is used in the call, ``get_value/2`` will extract incorrect values from it: ```elixir defmodule Extract do @doc """ Extract value from a key in a URL query string. """ def get_value(string, desired_key) do parts = String.split(string, "&") Enum.find_value(parts, fn pair -> key_value = String.split(pair, "=") Enum.at(key_value, 0) == desired_key && Enum.at(key_value, 1) end) end end #...Use examples... # URL query string according to with the planned format - OK! iex(1)> Extract.get_value("name=Lucas&university=UFMG&lab=ASERG", "lab") "ASERG" iex(2)> Extract.get_value("name=Lucas&university=UFMG&lab=ASERG", "university") "UFMG" # Unplanned URL query string format - Unplanned value extraction! iex(3)> Extract.get_value("name=Lucas&university=institution=UFMG&lab=ASERG", "university") "institution" # <= why not "institution=UFMG"? or only "UFMG"? ``` * __Refactoring:__ To remove this code smell, ``get_value/2`` can be refactored through the use of pattern matching. So, if an unexpected URL query string format is used, the function will be crash instead of returning an invalid value. This behavior, shown below, will allow clients to decide how to handle these errors and will not give a false impression that the code is working correctly when unexpected values are extracted: ```elixir defmodule Extract do @doc """ Extract value from a key in a URL query string. Refactored by using pattern matching. """ def get_value(string, desired_key) do parts = String.split(string, "&") Enum.find_value(parts, fn pair -> [key, value] = String.split(pair, "=") # <= pattern matching key == desired_key && value end) end end #...Use examples... # URL query string according to with the planned format - OK! iex(1)> Extract.get_value("name=Lucas&university=UFMG&lab=ASERG", "name") "Lucas" # Unplanned URL query string format - Crash explaining the problem to the client! iex(2)> Extract.get_value("name=Lucas&university=institution=UFMG&lab=ASERG", "university") ** (MatchError) no match of right hand side value: ["university", "institution", "UFMG"] extract.ex:7: anonymous fn/2 in Extract.get_value/2 # <= left hand: [key, value] pair iex(3)> Extract.get_value("name=Lucas&university&lab=ASERG", "university") ** (MatchError) no match of right hand side value: ["university"] extract.ex:7: anonymous fn/2 in Extract.get_value/2 # <= left hand: [key, value] pair ``` These examples are based on code written by José Valim ([@josevalim][jose-valim]). Source: [link][JoseValimExamples] [▲ back to Index](#table-of-contents) ___ ### Modules with identical names * __Category:__ Low-level concerns smells. * __Problem:__ This code smell is related to possible module name conflicts that can occur when a library is implemented. Due to a limitation of the Erlang VM (BEAM), also used by Elixir, only one instance of a module can be loaded at a time. If there are name conflicts between more than one module, they will be considered the same by BEAM and only one of them will be loaded. This can cause unwanted code behavior. * __Example:__ The code shown below is an example of this smell. Two different modules were defined with identical names (``Foo``). When BEAM tries to load both simultaneously, only the module defined in the file (``module_two.ex``) stay loaded, redefining the current version of ``Foo`` (``module_one.ex``) in memory. That makes it impossible to call ``from_module_one/0``, for example: ```elixir defmodule Foo do @moduledoc """ Defined in `module_one.ex` file. """ def from_module_one do "Function from module one!" end end ``` ```elixir defmodule Foo do @moduledoc """ Defined in `module_two.ex` file. """ def from_module_two do "Function from module two!" end end ``` When BEAM tries to load both simultaneously, the name conflict causes only one of them to stay loaded: ```elixir iex(1)> c("module_one.ex") [Foo] iex(2)> c("module_two.ex") warning: redefining module Foo (current version defined in memory) module_two.ex:1 [Foo] iex(3)> Foo.from_module_two() "Function from module two!" iex(4)> Foo.from_module_one() # <= impossible to call due to name conflict ** (UndefinedFunctionError) function Foo.from_module_one/0 is undefined... ``` * __Refactoring:__ To remove this code smell, a library must standardize the naming of its modules, always using its own name as a prefix (namespace) for all its module's names (e.g., ``LibraryName.ModuleName``). When a module file is within subdirectories of a library, the names of the subdirectories must also be used in the module naming (e.g., ``LibraryName.SubdirectoryName.ModuleName``). In the refactored code shown below, this module naming pattern was used. For this, the ``Foo`` module, defined in the file ``module_two.ex``, was also moved to the ``utils`` subdirectory. This refactoring, in addition to eliminating the internal conflict of names within the library, will prevent the occurrence of name conflicts with client code: ```elixir defmodule MyLibrary.Foo do @moduledoc """ Defined in `module_one.ex` file. Name refactored! """ def from_module_one do "Function from module one!" end end ``` ```elixir defmodule MyLibrary.Utils.Foo do @moduledoc """ Defined in `module_two.ex` file. Name refactored! """ def from_module_two do "Function from module two!" end end ``` When BEAM tries to load them simultaneously, both will stay loaded successfully: ```elixir iex(1)> c("module_one.ex") [MyLibrary.Foo] iex(2)> c("module_two.ex") [MyLibrary.Utils.Foo] iex(3)> MyLibrary.Foo.from_module_one() "Function from module one!" iex(4)> MyLibrary.Utils.Foo.from_module_two() "Function from module two!" ``` This example is based on the description provided in Elixir's official documentation. Source: [link][ModulesWithIdenticalNamesExample] [▲ back to Index](#table-of-contents) ___ ### Unnecessary macros * __Category:__ Low-level concerns smells. * __Problem:__ ``Macros`` are powerful meta-programming mechanisms that can be used in Elixir to extend the language. While implementing ``macros`` is not a code smell in itself, this meta-programming mechanism should only be used when absolutely necessary. Whenever a macro is implemented, and it was possible to solve the same problem using functions or other pre-existing Elixir structures, the code becomes unnecessarily more complex and less readable. Because ``macros`` are more difficult to implement and understand, their indiscriminate use can compromise the evolution of a system, reducing its maintainability. * __Example:__ The code shown below is an example of this smell. The ``MyMacro`` module implements the ``sum/2`` macro to perform the sum of two numbers received as parameters. While this code has no syntax errors and can be executed correctly to get the desired result, it is unnecessarily more complex. By implementing this functionality as a macro rather than a conventional function, the code became less clear and less objective: ```elixir defmodule MyMacro do defmacro sum(v1, v2) do quote do unquote(v1) + unquote(v2) end end end #...Use examples... iex(1)> require MyMacro MyMacro iex(2)> MyMacro.sum(3, 5) 8 iex(3)> MyMacro.sum(3+1, 5+6) 15 ``` * __Refactoring:__ To remove this code smell, the developer must replace the unnecessary macro with structures that are simpler to write and understand, such as named functions. The code shown below is the result of the refactoring of the previous example. Basically, the ``sum/2`` macro has been transformed into a conventional named function: ```elixir defmodule MyMacro do def sum(v1, v2) do # <= macro became a named function! v1 + v2 end end #...Use examples... iex(1)> require MyMacro MyMacro iex(2)> MyMacro.sum(3, 5) 8 iex(3)> MyMacro.sum(3+1, 5+6) 15 ``` This example is based on the description provided in Elixir's official documentation. Source: [link][UnnecessaryMacroExample] [▲ back to Index](#table-of-contents) ___ ### Dynamic atom creation * __Category:__ Low-level concerns smells. * __Note:__ This smell emerged from a study with mining software repositories (MSR). * __Problem:__ An ``atom`` is a basic data type of Elixir whose value is its own name. They are often useful to identify resources or to express the state of an operation. The creation of an ``atom`` do not characterize a smell by itself; however, ``atoms`` are not collected by Elixir's Garbage Collector, so values of this type live in memory while an application is executing, during its entire lifetime. Also, BEAM limit the number of ``atoms`` that can exist in an application (``1_048_576``) and each ``atom`` has a maximum size limited to 255 Unicode code points. For these reasons, the dynamic atom creation is considered a code smell, since in this way the developer has no control over how many ``atoms`` will be created during the execution of the application. This unpredictable scenario can expose an app to unexpected behavior caused by excessive memory usage, or even by reaching the maximum number of ``atoms`` possible. * __Example:__ The code shown below is an example of this smell. Imagine that you are implementing a code that performs the conversion of ``string`` values into ``atoms`` to identify resources. These ``strings`` can come from user input or even have been received as response from requests to an API. As this is a dynamic and unpredictable scenario, it is possible for identical ``strings`` to be converted into new ``atoms`` that are repeated unnecessarily. This kind of conversion, in addition to wasting memory, can be problematic for an application if it happens too often. ```elixir defmodule Identifier do ... def generate(id) when is_bitstring(id) do String.to_atom(id) #<= dynamic atom creation!! end end #...Use examples... iex(1)> string_from_user_input = "my_id" "my_id" iex(2)> string_from_API_response = "my_id" "my_id" iex(3)> Identifier.generate(string_from_user_input) :my_id iex(4)> Identifier.generate(string_from_API_response) :my_id #<= atom repeated was created! ``` When we use the ``String.to_atom/1`` function to dynamically create an ``atom``, it is created regardless of whether there is already another one with the same value in memory, so when this happens automatically, we will not have control over meeting the limits established by BEAM. * __Refactoring:__ To remove this smell, as shown below, first you must ensure that all the identifier ``atoms`` are created statically, only once, at the beginning of an application's execution: ```elixir # statically created atoms... _ = :my_id _ = :my_id2 _ = :my_id3 _ = :my_id4 ``` Next, you should replace the use of the ``String.to_atom/1`` function with the ``String.to_existing_atom/1`` function. This will allow string-to-atom conversions to just map the strings to atoms already in memory (statically created at the beginning of the execution), thus preventing repeated ``atoms`` from being created dynamically. This second part of the refactoring is presented below. ```elixir defmodule Identifier do ... def generate(id) when is_bitstring(id) do String.to_existing_atom(id) #<= just maps a string to an existing atom! end end #...Use examples... iex(1)> Identifier.generate("my_id") :my_id iex(2)> Identifier.generate("my_id2") :my_id2 iex(3)> Identifier.generate("non_existent_id") ** (ArgumentError) errors were found at the given arguments: * 1st argument: not an already existing atom ``` Note that in the third use example, when a ``string`` different from an already existing ``atom`` is given, Elixir shows an error instead of performing the conversion. This demonstrates that this refactoring creates a more controlled and predictable scenario for the application in terms of memory usage. This example and the refactoring are based on the Elixir's official documentation. Sources: [1][to_atom], [2][to_existing_atom] [▲ back to Index](#table-of-contents) ## About This catalog was proposed by Lucas Vegi and Marco Tulio Valente, from [ASERG/DCC/UFMG][ASERG]. For more info see the following paper: * [Code Smells in Elixir: Early Results from a Grey Literature Review][preprint-copy], International Conference on Program Comprehension (ICPC), 2022. [[slides]][ICPC22-PDF] [[video]][ICPC22-YouTube] [[podcast (pt-BR) - English subtitles available]][Podcast-Spotify] Please feel free to make pull requests and suggestions ([Issues][Issues] tab). [▲ back to Index](#table-of-contents) ## Acknowledgments We are supported by __[Finbits][Finbits]__<sup>TM</sup>, a Brazilian Elixir-based fintech: <div align="center"> <a href="https://www.finbits.com.br/" alt="Click to learn more about Finbits!" title="Click to learn more about Finbits!"><img width="20%" src="https://github.com/lucasvegi/Elixir-Code-Smells/blob/main/etc/finbits.png?raw=true"></a> <br><br> </div> Our research is also part of the initiative called __[Research with Elixir][ResearchWithElixir]__ (in portuguese). [▲ back to Index](#table-of-contents) <!-- Links --> [Elixir Smells]: https://github.com/lucasvegi/Elixir-Code-Smells [Elixir]: http://elixir-lang.org [ASERG]: http://aserg.labsoft.dcc.ufmg.br/ [MultiClauseExample]: https://syamilmj.com/2021-09-01-elixir-multi-clause-anti-pattern/ [ComplexErrorHandleExample]: https://elixirforum.com/t/what-are-sort-of-smells-do-you-tend-to-find-in-elixir-code/14971 [JoseValimExamples]: http://blog.plataformatec.com.br/2014/09/writing-assertive-code-with-elixir/ [dimitarvp]: https://elixirforum.com/u/dimitarvp [MrDoops]: https://elixirforum.com/u/MrDoops [neenjaw]: https://exercism.org/profiles/neenjaw [angelikatyborska]: https://exercism.org/profiles/angelikatyborska [ExceptionsForControlFlowExamples]: https://exercism.org/tracks/elixir/concepts/try-rescue [DataManipulationByMigrationExamples]: https://www.idopterlabs.com.br/post/criando-uma-mix-task-em-elixir [Migration]: https://hexdocs.pm/ecto_sql/Ecto.Migration.html [MixTask]: https://hexdocs.pm/mix/Mix.html#module-mix-task [CodeOrganizationByProcessExample]: https://hexdocs.pm/elixir/master/library-guidelines.html#avoid-using-processes-for-code-organization [GenServer]: https://hexdocs.pm/elixir/master/GenServer.html [UnsupervisedProcessExample]: https://hexdocs.pm/elixir/master/library-guidelines.html#avoid-spawning-unsupervised-processes [Supervisor]: https://hexdocs.pm/elixir/master/Supervisor.html [Discussions]: https://github.com/lucasvegi/Elixir-Code-Smells/discussions [Issues]: https://github.com/lucasvegi/Elixir-Code-Smells/issues [LargeMessageExample]: https://samuelmullen.com/articles/elixir-processes-send-and-receive/ [Agent]: https://hexdocs.pm/elixir/1.13/Agent.html [Task]: https://hexdocs.pm/elixir/1.13/Task.html [GenServer]: https://hexdocs.pm/elixir/1.13/GenServer.html [AgentObsessionExample]: https://elixir-lang.org/getting-started/mix-otp/agent.html#agents [ElixirInProduction]: https://elixir-companies.com/ [WorkingWithInvalidDataExample]: https://hexdocs.pm/elixir/master/library-guidelines.html#avoid-working-with-invalid-data [ModulesWithIdenticalNamesExample]: https://hexdocs.pm/elixir/master/library-guidelines.html#avoid-defining-modules-that-are-not-in-your-namespace [UnnecessaryMacroExample]: https://hexdocs.pm/elixir/master/library-guidelines.html#avoid-macros [ApplicationEnvironment]: https://hexdocs.pm/elixir/1.13/Config.html [AppConfigurationForCodeLibsExample]: https://hexdocs.pm/elixir/master/library-guidelines.html#avoid-application-configuration [CredoWarningApplicationConfigInModuleAttribute]: https://hexdocs.pm/credo/Credo.Check.Warning.ApplicationConfigInModuleAttribute.html [Credo]: https://hexdocs.pm/credo/overview.html [DependencyWithUseExample]: https://hexdocs.pm/elixir/master/library-guidelines.html#avoid-use-when-an-import-is-enough [ICPC-ERA]: https://conf.researchr.org/track/icpc-2022/icpc-2022-era [preprint-copy]: https://doi.org/10.48550/arXiv.2203.08877 [jose-valim]: https://github.com/josevalim [syamilmj]: https://github.com/syamilmj [Complex-extraction-in-clauses-issue]: https://github.com/lucasvegi/Elixir-Code-Smells/issues/9 [Alternative-return-type-issue]: https://github.com/lucasvegi/Elixir-Code-Smells/issues/6 [Complex-else-clauses-in-with-issue]: https://github.com/lucasvegi/Elixir-Code-Smells/issues/7 [Large-code-generation-issue]: https://github.com/lucasvegi/Elixir-Code-Smells/issues/13 [ICPC22-PDF]: https://github.com/lucasvegi/Elixir-Code-Smells/blob/main/etc/Code-Smells-in-Elixir-ICPC22-Lucas-Vegi.pdf [ICPC22-YouTube]: https://youtu.be/3X2gxg13tXo [Podcast-Spotify]: http://elixiremfoco.com/episode?id=lucas-vegi-e-marco-tulio [to_atom]: https://hexdocs.pm/elixir/String.html#to_atom/1 [to_existing_atom]: https://hexdocs.pm/elixir/String.html#to_existing_atom/1 [Finbits]: https://www.finbits.com.br/ [ResearchWithElixir]: http://pesquisecomelixir.com.br/ [TraditionalSmells]: https://github.com/lucasvegi/Elixir-Code-Smells/tree/main/traditional
65
Java Programming Tutorial for Beginners
# Learn Java Programming in 250 Steps [![Image](https://www.springboottutorial.com/images/Course-Java-Programming-for-Complete-Beginners-in-250-Steps.png "Java Programming for Complete Beginners in 250 Steps ")](https://www.udemy.com/course/java-programming-tutorial-for-beginners) ## Hands on Step by Step Introduction to the most popular programming language ## Getting Started - Eclipse - https://courses.in28minutes.com/p/eclipse-tutorial-for-beginners - Maven - https://courses.in28minutes.com/p/maven-tutorial-for-beginners-in-5-steps - JUnit - https://courses.in28minutes.com/p/junit-tutorial-for-beginners ## Installing Tools - PDF : https://github.com/in28minutes/java-a-course-for-beginners/blob/master/InstallingJavaAndEclipse.pdf ## Overview ### Introduction We love Programming. Our aim with this course is to create a love for Programming. Java is one of the most popular programming languages. Java offers both object oriented and functional programming features. We take an hands-on approach using a combination of JShell(An awesome new feature in Java 9) and Eclipse as an IDE to illustrate more than 200 Java Coding Exercises, Puzzles and Code Examples. In more than 250 Steps, we explore the most important Java Programming Language Features - Basics of Java Programming - Expressions, Variables and Printing Output - Java Operators - Java Assignment Operator, Relational and Logical Operators, Short Circuit Operators - Java Conditionals and If Statement - Methods - Parameters, Arguments and Return Values - An Overview Of Java Platform - java, javac, bytecode, JVM and Platform Independence - JDK vs JRE vs JVM - Object Oriented Programming - Class, Object, State and Behavior - Basics of OOPS - Encapsulation, Abstraction, Inheritance and Polymorphism - Basics about Java Data Types - Casting, Operators and More - Java Built in Classes - BigDecimal, String, Java Wrapper Classes - Conditionals with Java - If Else Statement, Nested If Else, Java Switch Statement, Java Ternary Operator - Loops - For Loop, While Loop in Java, Do While Loop, Break and Continue - Immutablity of Java Wrapper Classes, String and BigDecimal - Java Dates - Introduction to LocalDate, LocalTime and LocalDateTime - Java Array and ArrayList - Java String Arrays, Arrays of Objects, Primitive Data Types, toString and Exceptions - Introduction to Variable Arguments - Basics of Designing a Class - Class, Object, State and Behavior. Deciding State and Constructors. - Understanding Object Composition and Inheritance - Java Abstract Class and Interfaces. Introduction to Polymorphism. - Java Collections - List Interface(ArrayList, LinkedList and Vector), Set Interface (HashSet, LinkedHashSet and TreeSet), Queue Interface (PriorityQueue) and Map Interface (HashMap, HashTable, LinkedHashMap and TreeMap() - Compare, Contrast and Choose - Generics - Why do we need Generics? Restrictions with extends and Generic Methods, WildCards - Upper Bound and Lower Bound. - Functional Programming - Lambda Expression, Stream and Operations on a Stream (Intermediate Operations - Sort, Distinct, Filter, Map and Terminal Operations - max, min, collect to List), Functional Interfaces - Predicate Interface,Consumer Interface, Function Inteface for Mapping, Method References - static and instance methods - Introduction to Threads and MultiThreading - Need for Threads - Implementing Threads - Extending Thread Class and Implementing Runnable Interface - States of a Thread and Communication between Threads - Introduction to Executor Service - Customizing number of Active Threads. Returning a Future, invokeAll and invokeAny - Introduction to Exception Handling - Your Thought Process during Exception Handling. try, catch and finally. Exception Hierarchy - Checked Exceptions vs Unchecked Exceptions. Throwing an Exception. Creating and Throwing a Custom Exception - CurrenciesDoNotMatchException. Try with Resources - New Feature in Java 7. - List files and folders in Directory with Files list method, File walk method and find methods. Read and write from a File. ### What You will learn - You will learn how to think as a Java Programmer - You will learn how to start your journey as a Java Programmer - You will learn the basics of Eclipse IDE and JShell - You will learn to develop awesome object oriented programs with Java - You will solve a wide variety of hands-on exercises on the topics discussed below - You will learn the basics of programming - variables, choosing a data type, conditional execution, loops, writing great methods, breaking down problems into sub problems and implementing great Exception Handling. - You will learn the basics of Object Oriented Programming - Intefaces, Inheritance, Abstract Class and Constructors - You will learn the important concepts of Object Oriented Programming - Abstraction, Inheritance, Encapsulation and Polymorphism - You will learn to do basic functional programming with Java - You will learn the basics of MultiThreading - with Executor Service - You will learn about a wide variety of Collections - List, Map, Set and Queue Interfaces ### Requirements - Connectivity to Internet to download Java 9 and Eclipse. - We will help you install Java9 with JShell and Eclipse. ### Step Wise Details #### Introduction - Course-Beginning - Course-Ending - Step 00 - How To Make Best use of the Course Guide? - Step 01 - Installing JDK 9 - with installation guide PDF - Step 02 - Verifying Java and Jshell - Step 03 - Troubleshooting Java installation - Step 04 - Setting Path environment variable in Windows #### 01-IntroductionToJavaProgrammingWithJShell-MultiplicationTable - Step 00 - Getting Started with Programming - Step 01 - Introduction to Multiplication Table challenge - Step 02 - Launch JShell - Step 03 - Break Down Multiplication Table Challenge - Step 04 - Java Expression - An Introduction - Step 05 - Java Expression - Exercises - Step 06 - Java Expression - Puzzles - Step 07 - Printing output to console with Java - Step 08 - Printing output to console with Java - Exercise Statements - Step 09 - Printing output to console with Java - Exercise Solutions - Step 10 - Printing output to console with Java - Puzzles - Step 11 - Advanced Printing output to console with Java - Step 12 - Advanced Printing output to console with Java - Exercises and Puzzles - Step 13 - Introduction to Variables in Java - Step 14 - Introduction to Variables in Java - Exercises and Puzzles - Step 15 - 4 Important Things to Know about Variables in Java - Step 16 - How are variables stored in memory? - Step 17 - How to name a variable? - Step 18 - Understanding Primitive Variable Types in Java - Step 19 - Understanding Primitive Variable Types in Java - Choosing a Type - Step 20 - Java Assignment Operator - Step 21 - Java Assignment Operator - Puzzles on Increment, Decrement and Compound Assignment - Step 23 - Java Conditionals and If Statement - Introduction - Step 24 - Java Conditionals and If Statement - Exercise Statements - Step 25 - Java Conditionals and If Statement - Exercise Solutions - Step 26 - Java Conditionals and If Statement - Puzzles - Step 27 - Java For Loop to Print Multiplication Table - Introduction - Step 28 - Java For Loop to Print Multiplication Table - Exercise Statements - Step 29 - Java For Loop to Print Multiplication Table - Exercise Solutions - Step 30 - Java For Loop to Print Multiplication Table - Puzzles - Step 31 - Programming Tips : JShell - Shortcuts, Multiple Lines and Variables TODO Move up - Step 32 - Getting Started with Programming - Revise all Terminology #### 02-IntroductionToMethods-MultiplicationTable - Step 00 - Section 02 - Methods - An Introduction - Step 01 - Your First Java Method - Hello World Twice and Exercise Statements - Step 02 - Introduction to Java Methods - Exercises and Puzzles - Step 03 - Programming Tip - Editing Methods with JShell - Step 04 - Introduction to Java Methods - Arguments and Parameters - Step 05 - Introduction to Java Method Arguments - Exercises - Step 06 - Introduction to Java Method Arguments - Puzzles and Tips - Step 07 - Getting back to Multiplication Table - Creating a method - Step 08 - Print Multiplication Table with a Parameter and Method Overloading - Step 09 - Passing Multiple Parameters to a Java Method - Step 10 - Returning from a Java Method - An Introduction - Step 11 - Returning from a Java Method - Exercises - Step 99 - Methods - Section Review #### 03-IntroductionToJavaPlatform - Step 00 - Section 03 - Overview Of Java Platform - Section Overview - Step 01 - Overview Of Java Platform - An Introduction - java, javac, bytecode and JVM - Step 02 - Java Class and Object - First Look - Step 03 - Create a method in a Java class - Step 04 - Create and Compile Planet.java class - Step 05 - Run Planet calss with Java - Using a main method - Step 06 - Play and Learn with Planet Class - Step 07 - JDK vs JRE vs JVM #### 04-IntroductionToEclipse-FirstJavaProject - Step 00 - Installing Eclipse - Step 01 - Creating a New Java Project with Eclipse - Step 02 - Your first Java class with Eclipse - Step 03 - Writing Multiplication Table Java Program with Eclipse - Step 04 - Adding more methods for Multiplication Table Program - Step 05 - Programming Tip 1 : Refactoring with Eclipse - Step 06 - Programming Tip 2 : Debugging with Eclipse - Step 07 - Programming Tip 3 : Eclipse vs JShell - How to choose? #### 05-IntroductionToObjectOrientedProgramming - Step 00 - Introduction to Object Oriented Programming - Section Overview - Step 01 - Introduction to Object Oriented Programming - Basics - Step 02 - Introduction to Object Oriented Programming - Terminology - Class, Object, State and Behavior - Step 03 - Introduction to Object Oriented Programming - Exercise - Online Shopping System and Person - Step 04 - Create Motor Bike Java Class and a couple of objects - Step 05 - Exercise Solutions - Book class and Three instances - Step 06 - Introducing State of an object with speed variable - Step 07 - Understanding basics of Encapsulation with Setter methods - Step 08 - Exercises and Tips - Getters and Generating Getters and Setters with Eclipse - Step 09 - Puzzles on this and initialization of member variables - Step 10 - First Advantage of Encapsulation - Step 11 - Introduction to Encapsulation - Level 2 - Step 12 - Encapsulation Exercises - Better Validation and Book class - Step 13 - Introdcution to Abstraction - Step 14 - Introduction to Java Constructors - Step 15 - Introduction to Java Constructors - Exercises and Puzzles - Step 16 - Introduction to Object Oriented Programming - Conclusion #### 06-PrimitiveDataTypesAndAlternatives - Step 00 - Primitive Data Types in Depth - Section Overview - Step 01 - Basics about Java Integer Data Types - Casting, Operators and More - Step 02 - Java Integer Data Types - Puzzles - Octal, Hexadecimal, Post and Pre increment - Step 03 - Java Integer Data Types - Exercises - BiNumber - add, multiply and double - Step 04 - Java Floating Point Data Types - Casting , Conversion and Accuracy - Step 05 - Introduction to BigDecimal Java Class - Step 06 - BigDecimal Puzzles - Adding Integers - Step 07 - BigDecimal Exercises - Simple Interest Calculation - Step 08 - Java Boolean Data Type - Relational and Logical Operators - Step 09 - Java Boolean Data Type - Puzzles - Short Circuit Operators - Step 10 - Java Character Data Type char - Representation and Conversion - Step 11 - Java char Data Type - Exercises 1 - isVowel - Step 12 - Java char Data Type - Exercises 2 - isDigit - Step 13 - Java char Data Type - Exercises 3 - isConsonant, List Upper Case and Lower Case Characters - Step 14 - Primitive Data Types in Depth - Conclusion #### 07-Conditionals - Step 00 - Conditionals with Java - Section Overview - Step 01 - Introduction to If Else Statement - Step 02 - Introduction to Nested If Else - Step 03 - If Else Statement - Puzzles - Step 04 - If Else Problem - How to get User Input in Java? - Step 05 - If Else Problem - How to get number 2 and choice from user? - Step 06 - If Else Problem - Implementing with Nested If Else - Step 07 - Java Switch Statement - An introduction - Step 08 - Java Switch Statement - Puzzles - Default, Break and Fall Through - Step 09 - Java Switch Statement - Exercises - isWeekDay, nameOfMonth, nameOfDay - Step 10 - Java Ternary Operation - An Introduction - Step 11 - Conditionals with Java - Conclusion #### 08-Loops - Step 00 - Java Loops - Section Introduction - Step 01 - Java For Loop - Syntax and Puzzles - Step 02 - Java For Loop - Exercises Overview and First Exercise Prime Numbers - Step 03 - Java For Loop - Exercise - Sum Upto N Numbers and Sum of Divisors - Step 04 - Java For Loop - Exercise - Print a Number Triangle - Step 05 - While Loop in Java - An Introduction - Step 06 - While Loop - Exericises - Cubes and Squares upto limit - Step 07 - Do While Loop in Java - An Introduction - Step 08 - Do While Loop in Java - An Example - Cube while user enters positive numbers - Step 09 - Introduction to Break and Continue - Step 10 - Selecting Loop in Java - For vs While vs Do While #### 09-ReferenceTypes - Step 00 - Java Reference Types - Section Introduction - Step 01 - Reference Types - How are they stored in Memory? - Step 02 - Java Reference Types - Puzzles - Step 03 - String class - Introduction and Exercise - Print each word and char on a new line - Step 04 - String class - Exercise Solution and Some More Important Methods - Step 05 - Understanding String is Immutable and String Concat, Upper Case, Lower Case, Trim methods - Step 06 - String Concatenation and Join, Replace Methods - Step 07 - Java String Alternatives - StringBuffer and StringBuilder - Step 08 - Java Wrapper Classes - An Introduction - Why and What? - Step 09 - Java Wrapper Classes - Creation - Constructor and valueOf - Step 10 - Java Wrapper Classes - Auto Boxing and a Few Wrapper Constants - SIZE, BYTES, MAX_VALUE and MIN_VALUE - Step 11 - Java Dates - Introduction to LocalDate, LocalTime and LocalDateTime - Step 12 - Java Dates - Exploring LocalDate - Creation and Methods to play with Date - Step 13 - Java Dates - Exploring LocalDate - Comparing Dates and Creating Specific Dates - Step 14 - Java Reference Types - Conclusion #### 10-ArraysAndArrayList - Step 00 - Introduction to Array and ArrayList - Section Introduction with a Challenge - Step 01 - Understanding the need and Basics about an Array - Step 02 - Java Arrays - Creating and Accessing Values - Introduction - Step 03 - Java Arrays - Puzzles - Arrays of Objects, Primitive Data Types, toString and Exceptions - Step 04 - Java Arrays - Compare, Sort and Fill - Step 05 - Java Arrays - Exercise - Create Student Class - Part 1 - Total and Average Marks - Step 06 - Java Arrays - Exercise - Create Student Class - Part 2 - Maximum and Minimum Mark - Step 07 - Introduction to Variable Arguments - Need - Step 08 - Introduction to Variable Arguments - Basics - Step 09 - Introduction to Variable Arguments - Enhancing Student Class - Step 10 - Java Arrays - Using Person Objects and String Elements with Exercises - Step 11 - Java String Arrays - Exercise Solutions - Print Day of Week with Most number of letters and more - Step 12 - Adding and Removing Marks - Problem with Arrays - Step 13 - First Look at ArrayList - An Introduction - Step 14 - First Look at ArrayList - Refactoring Student Class to use ArrayList - Step 15 - First Look at ArrayList - Enhancing Student Class with Add and Remove Marks - Step 16 - Introduction to Array and ArrayList - Conclusion #### 11-ObjectOrientedProgrammingAgain - Step 00 - Object Oriented Programming - Level 2 - Section Introduction - Step 01 - Basics of Designing a Class - Class, Object, State and Behavior - Step 02 - OOPS Example - Fan Class - Deciding State and Constructors - Step 03 - OOPS Example - Fan Class - Deciding Behavior with Methods - Step 04 - OOPS Exercise - Rectangle Class - Step 05 - Understanding Object Composition with Customer Address Example - Step 06 - Understanding Object Composition - An Exercise - Books and Reviews - Step 07 - Understanding Inheritance - Why do we need it? - Step 08 - Object is at top of Inheritance Hierarchy - Step 09 - Inheritance and Overriding - with toString() method - Step 10 - Java Inheritance - Exercise - Student and Employee Classes - Step 11 - Java Inheritance - Default Constructors and super() method call - Step 12 - Java Inheritance - Puzzles - Multiple Inheritance, Reference Variables and instanceof - Step 13 - Java Abstract Class - Introductio - Step 14 - Java Abstract Class - First Example - Creating Recipes with Template Method - Step 15 - Java Abstract Class - Puzzles - Step 16 - Java Interface - Example 1 - Gaming Console - How to think about Intefaces? - Step 17 - Java Interface - Example 2 - Complex Algorithm - API defined by external team - Step 18 - Java Interface - Puzzles - Unimplemented methods, Abstract Classes, Variables, Default Methods and more - Step 19 - Java Interface vs Abstract Class - A Comparison - Step 20 - Java Interface Flyable and Abstract Class Animal - An Exercise - Step 21 - Polymorphism - An introduction #### 12-Collections - Step 01 - Java Collections - Section Overview with Need For Collections - Step 02 - List Interface - Introduction - Position is King - Step 03 - List Inteface - Immutability and Introduction of Implementations - ArrayList, LinkedList and Vector - Step 04 - List Inteface Implementations - ArrayList vs LinkedList - Step 05 - List Inteface Implementations - ArrayList vs Vector - Step 06 - List Inteface - Methods to add, remove and change elements and lists - Step 07 - List and ArrayList - Iterating around elements - Step 08 - List and ArrayList - Choosing iteration approach for printing and deleting elements - Step 09 - List and ArrayList - Puzzles - Type Safety and Removing Integers - Step 10 - List and ArrayList - Sorting - Introduction to Collections sort static method - Step 11 - List and ArrayList - Sorting - Implementing Comparable Inteface in Student Class - Step 12 - List and ArrayList - Sorting - Providing Flexibility by implementing Comparator interface - Step 13 - List and ArrayList - A Summary - Step 14 - Set Interface - Introduction - No Duplication - Step 15 - Understanding Data Structures - Array, LinkedList and Hashing - Step 16 - Understanding Data Structures - Tree - Sorted Order - Step 17 - Set Interface - Hands on - HashSet, LinkedHashSet and TreeSet - Step 18 - Set Interface - Exercise - Find Unique Characters in a List - Step 19 - TreeSet - Methods from NavigableSet - floor,lower,upper, subSet, head and tailSet - Step 20 - Queue Interface - Process Elements in Order - Step 21 - Introduction to PriorityQueue - Basic Methods and Customized Priority - Step 22 - Map Interface - An Introduction - Key and Value - Step 23 - Map Interface - Implementations - HashMap, HashTable, LinkedHashMap and TreeMap - Step 24 - Map Interface - Basic Operations - Step 25 - Map Interface - Comparison - HashMap vs LinkedHashMap vs TreeMap - Step 26 - Map Interface - Exercise - Count occurances of characters and words in a piece of text - Step 27 - TreeMap - Methods from NavigableMap - floorKey, higherKey, firstEntry, subMap and more - Step 28 - Java Collections - Conclusion with Three Tips #### 13-Generics - Step 01 - Introduction to Generics - Why do we need Generics? - Step 02 - Implementing Generics for the Custom List - Step 03 - Extending Custom List with a Generic Return Method - Step 04 - Generics Puzzles - Restrictions with extends and Generic Methods - Step 05 - Generics and WildCards - Upper Bound and Lower Bound #### 14-FunctionalProgramming - Step 01 - Introduction to Functional Programming - Functions are First Class Citizens - Step 02 - Functional Programming - First Example with Function as Parameter - Step 03 - Functional Programming - Exercise - Loop a List of Numbers - Step 04 - Functional Programming - Filtering - Exercises to print odd and even numbers from List - Step 05 - Functional Programming - Collect - Sum of Numbers in a List - Step 06 - Functional Programming vs Structural Programming - A Quick Comparison - Step 07 - Functional Programming Terminology - Lambda Expression, Stream and Operations on a Stream - Step 08 - Stream Intermediate Operations - Sort, Distinct, Filter and Map - Step 09 - Stream Intermediate Operations - Exercises - Squares of First 10, Map String List to LowerCase and Length of String - Step 10 - Stream Terminal Operations - 1 - max operation with Comparator - Step 11 - Stream Terminal Operations - 2 - min, collect to List, - Step 12 - Optional class in Java - An Introduction - Step 13 - Behind the Screens with Functional Interfaces - Implement Predicate Interface - Step 14 - Behind the Screens with Functional Interfaces - Implement Consumer Interface - Step 15 - Behind the Screens with Functional Interfaces - Implement Function Inteface for Mapping - Step 16 - Simplify Functional Programming code with Method References - static and instance methods - Step 17 - Functions are First Class Citizens - Step 18 - Introduction to Functional Programming - Conclusion #### 15-ThreadsAndConcurrency - Step 01 - Introduction to Threads and MultiThreading - Need for Threads - Step 02 - Creating a Thread for Task1 - Extending Thread Class - Step 03 - Creating a Thread for Task2 - Implement Runnable Interface - Step 04 - Theory - States of a Thread - Step 05 - Placing Priority Requests for Threads - Step 06 - Communication between Threads - join method - Step 07 - Thread utility methods and synchronized keyword - sleep, yield - Step 08 - Need for Controlling the Execution of Threads - Step 09 - Introduction to Executor Service - Step 10 - Executor Service - Customizing number of Threads - Step 11 - Executor Service - Returning a Future from Thread using Callable - Step 12 - Executor Service - Waiting for completion of multiple tasks using invokeAll - Step 13 - Executor Service - Wait for only the fastest task using invokeAny - Step 14 - Threads and MultiThreading - Conclusion #### 16-ExceptionHandling - Step 01 - Introduction to Exception Handling - Your Thought Process during Exception Handling - Step 02 - Basics of Exceptions - NullPointerException and StackTrace - Step 03 - Basics of Handling Exceptions - try and catch - Step 04 - Basics of Handling Exceptions - Exception Hierarchy, Matching and Catching Multiple Exceptions - Step 05 - Basics of Handling Exceptions - Need for finally - Step 06 - Basics of Handling Exceptions - Puzzles - Step 07 - Checked Exceptions vs Unchecked Exceptions - An Example - Step 08 - Hierarchy of Errors and Exceptions - Checked and Runtime - Step 09 - Throwing an Exception - Currencies Do Not Match Runtime Exception - Step 10 - Throwing a Checked Exception - Throws in method signature and handling - Step 11 - Throwing a Custom Exception - CurrenciesDoNotMatchException - Step 12 - Write less code with Try with Resources - New Feature in Java 7 - Step 13 - Basics of Handling Exceptions - Puzzles 2 - Step 14 - Exception Handling - Conclusion with Best Practices #### 17-Files - Step 01 - List files and folders in Directory with Files list method - Step 02 - Recursively List and Filter all files and folders in Directory with Step Files walk method and Search with find method - Step 03 - Read content from a File - Files readAllLines and lines methods - Step 04 - Writing Content to a File - Files write method - Step 05 - Files - Conclusion #### More Concurrency with Atomic Operations and Concurrent Collections - Step 01 - Getting started with Synchronized - Step 02 - Problem with Synchronized - Less Concurrency - Step 03 - Enter Locks with ReEntrantLock - Step 04 - Introduction to Atomic Classes - AtomicInteger - Step 05 - Need for ConcurrentMap - Step 06 - Implementing an example with ConcurrentHashMap - Step 07 - ConcurrentHashMap uses different locks for diferrent regions - Step 08 - CopyOnWrite Concurrent Collections - When reads are more than writes - Step 09 - Conclusion #### Java Tips - Java Tip 01 - Imports and Static Imports - Java Tip 02 - Blocks - Java Tip 03 - equals method - Java Tip 04 - hashcode method - Java Tip 05 - Class Access Modifiers - public and default - Java Tip 06 - Method Access Modifiers - public, protected, private and default - Java Tip 07 - Final classes and Final methods - Java Tip 08 - Final Variables and Final Arguments - Java Tip 09 - Why do we need static variables? - Java Tip 09 - Why do we need static methods? - Java Tip 10 - Static methods cannot use instance methods or variables - Java Tip 11 - public static final - Constants - Java Tip 12 - Nested Classes - Inner Class vs Static Nested Class - Java Tip 13 - Anonymous Classes - Java Tip 14 - Why Enum and Enum Basics - ordinal and values - Java Tip 15 - Enum - Constructor, variables and methods - Java Tip 16 - Quick look at inbuild Enums - Month, DayOfWeek ### Troubleshooting - Refer our TroubleShooting Guide - https://github.com/in28minutes/in28minutes-initiatives/tree/master/The-in28Minutes-TroubleshootingGuide-And-FAQ ## Youtube Playlists - 500+ Videos [Click here - 30+ Playlists with 500+ Videos on Spring, Spring Boot, REST, Microservices and the Cloud](https://www.youtube.com/user/rithustutorials/playlists?view=1&sort=lad&flow=list) ## Keep Learning in28Minutes in28Minutes is creating amazing solutions for you to learn Spring Boot, Full Stack and the Cloud - Docker, Kubernetes, AWS, React, Angular etc. - [Check out all our courses here](https://github.com/in28minutes/learn) ## Text Lectures ## Educational Announcements - Introduction to New Sections - https://www.udemy.com/course/java-programming-tutorial-for-beginners/learn/lecture/25694200 #### Course Downloads - Course Guide and Presentation Thank You for Choosing to Learn from in28Minutes. Download the course material (presentation and downloads) for the course - [CLICK HERE](https://github.com/in28minutes/course-material/blob/main/11-java-programming-for-beginners/downloads.md) I will see you in the next step! #### Troubleshooting For Next Sections Next sections need the latest version of Java and Eclipse Enterprise Edition. If you face any problems: - [Installing Latest Version of Java](https://www.udemy.com/course/java-programming-tutorial-for-beginners/learn/lecture/25694242) - [Troubleshooting Java and Eclipse](https://www.udemy.com/course/java-programming-tutorial-for-beginners/learn/lecture/25693982) #### Notes for Java and Eclipse Troubleshooting ###### Default Home Folder for JDK - Windows: C:\Program Files\Java\jdk-{version} - Example for JDK 16 - C:\Program Files\Java\jdk-16 - Example for JDK 17 - C:\Program Files\Java\jdk-17 - Mac: /Library/Java/JavaVirtualMachines/jdk-{version}.jdk/Contents/Home - Example for JDK 16 - /Library/Java/JavaVirtualMachines/jdk-16.jdk/Contents/Home - Example for JDK 17 - /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home ###### Default Home Folder for JDK - Windows: C:\Program Files\Java\jdk-{version}\bin - Example for JDK 16 - C:\Program Files\Java\jdk-16\bin - Mac: /Library/Java/JavaVirtualMachines/jdk-{version}.jdk/Contents/Home/bin - Example for JDK 16 - /Library/Java/JavaVirtualMachines/jdk-16.jdk/Contents/Home/bin #### Notes for Next Lecture - Business Service, Data Service Code ##### /src/main/java/com/in28minutes/learnspringframework/sample/enterprise/flow/web/Controller.java ```java package com.in28minutes.learnspringframework.sample.enterprise.flow.web; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; import com.in28minutes.learnspringframework.sample.enterprise.flow.business.BusinessService; //Sending response in the right format @RestController public class Controller { @Autowired private BusinessService businessService; //"/sum" => 100 @GetMapping("/sum") public long displaySum() { return businessService.calculateSum(); } } ``` --- ##### /src/main/java/com/in28minutes/learnspringframework/sample/enterprise/flow/business/BusinessService.java ```java //Business Logic package com.in28minutes.learnspringframework.sample.enterprise.flow.business; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.in28minutes.learnspringframework.sample.enterprise.flow.data.DataService; @Component public class BusinessService { @Autowired private DataService dataService; public long calculateSum() { List<Integer> data = dataService.retrieveData(); return data.stream().reduce(Integer::sum).get(); } } ``` --- ##### /src/main/java/com/in28minutes/learnspringframework/sample/enterprise/flow/data/DataService.java ```java package com.in28minutes.learnspringframework.sample.enterprise.flow.data; import java.util.Arrays; import java.util.List; import org.springframework.stereotype.Component; @Component public class DataService { public List<Integer> retrieveData() { return Arrays.asList(12,34,56,78,90); } } ``` --- #### Notes for Next Lecture - Docker and MySQL Configuration Launch MySQL using Docker ``` docker run --detach --env MYSQL_ROOT_PASSWORD=dummypassword --env MYSQL_USER=courses-user --env MYSQL_PASSWORD=dummycourses --env MYSQL_DATABASE=courses --name mysql --publish 3306:3306 mysql:5.7 ``` application.properties configuration ``` #spring.datasource.url=jdbc:h2:mem:testdb spring.jpa.hibernate.ddl-auto=update spring.datasource.url=jdbc:mysql://localhost:3306/courses spring.datasource.username=courses-user spring.datasource.password=dummycourses spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL57Dialect #courses-user@localhost:3306 ``` mysqlsh commands ``` mysqlsh \connect courses-user@localhost:3306 \sql use courses select * from course; \quit ``` Docker Commands ``` docker container ls docker container stop ID ``` ## Educational Announcements About Course Updates ### Course Updates - Java New Features + Spring + Spring Boot + REST API Thanks for helping this course reach 100,000 learners. There are thousands of learners pursuing this course every day! Thanks for all your love. Java is evolving continuously. Really excited to announce amazing updates to the course! We are adding a Real World Project with Spring and Spring Boot to the course! #### Important Updates - Updated the course to use JDK 16 (released last week) - Added New Content - Java Modularization - Records - Text Blocks - Switch Expression - Local Variable Type Inference - New Java API in Files, List, Set, Map and String - Added a New Section to Build a Real World Java Rest API using: - Spring Framework - Spring Boot - JPA - Data JPA - H2/MySQL - Docker What are you waiting for? I'm really excited about these changes. I hope you are too! Good Luck. Please feel free to post your questions here! Ranga Keep Learning Every Day! ##### Later Last week we announced amazing updates to the course. We are receiving wonderful feedback from our learners. All the updates are FREE for the existing learners of the course. Get started with Java New Features, Spring and Spring Boot right now! Good Luck Docker and Kubernetes are essential in the microservices world today. Recognising the need, In January 2021, we announced amazing updates to the course: Section 6 - Microservices with Spring Cloud - V2 Section 7 - Docker with Microservices using Spring Boot and Spring Cloud - V2 Section 8: Kubernetes with Microservices using Docker, Spring Boot and Spring Cloud - V2 We are receiving wonderful feedback from our learners. All the updates are FREE for the existing learners of the course.
66
317 efficient solutions to HackerRank problems
null
67
A distributed task scheduling framework.(分布式任务调度平台XXL-JOB)
<p align="center" > <img src="https://www.xuxueli.com/doc/static/xxl-job/images/xxl-logo.jpg" width="150"> <h3 align="center">XXL-JOB</h3> <p align="center"> XXL-JOB, a distributed task scheduling framework. <br> <a href="https://www.xuxueli.com/xxl-job/"><strong>-- Home Page --</strong></a> <br> <br> <a href="https://github.com/xuxueli/xxl-job/actions"> <img src="https://github.com/xuxueli/xxl-job/workflows/Java%20CI/badge.svg" > </a> <a href="https://maven-badges.herokuapp.com/maven-central/com.xuxueli/xxl-job/"> <img src="https://maven-badges.herokuapp.com/maven-central/com.xuxueli/xxl-job/badge.svg" > </a> <a href="https://github.com/xuxueli/xxl-job/releases"> <img src="https://img.shields.io/github/release/xuxueli/xxl-job.svg" > </a> <a href="https://github.com/xuxueli/xxl-job/"> <img src="https://img.shields.io/github/stars/xuxueli/xxl-job" > </a> <a href="https://hub.docker.com/r/xuxueli/xxl-job-admin/"> <img src="https://img.shields.io/docker/pulls/xuxueli/xxl-job-admin" > </a> <a href="http://www.gnu.org/licenses/gpl-3.0.html"> <img src="https://img.shields.io/badge/license-GPLv3-blue.svg" > </a> <a href="https://www.xuxueli.com/page/donate.html"> <img src="https://img.shields.io/badge/%24-donate-ff69b4.svg?style=flat" > </a> </p> </p> ## Introduction XXL-JOB is a distributed task scheduling framework. It's core design goal is to develop quickly and learn simple, lightweight, and easy to expand. Now, it's already open source, and many companies use it in production environments, real "out-of-the-box". XXL-JOB是一个分布式任务调度平台,其核心设计目标是开发迅速、学习简单、轻量级、易扩展。现已开放源代码并接入多家公司线上产品线,开箱即用。 ## Documentation - [中文文档](https://www.xuxueli.com/xxl-job/) - [English Documentation](https://www.xuxueli.com/xxl-job/en/) ## Communication - [社区交流](https://www.xuxueli.com/page/community.html) ## Features - 1、简单:支持通过Web页面对任务进行CRUD操作,操作简单,一分钟上手; - 2、动态:支持动态修改任务状态、启动/停止任务,以及终止运行中任务,即时生效; - 3、调度中心HA(中心式):调度采用中心式设计,“调度中心”自研调度组件并支持集群部署,可保证调度中心HA; - 4、执行器HA(分布式):任务分布式执行,任务"执行器"支持集群部署,可保证任务执行HA; - 5、注册中心: 执行器会周期性自动注册任务, 调度中心将会自动发现注册的任务并触发执行。同时,也支持手动录入执行器地址; - 6、弹性扩容缩容:一旦有新执行器机器上线或者下线,下次调度时将会重新分配任务; - 7、触发策略:提供丰富的任务触发策略,包括:Cron触发、固定间隔触发、固定延时触发、API(事件)触发、人工触发、父子任务触发; - 8、调度过期策略:调度中心错过调度时间的补偿处理策略,包括:忽略、立即补偿触发一次等; - 9、阻塞处理策略:调度过于密集执行器来不及处理时的处理策略,策略包括:单机串行(默认)、丢弃后续调度、覆盖之前调度; - 10、任务超时控制:支持自定义任务超时时间,任务运行超时将会主动中断任务; - 11、任务失败重试:支持自定义任务失败重试次数,当任务失败时将会按照预设的失败重试次数主动进行重试;其中分片任务支持分片粒度的失败重试; - 12、任务失败告警;默认提供邮件方式失败告警,同时预留扩展接口,可方便的扩展短信、钉钉等告警方式; - 13、路由策略:执行器集群部署时提供丰富的路由策略,包括:第一个、最后一个、轮询、随机、一致性HASH、最不经常使用、最近最久未使用、故障转移、忙碌转移等; - 14、分片广播任务:执行器集群部署时,任务路由策略选择"分片广播"情况下,一次任务调度将会广播触发集群中所有执行器执行一次任务,可根据分片参数开发分片任务; - 15、动态分片:分片广播任务以执行器为维度进行分片,支持动态扩容执行器集群从而动态增加分片数量,协同进行业务处理;在进行大数据量业务操作时可显著提升任务处理能力和速度。 - 16、故障转移:任务路由策略选择"故障转移"情况下,如果执行器集群中某一台机器故障,将会自动Failover切换到一台正常的执行器发送调度请求。 - 17、任务进度监控:支持实时监控任务进度; - 18、Rolling实时日志:支持在线查看调度结果,并且支持以Rolling方式实时查看执行器输出的完整的执行日志; - 19、GLUE:提供Web IDE,支持在线开发任务逻辑代码,动态发布,实时编译生效,省略部署上线的过程。支持30个版本的历史版本回溯。 - 20、脚本任务:支持以GLUE模式开发和运行脚本任务,包括Shell、Python、NodeJS、PHP、PowerShell等类型脚本; - 21、命令行任务:原生提供通用命令行任务Handler(Bean任务,"CommandJobHandler");业务方只需要提供命令行即可; - 22、任务依赖:支持配置子任务依赖,当父任务执行结束且执行成功后将会主动触发一次子任务的执行, 多个子任务用逗号分隔; - 23、一致性:“调度中心”通过DB锁保证集群分布式调度的一致性, 一次任务调度只会触发一次执行; - 24、自定义任务参数:支持在线配置调度任务入参,即时生效; - 25、调度线程池:调度系统多线程触发调度运行,确保调度精确执行,不被堵塞; - 26、数据加密:调度中心和执行器之间的通讯进行数据加密,提升调度信息安全性; - 27、邮件报警:任务失败时支持邮件报警,支持配置多邮件地址群发报警邮件; - 28、推送maven中央仓库: 将会把最新稳定版推送到maven中央仓库, 方便用户接入和使用; - 29、运行报表:支持实时查看运行数据,如任务数量、调度次数、执行器数量等;以及调度报表,如调度日期分布图,调度成功分布图等; - 30、全异步:任务调度流程全异步化设计实现,如异步调度、异步运行、异步回调等,有效对密集调度进行流量削峰,理论上支持任意时长任务的运行; - 31、跨语言:调度中心与执行器提供语言无关的 RESTful API 服务,第三方任意语言可据此对接调度中心或者实现执行器。除此之外,还提供了 “多任务模式”和“httpJobHandler”等其他跨语言方案; - 32、国际化:调度中心支持国际化设置,提供中文、英文两种可选语言,默认为中文; - 33、容器化:提供官方docker镜像,并实时更新推送dockerhub,进一步实现产品开箱即用; - 34、线程池隔离:调度线程池进行隔离拆分,慢任务自动降级进入"Slow"线程池,避免耗尽调度线程,提高系统稳定性; - 35、用户管理:支持在线管理系统用户,存在管理员、普通用户两种角色; - 36、权限控制:执行器维度进行权限控制,管理员拥有全量权限,普通用户需要分配执行器权限后才允许相关操作; ## Development 于2015年中,我在github上创建XXL-JOB项目仓库并提交第一个commit,随之进行系统结构设计,UI选型,交互设计…… 于2015-11月,XXL-JOB终于RELEASE了第一个大版本V1.0, 随后我将之发布到OSCHINA,XXL-JOB在OSCHINA上获得了@红薯的热门推荐,同期分别达到了OSCHINA的“热门动弹”排行第一和git.oschina的开源软件月热度排行第一,在此特别感谢红薯,感谢大家的关注和支持。 于2015-12月,我将XXL-JOB发表到我司内部知识库,并且得到内部同事认可。 于2016-01月,我司展开XXL-JOB的内部接入和定制工作,在此感谢袁某和尹某两位同事的贡献,同时也感谢内部其他给与关注与支持的同事。 于2017-05-13,在上海举办的 "[第62期开源中国源创会](https://www.oschina.net/event/2236961)" 的 "放码过来" 环节,我登台对XXL-JOB做了演讲,台下五百位在场观众反响热烈([图文回顾](https://www.oschina.net/question/2686220_2242120) )。 于2017-10-22,又拍云 Open Talk 联合 Spring Cloud 中国社区举办的 "[进击的微服务实战派上海站](https://opentalk.upyun.com/303.html)",我登台对XXL-JOB做了演讲,现场观众反响热烈并在会后与XXL-JOB用户热烈讨论交流。 于2017-12-11,XXL-JOB有幸参会《[InfoQ ArchSummit全球架构师峰会](http://bj2017.archsummit.com/)》,并被拍拍贷架构总监"杨波老师"在专题 "[微服务原理、基础架构和开源实践](http://bj2017.archsummit.com/training/2)" 中现场介绍。 于2017-12-18,XXL-JOB参与"[2017年度最受欢迎中国开源软件](http://www.oschina.net/project/top_cn_2017?sort=1)"评比,在当时已录入的约九千个国产开源项目中角逐,最终进入了前30强。 于2018-01-15,XXL-JOB参与"[2017码云最火开源项目](https://www.oschina.net/news/92438/2017-mayun-top-50)"评比,在当时已录入的约六千五百个码云项目中角逐,最终进去了前20强。 于2018-04-14,iTechPlus在上海举办的 "[2018互联网开发者大会](http://www.itdks.com/eventlist/detail/2065)",我登台对XXL-JOB做了演讲,现场观众反响热烈并在会后与XXL-JOB用户热烈讨论交流。 于2018-05-27,在上海举办的 "[第75期开源中国源创会](https://www.oschina.net/event/2278742)" 的 "架构" 主题专场,我登台进行“基础架构与中间件图谱”主题演讲,台下上千位在场观众反响热烈([图文回顾](https://www.oschina.net/question/3802184_2280606) )。 于2018-12-05,XXL-JOB参与"[2018年度最受欢迎中国开源软件](https://www.oschina.net/project/top_cn_2018?sort=1)"评比,在当时已录入的一万多个开源项目中角逐,最终排名第19名。 于2019-12-10,XXL-JOB参与"[2019年度最受欢迎中国开源软件](https://www.oschina.net/project/top_cn_2019)"评比,在当时已录入的一万多个开源项目中角逐,最终排名"开发框架和基础组件类"第9名。 于2020-11-16,XXL-JOB参与"[2020年度最受欢迎中国开源软件](https://www.oschina.net/project/top_cn_2020)"评比,在当时已录入的一万多个开源项目中角逐,最终排名"开发框架和基础组件类"第8名。 于2021-12-06,XXL-JOB参与"[2021年度OSC中国开源项目评选](https://www.oschina.net/project/top_cn_2021) "评比,在当时已录入的一万多个开源项目中角逐,最终当选"最受欢迎项目"。 > 我司大众点评目前已接入XXL-JOB,内部别名《Ferrari》(Ferrari基于XXL-JOB的V1.1版本定制而成,新接入应用推荐升级最新版本)。 据最新统计, 自2016-01-21接入至2017-12-01期间,该系统已调度约100万次,表现优异。新接入应用推荐使用最新版本,因为经过数十个版本的更新,系统的任务模型、UI交互模型以及底层调度通讯模型都有了较大的优化和提升,核心功能更加稳定高效。 至今,XXL-JOB已接入多家公司的线上产品线,接入场景如电商业务,O2O业务和大数据作业等,截止最新统计时间为止,XXL-JOB已接入的公司包括不限于: - 1、大众点评【美团点评】 - 2、山东学而网络科技有限公司; - 3、安徽慧通互联科技有限公司; - 4、人人聚财金服; - 5、上海棠棣信息科技股份有限公司 - 6、运满满【运满满】 - 7、米其林 (中国区)【米其林】 - 8、妈妈联盟 - 9、九樱天下(北京)信息技术有限公司 - 10、万普拉斯科技有限公司【一加手机】 - 11、上海亿保健康管理有限公司 - 12、海尔馨厨【海尔】 - 13、河南大红包电子商务有限公司 - 14、成都顺点科技有限公司 - 15、深圳市怡亚通 - 16、深圳麦亚信科技股份有限公司 - 17、上海博莹科技信息技术有限公司 - 18、中国平安科技有限公司【中国平安】 - 19、杭州知时信息科技有限公司 - 20、博莹科技(上海)有限公司 - 21、成都依能股份有限责任公司 - 22、湖南高阳通联信息技术有限公司 - 23、深圳市邦德文化发展有限公司 - 24、福建阿思可网络教育有限公司 - 25、优信二手车【优信】 - 26、上海悠游堂投资发展股份有限公司【悠游堂】 - 27、北京粉笔蓝天科技有限公司 - 28、中秀科技(无锡)有限公司 - 29、武汉空心科技有限公司 - 30、北京蚂蚁风暴科技有限公司 - 31、四川互宜达科技有限公司 - 32、钱包行云(北京)科技有限公司 - 33、重庆欣才集团 - 34、咪咕互动娱乐有限公司【中国移动】 - 35、北京诺亦腾科技有限公司 - 36、增长引擎(北京)信息技术有限公司 - 37、北京英贝思科技有限公司 - 38、刚泰集团 - 39、深圳泰久信息系统股份有限公司 - 40、随行付支付有限公司 - 41、广州瀚农网络科技有限公司 - 42、享点科技有限公司 - 43、杭州比智科技有限公司 - 44、圳临界线网络科技有限公司 - 45、广州知识圈网络科技有限公司 - 46、国誉商业上海有限公司 - 47、海尔消费金融有限公司,嗨付、够花【海尔】 - 48、广州巴图鲁信息科技有限公司 - 49、深圳市鹏海运电子数据交换有限公司 - 50、深圳市亚飞电子商务有限公司 - 51、上海趣医网络有限公司 - 52、聚金资本 - 53、北京父母邦网络科技有限公司 - 54、中山元赫软件科技有限公司 - 55、中商惠民(北京)电子商务有限公司 - 56、凯京集团 - 57、华夏票联(北京)科技有限公司 - 58、拍拍贷【拍拍贷】 - 59、北京尚德机构在线教育有限公司 - 60、任子行股份有限公司 - 61、北京时态电子商务有限公司 - 62、深圳卷皮网络科技有限公司 - 63、北京安博通科技股份有限公司 - 64、未来无线网 - 65、厦门瓷禧网络有限公司 - 66、北京递蓝科软件股份有限公司 - 67、郑州创海软件科技公司 - 68、北京国槐信息科技有限公司 - 69、浪潮软件集团 - 70、多立恒(北京)信息技术有限公司 - 71、广州极迅客信息科技有限公司 - 72、赫基(中国)集团股份有限公司 - 73、海投汇 - 74、上海润益创业孵化器管理股份有限公司 - 75、汉纳森(厦门)数据股份有限公司 - 76、安信信托 - 77、岚儒财富 - 78、捷道软件 - 79、湖北享七网络科技有限公司 - 80、湖南创发科技责任有限公司 - 81、深圳小安时代互联网金融服务有限公司 - 82、湖北享七网络科技有限公司 - 83、钱包行云(北京)科技有限公司 - 84、360金融【360】 - 85、易企秀 - 86、摩贝(上海)生物科技有限公司 - 87、广东芯智慧科技有限公司 - 88、联想集团【联想】 - 89、怪兽充电 - 90、行圆汽车 - 91、深圳店店通科技邮箱公司 - 92、京东【京东】 - 93、米庄理财 - 94、咖啡易融 - 95、梧桐诚选 - 96、恒大地产【恒大】 - 97、昆明龙慧 - 98、上海涩瑶软件 - 99、易信【网易】 - 100、铜板街 - 101、杭州云若网络科技有限公司 - 102、特百惠(中国)有限公司 - 103、常山众卡运力供应链管理有限公司 - 104、深圳立创电子商务有限公司 - 105、杭州智诺科技股份有限公司 - 106、北京云漾信息科技有限公司 - 107、深圳市多银科技有限公司 - 108、亲宝宝 - 109、上海博卡软件科技有限公司 - 110、智慧树在线教育平台 - 111、米族金融 - 112、北京辰森世纪 - 113、云南滇医通 - 114、广州市分领网络科技有限责任公司 - 115、浙江微能科技有限公司 - 116、上海馨飞电子商务有限公司 - 117、上海宝尊电子商务有限公司 - 118、直客通科技技术有限公司 - 119、科度科技有限公司 - 120、上海数慧系统技术有限公司 - 121、我的医药网 - 122、多粉平台 - 123、铁甲二手机 - 124、上海海新得数据技术有限公司 - 125、深圳市珍爱网信息技术有限公司【珍爱网】 - 126、小蜜蜂 - 127、吉荣数科技 - 128、上海恺域信息科技有限公司 - 129、广州荔支网络有限公司【荔枝FM】 - 130、杭州闪宝科技有限公司 - 131、北京互联新网科技发展有限公司 - 132、誉道科技 - 133、山西兆盛房地产开发有限公司 - 134、北京蓝睿通达科技有限公司 - 135、月亮小屋(中国)有限公司【蓝月亮】 - 136、青岛国瑞信息技术有限公司 - 137、博雅云计算(北京)有限公司 - 138、华泰证券香港子公司 - 139、杭州东方通信软件技术有限公司 - 140、武汉博晟安全技术股份有限公司 - 141、深圳市六度人和科技有限公司 - 142、杭州趣维科技有限公司(小影) - 143、宁波单车侠之家科技有限公司【单车侠】 - 144、丁丁云康信息科技(北京)有限公司 - 145、云钱袋 - 146、南京中兴力维 - 147、上海矽昌通信技术有限公司 - 148、深圳萨科科技 - 149、中通服创立科技有限责任公司 - 150、深圳市对庄科技有限公司 - 151、上证所信息网络有限公司 - 152、杭州火烧云科技有限公司【婚礼纪】 - 153、天津青芒果科技有限公司【芒果头条】 - 154、长飞光纤光缆股份有限公司 - 155、世纪凯歌(北京)医疗科技有限公司 - 156、浙江霖梓控股有限公司 - 157、江西腾飞网络技术有限公司 - 158、安迅物流有限公司 - 159、肉联网 - 160、北京北广梯影广告传媒有限公司 - 161、上海数慧系统技术有限公司 - 162、大志天成 - 163、上海云鹊医 - 164、上海云鹊医 - 165、墨迹天气【墨迹天气】 - 166、上海逸橙信息科技有限公司 - 167、沅朋物联 - 168、杭州恒生云融网络科技有限公司 - 169、绿米联创 - 170、重庆易宠科技有限公司 - 171、安徽引航科技有限公司(乐职网) - 172、上海数联医信企业发展有限公司 - 173、良彬建材 - 174、杭州求是同创网络科技有限公司 - 175、荷马国际 - 176、点雇网 - 177、深圳市华星光电技术有限公司 - 178、厦门神州鹰软件科技有限公司 - 179、深圳市招商信诺人寿保险有限公司 - 180、上海好屋网信息技术有限公司 - 181、海信集团【海信】 - 182、信凌可信息科技(上海)有限公司 - 183、长春天成科技发展有限公司 - 184、用友金融信息技术股份有限公司【用友】 - 185、北京咖啡易融有限公司 - 186、国投瑞银基金管理有限公司 - 187、晋松(上海)网络信息技术有限公司 - 188、深圳市随手科技有限公司【随手记】 - 189、深圳水务科技有限公司 - 190、易企秀【易企秀】 - 191、北京磁云科技 - 192、南京蜂泰互联网科技有限公司 - 193、章鱼直播 - 194、奖多多科技 - 195、天津市神州商龙科技股份有限公司 - 196、岩心科技 - 197、车码科技(北京)有限公司 - 198、贵阳市投资控股集团 - 199、康旗股份 - 200、龙腾出行 - 201、杭州华量软件 - 202、合肥顶岭医疗科技有限公司 - 203、重庆表达式科技有限公司 - 204、上海米道信息科技有限公司 - 205、北京益友会科技有限公司 - 206、北京融贯电子商务有限公司 - 207、中国外汇交易中心 - 208、中国外运股份有限公司 - 209、中国上海晓圈教育科技有限公司 - 210、普联软件股份有限公司 - 211、北京科蓝软件股份有限公司 - 212、江苏斯诺物联科技有限公司 - 213、北京搜狐-狐友【搜狐】 - 214、新大陆网商金融 - 215、山东神码中税信息科技有限公司 - 216、河南汇顺网络科技有限公司 - 217、北京华夏思源科技发展有限公司 - 218、上海东普信息科技有限公司 - 219、上海鸣勃网络科技有限公司 - 220、广东学苑教育发展有限公司 - 221、深圳强时科技有限公司 - 222、上海云砺信息科技有限公司 - 223、重庆愉客行网络有限公司 - 224、数云 - 225、国家电网运检部 - 226、杭州找趣 - 227、浩鲸云计算科技股份有限公司 - 228、科大讯飞【科大讯飞】 - 229、杭州行装网络科技有限公司 - 230、即有分期金融 - 231、深圳法司德信息科技有限公司 - 232、上海博复信息科技有限公司 - 233、杭州云嘉云计算有限公司 - 234、有家民宿(有家美宿) - 235、北京赢销通软件技术有限公司 - 236、浙江聚有财金融服务外包有限公司 - 237、易族智汇(北京)科技有限公司 - 238、合肥顶岭医疗科技开发有限公司 - 239、车船宝(深圳)旭珩科技有限公司) - 240、广州富力地产有限公司 - 241、氢课(上海)教育科技有限公司 - 242、武汉氪细胞网络技术有限公司 - 243、杭州有云科技有限公司 - 244、上海仙豆智能机器人有限公司 - 245、拉卡拉支付股份有限公司【拉卡拉】 - 246、虎彩印艺股份有限公司 - 247、北京数微科技有限公司 - 248、广东智瑞科技有限公司 - 249、找钢网 - 250、九机网 - 251、杭州跑跑网络科技有限公司 - 252、深圳未来云集 - 253、杭州每日给力科技有限公司 - 254、上海齐犇信息科技有限公司 - 255、滴滴出行【滴滴】 - 256、合肥云诊信息科技有限公司 - 257、云知声智能科技股份有限公司 - 258、南京坦道科技有限公司 - 259、爱乐优(二手平台) - 260、猫眼电影(私有化部署)【猫眼电影】 - 261、美团大象(私有化部署)【美团大象】 - 262、作业帮教育科技(北京)有限公司【作业帮】 - 263、北京小年糕互联网技术有限公司 - 264、山东矩阵软件工程股份有限公司 - 265、陕西国驿软件科技有限公司 - 266、君开信息科技 - 267、村鸟网络科技有限责任公司 - 268、云南国际信托有限公司 - 269、金智教育 - 270、珠海市筑巢科技有限公司 - 271、上海百胜软件股份有限公司 - 272、深圳市科盾科技有限公司 - 273、哈啰出行【哈啰】 - 274、途虎养车【途虎】 - 275、卡思优派人力资源集团 - 276、南京观为智慧软件科技有限公司 - 277、杭州城市大脑科技有限公司 - 278、猿辅导【猿辅导】 - 279、洛阳健创网络科技有限公司 - 280、魔力耳朵 - 281、亿阳信通 - 282、上海招鲤科技有限公司 - 283、四川商旅无忧科技服务有限公司 - 284、UU跑腿 - 285、北京老虎证券【老虎证券】 - 286、悠活省吧(北京)网络科技有限公司 - 287、F5未来商店 - 288、深圳环阳通信息技术有限公司 - 289、遠傳電信 - 290、作业帮(北京)教育科技有限公司【作业帮】 - 291、成都科鸿智信科技有限公司 - 292、北京木屋时代科技有限公司 - 293、大学通(哈尔滨)科技有限责任公司 - 294、浙江华坤道威数据科技有限公司 - 295、吉祥航空【吉祥航空】 - 296、南京圆周网络科技有限公司 - 297、广州市洋葱omall电子商务 - 298、天津联物科技有限公司 - 299、跑哪儿科技(北京)有限公司 - 300、深圳市美西西餐饮有限公司(喜茶) - 301、平安不动产有限公司【平安】 - 302、江苏中海昇物联科技有限公司 - 303、湖南牙医帮科技有限公司 - 304、重庆民航凯亚信息技术有限公司(易通航) - 305、递易(上海)智能科技有限公司 - 306、亚朵 - 307、浙江新课堂教育股份有限公司 - 308、北京蜂创科技有限公司 - 309、德一智慧城市信息系统有限公司 - 310、北京翼点科技有限公司 - 311、湖南智数新维度信息科技有限公司 - 312、北京玖扬博文文化发展有限公司 - 313、上海宇珩信息科技有限公司 - 314、全景智联(武汉)科技有限公司 - 315、天津易客满国际物流有限公司 - 316、南京爱福路汽车科技有限公司 - 317、我房旅居集团 - 318、湛江亲邻科技有限公司 - 319、深圳市姜科网络有限公司 - 320、青岛日日顺物流有限公司 - 321、南京太川信息技术有限公司 - 322、美图之家科技有限公司【美图】 - 323、南京太川信息技术有限公司 - 324、众薪科技(北京)有限公司 - 325、武汉安安物联科技有限公司 - 326、北京智客朗道网络科技有限公司 - 327、深圳市超级猩猩健身管理管理有限公司 - 328、重庆达志科技有限公司 - 329、上海享评信息科技有限公司 - 330、薪得付信息科技 - 331、跟谁学 - 332、中道(苏州)旅游网络科技有限公司 - 333、广州小卫科技有限公司 - 334、上海非码网络科技有限公司 - 335、途家网网络技术(北京)有限公司【途家】 - 336、广州辉凡信息科技有限公司 - 337、天维尔信息科技股份有限公司 - 338、上海极豆科技有限公司 - 339、苏州触达信息技术有限公司 - 340、北京热云科技有限公司 - 341、中智企服(北京)科技有限公司 - 342、易联云计算(杭州)有限责任公司 - 343、青岛航空股份有限公司【青岛航空】 - 344、山西博睿通科技有限公司 - 345、网易杭州网络有限公司【网易】 - 346、北京果果乐学科技有限公司 - 347、百望股份有限公司 - 348、中保金服(深圳)科技有限公司 - 349、天津运友物流科技股份有限公司 - 350、广东创能科技股份有限公司 - 351、上海倚博信息科技有限公司 - 352、深圳百果园实业(集团)股份有限公司 - 353、广州细刻网络科技有限公司 - 354、武汉鸿业众创科技有限公司 - 355、金锡科技(广州)有限公司 - 356、易瑞国际电子商务有限公司 - 357、奇点云 - 358、中视信息科技有限公司 - 359、开源项目:datax-web - 360、云知声智能科技股份有限公司 - 361、开源项目:bboss - 362、成都深驾科技有限公司 - 363、FunPlus【趣加】 - 364、杭州创匠信科技有限公司 - 365、龙匠(北京)科技发展有限公司 - 366、广州一链通互联网科技有限公司 - 367、上海星艾网络科技有限公司 - 368、虎博网络技术(上海)有限公司 - 369、青岛优米信息技术有限公司 - 370、八维通科技有限公司 - 371、烟台合享智星数据科技有限公司 - 372、东吴证券股份有限公司 - 373、中通云仓股份有限公司【中通】 - 374、北京加菲猫科技有限公司 - 375、北京匠心演绎科技有限公司 - 376、宝贝走天下 - 377、厦门众库科技有限公司 - 378、海通证券数据中心 - 389、湖南快乐通宝小额贷款有限公司 - 380、浙江大华技术股份有限公司 - 381、杭州魔筷科技有限公司 - 382、青岛掌讯通区块链科技有限公司 - 383、新大陆金融科技 - 384、常州玺拓软件科技有限公司 - 385、北京正保网格教育科技有限公司 - 386、统一企业(中国)投资有限公司【统一】 - 387、微革网络科技有限公司 - 388、杭州融易算科技有限公司 - 399、青岛上啥班网络科技有限公司 - 390、京东酒世界 - 391、杭州爱博仕科技有限公司 - 392、五星金服控股有限公司 - 393、福建乐摩物联科技有限公司 - 394、百炼智能科技有限公司 - 395、山东能源数智云科技有限公司 - 396、招商局能源运输股份有限公司 - 397、三一集团【三一】 - 398、东巴文(深圳)健康管理有限公司 - 399、索易软件 - 400、深圳市宁远科技有限公司 - 401、熙牛医疗 - 402、南京智鹤电子科技有限公司 - 403、嘀嗒出行【嘀嗒出行】 - 404、广州虎牙信息科技有限公司【虎牙】 - 405、广州欧莱雅百库网络科技有限公司【欧莱雅】 - 406、微微科技有限公司 - 407、我爱我家房地产经纪有限公司【我爱我家】 - 408、九号发现 - 409、薪人薪事 - 410、武汉氪细胞网络技术有限公司 - 411、广州市斯凯奇商业有限公司 - 412、微淼商学院 - 413、杭州车盛科技有限公司 - 414、深兰科技(上海)有限公司 - 415、安徽中科美络信息技术有限公司 - 416、比亚迪汽车工业有限公司【比亚迪】 - 417、湖南小桔信息技术有限公司 - 418、安徽科大国创软件科技有限公司 - 419、克而瑞 - 420、陕西云基华海信息技术有限公司 - 421、安徽深宁科技有限公司 - 422、广东康爱多数字健康有限公司 - 423、嘉里电子商务 - 424、上海时代光华教育发展有限公司 - 425、CityDo - 426、上海禹知信息科技有限公司 - 427、广东智瑞科技有限公司 - 428、西安爱铭网络科技有限公司 - 429、心医国际数字医疗系统(大连)有限公司 - 430、乐其电商 - 431、锐达科技 - 432、天津长城滨银汽车金融有限公司 - 433、代码网 - 434、东莞市东城乔伦软件开发工作室 - 435、浙江百应科技有限公司 - 436、上海力爱帝信息技术有限公司(Red E) - 437、云徙科技有限公司 - 438、北京康智乐思网络科技有限公司【大姨吗APP】 - 439、安徽开元瞬视科技有限公司 - 440、立方 - 441、厦门纵行科技 - 442、乐山-菲尼克斯半导体有限公司 - 443、武汉光谷联合集团有限公司 - 444、上海金仕达软件科技有限公司 - 445、深圳易世通达科技有限公司 - 446、爱动超越人工智能科技(北京)有限责任公司 - 447、迪普信(北京)科技有限公司 - 448、掌站科技(北京)有限公司 - 449、深圳市华云中盛股份有限公司 - 450、上海原圈科技有限公司 - 451、广州赞赏信息科技有限公司 - 452、Amber Group - 453、德威国际货运代理(上海)公司 - 454、浙江杰夫兄弟智慧科技有限公司 - 455、信也科技 - 456、开思时代科技(深圳)有限公司 - 457、大连槐德科技有限公司 - 458、同程生活 - 459、松果出行 - 460、企鹅杏仁集团 - 461、宁波科云信息科技有限公司 - 462、上海格蓝威驰信息科技有限公司 - 463、杭州趣淘鲸科技有限公司 - 464、湖州市数字惠民科技有限公司 - 465、乐普(北京)医疗器械股份有限公司 - 466、广州市晴川高新技术开发有限公司 - 467、山西缇客科技有限公司 - 468、徐州卡西穆电子商务有限公司 - 469、格创东智科技有限公司 - 470、世纪龙信息网络有限责任公司 - 471、邦道科技有限公司 - 472、河南中盟新云科技股份有限公司 - 473、横琴人寿保险有限公司 - 474、上海海隆华钟信息技术有限公司 - 475、上海久湛 - 476、上海仙豆智能机器人有限公司 - 477、广州汇尚网络科技有限公司 - 478、深圳市阿卡索资讯股份有限公司 - 479、青岛佳家康健康管理有限责任公司 - 480、蓝城兄弟 - 481、成都天府通金融服务股份有限公司 - 482、深圳云镖网络科技有限公司 - 483、上海影创科技 - 484、成都艾拉物联 - 485、北京客邻尚品网络技术有限公司 - 486、IT实战联盟 - 487、杭州尤拉夫科技有限公司 - 488、中大检测(湖南)股份有限公司 - 489、江苏电老虎工业互联网股份有限公司 - 490、上海助通信息科技有限公司 - 491、北京符节科技有限公司 - 492、杭州英祐科技有限公司 - 493、江苏电老虎工业互联网股份有限公司 - 494、深圳市点猫科技有限公司 - 495、杭州天音 - 496、深圳市二十一科技互联网有限公司 - 497、海南海口翎度科技 - 498、北京小趣智品科技有限公司 - 499、广州石竹计算机软件有限公司 - 500、深圳市惟客数据科技有限公司 - 501、中国医疗器械有限公司 - 502、上海云谦科技有限公司 - 503、上海磐农信息科技有限公司 - 504、广州领航食品有限公司 - 505、青岛掌讯通区块链科技有限公司 - 506、北京新网数码信息技术有限公司 - 507、超体信息科技(深圳)有限公司 - 508、长沙店帮手信息科技有限公司 - 509、上海助弓装饰工程有限公司 - 510、杭州寻联网络科技有限公司 - 511、成都大淘客科技有限公司 - 512、松果出行 - 513、深圳市唤梦科技有限公司 - 514、上汽集团商用车技术中心 - 515、北京中航讯科技股份有限公司 - 516、北龙中网(北京)科技有限责任公司 - 517、前海超级前台(深圳)信息技术有限公司 - 518、上海中商网络股份有限公司 - 519、上海助通信息科技有限公司 - 520、宁波聚臻智能科技有限公司 - 521、上海零动数码科技股份有限公司 - 522、浙江学海教育科技有限公司 - 523、聚学云(山东)信息技术有限公司 - 524、多氟多新材料股份有限公司 - 525、智慧眼科技股份有限公司 - 526、广东智通人才连锁股份有限公司 - 527、世纪开元智印互联科技集团股份有限公司 - 528、北京理想汽车【理想汽车】 - 529、巽逸科技(重庆)有限公司 - 530、义乌购电子商务有限公司 - 531、深圳市珂莱蒂尔服饰有限公司 - 532、江西国泰利民信息科技有限公司 - 533、广西广电大数据科技有限公司 - 534、杭州艾麦科技有限公司 - 535、广州小滴科技有限公司 - 536、佳缘科技股份有限公司 - 537、上海深擎信息科技有限公司 - 538、武商网 - 539、福建民本信息科技有限公司 - 540、杭州惠合信息科技有限公司 - 541、厦门爱立得科技有限公司 - 542、成都拟合未来科技有限公司 - 543、宁波聚臻智能科技有限公司 - 544、广东百慧科技有限公司 - 545、笨马网络 - 546、深圳市信安数字科技有限公司 - 547、深圳市思乐数据技术有限公司 - 548、四川绿源集科技有限公司 - 549、湖南云医链生物科技有限公司 - 550、杭州源诚科技有限公司 - 551、北京开课吧科技有限公司 - 552、北京多来点信息技术有限公司 - 553、JEECG BOOT低代码开发平台 - 554、苏州同元软控信息技术有限公司 - 555、江苏大泰信息技术有限公司 - 556、北京大禹汇智 - 557、北京盛哲科技有限公司 - 558、广州钛动科技有限公司 - 559、北京大禹汇智科技有限公司 - 560、湖南鼎翰文化股份有限公司 - 561、苏州安软信息科技有限公司 - 562、芒果tv - 563、上海艺赛旗软件股份有限公司 - 564、中盈优创资讯科技有限公司 - 565、乐乎公寓 - 566、启明信息 - 567、苏州安软 - 568、南京富金的软件科技有限公司 - 569、深圳市新科聚合网络技术有限公司 - 570、你好现在(北京)科技股份有限公司 - 571、360考试宝典 - 572、北京一零科技有限公司 - 573、厦门星纵信息 - 574、Dalligent Solusi Indonesia - 575、深圳华普物联科技有限公司 - 576、深圳行健自动化股份有限公司 - 577、深圳市富融信息科技服务有限公司 - 578、蓝鸟云 - …… > 更多接入的公司,欢迎在 [登记地址](https://github.com/xuxueli/xxl-job/issues/1 ) 登记,登记仅仅为了产品推广。 欢迎大家的关注和使用,XXL-JOB也将拥抱变化,持续发展。 ## Contributing Contributions are welcome! Open a pull request to fix a bug, or open an [Issue](https://github.com/xuxueli/xxl-job/issues/) to discuss a new feature or change. 欢迎参与项目贡献!比如提交PR修复一个bug,或者新建 [Issue](https://github.com/xuxueli/xxl-job/issues/) 讨论新特性或者变更。 ## Copyright and License This product is open source and free, and will continue to provide free community technical support. Individual or enterprise users are free to access and use. - Licensed under the GNU General Public License (GPL) v3. - Copyright (c) 2015-present, xuxueli. 产品开源免费,并且将持续提供免费的社区技术支持。个人或企业内部可自由的接入和使用。如有需要可邮件联系作者免费获取项目授权。 ## Donate No matter how much the donation amount is enough to express your thought, thank you very much :) [To donate](https://www.xuxueli.com/page/donate.html ) 无论捐赠金额多少都足够表达您这份心意,非常感谢 :) [前往捐赠](https://www.xuxueli.com/page/donate.html )
68
Effective Java(第3版)各章节的中英文学习参考(已完成)
# Effective-Java-3rd-edition-Chinese-English-bilingual Effective Java(第 3 版)各章节的中英文学习参考,希望对 Java 技术的提高有所帮助,欢迎通过 issue 或 pr 提出建议和修改意见。 ## 目录(Contents) - **Chapter 2. Creating and Destroying Objects(创建和销毁对象)** - [Chapter 2 Introduction(章节介绍)](Chapter-2/Chapter-2-Introduction.md) - [Item 1: Consider static factory methods instead of constructors(考虑以静态工厂方法代替构造函数)](Chapter-2/Chapter-2-Item-1-Consider-static-factory-methods-instead-of-constructors.md) - [Item 2: Consider a builder when faced with many constructor parameters(在面对多个构造函数参数时,请考虑构建器)](Chapter-2/Chapter-2-Item-2-Consider-a-builder-when-faced-with-many-constructor-parameters.md) - [Item 3: Enforce the singleton property with a private constructor or an enum type(使用私有构造函数或枚举类型实施单例属性)](Chapter-2/Chapter-2-Item-3-Enforce-the-singleton-property-with-a-private-constructor-or-an-enum-type.md) - [Item 4: Enforce noninstantiability with a private constructor(用私有构造函数实施不可实例化)](Chapter-2/Chapter-2-Item-4-Enforce-noninstantiability-with-a-private-constructor.md) - [Item 5: Prefer dependency injection to hardwiring resources(依赖注入优于硬连接资源)](Chapter-2/Chapter-2-Item-5-Prefer-dependency-injection-to-hardwiring-resources.md) - [Item 6: Avoid creating unnecessary objects(避免创建不必要的对象)](Chapter-2/Chapter-2-Item-6-Avoid-creating-unnecessary-objects.md) - [Item 7: Eliminate obsolete object references(排除过时的对象引用)](Chapter-2/Chapter-2-Item-7-Eliminate-obsolete-object-references.md) - [Item 8: Avoid finalizers and cleaners(避免使用终结器和清除器)](Chapter-2/Chapter-2-Item-8-Avoid-finalizers-and-cleaners.md) - [Item 9: Prefer try with resources to try finally(使用 try-with-resources 优于 try-finally)](Chapter-2/Chapter-2-Item-9-Prefer-try-with-resources-to-try-finally.md) - **Chapter 3. Methods Common to All Objects(对象的通用方法)** - [Chapter 3 Introduction(章节介绍)](Chapter-3/Chapter-3-Introduction.md) - [Item 10: Obey the general contract when overriding equals(覆盖 equals 方法时应遵守的约定)](Chapter-3/Chapter-3-Item-10-Obey-the-general-contract-when-overriding-equals.md) - [Item 11: Always override hashCode when you override equals(当覆盖 equals 方法时,总要覆盖 hashCode 方法)](Chapter-3/Chapter-3-Item-11-Always-override-hashCode-when-you-override-equals.md) - [Item 12: Always override toString(始终覆盖 toString 方法)](Chapter-3/Chapter-3-Item-12-Always-override-toString.md) - [Item 13: Override clone judiciously(明智地覆盖 clone 方法)](Chapter-3/Chapter-3-Item-13-Override-clone-judiciously.md) - [Item 14: Consider implementing Comparable(考虑实现 Comparable 接口)](Chapter-3/Chapter-3-Item-14-Consider-implementing-Comparable.md) - **Chapter 4. Classes and Interfaces(类和接口)** - [Chapter 4 Introduction(章节介绍)](Chapter-4/Chapter-4-Introduction.md) - [Item 15: Minimize the accessibility of classes and members(尽量减少类和成员的可访问性)](Chapter-4/Chapter-4-Item-15-Minimize-the-accessibility-of-classes-and-members.md) - [Item 16: In public classes use accessor methods not public fields(在公共类中,使用访问器方法,而不是公共字段)](Chapter-4/Chapter-4-Item-16-In-public-classes-use-accessor-methods-not-public-fields.md) - [Item 17: Minimize mutability(减少可变性)](Chapter-4/Chapter-4-Item-17-Minimize-mutability.md) - [Item 18: Favor composition over inheritance(优先选择复合而不是继承)](Chapter-4/Chapter-4-Item-18-Favor-composition-over-inheritance.md) - [Item 19: Design and document for inheritance or else prohibit it(继承要设计良好并且具有文档,否则禁止使用)](Chapter-4/Chapter-4-Item-19-Design-and-document-for-inheritance-or-else-prohibit-it.md) - [Item 20: Prefer interfaces to abstract classes(接口优于抽象类)](Chapter-4/Chapter-4-Item-20-Prefer-interfaces-to-abstract-classes.md) - [Item 21: Design interfaces for posterity(为后代设计接口)](Chapter-4/Chapter-4-Item-21-Design-interfaces-for-posterity.md) - [Item 22: Use interfaces only to define types(接口只用于定义类型)](Chapter-4/Chapter-4-Item-22-Use-interfaces-only-to-define-types.md) - [Item 23: Prefer class hierarchies to tagged classes(类层次结构优于带标签的类)](Chapter-4/Chapter-4-Item-23-Prefer-class-hierarchies-to-tagged-classes.md) - [Item 24: Favor static member classes over nonstatic(静态成员类优于非静态成员类)](Chapter-4/Chapter-4-Item-24-Favor-static-member-classes-over-nonstatic.md) - [Item 25: Limit source files to a single top level class(源文件仅限有单个顶层类)](Chapter-4/Chapter-4-Item-25-Limit-source-files-to-a-single-top-level-class.md) - **Chapter 5. Generics(泛型)** - [Chapter 5 Introduction(章节介绍)](Chapter-5/Chapter-5-Introduction.md) - [Item 26: Do not use raw types(不要使用原始类型)](Chapter-5/Chapter-5-Item-26-Do-not-use-raw-types.md) - [Item 27: Eliminate unchecked warnings(消除 unchecked 警告)](Chapter-5/Chapter-5-Item-27-Eliminate-unchecked-warnings.md) - [Item 28: Prefer lists to arrays(list 优于数组)](Chapter-5/Chapter-5-Item-28-Prefer-lists-to-arrays.md) - [Item 29: Favor generic types(优先使用泛型)](Chapter-5/Chapter-5-Item-29-Favor-generic-types.md) - [Item 30: Favor generic methods(优先使用泛型方法)](Chapter-5/Chapter-5-Item-30-Favor-generic-methods.md) - [Item 31: Use bounded wildcards to increase API flexibility(使用有界通配符增加 API 的灵活性)](Chapter-5/Chapter-5-Item-31-Use-bounded-wildcards-to-increase-API-flexibility.md) - [Item 32: Combine generics and varargs judiciously(明智地合用泛型和可变参数)](Chapter-5/Chapter-5-Item-32-Combine-generics-and-varargs-judiciously.md) - [Item 33: Consider typesafe heterogeneous containers(考虑类型安全的异构容器)](Chapter-5/Chapter-5-Item-33-Consider-typesafe-heterogeneous-containers.md) - **Chapter 6. Enums and Annotations(枚举和注解)** - [Chapter 6 Introduction(章节介绍)](Chapter-6/Chapter-6-Introduction.md) - [Item 34: Use enums instead of int constants(用枚举类型代替 int 常量)](Chapter-6/Chapter-6-Item-34-Use-enums-instead-of-int-constants.md) - [Item 35: Use instance fields instead of ordinals(使用实例字段替代序数)](Chapter-6/Chapter-6-Item-35-Use-instance-fields-instead-of-ordinals.md) - [Item 36: Use EnumSet instead of bit fields(用 EnumSet 替代位字段)](Chapter-6/Chapter-6-Item-36-Use-EnumSet-instead-of-bit-fields.md) - [Item 37: Use EnumMap instead of ordinal indexing(使用 EnumMap 替换序数索引)](Chapter-6/Chapter-6-Item-36-Use-EnumSet-instead-of-bit-fields.md) - [Item 38: Emulate extensible enums with interfaces(使用接口模拟可扩展枚举)](Chapter-6/Chapter-6-Item-38-Emulate-extensible-enums-with-interfaces.md) - [Item 39: Prefer annotations to naming patterns(注解优于命名模式)](Chapter-6/Chapter-6-Item-39-Prefer-annotations-to-naming-patterns.md) - [Item 40: Consistently use the Override annotation(坚持使用 @Override 注解)](Chapter-6/Chapter-6-Item-40-Consistently-use-the-Override-annotation.md) - [Item 41: Use marker interfaces to define types(使用标记接口定义类型)](Chapter-6/Chapter-6-Item-41-Use-marker-interfaces-to-define-types.md) - **Chapter 7. Lambdas and Streams(λ 表达式和流)** - [Chapter 7 Introduction(章节介绍)](Chapter-7/Chapter-7-Introduction.md) - [Item 42: Prefer lambdas to anonymous classes(λ 表达式优于匿名类)](Chapter-7/Chapter-7-Item-42-Prefer-lambdas-to-anonymous-classes.md) - [Item 43: Prefer method references to lambdas(方法引用优于 λ 表达式)](Chapter-7/Chapter-7-Item-43-Prefer-method-references-to-lambdas.md) - [Item 44: Favor the use of standard functional interfaces(优先使用标准函数式接口)](Chapter-7/Chapter-7-Item-44-Favor-the-use-of-standard-functional-interfaces.md) - [Item 45: Use streams judiciously(明智地使用流)](Chapter-7/Chapter-7-Item-45-Use-streams-judiciously.md) - [Item 46: Prefer side effect free functions in streams(在流中使用无副作用的函数)](Chapter-7/Chapter-7-Item-46-Prefer-side-effect-free-functions-in-streams.md) - [Item 47: Prefer Collection to Stream as a return type(优先选择 Collection 而不是流作为返回类型)](Chapter-7/Chapter-7-Item-47-Prefer-Collection-to-Stream-as-a-return-type.md) - [Item 48: Use caution when making streams parallel(谨慎使用并行流)](Chapter-7/Chapter-7-Item-48-Use-caution-when-making-streams-parallel.md) - **Chapter 8. Methods(方法)** - [Chapter 8 Introduction(章节介绍)](Chapter-8/Chapter-8-Introduction.md) - [Item 49: Check parameters for validity(检查参数的有效性)](Chapter-8/Chapter-8-Item-49-Check-parameters-for-validity.md) - [Item 50: Make defensive copies when needed(在需要时制作防御性副本)](Chapter-8/Chapter-8-Item-50-Make-defensive-copies-when-needed.md) - [Item 51: Design method signatures carefully(仔细设计方法签名)](Chapter-8/Chapter-8-Item-51-Design-method-signatures-carefully.md) - [Item 52: Use overloading judiciously(明智地使用重载)](Chapter-8/Chapter-8-Item-52-Use-overloading-judiciously.md) - [Item 53: Use varargs judiciously(明智地使用可变参数)](Chapter-8/Chapter-8-Item-53-Use-varargs-judiciously.md) - [Item 54: Return empty collections or arrays, not nulls(返回空集合或数组,而不是 null)](Chapter-8/Chapter-8-Item-54-Return-empty-collections-or-arrays-not-nulls.md) - [Item 55: Return optionals judiciously(明智地的返回 Optional)](Chapter-8/Chapter-8-Item-55-Return-optionals-judiciously.md) - [Item 56: Write doc comments for all exposed API elements(为所有公开的 API 元素编写文档注释)](Chapter-8/Chapter-8-Item-56-Write-doc-comments-for-all-exposed-API-elements.md) - **Chapter 9. General Programming(通用程序设计)** - [Chapter 9 Introduction(章节介绍)](Chapter-9/Chapter-9-Introduction.md) - [Item 57: Minimize the scope of local variables(将局部变量的作用域最小化)](Chapter-9/Chapter-9-Item-57-Minimize-the-scope-of-local-variables.md) - [Item 58: Prefer for-each loops to traditional for loops(for-each 循环优于传统的 for 循环)](Chapter-9/Chapter-9-Item-58-Prefer-for-each-loops-to-traditional-for-loops.md) - [Item 59: Know and use the libraries(了解并使用库)](Chapter-9/Chapter-9-Item-59-Know-and-use-the-libraries.md) - [Item 60: Avoid float and double if exact answers are required(若需要精确答案就应避免使用 float 和 double 类型)](Chapter-9/Chapter-9-Item-60-Avoid-float-and-double-if-exact-answers-are-required.md) - [Item 61: Prefer primitive types to boxed primitives(基本数据类型优于包装类)](Chapter-9/Chapter-9-Item-61-Prefer-primitive-types-to-boxed-primitives.md) - [Item 62: Avoid strings where other types are more appropriate(其他类型更合适时应避免使用字符串)](Chapter-9/Chapter-9-Item-62-Avoid-strings-where-other-types-are-more-appropriate.md) - [Item 63: Beware the performance of string concatenation(当心字符串连接引起的性能问题)](Chapter-9/Chapter-9-Item-63-Beware-the-performance-of-string-concatenation.md) - [Item 64: Refer to objects by their interfaces(通过接口引用对象)](Chapter-9/Chapter-9-Item-64-Refer-to-objects-by-their-interfaces.md) - [Item 65: Prefer interfaces to reflection(接口优于反射)](Chapter-9/Chapter-9-Item-65-Prefer-interfaces-to-reflection.md) - [Item 66: Use native methods judiciously(明智地使用本地方法)](Chapter-9/Chapter-9-Item-66-Use-native-methods-judiciously.md) - [Item 67: Optimize judiciously(明智地进行优化)](Chapter-9/Chapter-9-Item-67-Optimize-judiciously.md) - [Item 68: Adhere to generally accepted naming conventions(遵守被广泛认可的命名约定)](Chapter-9/Chapter-9-Item-68-Adhere-to-generally-accepted-naming-conventions.md) - **Chapter 10. Exceptions(异常)** - [Chapter 10 Introduction(章节介绍)](Chapter-10/Chapter-10-Introduction.md) - [Item 69: Use exceptions only for exceptional conditions(仅在确有异常条件下使用异常)](Chapter-10/Chapter-10-Item-69-Use-exceptions-only-for-exceptional-conditions.md) - [Item 70: Use checked exceptions for recoverable conditions and runtime exceptions for programming errors(对可恢复情况使用 checked 异常,对编程错误使用运行时异常)](Chapter-10/Chapter-10-Item-70-Use-checked-exceptions-for-recoverable-conditions-and-runtime-exceptions-for-programming-errors.md) - [Item 71: Avoid unnecessary use of checked exceptions(避免不必要地使用 checked 异常)](Chapter-10/Chapter-10-Item-71-Avoid-unnecessary-use-of-checked-exceptions.md) - [Item 72: Favor the use of standard exceptions(鼓励复用标准异常)](Chapter-10/Chapter-10-Item-72-Favor-the-use-of-standard-exceptions.md) - [Item 73: Throw exceptions appropriate to the abstraction(抛出能用抽象解释的异常)](Chapter-10/Chapter-10-Item-73-Throw-exceptions-appropriate-to-the-abstraction.md) - [Item 74: Document all exceptions thrown by each method(为每个方法记录会抛出的所有异常)](Chapter-10/Chapter-10-Item-74-Document-all-exceptions-thrown-by-each-method.md) - [Item 75: Include failure capture information in detail messages(异常详细消息中应包含捕获失败的信息)](Chapter-10/Chapter-10-Item-75-Include-failure-capture-information-in-detail-messages.md) - [Item 76: Strive for failure atomicity(尽力保证故障原子性)](Chapter-10/Chapter-10-Item-76-Strive-for-failure-atomicity.md) - [Item 77: Don’t ignore exceptions(不要忽略异常)](Chapter-10/Chapter-10-Item-77-Don’t-ignore-exceptions.md) - **Chapter 11. Concurrency(并发)** - [Chapter 11 Introduction(章节介绍)](Chapter-11/Chapter-11-Introduction.md) - [Item 78: Synchronize access to shared mutable data(对共享可变数据的同步访问)](Chapter-11/Chapter-11-Item-78-Synchronize-access-to-shared-mutable-data.md) - [Item 79: Avoid excessive synchronization(避免过度同步)](Chapter-11/Chapter-11-Item-79-Avoid-excessive-synchronization.md) - [Item 80: Prefer executors, tasks, and streams to threads(Executor、task、流优于直接使用线程)](Chapter-11/Chapter-11-Item-80-Prefer-executors,-tasks,-and-streams-to-threads.md) - [Item 81: Prefer concurrency utilities to wait and notify(并发实用工具优于 wait 和 notify)](Chapter-11/Chapter-11-Item-81-Prefer-concurrency-utilities-to-wait-and-notify.md) - [Item 82: Document thread safety(文档应包含线程安全属性)](Chapter-11/Chapter-11-Item-82-Document-thread-safety.md) - [Item 83: Use lazy initialization judiciously(明智地使用延迟初始化)](Chapter-11/Chapter-11-Item-83-Use-lazy-initialization-judiciously.md) - [Item 84: Don’t depend on the thread scheduler(不要依赖线程调度器)](Chapter-11/Chapter-11-Item-84-Don’t-depend-on-the-thread-scheduler.md) - **Chapter 12. Serialization(序列化)** - [Chapter 12 Introduction(章节介绍)](Chapter-12/Chapter-12-Introduction.md) - [Item 85: Prefer alternatives to Java serialization(Java 序列化的替代方案)](Chapter-12/Chapter-12-Item-85-Prefer-alternatives-to-Java-serialization.md) - [Item 86: Implement Serializable with great caution(非常谨慎地实现 Serializable)](Chapter-12/Chapter-12-Item-86-Implement-Serializable-with-great-caution.md) - [Item 87: Consider using a custom serialized form(考虑使用自定义序列化形式)](Chapter-12/Chapter-12-Item-87-Consider-using-a-custom-serialized-form.md) - [Item 88: Write readObject methods defensively(防御性地编写 readObject 方法)](Chapter-12/Chapter-12-Item-88-Write-readObject-methods-defensively.md) - [Item 89: For instance control, prefer enum types to readResolve(对于实例控制,枚举类型优于 readResolve)](Chapter-12/Chapter-12-Item-89-For-instance-control-prefer-enum-types-to-readResolve.md) - [Item 90: Consider serialization proxies instead of serialized instances(考虑以序列化代理代替序列化实例)](Chapter-12/Chapter-12-Item-90-Consider-serialization-proxies-instead-of-serialized-instances.md)
69
OpenGrok is a fast and usable source code search and cross reference engine, written in Java
Copyright (c) 2006, 2023 Oracle and/or its affiliates. All rights reserved. # OpenGrok - a wicked fast source browser [![Github actions build](https://github.com/oracle/opengrok/workflows/Build/badge.svg?branch=master)](https://github.com/oracle/opengrok/actions) [![Coverage status](https://coveralls.io/repos/oracle/opengrok/badge.svg?branch=master)](https://coveralls.io/r/oracle/opengrok?branch=master) [![SonarQube status](https://sonarcloud.io/api/project_badges/measure?project=org.opengrok%3Aopengrok-top&metric=alert_status)](https://sonarcloud.io/dashboard?id=org.opengrok%3Aopengrok-top) [![Total alerts](https://img.shields.io/lgtm/alerts/g/oracle/opengrok.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/oracle/opengrok/alerts/) [![License](https://img.shields.io/badge/License-CDDL%201.0-blue.svg)](https://opensource.org/licenses/CDDL-1.0) - [OpenGrok - a wicked fast source browser](#opengrok---a-wicked-fast-source-browser) - [1. Introduction](#1-introduction) - [2. OpenGrok install and setup](#2-opengrok-install-and-setup) - [3. Information for developers](#3-information-for-developers) - [4. Authors](#4-authors) - [5. Contact us](#5-contact-us) - [6. Run as container](#6-run-as-container) ## 1. Introduction OpenGrok is a fast and usable source code search and cross reference engine, written in Java. It helps you search, cross-reference and navigate your source tree. It can understand various program file formats and version control histories of many source code management systems. Official page of the project is on: <https://oracle.github.io/opengrok/> ## 2. OpenGrok install and setup See https://github.com/oracle/opengrok/wiki/How-to-setup-OpenGrok ### 2. 1. Updating OpenGrok uses [semantic versioning](https://semver.org/) and the version components further indicate more details about updating to newer version. The version scheme is *major.minor.micro* and change in any component is interpreted as: - major - major backwards incompatible update, will require full reindex as well as configuration changes - minor - full clean reindex of your repositories is needed (e. g. index format has changed) - micro - redeploy web application Generally it is possible to go backward only within the micro version. ## 3. Information for developers See https://github.com/oracle/opengrok/wiki/Developer-intro and https://github.com/oracle/opengrok/wiki/Developers ## 4. Authors The project has been originally conceived in [Sun Microsystems](https://en.wikipedia.org/wiki/Sun_Microsystems) by Chandan B.N. For full list of contributors see https://github.com/oracle/opengrok/graphs/contributors ## 5. Contact us Use the [Github Discussions](https://github.com/oracle/opengrok/discussions). ## 6. Run as container You can run OpenGrok as a Docker container as described [here](docker/README.md). In fact, http://demo.opengrok.org/ is using the `opengrok/docker:master` Docker image.
70
Enterprise job scheduling middleware with distributed computing ability.
# English | [简体中文](./README_zhCN.md) <p align="center"> <img src="https://raw.githubusercontent.com/KFCFans/PowerJob/master/others/images/logo.png" alt="PowerJob" title="PowerJob" width="557"/> </p> <p align="center"> <a href="https://github.com/PowerJob/PowerJob/actions"><img src="https://github.com/PowerJob/PowerJob/workflows/Java%20CI%20with%20Maven/badge.svg?branch=master" alt="actions"></a> <a href="https://search.maven.org/search?q=tech.powerjob"><img alt="Maven Central" src="https://img.shields.io/maven-central/v/tech.powerjob/powerjob-worker"></a> <a href="https://github.com/PowerJob/PowerJob/releases"><img alt="GitHub release (latest SemVer)" src="https://img.shields.io/github/v/release/kfcfans/powerjob?color=%23E59866"></a> <a href="https://github.com/PowerJob/PowerJob/blob/master/LICENSE"><img src="https://img.shields.io/github/license/KFCFans/PowerJob" alt="LICENSE"></a> </p> [PowerJob](https://github.com/PowerJob/PowerJob) is an open-source distributed computing and job scheduling framework which allows developers to easily schedule tasks in their own application. Refer to [PowerJob Introduction](https://www.yuque.com/powerjob/en/introduce) for detailed information. # Introduction ### Features - **Friendly UI:** [Front-end](http://try.powerjob.tech/#/welcome?appName=powerjob-agent-test&password=123) page is provided and developers can manage their task, monitor the status, check the logs online, etc. - **Abundant Timing Strategies:** Four timing strategies are supported, including CRON expression, fixed rate, fixed delay and OpenAPI which allows you to define your own scheduling policies, such as delaying execution. - **Multiple Execution Mode:** Four execution modes are supported, including stand-alone, broadcast, Map and MapReduce. Distributed computing resource could be utilized in MapReduce mode, try the magic out [here](https://www.yuque.com/powerjob/en/za1d96#9YOnV)! - **Workflow(DAG) Support:** Both job dependency management and data communications between jobs are supported. - **Extensive Processor Support:** Developers can write their processors in Java, Shell, Python, and will subsequently support multilingual scheduling via HTTP. - **Powerful Disaster Tolerance:** As long as there are enough computing nodes, configurable retry policies make it possible for your task to be executed and finished successfully. - **High Availability & High Performance:** PowerJob supports unlimited horizontal expansion. It's easy to achieve high availability and performance by deploying as many PowerJob server and worker nodes. ### Applicable scenes - Timed tasks, for example, allocating e-coupons on 9 AM every morning. - Broadcast tasks, for example, broadcasting to the cluster to clear logs. - MapReduce tasks, for example, speeding up certain job like updating large amounts of data. - Delayed tasks, for example, processing overdue orders. - Customized tasks, triggered with [OpenAPI](https://www.yuque.com/powerjob/en/openapi). ### Online trial - Address: [try.powerjob.tech](http://try.powerjob.tech/#/welcome?appName=powerjob-agent-test&password=123) - Recommend reading the documentation first: [here](https://www.yuque.com/powerjob/en/trial) # Documents **[Docs](https://www.yuque.com/powerjob/en/introduce)** **[中文文档](https://www.yuque.com/powerjob/guidence/intro)** # Known Users [Click to register as PowerJob user!](https://github.com/PowerJob/PowerJob/issues/6) ღ( ´・ᴗ・\` )ღ Many thanks to the following registered users. ღ( ´・ᴗ・\` )ღ <p style="text-align: center"> <img src="https://raw.githubusercontent.com/KFCFans/PowerJob/master/others/images/user.png" alt="PowerJob User" title="PowerJob User"/> </p> # Stargazers over time [![Stargazers over time](https://starchart.cc/PowerJob/PowerJob.svg)](https://starchart.cc/PowerJob/PowerJob) # License PowerJob is released under Apache License 2.0. Please refer to [License](./LICENSE) for details. # Others - Any developer interested in getting more involved in PowerJob may join our [Reddit](https://www.reddit.com/r/PowerJob) or [Gitter](https://gitter.im/PowerJob/community) community and make [contributions](https://github.com/PowerJob/PowerJob/pulls)! - Reach out to me through email **[email protected]**. Any issues or questions are welcomed on [Issues](https://github.com/PowerJob/PowerJob/issues). - Look forward to your opinions. Response may be late but not denied.
71
:musical_note: Algorithms written in different programming languages - https://zoranpandovski.github.io/al-go-rithms/
null
72
This is a sample app that is part of a series of blog posts I have written about how to architect an android application using Uncle Bob's clean architecture approach.
Android-CleanArchitecture ========================= ## New version available written in Kotlin: [Architecting Android… Reloaded](https://fernandocejas.com/2018/05/07/architecting-android-reloaded/) Introduction ----------------- This is a sample app that is part of a blog post I have written about how to architect android application using the Uncle Bob's clean architecture approach. [Architecting Android…The clean way?](http://fernandocejas.com/2014/09/03/architecting-android-the-clean-way/) [Architecting Android…The evolution](http://fernandocejas.com/2015/07/18/architecting-android-the-evolution/) [Tasting Dagger 2 on Android](http://fernandocejas.com/2015/04/11/tasting-dagger-2-on-android/) [Clean Architecture…Dynamic Parameters in Use Cases](http://fernandocejas.com/2016/12/24/clean-architecture-dynamic-parameters-in-use-cases/) [Demo video of this sample](http://youtu.be/XSjV4sG3ni0) Clean architecture ----------------- ![http://fernandocejas.com/2015/07/18/architecting-android-the-evolution/](https://github.com/android10/Sample-Data/blob/master/Android-CleanArchitecture/clean_architecture.png) Architectural approach ----------------- ![http://fernandocejas.com/2015/07/18/architecting-android-the-evolution/](https://github.com/android10/Sample-Data/blob/master/Android-CleanArchitecture/clean_architecture_layers.png) Architectural reactive approach ----------------- ![http://fernandocejas.com/2015/07/18/architecting-android-the-evolution/](https://github.com/android10/Sample-Data/blob/master/Android-CleanArchitecture/clean_architecture_layers_details.png) Local Development ----------------- Here are some useful Gradle/adb commands for executing this example: * `./gradlew clean build` - Build the entire example and execute unit and integration tests plus lint check. * `./gradlew installDebug` - Install the debug apk on the current connected device. * `./gradlew runUnitTests` - Execute domain and data layer tests (both unit and integration). * `./gradlew runAcceptanceTests` - Execute espresso and instrumentation acceptance tests. Discussions ----------------- Refer to the issues section: https://github.com/android10/Android-CleanArchitecture/issues Code style ----------- Here you can download and install the java codestyle. https://github.com/android10/java-code-styles License -------- Copyright 2018 Fernando Cejas Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ![http://www.fernandocejas.com](https://github.com/android10/Sample-Data/blob/master/android10/android10_logo_big.png) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Android--CleanArchitecture-brightgreen.svg?style=flat)](https://android-arsenal.com/details/3/909) <a href="https://www.buymeacoffee.com/android10" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;" ></a>
73
Um guia extenso de informações com um vasto conteúdo de várias áreas para ajudar, agregar conhecimento e retirar dúvidas, nesse guia você encontrará tudo que necessário para qualquer carreira relacionada a tecnologia.
<p align="center"> <a href="https://github.com/arthurspk/guiadevbrasil"> <img src="./images/guia.png" alt="Guia Extenso de Programação" width="160" height="160"> </a> <h1 align="center">Guia Extenso de Programação</h1> </p> ## :dart: O guia para alavancar a sua carreira > Abaixo você encontrará conteúdos para te guiar e ajudar a se tornar um desenvolvedor ou se especializar em qualquer área de TI. Caso você já atue como desenvolvedor ou em outra área, confira o repositório para descobrir novas ferramentas para o seu dia-a-dia, caminhos possíveis e as tecnologias para incorporar na sua stack com foco em se tornar um profissional atualizado e diferenciado em front-end, back-end, dentre outras. <sub> <strong>Siga nas redes sociais para acompanhar mais conteúdos: </strong> <br> [<img src = "https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white">](https://github.com/arthurspk) [<img src = "https://img.shields.io/badge/Facebook-1877F2?style=for-the-badge&logo=facebook&logoColor=white">](https://www.facebook.com/seixasqlc/) [<img src="https://img.shields.io/badge/linkedin-%230077B5.svg?&style=for-the-badge&logo=linkedin&logoColor=white" />](https://www.linkedin.com/in/arthurspk/) [<img src = "https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white">](https://twitter.com/manotoquinho) [![Discord Badge](https://img.shields.io/badge/Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/NbMQUPjHz7) [<img src = "https://img.shields.io/badge/instagram-%23E4405F.svg?&style=for-the-badge&logo=instagram&logoColor=white">](https://www.instagram.com/guiadevbrasil/) [![Youtube Badge](https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge&logo=youtube&logoColor=white)](https://www.youtube.com/channel/UCzmXzz_VR0Li8-YOvWN_t3g) </sub> ## :closed_book: E-Book > Este repositório é um projeto gratuito para a comunidade de desenvolvedores. Você pode me ajudar comprando o e-book "e-Front" se estiver interessado em aprender ou melhorar suas habilidades de desenvolvimento front-end. O e-book é completo e cobre tecnologias essenciais como HTML, CSS, JavaScript, React, TypeScript e mais. O valor é simbólico e sua compra me ajuda a produzir e fornecer mais conteúdo gratuito para a comunidade. Adquira agora e comece sua jornada no desenvolvimento front-end. - eFront - Estudando Desenvolvimento Front-end do Zero. [Clique aqui para comprar](https://hotm.art/cSMObU) ## ⚠️ Aviso importante > Antes de tudo você pode me ajudar e colaborar, deu bastante trabalho fazer esse repositório e organizar para fazer seu estudo ou trabalho melhor, portanto você pode me ajudar das seguintes maneiras: - Me siga no [Github](https://github.com/arthurspk) - Acesse as redes sociais do [Guia Dev Brasil](https://beacons.ai/guiadevbrasil/) - Mande feedbacks no [LinkedIn](https://www.linkedin.com/in/arthurspk/) - Faça uma doação pelo PIX: [email protected] ## 💡 Nossa proposta > A proposta deste guia é dar uma ideia sobre o atual panorama e guiá-lo se você estiver confuso sobre qual será o seu próximo aprendizado, sem influenciar você a seguir os 'hypes' e 'trends' do momento. Acreditamos que com um maior conhecimento das diferentes estruturas e soluções disponíveis poderá escolher a ferramenta que melhor se aplica às suas demandas. E lembre-se, 'hypes' e 'trends' nem sempre são as melhores opções. ## :beginner: Para quem está começando agora > Não se assuste com a quantidade de conteúdo apresentado neste guia. Acredito que quem está começando pode usá-lo não como um objetivo, mas como um apoio para os estudos. <b>Neste momento, dê enfoque no que te dá produtividade e o restante marque como <i>Ver depois</i></b>. Ao passo que seu conhecimento se torna mais amplo, a tendência é este guia fazer mais sentido e ficar fácil de ser assimilado. Bons estudos e entre em contato sempre que quiser! :punch: ## 🚨 Colabore - Abra Pull Requests com atualizações - Discuta ideias em Issues - Compartilhe o repositório com a sua comunidade ## 🌍 Tradução > Se você deseja acompanhar esse repositório em outro idioma que não seja o Português Brasileiro, você pode optar pelas escolhas de idiomas abaixo, você também pode colaborar com a tradução para outros idiomas e a correções de possíveis erros ortográficos, a comunidade agradece. <img src = "https://i.imgur.com/lpP9V2p.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>English — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/GprSvJe.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Spanish — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/4DX1q8l.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Chinese — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/6MnAOMg.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Hindi — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/8t4zBFd.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Arabic — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/iOdzTmD.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>French — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/PILSgAO.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Italian — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/0lZOSiy.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Korean — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/3S5pFlQ.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Russian — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/i6DQjZa.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>German — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/wWRZMNK.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Japanese — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> ## 📚 ÍNDICE [🔧 Ferramentas para tradução de conteúdo](#-ferramentas-para-tradução-de-conteúdo) <br> [👨‍🏫 Sites para estudar programação](#-sites-para-estudar-programação) <br> [🎨 Sites para desenvolvedor front-end](#-sites-para-desenvolvedor-front-end) <br> [🎮 Sites para aprender a programar jogando](#-sites-para-aprender-a-programar-jogando) <br> [✨ Templates HTML gratuitos](#-templates-html-gratuitos) <br> [🪅 Sites para aprender ou treinar CSS](#-sites-para-aprender-ou-treinar-css) <br> [🪡 Geradores de CSS](#-geradores-de-css) <br> [🔎 Sites para buscar vagas remotas](#-sites-para-buscar-vagas-remotas) <br> [🔧 Ferramentas de desenvolvimento](#-ferramentas-de-desenvolvimento) <br> [🗂 Gerenciamento de projetos](#-gerenciamento-de-projetos) <br> [📝 IDEs e editores de código](#-ides-e-editores-de-código) <br> [🖌 Design Front-end](#-design-front-end) <br> [🔤 Linguagens de programação](#-linguagens-de-programação) <br> [📕 Guia de Estilo](#-guia-de-estilo) <br> [📁 Desafios](#-desafios) <br> [🛠️ Ferramentas para desenvolvedores WEB](#-ferramentas-para-desenvolvedores-web) <br> [⚒️ Ferramentas para buscar projetos open source](#-ferramentas-para-buscar-projetos-open-source) <br> [🐧 Melhores distros linux para programadores](#-melhores-distros-linux-para-programadores) <br> [🔗 Bibliotecas JavaScript](#-bibliotecas-javascript) <br> [🪛 9 Ferramentas que todo DEV precisa conhecer](#-7-ferramentas-que-todo-dev-precisa-conhecer) <br> [🎭 Sites para praticar UI/UX](#-sites-para-praticar-uiux) <br> [☁ Ferramentas para hospedar seu site](#-ferramentas-para-hospedar-seu-site) <br> [🌌 Sites para inspirar o seu desenvolvimento](#-sites-para-inspirar-o-seu-desenvolvimento) <br> [📮 Banco de imagens gratuitas](#-banco-de-imagens-gratuitas) <br> [👔 Aumentando o network](#-aumentando-o-network) <br> [🎠 Sites para baixar e encontrar fontes](#-sites-para-baixar-e-encontrar-fontes) <br> [🧵 Sites de paletas de cores](#-sites-de-paletas-de-cores) <br> [🎇 Lista de ilustrações](#-lista-de-ilustrações) <br> [🎆 Sites de icones](#-sites-de-icones) <br> [🎥 Canais do youtube com conteúdo grautito](#-canais-do-youtube-com-conteúdo-gratuito) <br> [🔓 Pentest](#-pentest) <br> [🎙 Blogs e Podcasts](#-blogs-e-podcasts) <br> [💼 Business](#-business) <br> [🧭 Web Developer Roadmap](#-web-developer-roadmap) <br> [🔩 Extensões para o seu navegador](#-extensões-para-o-seu-navegador) <br> [📚 Recomendação de livros](#-recomendação-de-livros) <br> [📱 Apps para praticar programação](#-apps-para-praticar-programação) <br> [📘 Sites para treinar projetos front-end](#-sites-para-treinar-projetos-front-end) <br> [📗 Sites para treinar projetos back-end](#-sites-para-treinar-projetos-back-end) <br> [📙 Sites para treinar projetos mobile](#-sites-para-treinar-projetos-mobile) <br> [🛖 Ideias para projeto](#-ideias-para-projeto) <br> [🦓 Sites e cursos para aprender Java](#-sites-e-cursos-para-aprender-java) <br> [🐴 Sites e cursos para aprender JavaScript](#-sites-e-cursos-para-aprender-javascript) <br> [🐓 Sites e cursos para aprender HTML](#-sites-e-cursos-para-aprender-html) <br> [🦄 Sites e cursos para aprender CSS](#-sites-e-cursos-para-aprender-css) <br> [🐍 Sites e cursos para aprender Python](#-sites-e-cursos-para-aprender-python) <br> [🐘 Sites e cursos para aprender PHP](#-sites-e-cursos-para-aprender-php) <br> [🦚 Sites e cursos para aprender C#](#-sites-e-cursos-para-aprender-c) <br> [🦉 Sites e cursos para aprender C](#-sites-e-cursos-para-aprender-c-1) <br> [🐸 Sites e cursos para aprender C++](#-sites-e-cursos-para-aprender-c-2) <br> [🦉 Sites e cursos para aprender Camunda](#-sites-e-cursos-para-aprender-camunda) <br> [🐶 Sites e cursos para aprender Kotlin](#-sites-e-cursos-para-aprender-kotlin) <br> [🦊 Sites e cursos para aprender Swift](#-sites-e-cursos-para-aprender-swift) <br> [🐺 Sites e cursos para aprender Go](#-sites-e-cursos-para-aprender-go) <br> [🐦 Sites e cursos para aprender Ruby](#-sites-e-cursos-para-aprender-ruby) <br> [💧 Sites e cursos para aprender Elixir](#-sites-e-cursos-para-aprender-elixir) <br> [🐷 Sites e cursos para aprender React](#-sites-e-cursos-para-aprender-react) <br> [🐼 Sites e cursos para aprender React Native](#-sites-e-cursos-para-aprender-react-native) <br> [🐯 Sites e cursos para aprender Angular](#-sites-e-cursos-para-aprender-angular) <br> [🐞 Sites e cursos para aprender Vue](#-sites-e-cursos-para-aprender-vue) <br> [🦂 Sites e cursos para aprender Svelte](#-sites-e-cursos-para-aprender-svelte) <br> [🦞 Sites e cursos para aprender Flutter](#-sites-e-cursos-para-aprender-flutter) <br> [🐹 Sites e cursos para aprender jQuery](#-sites-e-cursos-para-aprender-jquery) <br> [🐢 Sites e cursos para aprender Less](#-sites-e-cursos-para-aprender-less) <br> [🐱 Sites e cursos para aprender Sass](#-sites-e-cursos-para-aprender-sass) <br> [🐰 Sites e cursos para aprender Bootstrap](#-sites-e-cursos-para-aprender-bootstrap) <br> [🐻‍❄️ Sites e cursos para aprender MySQL](#%EF%B8%8F-sites-e-cursos-para-aprender-mysql) <br> [🐮 Sites e cursos para aprender Git e Github](#-sites-e-cursos-para-aprender-git-e-github) <br> [🦣 Sites e cursos para aprender TypeScript](#-sites-e-cursos-para-aprender-typescript) <br> [🦬 Sites e cursos para aprender Node.js](#-sites-e-cursos-para-aprender-nodejs) <br> [🦌 Sites e cursos para aprender Next.js](#-sites-e-cursos-para-aprender-nextjs) <br> [🦘 Sites e cursos para aprender Assembly](#-sites-e-cursos-para-aprender-assembly) <br> [🦒 Sites e cursos para aprender Lua](#-sites-e-cursos-para-aprender-lua) <br> [🐫 Sites e cursos para aprender Perl](#-sites-e-cursos-para-aprender-perl) <br> [🐧 Sites e cursos para aprender Linux](#-sites-e-cursos-para-aprender-linux) <br> [🦥 Sites e cursos para aprender Ionic](#-sites-e-cursos-para-aprender-ionic) <br> [🦦 Sites e cursos para aprender Jira](#-sites-e-cursos-para-aprender-jira) <br> [🦫 Sites e cursos para aprender Rust](#-sites-e-cursos-para-aprender-rust) <br> [🦭 Sites e cursos para aprender Scala](#-sites-e-cursos-para-aprender-scala) <br> [🦝 Sites e cursos para aprender Nuxt.js](#-sites-e-cursos-para-aprender-nuxtjs) <br> [🦎 Sites e cursos para aprender Gulp](#-sites-e-cursos-para-aprender-gulp) <br> [🐅 Sites e cursos para aprender MongoDB](#-sites-e-cursos-para-aprender-mongodb) <br> [🦩 Sites e cursos para aprender GraphQL](#-sites-e-cursos-para-aprender-graphql) <br> [🦙 Sites e cursos para aprender Cassandra](#-sites-e-cursos-para-aprender-cassandra) <br> [🦛 Sites e cursos para aprender SQL Server](#-sites-e-cursos-para-aprender-sql-server) <br> [🐐 Sites e cursos para aprender Postgree SQL](#-sites-e-cursos-para-aprender-postgree-sql) <br> [🐑 Sites e cursos para aprender Delphi](#-sites-e-cursos-para-aprender-delphi) <br> [🐊 Sites e cursos para aprender Wordpress](#-sites-e-cursos-para-aprender-wordpress) <br> [🐳 Sites e cursos para aprender Docker](#-sites-e-cursos-para-aprender-docker) <br> [🦜 Sites e cursos para aprender Kubernets](#-sites-e-cursos-para-aprender-kubernets) <br> [🐆 Sites e cursos para aprender Nest](#-sites-e-cursos-para-aprender-nest) <br> [🐿 Sites e cursos para aprender Laravel](#-sites-e-cursos-para-aprender-laravel) <br> [🐃 Sites e cursos para aprender AWS](#-sites-e-cursos-para-aprender-aws) <br> [🐬 Sites e cursos para aprender Google Cloud](#-sites-e-cursos-para-aprender-google-cloud) <br> [🦆 Sites e cursos para aprender Azure](#-sites-e-cursos-para-aprender-azure) <br> [🦅 Sites e cursos para aprender Django](#-sites-e-cursos-para-aprender-django) <br> [🐏 Sites e cursos para aprender Gatsby](#-sites-e-cursos-para-aprender-gatsby) <br> [🐂 Sites e cursos para aprender ASP.net](#-sites-e-cursos-para-aprender-aspnet) <br> [🐖 Sites e cursos para aprender Inteligência Artificial](#-sites-e-cursos-para-aprender-inteligência-artificial) <br> [🦀 Sites e cursos para aprender Machine Learning](#-sites-e-cursos-para-aprender-machine-learning) <br> [🦑 Sites e cursos para aprender Data Science](#-sites-e-cursos-para-aprender-data-science) <br> [🐙 Sites e cursos para aprender NumPy](#-sites-e-cursos-para-aprender-numpy) <br> [🦃 Sites e cursos para aprender Pandas](#-sites-e-cursos-para-aprender-pandas) <br> [🐟 Sites e cursos para aprender XML](#-sites-e-cursos-para-aprender-xml) <br> [🦢 Sites e cursos para aprender Jenkins](#-sites-e-cursos-para-aprender-jenkins) <br> [🦤 Sites e cursos para aprender Xamarin](#sites-e-cursos-para-aprender-xamarin) <br> [🦁 Sites e cursos para aprender Matlab](#sites-e-cursos-para-aprender-matlab) <br> [🪲 Sites e cursos para aprender Julia](#sites-e-cursos-para-aprender-julia) <br> [🐨 Sites e cursos para aprender PowerShell](#-sites-e-cursos-para-aprender-powershell) <br> [🐥 Sites e cursos para aprender Flask](#-sites-e-cursos-para-aprender-flask) <br> [🐔 Sites e cursos para aprender Spring](#-sites-e-cursos-para-aprender-spring) <br> [🐗 Sites e cursos para aprender Tailwind CSS](#-sites-e-cursos-para-aprender-tailwind-css) <br> [🦐 Sites e cursos para aprender Styled Components](#-sites-e-cursos-para-aprender-styled-components) <br> [🐎 Sites e cursos para aprender Magento](#-sites-e-cursos-para-aprender-magento) <br> [🐜 Sites e cursos para aprender ArangoDB](#-sites-e-cursos-para-aprender-arangodb) <br> [📚 Sites e cursos para aprender Linha de comando](#-sites-e-cursos-para-aprender-linha-de-comando) <br> ## 🔧 Ferramentas para tradução de conteúdo > Muito do conteúdo desse repositório pode se encontrar em um idioma diferente do seu, desta maneira, fornecemos algumas ferramentas para que você consiga realizar a tradução do conteúdo, lembrando que o intuito desse guia é fornecer todo o conteúdo possível para que você possa se capacitar na área de tecnologia independente do idioma a qual o material é fornecido, visto que se você possuí interesse em consumir esse material isso não será um empecilho para você continue seus estudos. - [Google Translate](https://translate.google.com.br/?hl=pt-BR) - [Linguee](https://www.linguee.com.br/ingles-portugues/traducao/translate.html) - [DeepL](https://www.deepl.com/pt-BR/translator) - [Reverso](https://context.reverso.net/traducao/ingles-portugues/translate) ## 👨‍🏫 Sites para estudar programação - [Rocketseat](https://rocketseat.com.br/) - Cursos gratuitos sobre as tecnologias mais quentes do mercado - [Digital Innovation One](http://digitalinnovation.one/) - Plataforma de ensino gratuita que desenvolve e conecta talentos - [Torne-se um Programador](https://www.torneseumprogramador.com.br/cursos) - Dezenas de cursos gratuitos completos e avançados com aplicações reais de mercado. - [Curso em Vídeo](https://www.cursoemvideo.com/) - Cursos básicos gratuitos para iniciantes - [Origamid](https://www.origamid.com/) - Cursos gratuitos e pagos paras desenvolver suas habilidades na área de UX & UI Design e desenvolvimento front-end - [Udemy Development](https://www.udemy.com/courses/development/?price=price-free&sort=popularity) - +1.400 cursos de desenvolvimento gratuitos - [Udemy IT](https://www.udemy.com/courses/it-and-software/?price=price-free&lang=pt&sort=popularity) - +100 cursos de TI e softwares - [HackerRank](https://www.hackerrank.com/) - Desafios de Programação Back-end. Com IDE integrada - [Hackereath](https://www.hackerearth.com/) - Site para desenvolver suas habilidades de código. - [CoderByte](https://coderbyte.com/) - Desafios de Programação Back-end. Com IDE integrada - [Coderchef](https://www.codechef.com/) - Site para Estuda sobre programação, código e afins. - [W3Resources](https://w3resource.com) - Exercícios online para praticar de inúmeras linguagens - [Coursera](https://www.coursera.org/) - Cursos gratuitos com conteúdos conceituados - [Scrimba](https://scrimba.com/) - Cursos gratuitos e pagos para aprender as tecnologias mais demandadas do Front-end - [CodePen](https://codepen.io/) - Rede social de desenvolvedores front-end - [Codementor](https://www.codementor.io/) - Site para praticar e aprender a desenvolver suas skills como desenvolvedor - [FreeCodeCamp](https://www.freecodecamp.org/) - Aprenda como codificar gratuitamente e ganhe portfólio ajudando organizações sem fins lucrativos - [GeeksForGeeks](https://www.geeksforgeeks.org/) - Plataforma para desenvolver suas habilidade em diversas áreas da programação - [W3Schools](https://www.w3schools.com) - Inúmeras documentações explicadas de forma intuitiva - [Khan Academy](https://pt.khanacademy.org/) - Plataforma de estudos conceituada sobre aprendizado gamificado - [Udacity](https://www.udacity.com/) - Aprendizado tecnológico com ps conteúdos mais quentes do mercado (IA, data science, cloud computing, etc) - [SoloLearn](https://www.sololearn.com/) - Aprenda a programar gratuitamente pelo celular ou web - [edX](https://www.edx.org/) - Aprenda com os melhores, cursos de ciência da computação e ciência de dados ministradas por docentes das maiores e melhores universidades de todo o mundo - [Treehouse](https://teamtreehouse.com/) - Cursos para desenvolvedores e aprimomaromento de portfólio - [Coding Ground](https://www.tutorialspoint.com/codingground.htm) - Várias plat - ormas de codificação online - [TheOdinProject](https://www.theodinproject.com/) - Site para aprender programação e desenvolvimento por meio de cursos - [FrontEndMaster](https://frontendmasters.com/) - Site para aprender programação e desenvolvimento por meio de cursos - [Balta.io](https://balta.io) - Site para aprender programação e desenvolvimento por meio de cursos - [FrontEndMaster](https://frontendmasters.com/) - Site para aprender programação e desenvolvimento por meio de cursos - [DataScienceAcademy](https://www.datascienceacademy.com.br/) - Site com diversos cursos gratuitos para inciar no mundo de Python & DataScience - [FIAPx](https://www.fiap.com.br/fiapx) - Site com diversos cursos gratuitos na área da tecnologia - [FGV](https://educacao-executiva.fgv.br/busca?keys=&curso_tipo%5B%5D=517&modalidade%5B%5D=45&area-conhec%5B%5D=571&tipo_invest%5B1%5D=1&estados=26&cidades=251&unidade=All&sort_by=field_oferta_data_inicio_turma_value&items_per_page=10&mail_address_me=) - Site com diversos cursos gratuitos na área da tecnologia - [CodeAcademy](https://www.codecademy.com/) - Site com diversos cursos gratuitos de programação (EN) - [Kaggle](https://www.kaggle.com/learn) - Site com diversos cursos gratuitos de Python & DataScience (EN) - [Complete Intro to Web Development](https://btholt.github.io/intro-to-web-dev-v2/) - Site com os principais conteúdos referentes a desenvolvimento web criado e mantido por um dos professores do site Frontend Masters (EN) - [4noobs](https://github.com/he4rt/4noobs) - Repositório desenvolvido para mostrar os conhecimentos básicos em diversas linguagens e ferramentas para desenvolvedores iniciantes. ## 🎨 Sites para desenvolvedor front-end - [Uiverse](https://uiverse.io/) - Rede social de elementos de interfaces. - [Shape Dividers](https://shapedividers.com) - Gera divisores de formas verticais, responsivos, e animados facilmente com este gerador de divisores de formas SVG - [Couleur](https://couleur.io) - Uma ferramenta de cores simples para ajudá-lo a encontrar uma boa paleta de cores para seu projeto da web) - [Baseline CSS Filters](https://baseline.is/tools/css-photo-filters/) - 36 Belos filtros de fotos, com edição simples e CSS para copiar) - [UI Deck](https://uideck.com) - Modelo de página de destino HTML gratuitos e premium, temas de bootstrap, modelos de React, modelos de Tailwind, modelos de site HTML, e kits de interface de usúario) - [Naevner](https://naevner.com) - Descrição de cores em linguagem natural, gerador de códigos em cores hexadecimais) - [Meta Tags](https://metatags.io/) - Elementos de metadados HTML gerados automaticamente para melhor o SEO ## 🎮 Sites para aprender a programar jogando - [Code Combat](https://br.codecombat.com) - Site para aprender conceitos e linguagens de programação enquanto joga - [CheckiO](https://checkio.org) - CheckiO é um site que tem como objetivo ensinar programação, mas todos os desafios de codificação devem ser concluídos em Python. - [CodeWars](https://www.codewars.com/) - Desafios de Programação Back-end. IDE integrada - [Schemaverse](https://schemaverse.com) - O Schemaverse é um jogo de estratégia baseado no espaço implementado inteiramente em um banco de dados PostgreSQL. - [Code Monkey](https://codemonkey.com) - CodeMonkey é um ambiente de codificação de computador educacional que permite que iniciantes aprendam conceitos e linguagens de programação de computador. - [Coding Games](https://www.codingame.com/) - Desafios Programação Back-end com foco em temática de jogos. IDE integrada - [Edabit](https://edabit.com/) - Desafios de Programação Back-end. IDE integrada - [Flexbox Zombie](https://mastery.games/flexboxzombies/) - Desafios com CSS Flexbox para se defender de zumbis - [Flexbox Defense](http://www.flexboxdefense.com) - Desafios com CSS Flexbox para impedir que inimigos ultrapassem suas defesas - [CSS Grid Attack](https://codingfantasy.com/games/css-grid-attack) - Ataque inimigos enquanto treina práticas de CSS, com uma narrativa mais profunda - [Code](https://code.org/minecraft) - Site para estudos de algoritmos com a temática do jogo Minecraft ## ✨ Templates HTML gratuitos - [Bootstrap Made](https://bootstrapmade.com/) - Temas HTML5 + CSS3 gratuitos - [W3 Layouts](https://w3layouts.com) - Temas HTML5 + CSS3 gratuitos - [One Page Love](https://onepagelove.com) - Temas HTML5 + CSS3 gratuitos - [ThemeWagon Freebies](https://themewagon.com/theme_tag/free/) - Temas HTML5 + CSS3 gratuitos - [HTML5 UP](https://html5up.net/) - Temas HTML5 + CSS3 gratuitos ## 🪅 Sites para aprender ou treinar CSS - [CSS Grid Garden](http://cssgridgarden.com/) - Ferramenta online para estudos de Grid (CSS) - [Flukeout](http://flukeout.github.io/) - Aplicação online para aprender CSS de forma prática - [Flex Box Froggy](https://flexboxfroggy.com/) - Desafio de Programação Front-end focados na propriedade flex box. IDE integrada. - [Flexbox Defense](http://www.flexboxdefense.com/) - Aprenda flexbox com um game - [100 Dias de CSS](https://100dayscss.com) - 100 Desafios de CSS - [CSS Battle](https://cssbattle.dev/) - Batalhas temporárias de CSS. IDE integrada - [CSS Tricks](https://css-tricks.com/guides/) - Site para treinar - [CSS Hell](https://csshell.dev/) - Coleção de erros comuns de CSS e como corrigi-los ## 🪡 Geradores de CSS - [Neumorphism](https://neumorphism.io/) - Tendência aplicação border-radius - [Fancy Border-Radius](https://9elements.github.io/fancy-border-radius/) - Gerador de formas com border-radius no CSS - [WAIT! Animate](https://waitanimate.wstone.io) - Gerador de animações de CSS - [Best CSS Button Generator](https://www.bestcssbuttongenerator.com) - Gerador de botões do CSS - [HTML CSS JS Generator](https://html-css-js.com/css/generator/) - Gerador de HTML/CSS/JS - [BennettFeely](https://bennettfeely.com/clippy/) - Criador de clip-path - [Animista](https://animista.net) - Criador de animações ## 🔎 Sites para buscar vagas remotas - [BairesDev](https://www.bairesdev.com) - [Bergamot](https://bergamot.io) - [Coodesh](https://coodesh.com) - [Há Vagas](https://havagas.pt) - [Hired](https://hired.com) - [JustRemote](https://justremote.co) - [Programathor](https://programathor.com.br/) - [Remotar](https://remotar.com.br) - [Remote OK](https://remoteok.io) - [Strider](https://www.onstrider.com/) - [Toptal](https://www.toptal.com) - [Turing](https://www.turing.com) - [Working Nomads](https://workingnomads.co) - [X-Team](https://x-team.com) ## 🔧 Ferramentas de desenvolvimento: - [Internxt](https://internxt.com/) - Internxt Drive é um armazenamento de arquivos de conhecimento zero serviço baseado na melhor privacidade e segurança da classe - [Motion](https://motion.dev/) - Uma nova biblioteca de animação, construída na API Web Animations para o menor tamanho de arquivo e o desempenho mais rápido. - [Hokusai](https://hokusai.app/) - Conteúdo sobre NFT's - [Hidden Tools](https://hiddentools.dev) - Ampla coleção de ferramentas feitas pela comunidade disponiveís para uso - [Dev Hints](https://devhints.io) - Coleção de cheatsheets - [Bundlephobia](https://bundlephobia.com) - Descubra o custo de adicionar um pacote npm ao seu pacote - [Refactoring Guru](https://refactoring.guru/pt-br/design-patterns) - Padrões de projetos "Design patterns" - [DevDocs](https://devdocs.io/) - DevDocs combina várias documentações de API em uma interface rápida, organizada e pesquisável. - [HTML Validator](https://www.freeformatter.com/html-validator.html) - Validação de arquivo HTML - [HTML 5 Test](https://html5test.com/index.html) - Testa arquivos HTML5 - [Image Slide Maker](https://imageslidermaker.com/v2) - Ferramenta de geração gratuita do Image Slider Maker - [.NET Fiddle](https://dotnetfiddle.net/) - Codifique e compartilhe projetos C# online - [1PageRank](http://www.1pagerank.com/) - Rankeie seu site nos mecanismos de buscas e aprenda com a concorrência - [4Devs](https://www.4devs.com.br/) - Ferramentas online gratuitas, geradores de cpf, conta bancária, pessoas, cnpj, cep, rg, validadores, encoders e muitas outras - [Any API](https://any-api.com/) - Diretório gratuito com APIs públicas - [Autoprefixer CSS](http://autoprefixer.github.io/) - Transpile código CSS atual para código CSS com maior cobertura de navegadores antigos - [Browser diet](https://browserdiet.com/pt/) - Guia de performance para desenvolvimento web - [Can I email...](https://www.caniemail.com/) - Descubra o que do HTML e CSS pode ser usado em estruturas de e-mail - [Can I use...](https://caniuse.com/) - Descubra se você pode usar determinadas tecnologias web - [CloudFlare](https://www.cloudflare.com/pt-br/) - CDN grátis - [CMDER](https://cmder.net/) - Linha de comando simples, consegue rodar comands bash e Shell, alternativa ao Hyper - [CodePen](https://codepen.io/) - Rede social de desenvolvedores front-end - [CodeSandbox](https://codesandbox.io/) - Caixa de área para desenvolvedores web - [Connection Strings](https://www.connectionstrings.com/) - Site com strings de conexão para diversas plataformas - [CSS Formatter](https://www.cleancss.com/css-beautify/) - Retire a minificação e formate o código CSS - [CSS Minifier](https://cssminifier.com/) - Conversor de código CSS para CSS minificado - [CSS W3.org](https://jigsaw.w3.org/css-validator/) - Validar CSS - [Debuggex: Online visual regex tester. JavaScript, Python, and PCRE](https://www.debuggex.com) - Construa e teste expressões regulares - [docsify](https://docsify.js.org/#/) - Crie docs incríveis de projetos - [EasyForms](https://easyforms.vercel.app/) - API open source que permite criação formulários de contato com HTML puro - [Editor.md](https://pandao.github.io/editor.md/en.html) - Editor Markdown online e open source - [ES6console](https://es6console.com/) - Compilador de JS para Ecmascript - [Firebase](https://firebase.google.com/?hl=pt-BR) - Desenvolva aplicativos mobile e web incríveis este serviço da Google - [Firefox Developer Edition](https://www.mozilla.org/pt-BR/firefox/developer/) - Navegador web para desenvolvedores web - [Full Page Screen Capture](https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=pt-BR) - Capture páginas inteiras com uma extensão para Chrome - [generatedata](http://www.generatedata.com/) - Gerador de dados para testes - [Git Command Explorer](https://gitexplorer.com/) - Encontre os comandos certos que você precisa sem vasculhar a web - [GitHub Gist](https://gist.github.com/) - Faça pequenas anotações e pequenos códigos no GitHub Gist - [Google Transparency Report](https://transparencyreport.google.com/safe-browsing/search) - Verificar segurança de um site - [Grader](https://website.grader.com/) - Avaliação de site - [How to Center in CSS](http://howtocenterincss.com/) - Gerador de código para divs ou textos que necessitam de centralização - [Hyper](https://hyper.is/) - Linha de comando simples, útil e gratuito - [Joomla](https://www.joomla.org/) - CMS gratuita - [JS Bin](https://jsbin.com/) - Codifique e compartilhe projetos HTML, CSS e JS - [JSCompress](https://jscompress.com/) - Conversor de código JS para JS minificado - [JSON Editor Online](https://jsoneditoronline.org/) - Ferramenta para visualizar e editar arquivos JSON - [JSFiddle](https://jsfiddle.net/) - Codifique projetos JS online - [JSONLint](https://jsonlint.com/) - Ferramenta para validar seu JSON - [JSON Generator](https://app.json-generator.com/) - Ferramenta para gerar JSON com base em template - [KeyCDN Tools](https://tools.keycdn.com/) - Faça uma análise das suas aplicações web - [Liveweave](https://liveweave.com/) - Codifique projetos HTML, CSS e JS - [Lorem Ipsum](https://br.lipsum.com/) - Gerador de texto fictício - [Mapbox](https://www.mapbox.com/) - Mapas e localização para desenvolvedores - [Memcached](https://memcached.org/) - Melhore o desempenho de seu website com cache - [Mockaroo](https://www.mockaroo.com/) - Gerador de dados para testes - [Mussum Ipsum](https://mussumipsum.com/) - Gerador de texto fictício - [NPM HTTP-Server](https://www.npmjs.com/package/http-server) - Rode um servidor local com um pacote npm - [Password Generator](https://danieldeev.github.io/password-generator/) - Um gerador de senhas simples com foco na segurança - [Online C Compiler](https://www.onlinegdb.com/online_c_compiler) - Ferramenta para compilar C online - [React Dev Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi) - Ferramenta para debug do ReactJS - [React Hook Form](https://react-hook-form.com/) - Valide seus formulários de projetos que utilizam React ou React Native - [Readme.so](https://readme.so/pt) - Crie de maneira fácil o readme para seu projeto - [RelaX](http://dbis-uibk.github.io/relax/index.htm) - Crie expressões algébricas relacionais de consultas - [Responsive](http://www.codeorama.com/responsive/) - Teste a responsividade do seu site - [Responsively](https://responsively.app/) - Ferramenta para facilitar a responsividade do seu site - [Shields.io](https://shields.io/) - Gerador de badges para markdown - [SSL Server Test](https://www.ssllabs.com/ssltest/) - Testar SSL de sites - [StreamYard](https://streamyard.com/) - O StreamYard é um estúdio de transmissões ao vivo no seu navegador - [Swagger](https://swagger.io/) - Ferramenta para projetar, construir, documentar e usar serviços da Web RESTful - [Tabela ASCII](https://web.fe.up.pt/~ee96100/projecto/Tabela%20ascii.htm) - Tabela completa com caracteres ASCII - [Telegram](https://telegram.org/) - Mensageiro criptografado - [TinyJPG](https://tinyjpg.com/) - Comprima imagem do formato JPG - [TinyPNG](https://tinypng.com/) - Comprima imagem do formato PNG - [Creately](https://creately.com/) - Crie e altere lindos diagramas em tempo real com a sua equipe - [Carbon](https://carbon.now.sh/) - Crie Snippets de codigo clean e bonitos - [DbDiagram](https://dbdiagram.io/home) - Crie elegrantes diagramas de banco de dados e gere script ddl - [SqlDesigner](https://ondras.zarovi.cz/sql/demo/) - Crie Diagramas de banco de dados de maneira rapida e gere script ddl - [W3.org](https://validator.w3.org/) - Validar HTML - [WakaTime](https://wakatime.com/) - Gerencie seu tempo de desenvolvimento - [Web Developer](https://chrome.google.com/webstore/detail/web-developer/bfbameneiokkgbdmiekhjnmfkcnldhhm?hl=pt-BR) - Extensão para Chrome com multi-funções - [Web.dev](https://web.dev/) - Testar website (criado pela Google) - [WebPageTest](https://www.webpagetest.org/) - Testar perfomance de site - [Wedsites](https://wedsites.com/) - Liste suas atividades e acompanhe seu progresso - [WordPress](https://wordpress.org/) - Criação de blogs - [XML Sitemaps](https://www.xml-sitemaps.com/) - Criador de sitemaps.xml - [Patterns.dev](https://www.patterns.dev/) - Design patterns para projetos web modernos - [Devhints](https://devhints.io/) - Documentação curta, prática e objetiva de cada linguagem de programação ## 🗂 Gerenciamento de projetos - [Asana](https://asana.com/pt) - Gerenciamento de trabalho - [Azure DevOps](https://azure.microsoft.com/services/devops/) - Gerenciamento de projetos focados em planejamento, colaboração e entregas - [Dontpad](http://dontpad.com/) - Abas de anotações sem necessidade de cadastro - [Draw.io](https://www.draw.io/) - Desenvolva mapas mentais incríveis - [Evernote](https://evernote.com/intl/pt-br) - Notas autoadesivas na nuvem - [Google Keep](https://keep.google.com/) - Notas autoadesivas na nuvem - [Jira](https://www.atlassian.com/software/jira) - Gerenciador de projetos e monitoramento de tarefas - [lucidchart](https://lucidchart.com) - Documentação e gerenciamento de tarefas em equipe - [Miro](https://miro.com/) - Quadro branco colaborativo em tempo real - [Notion](https://www.notion.so/) - Notas autoadesivas na nuvem e gerenciamento de projetos online - [Pipefy](https://www.pipefy.com/) - Gerenciador de projetos (PMS) - [Protectedtext](https://www.protectedtext.com/) - Abas de anotações criptografadas sem necessidade de cadastro - [Slack](https://slack.com/) - Gerenciamento de projetos com equipes - [Taiga](https://taiga.io/) - Controle de projetos com equipes através de quadros - [Taskade](https://www.taskade.com/) - Gerenciamento de projetos pessoais e de equipe com notas e mapas mentais integrados - [Things](https://culturedcode.com/things/) - Gerenciador de tarefas pessoais - [Todoist](https://todoist.com/app?lang=pt_BR) - Gerenciamento de projetos pessoais e em equipe - [Trello](https://www.trello.com/) - Gerencie seus projetos com quadros - [YouTrack](https://www.jetbrains.com/youtrack/) - Gerenciador de projetos online ## 📝 IDEs e editores de código - [Atom](https://atom.io/) - Editor de código do GitHub - [BBEdit](https://www.barebones.com/products/bbedit/) - Editor de código para Mac OS - [Beekeeper Studio](https://www.beekeeperstudio.io/) - Editor de código SQL e gerenciador de banco de dados - [Brackets](http://brackets.io/) - Editor de código da Adobe - [CodeBlocks](http://www.codeblocks.org/) - IDE para C e C++ - [Dev C++](https://sourceforge.net/projects/orwelldevcpp/) - IDE Dev C++ para liguagem C/C++ - [Eclipse](https://www.eclipse.org/downloads/) - IDE software livre da IBM - [Geany](https://geany.org/) - Editor de texto poderoso, estável e leve - [IntelliJ IDEA](https://www.jetbrains.com/idea/) - IDE da Jetbrains - [NeoVim](https://neovim.io/) - Editor de código via terminal - [LunarVim](https://www.lunarvim.org/#opinionated) - Editor de código via terminal baseado em NeoVim e Escrito em Lua - [NetBeans](https://netbeans.org/) - IDE gratuita da Apache - [Notepad++](https://notepad-plus-plus.org/) - Editor de código raíz - [Code with Mu](https://codewith.mu) - Um editor de código Python simples, para iniciantes - [PHPStorm](https://www.jetbrains.com/phpstorm/) - IDE específica para PHP - [PyCharm](https://www.jetbrains.com/pycharm/) - IDE específica para Python - [RStudio](https://www.rstudio.com/products/rstudio/download/#download) - IDE específica para a Linguagem R e suas variantes - [StackEdit](https://stackedit.io/) - Editor de markdown online - [Sublime Text](https://www.sublimetext.com/) - Sua licença expirou - [Thonny](https://thonny.org) - IDE Python para iniciantes - [Visual Studio](https://visualstudio.microsoft.com/pt-br/vs/) - IDE da Microsoft - [Visual Studio Code](https://code.visualstudio.com/) - Editor de código da Microsoft ## 🖌 Design Front-end - [Adobe XD](https://www.adobe.com/br/products/xd.html) - Software de design para projetos - [Awwwards](https://www.awwwards.com) - Inspiração para interfaces e templates com o que há de mais novo em questão de design de interfaces - [Bootstrap](https://www.getbootstrap.com/) - Framework CSS - [BuildBootstrap](https://buildbootstrap.com/) - Crie layout responsivo para o framework Bootstrap na versão 3 e 4 - [Bulma CSS](https://bulma.io/) - Estrutura CSS gratuita baseada no Flexbox - [Canva](https://www.canva.com/) - Ferramenta de design online - [Chart.js](https://www.chartjs.org/) - Biblioteca JavaScript de criação de gráficos - [Colors and Fonts](https://www.colorsandfonts.com/) - Apresenta paletas de cores e tipografia - [Coolors](https://coolors.co/) - Palhetas de cores e monte a sua própria - [Colors lol](https://colors.lol) - Repositório de paletas de cores - [Cruip](https://cruip.com/) - Recursos de templates - [CSS Effects Snippets](https://emilkowalski.github.io/css-effects-snippets/) - Animações CSS prontas para usar - [CSS Layout](https://csslayout.io/) - Layouts e padrões populares feitos com CSS - [CSS Reference](https://cssreference.io/) - Guia visual para CSS com referencias de uso - [CSS Tricks](https://css-tricks.com/) - Blog com vários tutoriais frontend - [DevSamples](https://www.devsamples.com/) - Exemplos de códigos fáceis de usar para HTML, CSS e JavaScript - [Excalidraw](https://excalidraw.com) - Desenhe diagramas como se tivessem sido feitos a mão - [Fancy Border-Radius](https://9elements.github.io/fancy-border-radius/) - Gerador de formas com border-radius no CSS - [Figma](https://www.figma.com/) - Desenhe projetos online de apps, softwares e websites - [Flatui Color Picker](http://www.flatuicolorpicker.com/) - Paleta de cores interativa de forma harmonizar o front - [Font Flipper](https://fontflipper.com/) - Ferramenta para testar fontes - [FontPair](https://fontpair.co/) - Ferramenta para combinações de fontes - [FontSpark](https://fontspark.app/) - Gera fontes aleatórias de uma lista de fontes famosas usadas na web - [Foundation](https://foundation.zurb.com/) - Framework responsivo - [Framer](https://www.framer.com/) - Ferramenta de criação de interfaces interativas - [FreeFrontEnd](https://freefrontend.com/) - Exemplos de códigos, tutoriais e artigos de HTML, CSS, Javascript (Angular, JQuery, React, Vue) - [Gravit Designer](https://www.designer.io) - Ferramenta de design online com suporte a ilustração vetorial - [Grid Layoutit](https://grid.layoutit.com/) - Gerador de grid para código CSS - [HTML DOM](https://htmldom.dev/) - Gerenciar o DOM HTML com JavaScript vanilla - [Interfacer](https://interfacer.xyz/) - Recursos para criação de interfaces - [Interfaces.pro](https://interfaces.pro/) - Inspiração para interfaces - [Invision](https://www.invisionapp.com/) - Software de design para projetos - [Lottie](https://lottiefiles.com/) - Animações em after effects via json - [Luna](https://github.com/OfficialMarinho/luna) - Framework CSS brasileiro - [Material-UI](https://material-ui.com/) - Um framework de interface de usuário para React - [Mockup](https://mockup.io/about/) - Visualize e colabore no design de aplicativos para dispositivos móveis - [Nes.css](https://nostalgic-css.github.io/NES.css/) - Framework CSS estilo NES - [Neumorphism](https://neumorphism.io/) - Tendência aplicação border-radius - [Normalize CSS](https://necolas.github.io/normalize.css/) - Normaliza estruturas entre navegadores - [Pixilart](https://www.pixilart.com/draw) - Desenhe pixel arts online - [Pixlr](https://pixlr.com/br/) - Conjunto de ferramentas e utilitários de edição de imagem baseado em nuvem - [PSD-To-CSS-Shadow](http://psd-to-css-shadows.com/) - Gera o script para uma sombra (box-shadow & text-shadow) no CSS baseado nas configurações de sombra no Photoshop - [Pure.css](https://purecss.io/) - Framework CSS responsivo - [Remove.bg](https://www.remove.bg/) - Remove fundos de imagens automaticamente - [Sketch](https://www.sketch.com/) - Desenvolvimento de layouts em alta qualidade - [Squoosh.app](https://squoosh.app/) - Compressor de imagens e comparador, via navegador - [SweetAlert2](https://sweetalert2.github.io/) - Biblioteca JavaScript de alertas responsivos e customizáveis - [Tailwind CSS](https://tailwindcss.com/) - Framework de estilo CSS - [UI Gradients](https://uigradients.com/) - UI gradientes para utilizar - [Vectorizer](https://www.vectorizer.io/) - Converta imagens como PNGs, BMPs e JPEGs em gráficos vetoriais ​​(SVG, EPS, DXF) - [Whimsical](https://whimsical.com/) - Flowchart, Wireframe, Sticky Notes e Mind Map - [X-Icon Editor](http://www.xiconeditor.com/) - Gerador de favicon com alta resolução a partir de imagens ## 🔤 Linguagens de programação - [C#](https://docs.microsoft.com/pt-br/dotnet/csharp/) - Linguagem de programação baseada no C++ - [Clojure](https://clojure.org/) - Linguagem de programação funcional (muito utilizada para IAs) - [Dart](https://dart.dev/) - Linguagem de script voltada à web desenvolvida pela Google, utilizada no Flutter - [Elixir](https://elixir-lang.org/) - Linguagem de programação funcional, concorrente, de propósito geral que executa na máquina virtual Erlang (BEAM) - [F#](https://docs.microsoft.com/pt-br/dotnet/fsharp/) - Linguagem de programação orientada a objetos e funcional - [Fortran](https://www.fortran90.org/) - Linguagem de programação desenvolvida pela IBM, usado na ciência da computação e análises numéricas - [Go](https://golang.org/) - Linguagem de código aberto para tornar os programadores mais produtivos - [Haskell](https://www.haskell.org/) - Linguagem de programação puramente funcional e estaticamente tipada - [Java](https://www.java.com/pt_BR/) - Linguagem de programação tipada, orientada a objetos e de alta performance - [JavaScript](http://brasil.js.org) - Constante evolução e crescimento no mercado - [Julia](https://julialang.org/) - Linguagem de programação de código aberto e alto desempenho para computação técnica - [Kotlin](https://kotlinlang.org/) - Linguagem de programação multiplataforma, orientada a objetos compila para a MVJ - [Lua](https://www.lua.org/portugues.html) - Linguagem de programação originária do Brasil, permite programação procedural e POO (popular em jogos) - [MatLab](https://www.mathworks.com/help/matlab/) - Linguagem de programação de alto nível com foco em cálculos e construção de gráficos - [Pascal](https://docs.freepascal.org/) - Linguagem de programação imperativa, estruturada e orientada à objetos - [Perl](https://www.perl.org/) - Linguagem de programação multiplataforma e dinâmica - [PHP](https://www.php.net/) - A linguagem de programação dominante na web - [Python](https://www.python.org/) - Muito indicada para projetos de dados, inteligência artificial, aprendizado de máquina e chatbots - [R](https://cran.r-project.org/) - Linguagem de programação com foco em matemática, estatística, ciência de dados e aprendizagem de máquina - [Ruby](https://www.ruby-lang.org/pt/) - Linguagem de programação de multiparadigma e tipagem dinâmica - [Rust](https://www.rust-lang.org/pt-BR/) - Linguagem estáticamente tipada para sistemas rápidos, concorrentes, de baixo nível e seguros - [Swift](https://www.apple.com/br/swift/) - Criada pela Apple para principalmente desenvolvimento de apps para iPhone - [Scala](https://www.scala-lang.org/) - Linguagem de programação moderna, multi-paradigma, concisa, elegante e com tipagem segura - [Visual Basic](https://docs.microsoft.com/pt-br/dotnet/visual-basic/) - Linguagem de programação da Microsoft (com IDE gráfica) ## 📕 Guia de Estilo - [Airbnb - Javascript](https://github.com/airbnb/javascript) - Guia de estilo de código em JavaScript do Airbnb - [Airbnb - Ruby](https://github.com/airbnb/ruby) - Guia de estilo de código em Ruby do Airbnb - [Google - Boas práticas em Engenharia](https://github.com/google/eng-practices) - Boas práticas de Engenharia utilizadas pelos internos da Google - [Google - C++](https://google.github.io/styleguide/cppguide.html) - Guia de estilo de código em C++ do Google - [Google - Python](https://google.github.io/styleguide/pyguide.html) - Guia de estilo de código em Python do Google - [Google - Java](https://google.github.io/styleguide/javaguide.html) - Guia de estilo de código em Java do Google ## 📁 Desafios - [Ace Front End](https://www.acefrontend.com/) - Desafios de programação Front-end. Resultados via texto. IDE integrada - [AdventoOfCode](https://adventofcode.com/) - Desafios de programação por temporada. Sem IDE integrada. Validação manual feita pelo usuário - [App Ideas](https://github.com/florinpop17/app-ideas) - Compilado de desafios para você testar seus conhecimentos e aumentar seu portfólio - [Capture The Flag - CTF](https://capturetheflag.com.br/) - Desafios reais de hacking, desenvolvido por especialistas brasileiros - [ChallengeRocket](https://challengerocket.com/) - Desafios de Programação Back-end. IDE integrada - [Code Golf - StackExchange](https://codegolf.stackexchange.com/) - Desafios de programação da comunidade para a comunidade, IDE integrada somente pelo Snippet - [CodeForces](https://codeforces.com/) - Desafios de Programação Back-end com a compilação e testes feito pela plataforma porém sem IDE integrada - [CodePen Challenges](https://codepen.io/challenges) - Desafios de Programação Front-end. IDE integrada - [CoderByte](https://coderbyte.com/) - Desafios de Programação Back-end. IDE integrada - [CodeSignal](https://app.codesignal.com/) - Desafios de Programação Back-end. IDE integrada - [CodeWars](https://www.codewars.com/) - Desafios de Programação Back-end. IDE integrada - [Codier](https://codier.io/challenge) - Desafios de Programação Front-end, análise dos resultados feita pela comunidade. IDE integrada - [Codility](https://app.codility.com/) - Desafios de Programação Back-end. IDE integrada - [Coding Games](https://www.codingame.com/) - Desafios Programação Back-end com foco em temática de jogos. IDE integrada - [CSES](https://cses.fi/problemset/) - Desafios de Programação Back-end. IDE integrada - [CSS Battle](https://cssbattle.dev/) - Batalhas temporárias de CSS. IDE integrada - [DailyCodingProblem](https://www.dailycodingproblem.com/) - Desafios de Programação Back-end enviados por e-mail. Solução do problema Premium - [Desafio333](https://github.com/codigofalado/desafio333) - O Desafio333 é um desafio bimestral SIMPLES com o objetivo de convidar a comunidade a conhecer novas ferramentas - [DevChallenge](https://www.devchallenge.com.br/) - Site com desafios de front-end, back-end e mobile - [DevChallenges.io](https://devchallenges.io/) - Site com projectos webs responsivos, front-end e full-stack - [Edabit](https://edabit.com/) - Desafios de Programação Back-end. IDE integrada - [Exercism.io](https://exercism.io/) - Desafios de Programação Back-end. Sem IDE integrada. Requer download de CLI. - [Flex Box Defense](http://www.flexboxdefense.com/) - Desafio de Programação Front-end focados na propriedade flex box. IDE integrada. - [Flex Box Froggy](https://flexboxfroggy.com/) - Desafio de Programação Front-end focados na propriedade flex box. IDE integrada. - [Front End Challanged Club](https://piccalil.li/category/front-end-challenges-club) - Bogs com desafios de programação front-end - [Frontend Challengens](https://github.com/felipefialho/frontend-challenges) - Repositório no GitHub com vários desafios solicitados reais solicitados por empresas - [Frontend Mentor](https://www.frontendmentor.io/) - Desafios de Programação Front-end, análise dos resultados feita pela comunidade, sem IDE integrada - [HackerRank](https://www.hackerrank.com/) - Desafios de Programação Back-end. IDE integrada - [HackTheBox](https://www.hackthebox.eu/) - Site com laboratórios para praticar pentest de forma gratuita e legal - [LeetCode](https://leetcode.com/) - Desafios de Programação Back-end. IDE integrada - [BinarySearch](https://binarysearch.com/) - Desafios de Programação Back-end. IDE integrada - [CodeAbbey](https://www.codeabbey.com/) - Desafios de Programação Back-end. IDE integrada - [ProjectEuler](https://projecteuler.net/) - Desafios de Programação Back-end focado em problemas matemáticos. IDE integrada - [Sphere Onlune Judge (SPOJ)](https://www.spoj.com/) - Desafios de Programação Back-end com a compilação e testes feito pela plataforma porém sem IDE integrada - [TopCoder](https://arena.topcoder.com/) - Desafios e Arena de Programação Back-end. IDE integrada - [URI/Beecrowd](https://www.beecrowd.com.br/) - Desafios Programação Back-end, matemáticos e SQL. IDE integrada - [OsProgramadores](https://osprogramadores.com/desafios/) - Desafios de Lógica de Programação do grupo Os Programadores. ## 🛠️ Ferramentas para desenvolvedores WEB - [Minimamente](https://www.minimamente.com/project/magic/) - [Hamburgers](https://jonsuh.com/hamburgers/) - [Hover Effects](https://ianlunn.github.io/Hover/) ## ⚒ Ferramentas para buscar projetos open source - [Up for Grabs](http://up-for-grabs.net/) - [Isse Hub](http://issuehub.pro/) - [Code Triage](https://www.codetriage.com/) - [First Timers Only](http://www.firsttimersonly.com/) - [Your First Pr](https://twitter.com/yourfirstpr) - [Github Explore](https://github.com/explore/) ## 🐧 Melhores distros linux para programadores - [Pop!\_Os](https://pop.system76.com/) - Distribuição Linux Pop!\_Os - [Arch Linux](https://archlinux.org/) - Distribuição Linux Arch Linux - [Debian](https://www.debian.org/) - Distribuição Linux Debian - [Ubuntu](https://ubuntu.com/) - Distribuição Linux Ubuntu - [Fedora](https://getfedora.org/pt_BR/) - Distribuição Linux Fedora - [Linux Mint](https://linuxmint.com/) - Distribuição Linux Mint - [OpenSUSE](https://www.opensuse.org) - Distribuição Linux OpenSUSE - [Kali Linux](https://www.kali.org) - Distribuição Linux Kali Linux - [KDE Neon](https://www.neon.kde.org) - Distribuição Linux KDE Neon - [Solus](https://www.getsol.us) - Distribuição Linux Solus - [Tails](https://www.tails.boum.org) - Distribuição Linux Tails - [Zorin OS](https://zorin.com/os/) - Distribuição Linux Zorin - [Kubuntu](https://kubuntu.org/) - Distribuição Linux Kubuntu ## 🔗 Bibliotecas JavaScript - [Lax.js](https://github.com/alexfoxy/lax.js) - [Swiper](https://swiperjs.com/) - [WOW](https://wowjs.uk/) - [Animate](https://animate.style/) - [ApexCharts](https://apexcharts.com/) - [Particles.js](https://vincentgarreau.com/particles.js/) - [ScrollMagic](https://scrollmagic.io/) ## 🪛 9 Ferramentas que todo DEV precisa conhecer - [Unminify](https://unminify.com/) - Ferramenta desofuscação de códigos. - [Figma](https://www.figma.com) - ferramenta para design de interfaces. - [Insomnia](https://insomnia.rest) - é um API Client, uma ferramenta para fazer testes de API's. - [Rive](https://rive.app) - ferramenta colaborativa de animação para apps, jogos e sites. - [CloudCraft](https://www.cloudcraft.co) - plataforma com foco em criar desenhos de arquiteturas AWS. - [BundlePhobia](https://bundlephobia.com) - site para descobrir o custo de adicionar um npm package no seu pacote. - [Font Flipper](https://fontflipper.com) - Tinder das fontes, basta apertar X caso não goste e ❤ se você gostar, adicione aos favoritos já com o nome da fonte e faça o download pelo Google fonts. - [VisBug](https://github.com/GoogleChromeLabs/ProjectVisBug) - é uma extensão de Chrome, criada pelo google, ferramenta de design que te permite mudar o layout das páginas da web desde o estilo de fontes até a posição dos elementos. - [ThunderClient](https://www.thunderclient.io) - é um Rest API Client totalmente leve e compatível com Visual Studio Code. Idêntico ao Postman, ele serve para realizar testes com nossas requisções HTTP. - [SmallDevTools](https://smalldev.tools/) - Ferramentas GRATUITAS para desenvolvedores, como codificador/decodificador, formatadores HTML/CSS/Javascript, minificadores, geradores de dados falsos ou de teste &amp; muito mais ## 🎭 Sites para praticar UI/UX - [Sharpen](https://sharpen.design/) - [Daily UI](https://www.dailyui.co/) - [UX Challenges](https://uxtools.co/challenges) - [Drawerrr](https://drawerrr.com/challenge) - [Uplabs](https://www.uplabs.com/challenges) ## ☁ Ferramentas para hospedar seu site - [Github Pages](https://pages.github.com/) - Hospedado diretamente de seu repositório GitHub. Basta editar, enviar e suas alterações entrarão em vigor - [Award Space](https://www.awardspace.com/) - Hospedagem gratuita na web + um subdomínio gratuito, PHP, MySQL, instalador de aplicativo, envio de e-mail e sem anúncios - [Byet](https://byet.host/) - Hospedagem Gratuita e Serviços de Hospedagem Premium. - [Infinity Free](https://infinityfree.net/) - Free Unlimited Web Hosting - [1FreeHosting](http://www.1freehosting.com/) - Hospedagem de sites grátis com 100GB de largura de banda - [Amazon Web Services](https://aws.amazon.com/pt/) - Serviço de aluguel de servidores e outros serviços - [BlueHost](https://www.bluehost.com/) - Empresa americana de hospedagem de sites - [DigitalOcean](https://www.digitalocean.com/) - Aluguel de servidores dedicados e compartilhados - [DreamHost](https://www.dreamhost.com/) - Hospedagem de sites de alta disponibilidade - [Embratel](https://www.embratel.com.br/cloud/hospedagem-de-sites) - Hospedagem de sites nacional - [GoDaddy](https://br.godaddy.com/hosting/web-hosting) - Hospedagem de sites internacional - [GoDaddy](https://br.godaddy.com/) - Empresa de aluguel de servidores compartilhados, dedicados e registro de domínio - [Google Cloud](https://cloud.google.com/solutions/smb/web-hosting/) - Serviço de aluguel de servidores da Google - [Heroku](https://www.heroku.com/) - Hospedagem de sites grátis com suporte à NodeJS, Java, Ruby, PHP, Python, Go, Scala e Clojure - [HostGator](https://www.hostgator.com/) - Hospedagem compartilhada e dedicada para sites e serviços - [Hostinger](https://www.hostinger.com.br/) - Hospedagem de sites - [Hostoo](https://hostoo.io/) - Hospedagem de sites em cloud computing dedicado - [iPage](https://www.ipage.com/) - Hospedagem de sites gringa com descontos para anúncios - [KingHost](https://king.host/) - Hospedagem compartilhada e dedicada para sites e serviços de marketing por e-mail - [Netlify](https://www.netlify.com/) - Hospedagem para sites estáticos que combina implantação global, integração contínua e HTTPS automático - [One.com](https://www.one.com/pt-BR/) - Serviços gerais digitais (incluindo hospedagem de sites) - [Oracle Cloud](https://www.oracle.com/br/cloud/) - Serviço de aluguel de servidores da Oracle - [Surge](https://surge.sh/) - Hospedagem gratuita para páginas estáticas - [Umbler](https://www.umbler.com/br) - Hospedagem compartilhada, cloud computing sob taxação de uso - [Vercel](https://vercel.com/) - Hospedagem grátis de sites estáticos e serveless ## 🌌 Sites para inspirar o seu desenvolvimento - [Product Hunt](https://www.producthunt.com/) - [Namify](https://namify.tech/?ref=producthunt) - [Dribbble](https://dribbble.com/) - [Behance](https://www.behance.net/) - [Pinterest](https://br.pinterest.com/) - [Deviant Art](https://www.deviantart.com/) - [Lapa](https://www.lapa.ninja/) - [Hyper Pixel](https://hyperpixel.io/) - [One Page Love](https://onepagelove.com/) - [One Page Love Avatars](https://onepagelove.com/boring-avatars) - [Land Book](https://land-book.com/) - [Awwwards](https://www.awwwards.com) - [Best Folios](https://www.bestfolios.com/home) - [Sitesee](https://sitesee.co/) - [Httpster](https://httpster.net/2021/jun/) - [Builders Club](https://builders-club.com/) - [CSS Nectar](https://cssnectar.com/) - [Collect UI](https://collectui.com) - [Best Web Site](https://bestwebsite.gallery) ## 📮 Banco de imagens gratuitas - [500px](https://500px.com/creativecommons) - Banco de imagens gratuitas - [Burst](https://pt.shopify.com/burst) - Plataforma de imagens do serviço de ecommerce Shopify - [Cupcake](http://cupcake.nilssonlee.se/) - Imagens gratuitas para uso comercial - [Banco De Imagens Com Diversidade](https://github.com/JulianaHelena5/BancoDeImagensComDiversidade) - Banco de imagens com pessoas diversas - [DrawKIT](https://www.drawkit.io/) - Ilustrações para qualquer um usar - [FlatIcon](https://www.flaticon.com) - Banco de ícones vetoriais - [Flickr](https://flickr.com/) - Rede social de fotógrafos - [FreeImages](https://pt.freeimages.com/) - Banco de imagens gratuitas - [FreePik Stories](https://stories.freepik.com/) - Banco de ilustrações gratuitas - [Freerange](https://freerangestock.com/index.php) - Banco de imagens gratuitas - [Glaze](https://www.glazestock.com) - Banco de ilustrações, sem direitos autorais - [Gratisography](https://gratisography.com/) - Banco de imagens gratuitas - [Humaaans](https://www.humaaans.com/) - Ilustrações de humanóides - [Icons8](https://icons8.com.br/) - Ícones em diversos estilos - [Imgur](https://imgur.com/) - Plataforma com milhões de imagens - [IraDesign](https://iradesign.io/illustrations) - Ilustrações editáveis de cores e objetos - [Life of Pix](https://www.lifeofpix.com/) - Banco de imagens gratuitas - [Little Visuals](https://littlevisuals.co/) - Banco de imagens gratuitas - [Lorempixel](http://lorempixel.com/) - Banco de imagens para uso como template - [Lukas Zadam](https://lukaszadam.com/illustrations) - Ilustrações SVG em diferentes tamanhos e estilos - [ManyPixels](https://www.manypixels.co/gallery/) - Galeria de ilustrações com direito a edição de cores - [Morguefile](https://morguefile.com/) - Banco de imagens gratuitas - [Nappy](https://www.nappy.co) - Banco de imagens gratuitas (atribuição recomendada) - [Nos.twnsnd](https://nos.twnsnd.co/) - Arquivo público de fotos antigas - [OpenMoji](https://openmoji.org/) - Banco de emojis para uso - [Pexels](https://www.pexels.com/) - Banco de imagens gratuitas - [PhotoPin](http://photopin.com/) - Banco de imagens gratuitas no estilo criativo - [Picjumbo](https://picjumbo.com/) - Banco de imagens gratuitas - [Picsum](https://picsum.photos/) - Banco de imagens para uso como template - [Pixabay](http://www.pixabay.com) - Banco de imagens gratuitas (não requer atribuição) - [Public domain archive](https://www.publicdomainarchive.com/) - Banco de imagens gratuitas - [RemixIcon](https://remixicon.com/) - Banco de Ícones para uso gratuito - [StockSnap](https://stocksnap.io/) - Banco de imagens gratuitas (não requer atribuição) - [unDraw](https://undraw.co/) - Ilustrações livres para usar - [Unsplash](https://unsplash.com/) - Banco de imagens gratuitas - [Visual Hunt](https://visualhunt.com/) - Banco de imagens gratuitas - [Wikimedia Commons](https://commons.wikimedia.org/wiki/Main_Page) - Banco de imagens mundial - [Noun Project](https://thenounproject.com/photos/) - Banco de imagens stock gratuitas ## 👔 Aumentando o network - [Guia Dev Brasil](https://linktr.ee/guiadevbrasil) - Guia Dev Brasil - [APDA](https://www.facebook.com/groups/osadpa/) - Associação de Programadores Depressivos Anônimos - [Comunidade CodigoPraTodos](https://comunidade.codigopratodos.com/) - Comunidade CodigoPraTodos no Discord e Forum - [Comunidade ColabCode](https://discord.gg/YeeEAYj) - Comunidade ColabCode no Discord - [Comunidade Código Falado](https://discord.gg/3y4X9pm) - Comunidade do Código Falado no Discord - [Comunidade PerifaCode](https://perifacode.com/) - Comunidade PerifaCode - [Comunidade Rocketseat](https://discordapp.com/invite/gCRAFhc) - Comunidade Rocketseat no Discord - [Dev.to](https://dev.to/) - Rede social para desenvolvedores - [GitHub Community Forum](https://github.community/) - Comunidade de desenvolvedores do GitHub - [Grupos no Telegram](http://listatelegram.github.io/) - Lista de grupos de tecnologia no Telegram - [Tecnogrupo](https://www.facebook.com/groups/102474963422805/) - Grupo de Tecnologia do Tecnoblog - [OsProgramadores](https://t.me/osprogramadores) - Grupo para incentivar o aprendizado de programação. ## 🎠 Sites para baixar e encontrar fontes - [Adobe Fonts](https://fonts.adobe.com/) - [Google fonts](https://fonts.google.com/) - [Dafont](https://www.dafont.com/pt/) - [NetFontes](https://www.netfontes.com.br/) - [Urbanfonts](https://www.urbanfonts.com/pt/) - [Befonts](https://befonts.com/) - [Fonts space](https://www.fontspace.com/) - [1001 fonts](https://www.1001fonts.com/) - [Abstract fonts](https://www.abstractfonts.com/) - [Fontget](https://www.fontget.com/) - [Material Design Icons](https://materialdesignicons.com/) ## 🧵 Sites de paletas de cores - [Paletton](https://paletton.com/) - [Adobe Color](https://color.adobe.com/pt/create/color-wheel/) - [Color Hunt](https://colorhunt.co/) - [Happy Hues](https://www.happyhues.co/) - [Coolors](https://coolors.co/) - [Gradient Hunt](https://gradienthunt.com/) - [Flat UI Colors](https://flatuicolors.com/) - [Grabient](https://www.grabient.com/) - [Pigment](https://pigment.shapefactory.co/) - [WebGradient](https://webgradients.com/) - [Color.lol](https://colors.lol/) - [ColorBox](https://colorbox.io/) - [ColorSpace](https://mycolor.space) ## 🎇 Lista de ilustrações - [DrawKIT](https://www.drawkit.io/) - [Humaaans](https://www.humaaans.com/) - [Open Doodle](https://www.opendoodles.com/) - [Storyset](https://storyset.com/) - [unDraw](https://undraw.co/) - [404 Illustrations (by kapwing)](https://www.kapwing.com/404-illustrations/) - [404 Illustrations](https://error404.fun/) - [Ouch](https://icons8.com.br/illustrations/) - [Delesing](https://delesign.com/free-designs/graphics/) - [Pixeltru](https://www.pixeltrue.com/free-illustrations/) - [Iconscout](https://iconscout.com/) - [Onfire Craftwork Design](https://onfire.craftwork.design/) - [Openpeeps](https://www.openpeeps.com/) ## 🎆 Sites de icones - [DrawKIT](https://drawkit.com/free-icons) - [Eva Icons](https://akveo.github.io/eva-icons/#/) - [Feather Icons](https://feathericons.com/) - [Font Awesome](https://fontawesome.com) - [Heroicons](https://heroicons.dev/) - [Iconsvg](https://iconsvg.xyz/) - [Icons8 Line Awesome](https://icons8.com/line-awesome/) - [Icons8](https://icons8.com.br/) - [Shape](https://shape.so/) - [Flaticon](https://www.flaticon.com/br/) - [Bootstrap icons](https://icons.getbootstrap.com/) - [devicon](https://devicon.dev/) - [Noun Project](https://thenounproject.com/) - [Iconfinder](https://www.iconfinder.com/) - [iconmonstr](https://iconmonstr.com/) - [Reshot](https://www.reshot.com/) - [Phosphor Icon](https://phosphoricons.com) - Família flexível de ícones com integração HTML/CSS, React e Vue - [Thenounproject](https://thenounproject.com/) ## 🎥 Canais do youtube com conteúdo gratuito - [Alura](https://www.youtube.com/user/aluracursosonline) - Uns camaradas legais que abordam os mais variados temas do mundo da tecnologia - [CódigoFonteTV](https://www.youtube.com/user/codigofontetv) - Leon e Nilce da programação - [Android Developers](https://www.youtube.com/user/androiddevelopers) - Canal oficial da comunidade de desenvolvedores do Android - [CodeShow](https://www.youtube.com/CodeShowBR) - Canal sobre Python e Rust - [CodigoPraTodos](https://www.youtube.com/channel/UClFE1N_sMek7cyvwsAK_XJQ) - Canal com lives de resolução de exercícios do CS50 e mais dicas de programação - [Cod3r Cursos](https://www.youtube.com/channel/UCcMcmtNSSQECjKsJA1XH5MQ) - Canal com aulas e cursos gratuitos sobre diversas tecnlogias - [CollabCode](https://www.youtube.com/channel/UCVheRLgrk7bOAByaQ0IVolg) - Lives insanas sobre JS, front-end, etc - [Torne-se um Programador - Danilo Aparecido](https://www.youtube.com/c/DaniloAparecido) - Canal com + de 500 aulas e dicas sobre programação e negócios com programação. - [Daniel Donda](https://www.youtube.com/c/DanielDonda) - Canal sobre administração de redes, carreiras e certificação, hacking, segurança da informação - [Dev Samurai](https://www.youtube.com/channel/UC-lHCBqKEtnXA0SBtdOP0bw) - Canal sobre tecnologia e comunidade de desenvolvedores - [DevMedia](https://www.youtube.com/channel/UClBrpNsTEFLbZDDMW1xiOaQ) - Canal de um dos maiores portais sobre programação do Brasil - [DevSuperior](https://youtube.com/devsuperior) - Canal para estudantes e profissionais iniciantes - [Diolinux](https://www.youtube.com/user/diolinux) - Canal sobre o mundo Unix e outras tecnologias - [Erick Wendel](https://www.youtube.com/c/ErickWendelTreinamentos) - Canal com conteúdos inéditos e exclusivos sobre Node.js, Javascript - [EspecializaTI](https://www.youtube.com/user/especializati) - Cursos gratuitos sobre PHP, Laravel, Linux e HTML+CSS - [Fabio Akita](https://www.youtube.com/user/AkitaOnRails) - Canal sobre tecnologia e desenvolvimento - [Facebook Developers](https://www.youtube.com/user/FacebookDevelopers) - Canal oficial da comunidade de desenvolvedores do Facebook - [Felipe Deschamps](https://www.youtube.com/channel/UCU5JicSrEM5A63jkJ2QvGYw) - Desenvolvedor da Pagar.me e criador de robôs com inteligencia artificial - [Felipe Elia](https://www.youtube.com/channel/UCD_26rOE3ClALcZreTkyIoQ) - Canal sobre programação para Web com foco em WordPress - [Filho da nuvem](https://www.youtube.com/Filhodanuvem) - Canal sobre desenvolvimento de testes automatizados, GitHub, PHP, Golang e outras linguagens - [Flutterando](https://www.youtube.com/channel/UCplT2lzN6MHlVHHLt6so39A) - Canal sobre desenvolvimento de interface com Flutter - [Fábrica de Noobs](https://www.youtube.com/channel/UCGObNjkNjo1OUPLlm8BTb3A) - Canal com intruduções a conceitos básicos dentro da computação - [Gabriel Pato](https://www.youtube.com/channel/UC70YG2WHVxlOJRng4v-CIFQ) - Canal sobre tecnologia e hacking - [Giuliana Bezerra](https://www.youtube.com/@giulianabezerra) - Canal sobre desenvolvimento e arquitetura de software com Java e Spring - [Google Developers](https://www.youtube.com/user/GoogleDevelopers) - Canal oficial da comunidade de desenvolvedores da Google - [Guia do Programador](https://www.youtube.com/c/GuiadoProgramador) - Canal de cursos de NodeJS gratuitos - [Guru da Ciência](https://www.youtube.com/user/LimaoAzeddo) - Canal sobre tecnologia e ciências - [One Bit Code](https://www.youtube.com/c/OneBitCode) - Canal com aulas de React e Ruby - [O Irmão mais Velho](https://www.youtube.com/channel/UC5cfBZHUQpcMvBJDBaX8-jg/featured) - Aprenda UX/UI, Web e Mobile e desenvolva o seu mindset - [ProgramadorBR](https://www.youtube.com/channel/UCrdgeUeCll2QKmqmihIgKBQ) - Programador brasileiro com atual residência no Canadá - [Programação Dinâmica](https://www.youtube.com/c/ProgramaçãoDinâmica) - Canal sobre Python, Ciencias de Dados, Machine learning e Inteligência Artificial - [Rocketseat](https://www.youtube.com/channel/UCSfwM5u0Kce6Cce8_S72olg) - Projeto de ensino gratuito sobre as tecnologias mais quentes do mercado - [Rodrigo Branas](https://www.youtube.com/user/rodrigobranas) - Canal sobre desenvolvimento web com foco em JavaScript - [Roger Melo](https://www.youtube.com/c/RogerMelo) - Canal com aula e dicas de JavaScript puro - [TekZoom](https://www.youtube.com/channel/UCPIAn-SWhJzBilt1MekO4Vg) - Canal raíz sobre tecnologia do YouTube - [Universo Programado](https://www.youtube.com/channel/UCf_kacKyoRRUP0nM3obzFbg) - Canal sobre lógica por trás do desenvolvimento de inteligências artificiais - [Vinícius Thiengo](https://www.youtube.com/c/ThiengoCalopsita/) - Canal com aulas de desenvolvimento android e técnicas de código limpo - [Zero Bugs](https://www.youtube.com/c/ZeroBugs) - Canal sobre desenvolvimento web com PHP e JavaScript - [Balta.io](https://youtube.com/c/baltaio) - Canal explicando uma ferramenta completa para auxiliar você em seu caminho para se tornar um desenvolvedor de respeito, - om mais de 80 cursos direcionados - [CodAffection](https://youtube.com/c/CodAffection) - Este canal tem como objetivo ensinar e inspirar desenvolvedores a criar aplicativos - [Codedamn](https://youtube.com/c/codedamn) - Canal sobre programação e tecnologia no geral - [EspecializaTi](https://youtube.com/c/EspecializatiBr) - Canal de cursos Online de Desenvolvimento Web - [Jose Carlos Macoratti](https://youtube.com/channel/UCoqYHkQy8q5nEMv1gkcZgSw) - Vídeo Aulas sobre a plataforma .NET e tecnologias web: C# , VB .NET , ASP .NET , ASP .NET MVC, ASP .NET Core, Entity Framework, Xamarin Forms, Xamarin Android, Angular, ADO .NET , SQL, Node, etc - [Michelli Brito](https://youtube.com/c/MichelliBrito) - Canal sobre conteúdos de programação, arquitetura de software e carreira em TI - [The Net Ninja](https://youtube.com/c/TheNetNinja) - Habilidades de desenvolvimento web. Mais de 1000 tutoriais de programação gratuitos sobre - [Vinícius Thiengo](https://youtube.com/c/ThiengoCalopsita) - Vídeos tutoriais sobre desenvolvimento Android e técnicas de código limpo - [Traversy Media](https://youtube.com/c/TraversyMedia) - Traversy Media apresenta os melhores tutoriais de desenvolvimento e programação da web on-line para todas as tecnologias da web mais recentes - [Mango](https://youtube.com/c/MangoDeveloper) - Cursos avançados completos utilizando Clean Architecture, TDD, SOLID principles e design patterns - [Academind](https://youtube.com/c/Academind) - Cursos e tutoriais que ensinam tudo relacionado ao desenvolvimento web - [Simon Grimm](https://youtube.com/user/saimon1924) - Tutoriais Ionic semanalmente com dicas e truques para melhorar seus aplicativos híbridos! - [freeCodeCamp.org](https://youtube.com/c/Freecodecamp) - Aprenda a codificar gratuitamente. - [Igor Remas](https://youtube.com/c/IgorRemas) - Desenvolvimento Web - [Santos Enoque](https://youtube.com/c/SantosEnoque) - Ensinar as pessoas a construir softwares do mundo real e garantir que elas tenham habilidades que são realmente necessárias no mercado - [Raja Yogan](https://youtube.com/channel/UCjBxAm226XZvgrkO-JyjJgQ) - Fornecendo tutoriais de tecnologia de qualidade para todos. - [DesignCourse](https://youtube.com/c/DesignCourse) - Tutoriais sobre UI / UX, Frontend Dev, Backend Dev, Design gráfico e muito mais! - [London App Brewery](https://youtube.com/c/Londonappbrewery) - Ensinam desenvolvimento Web para iniciantes, como fazer aplicativos iOS, Flutter e Android, bem como ciência de dados - [EDMT Dev](https://youtube.com/c/eddydn71) - Tutoriais para code e hacking - [Curso em Vídeo](https://www.youtube.com/user/cursosemvideo) - Cursos em vídeo-aulas totalmente gratuitos, criados pelo Professor Gustavo Guanabara - [Thizer Aplicativos](https://youtube.com/c/ThizerAplicativos) - Tecnologia no Geral - [Loiane Groner](https://youtube.com/c/loianegroner) - Canal com aulas gratuitas sobre Java, Sencha (Ext JS), JavaScript, Angular e desenvolvimento mobile com Cordova e Ionic. - [Canal dotNET](https://youtube.com/c/CanalDotNET) - Canal sobre .NET C# - [Protocolo Alterado](https://youtube.com/c/ProtocoloAlterado) - Conteúdos sobre Programação e Desenvolvimento Web por Beto Muniz. - [Dev Soutinho](https://youtube.com/c/DevSoutinho) - Conteúdos sobre Programação por Mario Souto - [Simplificando TI](https://www.youtube.com/channel/UCwn-9qpyukBnuA3eB-3F0Sg) - Conteúdo de TI no geral - [Vida de Programador](https://www.youtube.com/c/ProgramadorREAL) - Conteúdo sobre tecnologia e programação - [ProfessorRamos](https://www.youtube.com/c/professorramos/) - Conteúdo de informática e afins - [Professor José de Assis](https://www.youtube.com/c/RoboticapraticaBr/) - Arduino com foco em robótica educacional, Programação Linguagem C, Java e desenvolvimento WEB, Linux com foco em servidores de rede - [zer01ti](https://www.youtube.com/c/zero1ti/) - Novidades da tecnológica - [Rafaella Ballerini](https://www.youtube.com/user/RafaellaBallerini/) - Experiência no mundo tech e dicas sobre como se encaixar na área. - [Tech Primers](https://www.youtube.com/channel/UCB12jjYsYv-eipCvBDcMbXw) - TechPrimers é um canal educacional para fornecer insights sobre implementações de tecnologia - [DevDojo](https://www.youtube.com/channel/UCjF0OccBT05WxsJb2zNkL4g) - Tutoriais sobre programação, playlist, e conteúdo sobre a área de informática - [Descompila](https://www.youtube.com/c/Descompila/) - Vídeo-aulas de programação objetivas - [Ka Solution Oficial](https://www.youtube.com/c/UnicornCoder/) - Nesse canal, vamos abordar temas referente ao mercado de tecnologia e dar excelentes dicas de carreira. - [UnicornCoder](https://www.youtube.com/c/KaSolutionOficial/) - Videos de programação e cursos - [TekZoom - Reinaldo Silotto](https://www.youtube.com/c/CanalTekZoom/) - Compartilhar conteúdos sobre tecnologia, programação, gadgets e dispositivos móveis, como smartphones e tablets. - [Bonieky Lacerda](https://www.youtube.com/c/BoniekyLacerdaLeal) - Cursos de programação - [Programador BR](https://www.youtube.com/c/Programadorbr) - Programação, carreira e empreendedorismo - [ZUP](https://www.youtube.com/c/ZUPIT/) - Canal sobre tecnologia - [Beer and Code](https://www.youtube.com/c/BeerandCode/) - Faça seu futuro com as tecnologias mais utilizadas nas Startups de sucesso. - [Attekita Dev](https://www.youtube.com/c/AttekitaDev/) - Engenheira de software entusiasta em UX, com mais de mais de 20 aplicativos publicados na App Store - [Web Dev Simplified](https://www.youtube.com/c/WebDevSimplified/) - Web Dev Simplified tem tudo a ver com o ensino de habilidades e técnicas de desenvolvimento web de maneira eficiente e prática - [Escola Front-end](https://www.youtube.com/c/EscolaFrontend/) - Conteúdo sobre Front-end - [Programe seu futuro](https://www.youtube.com/c/ProgrameseufuturoComWagnerGaspar) - Programação, Algoritmos e Lógica de Programação - [CFBCursos](https://www.youtube.com/c/cfbcursos) - Canal de cursos/aulas de informática que disponibiliza conteúdo de qualidade e gratuito - [Coding Snow](https://www.youtube.com/channel/UCNDmzGYwwT3rdY3xQuW8QOA) - Coding Snow é um canal para design e desenvolvimento criativo da Web, designs de front-end, designs de interface do usuário, Web design responsivo e designs de back-end usando HTML, CSS, Javascript / JQuery, PHP, MYSQL - [Pessonizando](https://www.youtube.com/c/pessonizando) - Canal fala sobre Programação, Teste de Software, Carreira em Computação e como é viver e trabalhar com TI na EUROPA. - [Lama Dev](https://www.youtube.com/c/LamaDev) - Tutoriais de desenvolvimento da Web para todos. Aprenda JavaScript, React.js, Node.js e encontre inspiração para HTML, CSS e web design com Lama e torne-se um desenvolvedor web. - [Pisani da Arch](https://www.youtube.com/c/ArcHOfficeTech) - É um canal com conteúdos voltados para Arquitetura de Solução, onde o objetivo é ajudar a comunidade de Devs e Archs a projetarem soluções com os melhores padrões do mercado. - [Nick Chapsas](https://www.youtube.com/c/Elfocrash) - Canal de um engenheiro de software de Londres com tutoriais e dicas de ferramentas Microsoft (ASPNET Core, C#, etc) - [Tiago Aguiar](https://www.youtube.com/c/TiagoAguiar) - Canal de um desenvolvedor mobile com experiência em Android & IOS. ## 🔓 Pentest - [Beef-Project](https://beefproject.com/) - Framework de exploração de browser - [Capture The Flag - CTF](https://capturetheflag.com.br/) - Desafios reais de hacking, desenvolvido por especialistas brasileiros - [HackTheBox](https://www.hackthebox.eu/) - Site com laboratórios para praticar pentest de forma gratuita e legal - [HStrike](https://hstrike.com/) - Ferramentas de pentest em nuvem - [HTTRack](http://www.httrack.com/) - Browser utility - [Maltego](https://www.paterva.com/) - Ambiente open source para análise de redes completa - [NMap](https://nmap.org/) - Scanner de portas de rede - [picoCTF](https://picoctf.com/) - Jogo gratuito de segurança de computador voltado para alunos do ensino fundamental, médio e iniciantes - [SQLMap](http://sqlmap.org/) - Ferramenta de teste de penetração open source que automatiza injeção de SQL - [TryHackMe](https://tryhackme.com/) - Plataforma com laboratórios para aprender sobre pentest de maneira prática e teórica - [Hack This Site](https://www.hackthissite.org/) - Site de desafios de hacking focado em web apps, irc, esteganografia, etc ## 🎙 Blogs e Podcasts - [DevNaEstrada](https://devnaestrada.com.br/) - Desenvolvimento web em geral - [Dicas de programação](https://dicasdeprogramacao.com.br/): Dicas para - [PodProgramar](https://podprogramar.com.br/) - Focado em programação, notícias e histórias da área - [Podcast OsProgramadores](https://osprogramadores.com/podcast) - Tudo que você sempre quis saber sobre Programação vida de programador, e também como chegar lá. Entrevistas com profissionais reconhecidos Nacional e Internacionalmente. - [Hipsters.tech](https://hipsters.tech/) - Desenvolvimento de aplicações, design digital, startups e tecnologias em geral - [LinuxTips](https://www.linuxtips.io/podcast) - Linux, DevOps, Docker e T.I - [É tudo nuve](https://www.etudonuve.com.br/i/) - Pesquisa - [Dev.to](https://dev.to/) - Rede social para desenvolvedores - [Playcode](https://playcode.com.br/) - Site com algumas dicas para programação - [Codenation](https://deploy.codenation.com.br/podcasts/home) - [Ambev Tech Talk](https://open.spotify.com/show/07cPNODgBHWh2JMkHbZxXG): Podcast da Ambev sobre tecnologia e cerveja - [Coruja de TI](https://blog.corujadeti.com.br/) - Blog com várias dicas de TI no geral - [Cooperati](https://cooperati.com.br/) - Site com algumas informações sobre tecnologia - [Zup](https://www.zup.com.br/blog) - Blog com informação sobre tecnologia - [Boss Level](https://open.spotify.com/show/003zbichzSTjf3m7W2Sfvc) - O Boss Level é um Podcast sobre desenvolvimento, Frontend, Backend e DevOps - [Cabeça de Labs](https://www.cabecadelab.com.br/) - O Cabeça de Lab é o podcast do Luizalabs, o laboratório de inovação e tecnologia do Magalu - [Carreira sem Fronteiras](https://www.carreirasemfronteiras.com.br/) - Podcast com brasileiros que vivem e trabalham no exterior - [Codigo Aberto](https://www.b9.com.br/shows/codigoaberto/) - Conversas com os profissionais mais influentes do mercado sobre o futuro - [DioCast](https://castbox.fm/app/castbox/player/id1323408) - Tecnologia geral do canal DioLinux - [FalaDev](https://open.spotify.com/show/3TNsKUGlP9YbV1pgy3ACrW) - Podcast da Rocketseat sobre desenvolvimento - [Fronteiras da Ciência](http://www.ufrgs.br/frontdaciencia/) - Ciência, pseudociências e tudo o mais, feito pelo IFUFGRS - [IT Visionaries (em inglês)](https://mission.org/itvisionaries/) - Tecnologias quentes e inovação - [Lambda3](https://www.lambda3.com.br/tag/podcast/) - Desenvolvimento de software e tecnologia em geral - [NerdCast](https://jovemnerd.com.br/nerdcast/) - Tecnologia, ciência e universo POP - [Pizza de dados](https://pizzadedados.com/) - Ciência de dados e conselhos de carreira - [PodProgramar](https://podprogramar.com.br/) - Focado em programação, notícias e histórias da área - [PodTag](https://podtag.com.br/) - Desenvolvimento de software e tecnologia em geral - [QuebraDev](https://quebradev.com.br/) - Quebrada + tecnologia - [Fora da Norma](https://www.youtube.com/channel/UCPA5AzEp_MGEVTDSVCkgShg) - Podcast da 42SP sobre o universo Tech. - [Torne-se um Programador Podcast](https://open.spotify.com/show/50tgLD0cGqINLLLKNDULRl) - Podcast sobre programação e empreendedorismo digital. ## 💼 Business - [BossaBox](https://bossabox.com/) - Rede de desenvolvedores, designers e gerentes - [CodeInterview](https://codeinterview.io/) - Realize entrevistas de emprego com codificação ao vivo - [Impulso](https://impulso.network/) - Uma rede gratuita para impulsionar o seu crescimento profissional - [Rocket.Chat](https://rocket.chat/) - Chat corporativo open-source e gratuito para equipes ## 🧭 Web Developer Roadmap - [Web Developer Roadmap](https://github.com/kamranahmedse/developer-roadmap): Trilha de caminhos para seguir para se tornar um desenvolvedor WEB ## 🔩 Extensões para o seu navegador - [File Icons for GitHub and GitLab](https://chrome.google.com/webstore/detail/file-icons-for-github-and/ficfmibkjjnpogdcfhfokmihanoldbfe) - [GoFullPage](https://chrome.google.com/webstore/detail/gofullpage-full-page-scre/fdpohaocaechififmbbbbbknoalclacl) - [Web Developer](https://chrome.google.com/webstore/detail/web-developer/bfbameneiokkgbdmiekhjnmfkcnldhhm?hl=pt-BR) - [React Developer Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi) - [Window Resizer](https://chrome.google.com/webstore/detail/window-resizer/kkelicaakdanhinjdeammmilcgefonfh?hl=pt-BR) - [Vue Devtools](https://chrome.google.com/webstore/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd?hl=pt-BR) - [Dark Reader](https://chrome.google.com/webstore/detail/dark-reader/eimadpbcbfnmbkopoojfekhnkhdbieeh?hl=pt-BR) - [CSS Viewer](https://chrome.google.com/webstore/detail/cssviewer/ggfgijbpiheegefliciemofobhmofgce?hl=pt-BR) - [WhatFont?](https://chrome.google.com/webstore/detail/whatfont/jabopobgcpjmedljpbcaablpmlmfcogm) - [Octotree](https://chrome.google.com/webstore/detail/octotree-github-code-tree/bkhaagjahfmjljalopjnoealnfndnagc) - [daily.dev](https://chrome.google.com/webstore/detail/dailydev-the-homepage-dev/jlmpjdjjbgclbocgajdjefcidcncaied) - [Wappalyzer](https://chrome.google.com/webstore/detail/wappalyzer-technology-pro/gppongmhjkpfnbhagpmjfkannfbllamg) ## 📚 Recomendação de livros - [Clean Code - Código Limpo](https://g.co/kgs/62wx9t) - [Refactoring - Refatoração](https://g.co/kgs/Hf2eY3) - [Clean Archtecture - Arquitertura Limpa](https://www.google.com/search?q=arquitetura+limpa) - [O Codificador Limpo](https://www.google.com/search?q=codificador+limpo) - [O programador pragmático](https://g.co/kgs/5nbqB3) - [Eloquent JavaScript](https://eloquentjavascript.net/) - [14 Hábitos de Desenvolvedores Altamente Produtivos](https://g.co/kgs/1fGbnx) - [The Road to learn React (Português)](https://leanpub.com/the-road-to-learn-react-portuguese) ## 📱 Apps para praticar programação - [SoloLearn](https://www.sololearn.com/home) - [Pydriod3 Android](https://play.google.com/store/apps/details?id=ru.iiec.pydroid3&hl=en_US&gl=US) - [Mimo Android](https://play.google.com/store/apps/details?id=com.getmimo&hl=pt_BR&gl=US) - [Dcoder Android](https://play.google.com/store/apps/details?id=com.paprbit.dcoder&hl=pt_BR&gl=US) - [Codecademy Android](https://play.google.com/store/apps/details?id=com.ryzac.codecademygo&hl=pt_BR&gl=US) - [Codecademy iOS](https://apps.apple.com/us/app/codecademy-go/id1376029326) - [GrassHopper Android](https://play.google.com/store/apps/details?id=com.area120.grasshopper&hl=pt_BR&gl=US6) ## 📘 Sites para treinar projetos front-end - [Frontend Mentor](https://www.frontendmentor.io/) - Desafios de Programação Front-end, análise dos resultados feita pela comunidade, sem IDE integrada - [Codier](https://codier.io/challenge) - Desafios de Programação Front-end, análise dos resultados feita pela comunidade. IDE integrada - [Code Well](https://codewell.cc/) - Treine suas habilidade de HTML e CSS com alguns templates - [DevChallenge](https://www.devchallenge.com.br/) - Site com desafios de front-end, back-end e mobile - [CodePen Challenges](https://codepen.io/challenges) - Desafios de Programação Front-end. IDE integrada - [DevChallenges](https://devchallenges.io/) - Site com desafios de Front-end e Fullstack - [Codelândia](https://www.figma.com/file/Yb9IBH56g7T1hdIyZ3BMNO/Desafios---Codel%C3%A2ndia?node-id=624%3A2) - Desafios front-end e back-end ## 📗 Sites para treinar projetos back-end - [Dev Challenge Back-End](https://devchallenge.vercel.app/challenges?type=backend) - Treine suas habilidades com desafios Back-end - [Codelândia](https://www.figma.com/file/Yb9IBH56g7T1hdIyZ3BMNO/Desafios---Codel%C3%A2ndia?node-id=624%3A2) - Desafios front-end e back-end ## 📙 Sites para treinar projetos mobile - [Dev Challenge Mobile](https://devchallenge.vercel.app/challenges?type=mobile) - Treine suas habilidades com desafios Mobile ## 🛖 Ideias para projeto - [App Ideas](https://github.com/florinpop17/app-ideas) - Compilado de desafios para você testar seus conhecimentos e aumentar seu portfólio - [What to Code](https://what-to-code.com/) - Compilado de desafios e ideias para você praticar seus códigos e aumentar seu portfólio ## 🦓 Sites e cursos para aprender Java > Cursos para aprender Java em Português - [Maratona Java Virado no Jiraya](https://www.youtube.com/playlist?list=PL62G310vn6nFIsOCC0H-C2infYgwm8SWW) - [Curso de Java para Iniciantes - Grátis, Completo e com Certificado](https://www.youtube.com/playlist?list=PLHz_AreHm4dkI2ZdjTwZA4mPMxWTfNSpR) - [Curso de Java - Tiago Aguiar](https://www.youtube.com/playlist?list=PLJ0AcghBBWSi6nK2CUkw9ngvwWB1gE8mL) - [Curso de Java - CFBCursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUjFC5WWjoNUL7LOOD7LCKRW) - [Maratona Java - O maior curso Java em português](https://www.youtube.com/playlist?list=PL62G310vn6nHrMr1tFLNOYP_c73m6nAzL) - [Curso de Java Básico Gratuito com Certificado](https://www.youtube.com/playlist?list=PLGxZ4Rq3BOBq0KXHsp5J3PxyFaBIXVs3r) - [Curso de Java - eXcript](https://www.youtube.com/playlist?list=PLesCEcYj003Rfzs39Y4Bs_chpkE276-gD) - [Curso de POO Java (Programação Orientada a Objetos)](https://www.youtube.com/playlist?list=PLHz_AreHm4dkqe2aR0tQK74m8SFe-aGsY) - [Curso de Programação em Java](https://www.youtube.com/playlist?list=PLucm8g_ezqNrQmqtO0qmew8sKXEEcaHvc) - [Curso - Fundamentos da Linguagem Java](https://www.youtube.com/playlist?list=PLbEOwbQR9lqxdW98mY-40IZQ5i8ZZyeQx) - [Curso Java Estruturado](https://www.youtube.com/playlist?list=PLGPluF_nhP9p6zWTN88ZJ1q9J_ZK148-f) - [Curso de Java Completo](https://www.youtube.com/playlist?list=PL6vjf6t3oYOrSx2XQKm3yvNxgjtI1A56P) - [Curso Programação Java](https://www.youtube.com/playlist?list=PLtchvIBq_CRTAwq_xmHdITro_5vbyOvVw) - [Curso de Java para Iniciantes](https://www.youtube.com/playlist?list=PLt2CbMyJxu8iQL67Am38O1j5wKLf0AIRZ) - [Fundamentos do Java para Iniciantes em Programação](https://youtube.com/playlist?list=PLiFLtuN04BS2GSi8Q-haYkRy8KEv6Grvf) > Cursos para aprender Java em Espanhol - [Curso de Java desde 0](https://www.youtube.com/playlist?list=PLU8oAlHdN5BktAXdEVCLUYzvDyqRQJ2lk) - [Curso de programación Java desde cero](https://www.youtube.com/playlist?list=PLyvsggKtwbLX9LrDnl1-K6QtYo7m0yXWB) - [Curso de Java Completo 2021](https://www.youtube.com/playlist?list=PLt1J5u9LpM59sjPZFl3KYUhTrpwPIhKor) - [Java Netbeans Completo](https://www.youtube.com/playlist?list=PLCTD_CpMeEKTT-qEHGqZH3fkBgXH4GOTF) - [Programación en Java](https://www.youtube.com/playlist?list=PLWtYZ2ejMVJkjOuTCzIk61j7XKfpIR74K) - [Curso de Java 11](https://www.youtube.com/playlist?list=PLf5ldD20p3mHRM3O4yUongNYx6UaELABm) - [Curso de Java - Jesús Conde](https://www.youtube.com/playlist?list=PL4D956E5314B9C253) - [Curso de programacion funcional en java](https://www.youtube.com/playlist?list=PLjJ8HhsSfskiDEwgfyF9EznmrSyEukcJa) > Cursos para aprender Java em Inglês - [Java Tutorial for Beginners](https://www.youtube.com/watch?v=eIrMbAQSU34&ab_channel=ProgrammingwithMosh) - [Java Tutorial: Full Course for Beginners](https://www.youtube.com/watch?v=xk4_1vDrzzo&ab_channel=BroCode) - [Java Full Course](https://www.youtube.com/watch?v=Qgl81fPcLc8&ab_channel=Amigoscode) - [Java Programming for Beginners – Full Course](https://www.youtube.com/watch?v=A74TOX803D0&ab_channel=freeCodeCamp.org) - [Intro to Java Programming - Course for Absolute Beginners](https://www.youtube.com/watch?v=GoXwIVyNvX0&ab_channel=freeCodeCamp.org) - [Learn Java 8 - Full Tutorial for Beginners](https://www.youtube.com/watch?v=grEKMHGYyns&ab_channel=freeCodeCamp.org) - [Java Full Course 2022 | Java Tutorial For Beginners | Core Java Full Course](https://www.youtube.com/watch?v=CFD9EFcNZTQ&ab_channel=Simplilearn) - [Java Full Course for Beginners](https://www.youtube.com/watch?v=_3ds4qujpxU&ab_channel=SDET-QAAutomation) - [Java Full Course | Java Tutorial for Beginners](https://www.youtube.com/watch?v=hBh_CC5y8-s&ab_channel=edureka%21) - [Java GUI: Full Course](https://www.youtube.com/watch?v=Kmgo00avvEw&ab_channel=BroCode) - [Java Collections Framework | Full Course](https://www.youtube.com/watch?v=GdAon80-0KA&ab_channel=JavaGuides) - [Java Programming](https://www.youtube.com/playlist?list=PLBlnK6fEyqRjKA_NuK9mHmlk0dZzuP1P5) - [Java Complete Course | Placement Series](https://www.youtube.com/playlist?list=PLfqMhTWNBTe3LtFWcvwpqTkUSlB32kJop) - [Stanford - Java course](https://www.youtube.com/playlist?list=PLA70DBE71B0C3B142) - [Java Tutorials](https://www.youtube.com/playlist?list=PL_c9BZzLwBRKIMP_xNTJxi9lIgQhE51rF) - [Java Full Course - 2022 | Java Tutorial for Beginners](https://www.youtube.com/playlist?list=PL9ooVrP1hQOEe9EN119lMdwcBxcrBI1D3) - [Java (Intermediate) Tutorials](https://www.youtube.com/playlist?list=PL27BCE863B6A864E3) - [Core Java (Full Course)](https://www.youtube.com/playlist?list=PLsjUcU8CQXGFZ7xMUxJBE33FWWykEWm49) - [Working Class Java Programming & Software Architecture Fundamentals Course](https://www.youtube.com/playlist?list=PLEVlop6sMHCoVFZ8nc_HmXOi8Msrah782) - [Java Programming Tutorials for Beginners [Complete Course]](https://www.youtube.com/playlist?list=PLIY8eNdw5tW_uaJgi-FL9QwINS9JxKKg2) - [Java Tutorials For Beginners In Hindi](https://www.youtube.com/playlist?list=PLu0W_9lII9agS67Uits0UnJyrYiXhDS6q) - [Java Tutorial For Beginners](https://www.youtube.com/playlist?list=PLsyeobzWxl7oZ-fxDYkOToURHhMuWD1BK) - [Java Tutorial for Beginners - Bro Code](https://www.youtube.com/playlist?list=PLZPZq0r_RZOMhCAyywfnYLlrjiVOkdAI1) - [Java Programming Tutorial](https://www.youtube.com/playlist?list=PLsyeobzWxl7pFZoGT1NbZJpywedeyzyaf) - [Java (Beginner) Programming Tutorials](https://www.youtube.com/playlist?list=PLFE2CE09D83EE3E28) - [Complete Java Course for Beginners](https://www.youtube.com/playlist?list=PLab_if3UBk9-ktSKtoVQoLngTFpj9PIed) - [Java Tutorial For Beginners (Step by Step tutorial)](https://www.youtube.com/playlist?list=PLS1QulWo1RIbfTjQvTdj8Y6yyq4R7g-Al) - [Mastering Java Course - Learn Java from ZERO to HERO](https://www.youtube.com/playlist?list=PL6Q9UqV2Sf1gb0izuItEDnU8_YBR-DZi6) - [Tim Buchalka's Java Course PlayList](https://www.youtube.com/playlist?list=PLXtTjtWmQhg1SsviTmKkWO5n0a_-T0bnD) - [Java Full Course](https://www.youtube.com/playlist?list=PLrhDANsBnxU9WFTBt73Qog9CH1ox5zI--) - [Java Course](https://www.youtube.com/playlist?list=PLJSrGkRNEDAhE_nsOkDiC5OvckE7K0bo2) - [Java Web App Course](https://www.youtube.com/playlist?list=PLcRrh9hGNaln4tPtqsmglKenc3NZW7l9M) ## 🐴 Sites e cursos para aprender JavaScript > Cursos para aprender JavaScript em Português - [Curso completo de Javascript - Jornada do Dev](https://goo.gl/zfjfkQ) - [Curso Javascript Completo 2020 [Iniciantes] + 14 Mini-Projetos](https://youtu.be/i6Oi-YtXnAU) - [Curso de JavaScript - Curso em Vídeo](https://youtube.com/playlist?list=PLntvgXM11X6pi7mW0O4ZmfUI1xDSIbmTm) - [Curso de Javascript - CFBCursos](https://youtube.com/playlist?list=PLx4x_zx8csUj3IbPQ4_X5jis_SkCol3eC) - [JavaScript Completo ES6 - Rodrigo Brito](https://www.rodrigobrito.dev.br/blog/js-0701-javascript-completo-es6-classes) - [Fundamentos de JavaScript Funcional](https://www.cod3r.com.br/courses/javascript-funcional-fundamentos) - [Curso JavaScript Moderno ES6 - William Justen](https://www.youtube.com/playlist?list=PLlAbYrWSYTiPQ1BE8klOtheBC0mtL3hEi) - [JavaScript do básico ao avançado (Mapa de estudos / Roadmap)](https://www.youtube.com/watch?v=6YwbZbHRQ8w&ab_channel=AttekitaDev) - [Curso Javascript Completo - Programação Web](https://www.youtube.com/watch?v=McKNP3g6VBA&ab_channel=Programa%C3%A7%C3%A3oWeb) - [Curso de Javascript Completo Playlist - Programação Web](https://www.youtube.com/playlist?list=PL2Fdisxwzt_d590u3uad46W-kHA0PTjjw) - [Curso de JavaScript - Matheus Battisti](https://www.youtube.com/playlist?list=PLnDvRpP8BneysKU8KivhnrVaKpILD3gZ6) - [Curso de JavaScript Para Completos Iniciantes - Felipe Rocha](https://www.youtube.com/playlist?list=PLm-VCNNTu3LnlPhqxx03kvjQd3qF6EBdz) - [Curso de JavaScript - Professor Edson Maia](https://www.youtube.com/playlist?list=PLnex8IkmReXxZEXje06kW1uCwm5iC8M_Z) - [Curso de JavaScript - Node Studio Treinamentos](https://www.youtube.com/playlist?list=PLwXQLZ3FdTVF9Y0RbsuN54XYP7D0dZIlR) - [Curso de JavaScript - Ayrton Teshima](https://www.youtube.com/playlist?list=PLbA-jMwv0cuWbas947cygrzfzHIc7esmp) - [Curso de Javascript Completo - Keven Jesus](https://www.youtube.com/playlist?list=PLBnXXDBNZQpJKH1Fx2EAbKbG9p_dV_pKW) - [Curso de JavaScript ES6 - EdiCursos](https://www.youtube.com/playlist?list=PLLeeWxuGiPrXkGn26nD9OFk20q7MTWYlt) - [Curso de JavaScript para Iniciantes - RBtech](https://www.youtube.com/playlist?list=PLInBAd9OZCzxl38aAYdyoMHVg0xCgxrRx) - [Curso de JavaScript - Programação para Web](https://www.youtube.com/playlist?list=PLucm8g_ezqNrXkDWHtgvtU9RGuauEs_xz) - [Curso de JavaScript - Universidade XTI](https://www.youtube.com/playlist?list=PLxQNfKs8YwvEk85FbeXxDnFecAntIQdRf) - [Curso de Javascript Puro Orientado a Objetos - Programador Espartano](https://www.youtube.com/playlist?list=PLGwqoftZstLZUQGt3GeLpI-QAZaT8ccVG) - [Curso JavaScript do Básico ao avançado - PogCast](https://www.youtube.com/playlist?list=PL4iwH9RF8xHlTQb8cPv0HuwKZhR8jEBIK) - [Curso Completo Javascript para iniciantes - Dev Aprender](https://www.youtube.com/playlist?list=PLnNURxKyyLIIyJ_XKZHzU8SQyGu7yuqhn) - [Curso de JavaScript Avançado](https://www.youtube.com/playlist?list=PL-R1FQNkywO4sD42B6OI6KjG3uOPT0aNl) - [Mini projetos utilizando JavaScript - Iniciantes](https://www.youtube.com/playlist?list=PLDgemkIT111AzoS1rB61sgMJbsEA4pyD2) - [Playlist de Projetos com JavaScript - João Tinti](https://www.youtube.com/playlist?list=PLJ8PYFcmwFOxmqYNlo_H8TYVSDLxB8HdR) > Cursos para aprender JavaScript em Inglês - [10 JavaScript Projects in 1 Hour - Coding Challenge](https://www.youtube.com/watch?v=8GPPJpiLqHk) - [10 JavaScript Projects in 10 Hours - Coding Challenge](https://www.youtube.com/watch?v=dtKciwk_si4) - [Learn JavaScript - Full Course for Beginners](https://www.youtube.com/watch?v=PkZNo7MFNFg) - [JavaScript Programming - Full Course](https://www.youtube.com/watch?v=jS4aFq5-91M) - [JavaScript Full Course for Beginners](https://www.youtube.com/watch?v=EfAl9bwzVZk) - [JavaScript Course - Hitesh Choudhary](https://www.youtube.com/playlist?list=PLRAV69dS1uWSxUIk5o3vQY2-_VKsOpXLD) - [Build 15 JavaScript Projects - Vanilla JavaScript Course](https://www.youtube.com/watch?v=3PHXvlpOkf4) - [Javascript Real World Projects Playlist](https://www.youtube.com/playlist?list=PLajjpPyc2dmbt0KebBvT9VQV8y2R_IO7j) - [JavaScript Tutorial for Beginners: Learn JavaScript in 1 Hour](https://www.youtube.com/watch?v=W6NZfCO5SIk&ab_channel=ProgrammingwithMosh) - [JavaScript Tutorial for Beginners - Full Course in 12 Hours (2022)](https://www.youtube.com/watch?v=lI1ae4REbFM&ab_channel=CleverProgrammer) - [Learn JavaScript by Building 7 Games - Full Course](https://www.youtube.com/watch?v=ec8vSKJuZTk&ab_channel=freeCodeCamp.org) - [Javascript Full Course for Beginners to Advanced - Amigoscode](https://www.youtube.com/playlist?list=PLqkLaKB2GJhWXV9rcarwvn06ISlL_9mPQ) - [JavaScript Tutorial For Beginners To Experts | Full Course 2020](https://www.youtube.com/playlist?list=PLqkLaKB2GJhWXV9rcarwvn06ISlL_9mPQ) - [JavaScript Tutorials for Beginners in Hindi](https://www.youtube.com/playlist?list=PLu0W_9lII9ahR1blWXxgSlL4y9iQBnLpR) - [JavaScript Basics Course - freeCodeCamp](https://www.youtube.com/playlist?list=PLWKjhJtqVAbk2qRZtWSzCIN38JC_NdhW5) - [JavaScript for Beginners - Microsoft Developer](https://www.youtube.com/playlist?list=PLlrxD0HtieHhW0NCG7M536uHGOtJ95Ut2) - [The Complete JavaScript Course 2022: From Zero to Expert - Euniqa](https://www.youtube.com/playlist?list=PLd7dW_Jxkr_Yw6apt7tpzDC6X2mP5UhtQ) - [The Complete JavaScript Course 2022: From Zero to Expert - zerefJS](https://www.youtube.com/playlist?list=PL0xIL4n2EucHKRzJJe5iqayDdQ3OtEOC9) - [JavaScript Tutorials - Programming with Mosh](https://www.youtube.com/playlist?list=PLTjRvDozrdlxEIuOBZkMAK5uiqp8rHUax) - [JavaScript Programming Tutorial - Caleb Curry](https://www.youtube.com/playlist?list=PL_c9BZzLwBRLVh9OdCBYFEql6esA6aRsi) - [Vanilla JavaScript - Traversy Media](https://www.youtube.com/playlist?list=PLillGF-RfqbbnEGy3ROiLWk7JMCuSyQtX) - [The Modern JavaScript Bootcamp](https://www.youtube.com/playlist?list=PLxLxC53pX0mJ7mfJJO6tFSyCEyV6ve68j) - [JavaScript Tutorials - freeCodeCamp](https://www.youtube.com/playlist?list=PLWKjhJtqVAbleDe3_ZA8h3AO2rXar-q2V) - [JavaScript Projects For Beginners Easy To Advance - Tech2 etc](https://www.youtube.com/playlist?list=PL9bD98LkBR7P16BndaNtP4x6Wf5Ib85Hm) - [JavaScript Projects Playlist - CodingNepal](https://www.youtube.com/playlist?list=PLpwngcHZlPadhRwryAXw3mJWX5KH3T5L3) - [JavaScript Projects Playlist - Coding Artist](https://www.youtube.com/playlist?list=PLNCevxogE3fgy0pAzVccadWKaQp9iHspz) - [JavaScript Projects Playlist - ZinoTrust Academy](https://www.youtube.com/playlist?list=PLQfqQHJBFM1_aAfX64bIShV8k7QCqmHE5) - [25 Beginner JavaScript projects](https://www.youtube.com/playlist?list=PLtMugc7g4GaqAVDZwQ_t1H6500ZGJzOgW) - [JavaScript Project Beginners to Advanced - Complete Playlist](https://www.youtube.com/playlist?list=PLjVLYmrlmjGcZJ0oMwKkgwJ8XkCDAb9aG) - [JavaScript Projects Playlist - dcode](https://www.youtube.com/playlist?list=PLVvjrrRCBy2KvTPJ-HLG4PRqYf-MVJ0h7) - [JavaScript Projects Playlist - Husam Al-Shehadat](https://www.youtube.com/playlist?list=PLhAYqyL8bdjy10dbfKoxnO4CXyGR9quCs) - [JavaScript Projects Playlist - CodingLab](https://www.youtube.com/playlist?list=PLImJ3umGjxdAuARwziklrT2QEELizOMtr) - [JavaScript Projects Real world Projects Playlist](https://www.youtube.com/playlist?list=PLajjpPyc2dmbt0KebBvT9VQV8y2R_IO7j) - [JavaScript Projects Playlist - Paudie Healy](https://www.youtube.com/playlist?list=PL-tHL4yGBdKvFjT0OF2-yq3at-cMt8qW_) - [Javascript API Projects](https://www.youtube.com/playlist?list=PLNCevxogE3fiLT6bEObGeVfHVLnttptKv) - [JavaScript Vanilla Projects Playlist - Online Tutorials](https://www.youtube.com/playlist?list=PL5e68lK9hEzd6RUzREoABqimRI4SY63ND) - [JavaScript Projects Playlist - Florin Pop](https://www.youtube.com/playlist?list=PLgBH1CvjOA636I8hnHSyuOnX341XQrBth) - [JavaScript Projects Playlist - Zlad Mohamed](https://www.youtube.com/playlist?list=PLJoT4UFj-n7nL9D2ZCBRismDxN_oHQBl8) - [JavaScript Projects Playlist - Code With Hossein](https://www.youtube.com/playlist?list=PL5a_Yttx9bWXapYCTkqh-jTOKuNkE20KZ) ## 🐓 Sites e cursos para aprender HTML > Cursos para aprender HTML em Português - [Curso de HTML para iniciantes - Aprenda HTML em 1 hora](https://www.youtube.com/watch?v=SV7TL0hxmIQ&ab_channel=MatheusBattisti-HoradeCodar) - [Curso completo e atual de HTML5 e CSS3 - Módulo 1 de 5](https://www.youtube.com/playlist?list=PLHz_AreHm4dkZ9-atkcmcBaMZdmLHft8n) - [Curso completo e atual de HTML5 e CSS3 - Módulo 2 de 5](https://www.youtube.com/playlist?list=PLHz_AreHm4dlUpEXkY1AyVLQGcpSgVF8s) - [Curso completo e atual de HTML5 e CSS3 - Módulo 3 de 5](https://www.youtube.com/playlist?list=PLHz_AreHm4dmcAviDwiGgHbeEJToxbOpZ) - [Curso completo e atual de HTML5 e CSS3 - Módulo 4 de 5](https://www.youtube.com/playlist?list=PLHz_AreHm4dkcVCk2Bn_fdVQ81Fkrh6WT) - [Repositório Curso em Video - HTML](https://github.com/gustavoguanabara/html-css): - [O Guia estelar de HTML - RocketSeat](https://app.rocketseat.com.br/node/o-guia-estelar-de-html) - [Curso de HTML e CSS Grátis para iniciantes](https://www.youtube.com/playlist?list=PLwgL9IEA0PxUjbhob9UMdpVq12sGrjgU6) - [HTML Completo e Profissional, todas tags válidas de HTML5](https://www.youtube.com/playlist?list=PLx4x_zx8csUiVHRDO_7qhOaeNrrQ5uU8c) - [Curso HTML Completo em 4 Horas - Programação Web](https://www.youtube.com/watch?v=nPEpaft1y1k&ab_channel=Programa%C3%A7%C3%A3oWeb) - [Curso de HTML5 - Node Studio Treinamentos](https://www.youtube.com/playlist?list=PLwXQLZ3FdTVGKl3iPEyEWpFoYkMUxWW5O) - [Curso de HTML Completo - Programação Web Playlist](https://www.youtube.com/playlist?list=PL2Fdisxwzt_cajoGVWTx44wM6Ht09QJ3A) - [Curso de HTML Básico - Tecnocencio](https://www.youtube.com/playlist?list=PLn7S0sW6FlsP50d4-3wSepwb_tRm6xMfC) - [Curso Completo de HTML - Devs Academy](https://www.youtube.com/playlist?list=PLAh4OYmm9AbW-QLfyq7vXsYkshBxVQgvh) - [Playlist de projetos feitos com HTML - Conrado Saud](https://www.youtube.com/playlist?list=PLAlHucWYYtCS4nxCzJ1vZ_EM1D-t7SGJY) - [Aprenda HTML em 1 hora - Jornada do Dev](https://goo.gl/1kfBCZ) > Cursos para aprender HTML em Inglês - [Learn HTML – Full Tutorial for Beginners (2022)](https://www.youtube.com/watch?v=kUMe1FH4CHE&ab_channel=freeCodeCamp.org) - [HTML Full Course - Build a Website Tutorial](https://www.youtube.com/watch?v=pQN-pnXPaVg&ab_channel=freeCodeCamp.org) - [HTML Tutorial for Beginners: HTML Crash Course](https://www.youtube.com/watch?v=qz0aGYrrlhU&ab_channel=ProgrammingwithMosh) - [HTML Full Course - Bro Code](https://www.youtube.com/watch?v=HD13eq_Pmp8&t=1s&ab_channel=BroCode) - [HTML Tutorial for Beginners](https://www.youtube.com/playlist?list=PLDVUkWPClxtc-wxTPG02NrdA7RbBogjGW) - [HTML Complete Course - Beginner to Expert](https://www.youtube.com/playlist?list=PLJ9Lcll8xpWpBuUUc6ykHoCQpdDzauDCg) - [HTML Course - Zeytoon Tuts](https://www.youtube.com/playlist?list=PLDVUkWPClxtc-wxTPG02NrdA7RbBogjGW) ## 🦄 Sites e cursos para aprender CSS > Cursos para aprender CSS em Português - [Curso de CSS para iniciantes - Aprenda CSS e crie um projeto](https://www.youtube.com/watch?v=vwbegraDXD8&ab_channel=MatheusBattisti-HoradeCodar) - [Curso de CSS Para Completos Iniciantes](https://www.youtube.com/watch?v=r11FflkQqJs&ab_channel=FelipeRocha%E2%80%A2dicasparadevs) - [O que é CSS? (Seletores, Propriedades & Valores)](https://www.youtube.com/watch?v=LWU2OR19ZG4&ab_channel=RafaellaBallerini) - [Aprenda CSS em 10 Minutos](https://www.youtube.com/watch?v=lsxBlQWNdUQ&ab_channel=DankiCode) - [CSS (Cascading Style Sheets) - Dicionário do Programador](https://www.youtube.com/watch?v=229xfk3EEM8&ab_channel=C%C3%B3digoFonteTV) - [Aprenda Flexbox em 10 Minutos | Tutorial de HTML & CSS](https://www.youtube.com/watch?v=h4FpFvHdm-U&ab_channel=DankiCode) - [Curso de CSS Completo - Programação Web](https://www.youtube.com/playlist?list=PL2Fdisxwzt_f5C7Mv0kg1EAHhy2VJLf1c) - [Curso CSS Completo em 7 Horas - Programação Web](https://www.youtube.com/watch?v=w1J6gY40yMo&ab_channel=Programa%C3%A7%C3%A3oWeb) - [Curso de HTML e CSS grátis para iniciantes](https://www.youtube.com/playlist?list=PLwgL9IEA0PxUjbhob9UMdpVq12sGrjgU6) - [Curso de CSS3 - Node Studio Treinamentos](https://youtube.com/playlist?list=PLwXQLZ3FdTVGf7GUtiOFLc_9AXO25iIzG) - [Curso de CSS3 - CFBCursos](https://youtube.com/playlist?list=PLx4x_zx8csUi47Bnugpk78nqJN6rYvEnV) - [HTML5 & CSS3 na Prática - Node Studio Treinamentos](https://www.youtube.com/playlist?list=PLwXQLZ3FdTVF_HYP5r1oR7vK1_7ZuTU78) - [Curso Completo de CSS 3 - Jornada do Dev)](https://goo.gl/ebjzVG) - [Curso de CSS3 com Sass e Compass - Jornada do Dev](https://goo.gl/bAO0hE) - [Curso CSS Completo - Rodolfo Moreira](https://www.youtube.com/playlist?list=PLWMAkZq0y_ZPCw_p9CvnaKxQBWs7u0pud) - [Curso HTML e CSS - Projeto Portfólio](https://www.youtube.com/playlist?list=PLirko8T4cEmzrH3jIJi7R7ufeqcpXYaLa) - [Curso de HTML e CSS - Matheus Battisti](https://www.youtube.com/playlist?list=PLnDvRpP8Bnez2LJGshXKtid2f-aUkFOqM) - [Curso de CSS Flexbox - Node Studio Treinamentos](https://www.youtube.com/playlist?list=PLwXQLZ3FdTVGjLmjwfRc0Q9TA5U-PCWp4) - [Curso HTML e CSS - Do Básico ao Avançado](https://www.youtube.com/playlist?list=PL4I-14pHZsLGp5fLi7TtlSVNRg8r4q2NS) - [Curso HTML e CSS 2021 - Px Masters](https://www.youtube.com/playlist?list=PLquSXjlsANIWVP9xUGLwkCCzOWZs2XkW4) - [Curso de HTML e CSS Gratuito - Otávio Miranda](https://www.youtube.com/playlist?list=PLbIBj8vQhvm00J3f3rD33tRuNLem8EgEA) - [Curso HTML e CSS 2022 - Front Beginners](https://www.youtube.com/playlist?list=PLuElAIt7y8x0Mp5ng9Ov3ciGh_fEarUkW) - [Curso de FlexBox CSS - CFBCursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUhDWtEa-AtDAgSSmLObBVaz) > Cursos para aprender CSS em Inglês - [CSS Tutorial – Full Course for Beginners](https://www.youtube.com/watch?v=OXGznpKZ_sA&ab_channel=freeCodeCamp.org) - [CSS Full Course for Beginners | Complete All-in-One Tutorial | 11 Hours](https://www.youtube.com/watch?v=n4R2E7O-Ngo&ab_channel=DaveGray) - [CSS Full Course - Bro Code](https://www.youtube.com/watch?v=wRNinF7YQqQ&ab_channel=BroCode) - [CSS Tutorial - Zero to Hero (Complete Course)](https://www.youtube.com/watch?v=1Rs2ND1ryYc&ab_channel=freeCodeCamp.org) - [HTML & CSS Full Course - Beginner to Pro - SuperSimpleDev](https://www.youtube.com/watch?v=G3e-cpL7ofc&ab_channel=SuperSimpleDev) - [Learn CSS in 20 Minutes - Web Dev Simplified](https://www.youtube.com/watch?v=1PnVor36_40&ab_channel=WebDevSimplified) - [CSS Full Course - Includes Flexbox and CSS Grid Tutorials](https://www.youtube.com/watch?v=ieTHC78giGQ&ab_channel=freeCodeCamp.org) - [Building 10 Websites - From Design to HTML and CSS - Coding Challenge](https://www.youtube.com/watch?v=Rz-rey4Q1bw&t=10659s) - [HTML & CSS Practices - Playlist for projects](https://www.youtube.com/playlist?list=PLgCTlR71eB4-ZGpajuh01zexg8f9Qd98z) - [Programming HTML and CSS Projects](https://www.youtube.com/playlist?list=PLai7Iw-TAFJr5IQ83rIo_iSUiWaiXen5G) - [One Page Full Website Project For Practice | HTML & CSS Responsive Website](https://www.youtube.com/watch?v=ZFQkb26UD1Y) - [Learn CSS Position In 9 Minutes - Web Dev Simplified](https://www.youtube.com/watch?v=jx5jmI0UlXU&ab_channel=WebDevSimplified) ## 🐍 Sites e cursos para aprender Python > Sites & E-books para aprender Python - [Think Python](https://greenteapress.com/wp/think-python/) - [Think Python 2e](https://greenteapress.com/wp/think-python-2e/) - [A Byte of Python](https://python.swaroopch.com/) - [Real Python](https://realpython.com/) - [Full Stack Python](https://www.fullstackpython.com/) - [FreeCodeCamp Python](https://www.freecodecamp.org/learn/scientific-computing-with-python/) - [Dive Into Python 3](https://diveintopython3.net/) - [Practice Python](https://www.practicepython.org/) - [The Python Guru](https://thepythonguru.com/) - [The Coder's Apprentice](https://www.spronck.net/pythonbook/) - [Python Principles](https://pythonprinciples.com/) - [Harvard's CS50 Python Video](https://pll.harvard.edu/course/cs50s-introduction-programming-python?delta=0) - [Cracking Codes With Python](https://inventwithpython.com/cracking/) - [Learn Python, Break Python](https://learnpythonbreakpython.com/) - [Google's Python Class](https://developers.google.com/edu/python) - [Python Like You Mean It](https://www.pythonlikeyoumeanit.com/) - [Beyond the Basic Stuff with Python](https://inventwithpython.com/beyond/) - [Automate the Boring Stuff with Python](https://automatetheboringstuff.com/) - [The Big Book of Small Python Projects](https://inventwithpython.com/bigbookpython/) - [Learn Python 3 From Scratch](https://www.educative.io/courses/learn-python-3-from-scratch) - [Python Tutorial For Beginners, Edureka](https://www.edureka.co/blog/python-tutorial/) - [Microsoft's Introduction to Python Course](https://learn.microsoft.com/en-us/training/modules/intro-to-python/) - [Beginner's Guide to Python, Official Wiki](https://wiki.python.org/moin/BeginnersGuide) - [Python for Everybody Specialization, Coursera](https://www.coursera.org/specializations/python) > Cursos para aprender Python em Português - [Curso completo de Python - Curso em vídeo](https://www.youtube.com/playlist?list=PLvE-ZAFRgX8hnECDn1v9HNTI71veL3oW0) - [Curso de Python - CFB Cursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUhuVgWfy7keQQAy7t1J35TR) - [Curso Completo de Python - Jefferson Lobato](https://www.youtube.com/playlist?list=PLLVddSbilcul-1bAKtMKoL6wOCmDIPzFJ) - [Curso Python para Iniciantes - Didática Tech](https://www.youtube.com/playlist?list=PLyqOvdQmGdTSEPnO0DKgHlkXb8x3cyglD) - [Curso de Python - eXcript](https://www.youtube.com/playlist?list=PLesCEcYj003QxPQ4vTXkt22-E11aQvoVj) - [Curso de Python - Otávio Miranda](https://www.youtube.com/playlist?list=PLbIBj8vQhvm0ayQsrhEf-7-8JAj-MwmPr) - [Aulas Python - Ignorância Zero](https://www.youtube.com/playlist?list=PLfCKf0-awunOu2WyLe2pSD2fXUo795xRe) - [Curso de Programação em Python - Prime Cursos do Brasil](https://www.youtube.com/playlist?list=PLFKhhNd35zq_INvuX9YzXIbtpo_LGDzYK) - [Curso Python p/ Iniciantes - Refatorando](https://www.youtube.com/playlist?list=PLj7gJIFoP7jdirAFg-fHe9HKOnGLGXSHZ) - [Curso Python Básico - Solyd](https://www.youtube.com/playlist?list=PLp95aw034Wn_WtEmlepaDrw8FU8R5azcm) - [Curso de Python - Bóson Treinamentos](https://www.youtube.com/playlist?list=PLucm8g_ezqNrrtduPx7s4BM8phepMn9I2) - [O Melhor Curso de Python - Zurubabel](https://www.youtube.com/playlist?list=PL4OAe-tL47sY8SGhtkGoP0eQd4le3badz) - [Curso de Python - Hashtag Programação](https://www.youtube.com/playlist?list=PLpdAy0tYrnKyCZsE-ifaLV1xnkXBE9n7T) - [Curso de Python Essencial para Data Science](https://www.youtube.com/playlist?list=PL3ZslI15yo2qCEmnYOa2sq6VQOzQ2CFhj) - [Curso de Python do Zero ao Data Scientist](https://www.youtube.com/playlist?list=PLZlkyCIi8bMprZgBsFopRQMG_Kj1IA1WG) - [Curso de Python moderno + Análise de dados](https://www.youtube.com/playlist?list=PLLWTDkRZXQa9YyC1LMbuDTz3XVC4E9ZQA) - [Curso de Python 3 - Do básico ao avançado - RfZorzi](https://www.youtube.com/playlist?list=PLqx8fDb-FZDEDg-FOuwNKEpxA0LhzrdhZ) - [Curso de Python Intermediário / Avançado - HashLDash](https://www.youtube.com/playlist?list=PLsMpSZTgkF5ANrrp31dmQoG0-hPoI-NoX) - [Curso Python para Machine Learning e Análise de Dados](https://www.youtube.com/playlist?list=PLyqOvdQmGdTR46HUxDA6Ymv4DGsIjvTQ-) - [Curso de programación Python desde cero](https://www.youtube.com/playlist?list=PLyvsggKtwbLW1j0d5yaCkRF9Axpdlhsxz) - [Introdução à Ciência da Computação com Python](https://www.youtube.com/playlist?list=PLcoJJSvnDgcKpOi_UeneTNTIVOigRQwcn) - [Curso de Python - Módulo Tkinter](https://www.youtube.com/playlist?list=PLesCEcYj003ShHnUT83gQEH6KtG8uysUE) - [Curso Selenium com Python - Eduardo Mendes](https://www.youtube.com/playlist?list=PLOQgLBuj2-3LqnMYKZZgzeC7CKCPF375B) - [Python - Curso Básico - João Ribeiro](https://www.youtube.com/playlist?list=PLXik_5Br-zO-vShMozvWZWdfcgEO4uZR7) - [Curso de Python 3 - Caio Dellaqua](https://www.youtube.com/playlist?list=PLnHC9X5I2m1_BHFb8rS950nCZXpua3Dj3) - [Curso de introdução ao desenvolvimento Web com Python 3 e Django](https://www.youtube.com/playlist?list=PLjv17QYEBJPpd6nI-MXpIa4qR7prKfPQz) - [Curso Analista de dados Python / Numpy / Pandas](https://www.youtube.com/playlist?list=PL3Fmwz_E1hXRWxIkP843DiDf0ZeqgftTy) - [Curso de Python Avançado - Portal Hugo Cursos](https://www.youtube.com/playlist?list=PLxNM4ef1Bpxj-fFV_rwrLlPA6eMvZZAXu) - [Python Tkinter - João Ribeiro](https://www.youtube.com/playlist?list=PLXik_5Br-zO_m8NaaEix1pyQOsCZM7t1h) - [Curso PYQT5 - Python - Desenvolvendo um sistema do zero](https://www.youtube.com/playlist?list=PLwdRIQYrHHU1MGlXIykshfhEApzkPXgQH) - [Lógica de Programação com Python](https://www.youtube.com/playlist?list=PLt7yD2z4olT--vM2fOFTgsn2vOsxHE5LX) - [Curso de Programação Python com Blender](https://www.youtube.com/playlist?list=PL3rePi75166RvuavzR1YU6eo5Q0gvXdI7) - [Curso SQL com python](https://www.youtube.com/playlist?list=PLLWTDkRZXQa88Opt03kzilhx_NGEYSfFt) - [Curso de Python - Módulo SQLite - eXcript](https://www.youtube.com/playlist?list=PLesCEcYj003QiX5JaM24ytHrHiOJknwog) - [Curso Python desde 0](https://www.youtube.com/playlist?list=PLU8oAlHdN5BlvPxziopYZRd55pdqFwkeS) - [Lógica de Programação Usando Python - Curso Completo](https://www.youtube.com/playlist?list=PL51430F6C54953B73) - [Curso Python - Edson Leite Araújo](https://www.youtube.com/playlist?list=PLAwKJHUl9-WeOUxsFr9Gej3sqvS7brpMz) - [Curso Python para hacking - Gabriel Almeida](https://www.youtube.com/playlist?list=PLTt8p5xagieX0sOtwFG-je7y_PA-oTrnY) - [Curso de Python Orientado a Objetos](https://www.youtube.com/playlist?list=PLxNM4ef1Bpxhm8AfK1nDMWPDYXtmVQN-z) - [Curso de TDD em Python](https://www.youtube.com/playlist?list=PL4OAe-tL47sZrzX5jISTuNsGWaMqx8uuE) - [Curso de Python em Vídeo - Daves Tecnolgoia](https://www.youtube.com/playlist?list=PL5EmR7zuTn_Z-I4lLdZL9_wCZJzJJr2pC) - [Curso de Python Básico - Agricultura Digital](https://www.youtube.com/playlist?list=PLVmqNeV0L_zvTZC3uRvzMpySm4XzDVLHS) - [Exercícios de Python 3 - Curso em vídeo](https://www.youtube.com/playlist?list=PLHz_AreHm4dm6wYOIW20Nyg12TAjmMGT-) - [Curso Python- Ignorância Zero](https://www.youtube.com/playlist?list=PLX65ruEX8lOTS_IsLp-STkZLWV9glggDG) - [Curso Lógica de Programação Com Python - Hora de Programar](https://www.youtube.com/playlist?list=PL8hh5X1mSR2CMd6Y_SCXaNCru2bUoRlT_) > Cursos para aprender Python em Inglês - [Learn Python - Full Course for Beginners - freeCodeCamp](https://www.youtube.com/watch?v=rfscVS0vtbw&ab_channel=freeCodeCamp.org) - [Python Tutorial - Python Full Course for Beginners - Programming with Mosh](https://www.youtube.com/watch?v=_uQrJ0TkZlc&ab_channel=ProgrammingwithMosh) - [Python Tutorial: Full Course for Beginners - Bro Code](https://www.youtube.com/watch?v=XKHEtdqhLK8&t=1s&ab_channel=BroCode) - [Python Tutorial for Beginners - Full Course in 12 Hours](https://www.youtube.com/watch?v=B9nFMZIYQl0&ab_channel=CleverProgrammer) - [Python for Beginners – Full Course freeCodeCamp](https://www.youtube.com/watch?v=eWRfhZUzrAc&ab_channel=freeCodeCamp.org) - [Python for Everybody - Full University Python Course](https://www.youtube.com/watch?v=8DvywoWv6fI&ab_channel=freeCodeCamp.org) - [Python Full Course - Amigoscode](https://www.youtube.com/watch?v=LzYNWme1W6Q&ab_channel=Amigoscode) - [Python Tutorial for Beginners - Learn Python in 5 Hours](https://www.youtube.com/watch?v=t8pPdKYpowI&ab_channel=TechWorldwithNana) - [Intermediate Python Programming Course - freeCodeCamp](https://www.youtube.com/watch?v=HGOBQPFzWKo&ab_channel=freeCodeCamp.org) - [Automate with Python – Full Course for Beginners - freeCodeCamp](https://www.youtube.com/watch?v=PXMJ6FS7llk&ab_channel=freeCodeCamp.org) - [20 Beginner Python Projects](https://www.youtube.com/watch?v=pdy3nh1tn6I&ab_channel=freeCodeCamp.org) - [Data Structures and Algorithms in Python - Full Course for Beginners](https://www.youtube.com/watch?v=pkYVOmU3MgA&ab_channel=freeCodeCamp.org) - [Python for Beginners | Full Course - Telusko](https://www.youtube.com/watch?v=YfO28Ihehbk&ab_channel=Telusko) - [Python for Beginners (Full Course) | Programming Tutorial](https://www.youtube.com/playlist?list=PLsyeobzWxl7poL9JTVyndKe62ieoN-MZ3) - [Python for Beginners - Microsoft Developer](https://www.youtube.com/playlist?list=PLlrxD0HtieHhS8VzuMCfQD4uJ9yne1mE6) - [Python RIGHT NOW - NetworkChuck](https://www.youtube.com/playlist?list=PLIhvC56v63ILPDA2DQBv0IKzqsWTZxCkp) - [Learn Python | 8h Full Course | Learn Python the Simple, Intuitive and Intended Way](https://www.youtube.com/playlist?list=PLvMRWNpDTNwTNwsQmgTvvG2i1znjfMidt) - [Python Crash Course - Learning Python](https://www.youtube.com/playlist?list=PLiEts138s9P1A6rXyg4KZQiNBB_qTkq9V) - [Crash Course on Python for Beginners | Google IT Automation with Python Certificate](https://www.youtube.com/playlist?list=PLTZYG7bZ1u6pqki1CRuW4D4XwsBrRbUpg) - [CS50's Introduction to Programming with Python](https://cs50.harvard.edu/python/2022/) - [Complete Python tutorial in Hindi](https://www.youtube.com/playlist?list=PLwgFb6VsUj_lQTpQKDtLXKXElQychT_2j) - [Python Tutorials - Corey Schafer](https://www.youtube.com/playlist?list=PL-osiE80TeTt2d9bfVyTiXJA-UTHn6WwU) - [Advanced Python - Complete Course](https://www.youtube.com/playlist?list=PLqnslRFeH2UqLwzS0AwKDKLrpYBKzLBy2) - [Python Tutorials for Absolute Beginners - CS Dojo](https://www.youtube.com/playlist?list=PLBZBJbE_rGRWeh5mIBhD-hhDwSEDxogDg) - [Learn Python The Complete Python Programming Course](https://www.youtube.com/playlist?list=PL0-4oWTgb_cl_FQ66HvBx0g5-LZjnLl8o) - [100 Days of Code - Learn Python Programming!](https://www.youtube.com/playlist?list=PLSzsOkUDsvdvGZ2fXGizY_Iz9j8-ZlLqh) - [Python (Full Course) - QAFox](https://www.youtube.com/playlist?list=PLsjUcU8CQXGGqjSvX8h5JQIymbYfzEMWd) - [Python Full Course - Jennys Lectures](https://www.youtube.com/playlist?list=PLdo5W4Nhv31bZSiqiOL5ta39vSnBxpOPT) - [Python Tutorials For Absolute Beginners In Hindi](https://www.youtube.com/playlist?list=PLu0W_9lII9agICnT8t4iYVSZ3eykIAOME) - [Crash Course on Python by Google](https://www.youtube.com/playlist?list=PLOkt5y4uV6bW46gR0DrBRfkVAhE6RSpZX) - [NetAcad Python Course Labs](https://www.youtube.com/playlist?list=PL6Tc4k6dl9kLk8cDwImy1Q6a9buJkvsEJ) - [Data Analysis with Python Course](https://www.youtube.com/playlist?list=PLWKjhJtqVAblvI1i46ScbKV2jH1gdL7VQ) - [30 day Basic to Advanced Python Course](https://www.youtube.com/playlist?list=PL3DVGRBD_QUrqjmkhf8cK038fiZhge7bu) - [Python Course - Masai](https://www.youtube.com/playlist?list=PLD6vB9VKZ11lm3iP5riJtgDDtDbd9Jq4Y) - [Python Hacking Course Beginner To Advance!](https://www.youtube.com/watch?v=Wfe1q7nx8WU&ab_channel=TheHackingCoach) - [Ethical Hacking using Python | Password Cracker Using Python | Edureka](https://www.youtube.com/watch?v=CV_mMAYzTxw&ab_channel=edureka%21) - [Complete Python Hacking Course: Beginner To Advance](https://www.youtube.com/watch?v=7T_xVBwFdJA&ab_channel=AleksaTamburkovski) - [Tools Write Python](https://www.youtube.com/playlist?list=PL0HkYwPRexOaRoD2jO6-0YFTTaED5Ya9A) - [Python 101 For Hackers](https://www.youtube.com/playlist?list=PLoqUKOWEFR1y6LQNkrssmO1-YN2gjniZY) - [Python for hackers course](https://www.youtube.com/playlist?list=PLFA5k60XteCmzAGxhfmauety1VbcUk9eh) - [Black Hat Python for Pentesters and Hackers tutorial](https://www.youtube.com/playlist?list=PLTgRMOcmRb3N5i5gBSjAqJ4c7m1CQDS0X) - [Python For Hackers](https://www.youtube.com/playlist?list=PLQzKQEJTLWfyyDGV_CQbPGTJn5apS10uN) - [The Complete Ethical Hacking Course Beginner to Advanced](https://www.youtube.com/playlist?list=PL0-4oWTgb_cniCsTF8hitbZL38NjFRyRr) - [Python Security - Abdallah Elsokary](https://www.youtube.com/playlist?list=PLCIJjtzQPZJ-k4ADq_kyuyWVSRPC5JxeG) - [Python Hacking - OccupyTheWeb](https://www.youtube.com/playlist?list=PLpJ5UHZQbpQvXbGzJHxjXH9Y7uxd-tnA7) - [Python For Hacking - Technical Hacker](https://www.youtube.com/playlist?list=PLb9t9VtleL9WTrk74L4xQIq6LM0ndQBEA) - [Hacking networks with Python and Scapy](https://www.youtube.com/playlist?list=PLhfrWIlLOoKOc3z424rgsej5P5AP8yNKR) - [Ethical Hacking With Python](https://www.youtube.com/playlist?list=PLHGPBKzD9DYU10VM6xcVoDSSVzt2MNdKf) - [Python hacking - Abdul Kamara](https://www.youtube.com/playlist?list=PLmrwFpxY0W1PPRPJrFAJInpOzuB3TLx0K) ## 🐘 Sites e cursos para aprender PHP > Cursos para aprender PHP em Português - [Curso de PHP para Iniciantes](https://www.youtube.com/playlist?list=PLHz_AreHm4dm4beCCCmW4xwpmLf6EHY9k) - [Curso de PHP - Node Studio](https://www.youtube.com/playlist?list=PLwXQLZ3FdTVEITn849NlfI9BGY-hk1wkq) - [Curso de PHP - CFBCursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUgB4R1dDXke4uKMq-IrSr4B) - [Curso de PHP 8 Completo](https://www.youtube.com/playlist?list=PLXik_5Br-zO9wODVI0j58VuZXkITMf7gZ) - [Curso de PHP - eXcript](https://www.youtube.com/playlist?list=PLesCEcYj003TrV2MvUOnmVtMdgIp0C4Pd) - [Curso de PHP Orientado a Objetos](https://www.youtube.com/playlist?list=PLwXQLZ3FdTVEau55kNj_zLgpXL4JZUg8I) - [Curso de PHP8 Completo - Intermédio e Avançado](https://www.youtube.com/playlist?list=PLXik_5Br-zO9Z8l3CE8zaIBkVWjHOboeL) - [Curso de PHP](https://www.youtube.com/playlist?list=PLBFB56E8115533B6C) - [Curso de POO PHP (Programação Orientada a Objetos)](https://www.youtube.com/playlist?list=PLHz_AreHm4dmGuLII3tsvryMMD7VgcT7x) - [Curso de PHP 7 Orientado a Objetos](https://www.youtube.com/playlist?list=PLnex8IkmReXz6t1rqxB-W17dbvfSL1vfg) - [Curso de PHP 7](https://www.youtube.com/playlist?list=PLnex8IkmReXw-QlzKS9zA3rXQsRnK5nnA) - [Curso de PHP com MySQL](https://www.youtube.com/playlist?list=PLucm8g_ezqNrkPSrXiYgGXXkK4x245cvV) - [Curso de PHP para iniciantes](https://www.youtube.com/playlist?list=PLInBAd9OZCzx82Bov1cuo_sZI2Lrb7mXr) - [Curso de PHP 7 e MVC - Micro Framework](https://www.youtube.com/playlist?list=PL0N5TAOhX5E-NZ0RRHa2tet6NCf9-7B5G) - [Curso de PHP - Emerson Carvalho](https://www.youtube.com/playlist?list=PLIZ0d6lKIbVpOxc0x1c4HpEWyK0JMsL49) > Cursos para aprender PHP em Espanhol - [Curso de PHP/MySQL](https://www.youtube.com/playlist?list=PLU8oAlHdN5BkinrODGXToK9oPAlnJxmW_) - [Curso completo de PHP desde cero a experto](https://www.youtube.com/playlist?list=PLH_tVOsiVGzmnl7ImSmhIw5qb9Sy5KJRE) - [Curso PHP 8 y MySQL 8 desde cero](https://www.youtube.com/playlist?list=PLZ2ovOgdI-kUSqWuyoGJMZL6xldXw6hIg) - [Curso de PHP completo desde cero](https://www.youtube.com/playlist?list=PLg9145ptuAij8vIQLU25f7sUSH4E8pdY5) - [Curso completo PHP y MySQL principiantes-avanzado](https://www.youtube.com/playlist?list=PLvRPaExkZHFkpBXXCsL2cn9ORTTcPq4d7) - [Curso PHP Básico](https://www.youtube.com/playlist?list=PL469D93BF3AE1F84F) - [PHP desde cero](https://www.youtube.com/playlist?list=PLAzlSdU-KYwW9eWj88DW55gTi1M5HQo5S) > Cursos para aprender PHP em Inglês - [Learn PHP The Right Way - Full PHP Tutorial For Beginners & Advanced](https://www.youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-) - [PHP Programming Language Tutorial - Full Course](https://www.youtube.com/watch?v=OK_JCtrrv-c&ab_channel=freeCodeCamp.org) - [PHP For Absolute Beginners | 6.5 Hour Course](https://www.youtube.com/watch?v=2eebptXfEvw&ab_channel=TraversyMedia) - [PHP For Beginners | 3+ Hour Crash Course](https://www.youtube.com/watch?v=BUCiSSyIGGU&ab_channel=TraversyMedia) - [PHP Tutorial for Beginners - Full Course | OVER 7 HOURS!](https://www.youtube.com/watch?v=t0syDUSbdfE&ab_channel=EnvatoTuts%2B) - [PHP And MySQL Full Course in 2022](https://www.youtube.com/watch?v=s-iza7kAXME&ab_channel=Simplilearn) - [PHP Full Course | PHP Tutorial For Beginners](https://www.youtube.com/watch?v=6EukZDFE_Zg&ab_channel=Simplilearn) - [PHP Front To Back](https://www.youtube.com/playlist?list=PLillGF-Rfqbap2IB6ZS4BBBcYPagAjpjn) - [PHP Tutorial for Beginners](https://www.youtube.com/playlist?list=PL4cUxeGkcC9gksOX3Kd9KPo-O68ncT05o) - [PHP for beginners](https://www.youtube.com/playlist?list=PLFHz2csJcgk_fFEWydZJLiXpc9nB1qfpi) - [The Complete 2021 PHP Full Stack Web Developer](https://www.youtube.com/playlist?list=PLs-hN447lej6LvquSMoWkGlJAJrhwaVNX) - [PHP Training Videos](https://www.youtube.com/playlist?list=PLEiEAq2VkUUIjP-QLfvICa1TvqTLFvn1b) - [PHP complete course with Project](https://www.youtube.com/playlist?list=PLFINWHSIpuivHWnGE8YGw8uFygThFGr3-) - [PHP Course for Beginners](https://www.youtube.com/playlist?list=PLLQuc_7jk__WTMT4U1qhDkhqd2bOAdxSo) - [PHP Tutorials Playlist](https://www.youtube.com/playlist?list=PL442FA2C127377F07) - [PHP Tutorials](https://www.youtube.com/playlist?list=PL0eyrZgxdwhwBToawjm9faF1ixePexft-) - [PHP Tutorial for Beginners](https://www.youtube.com/playlist?list=PLS1QulWo1RIZc4GM_E04HCPEd_xpcaQgg) - [PHP 7 Course - From Zero to Hero](https://www.youtube.com/playlist?list=PLCwJ-zYcMM92IlmUrW7Nn79y4LHGfODGc) - [PHP Tutorials (updated)](https://www.youtube.com/playlist?list=PL0eyrZgxdwhxhsuT_QAqfi-NNVAlV4WIP) - [PHP & MySQL Tutorial Videos](https://www.youtube.com/playlist?list=PL9ooVrP1hQOFB2yjxFbK-Za8HwM5v1NC5) - [PHP from intermediate to advanced](https://www.youtube.com/playlist?list=PLBEpR3pmwCazOsFp0xI3keBq7SoqDnxM7) - [Object Oriented PHP Tutorials](https://www.youtube.com/playlist?list=PL0eyrZgxdwhypQiZnYXM7z7-OTkcMgGPh) - [PHP OOP Basics Full Course](https://www.youtube.com/playlist?list=PLY3j36HMSHNUfTDnDbW6JI06IrkkdWCnk) - [Advanced PHP](https://www.youtube.com/playlist?list=PLu4-mSyb4l4SlKcO51aLtyiuOmlEuojvZ) ## 🦚 Sites e cursos para aprender C# > Cursos para aprender C# em Português - [Curso de C# - Aprenda o essencial em 5 HORAS](https://www.youtube.com/watch?v=PKMm-cHe56g&ab_channel=VictorLima-GuiadoProgramador) - [Curso de Programação C#](https://www.youtube.com/playlist?list=PLx4x_zx8csUglgKTmgfVFEhWWBQCasNGi) - [Curso C# 2021](https://www.youtube.com/playlist?list=PL50rZONmv8ZTLPRyqb37EoPlBpSmVBJWX) - [Curso de C# para Iniciantes](https://www.youtube.com/playlist?list=PLwftZeDnOzt3VMtat5BTJvP_7qgNtRDD8) - [Linguagem C#](https://www.youtube.com/playlist?list=PLEdPHGYbHhlcxWx-_LrVVYZ2RRdqltums) - [C# - De Novato a Profissional](https://www.youtube.com/playlist?list=PLXik_5Br-zO-rMqpRy5qPG2SLNimKmVCO) - [Curso de C#](https://www.youtube.com/playlist?list=PLesCEcYj003SFffgnOcITHnCJavMf0ArD) - [Curso de C# - Pildoras Informaticas](https://www.youtube.com/playlist?list=PLU8oAlHdN5BmpIQGDSHo5e1r4ZYWQ8m4B) - [Curso de C# Básico e Avançado](https://www.youtube.com/playlist?list=PLxNM4ef1BpxgRAa5mGXlCoSGyfYau8nZI) - [Curso de Programação em C#](https://www.youtube.com/playlist?list=PLO_xIfla8f1wDmI0Vd4YJLKBJhOeQ3xbz) - [Curso de Programação com C#](https://www.youtube.com/playlist?list=PLucm8g_ezqNoMPIGWbRJXemJKyoUpTjA1) - [Curso Básico de C#](https://www.youtube.com/playlist?list=PL0YuSuacUEWsHR_a22z31bvA2heh7iUgr) - [Curso de Desenvolvimento de Sistemas - C# com SQL](https://www.youtube.com/playlist?list=PLxNM4ef1BpxjLIq-eTL8mgROdviCiobs9) - [Curso de C# - Diego Moisset](https://www.youtube.com/playlist?list=PLIygiKpYTC_400MCSyUlje1ifmFltonuN) - [C# - Programação Orientada a Objetos](https://www.youtube.com/playlist?list=PLfvOpw8k80Wreysmw8fonLCBw8kiiYjIU) - [Curso .NET Core C#](https://www.youtube.com/playlist?list=PLs3yd28pfby7WLEdA7GXey47cKZKMrcwS) - [Curso de C# com Entity - CSharp com SQL](https://www.youtube.com/playlist?list=PLxNM4ef1BpxgIUUueLguueyhx0UuICC3-) - [Curso de C# com MVC e SQL](https://www.youtube.com/playlist?list=PLxNM4ef1Bpxgilp2iFXI4i2if6Qtg6qFZ) > Cursos para aprender C# em Espanhol - [Curso C# de 0 a Experto](https://www.youtube.com/playlist?list=PLvMLybJwXhLEVUlBI2VdmYXPARO2Zwxze) - [Tutorial C# - Curso básico](https://www.youtube.com/playlist?list=PLM-p96nOrGcakia6TWllPW9lkQmB2g-yX) - [Aprende a programar en C# desde CERO](https://www.youtube.com/playlist?list=PL8gxzfBmzgexdFa0XZZSZZn2Ogx3j-Qd5) > Cursos para aprender C# em Inglês - [C# Tutorial - Full Course for Beginners](https://www.youtube.com/watch?v=GhQdlIFylQ8&ab_channel=freeCodeCamp.org) - [C# Full Course - Learn C# 10 and .NET 6 in 7 hours](https://www.youtube.com/watch?v=q_F4PyW8GTg&ab_channel=tutorialsEU) - [C# Tutorial: Full Course for Beginners](https://www.youtube.com/watch?v=wxznTygnRfQ&ab_channel=BroCode) - [C# Fundamentals for Beginners](https://www.youtube.com/watch?v=0QUgvfuKvWU&ab_channel=MicrosoftDeveloper) - [C# Tutorial For Beginners - Learn C# Basics in 1 Hour](https://www.youtube.com/watch?v=gfkTfcpWqAY&ab_channel=ProgrammingwithMosh) - [C# for Beginners | Full 2-hour course](https://www.youtube.com/watch?v=Z5JS36NlJiU&ab_channel=dotnet) - [C# Programming All-in-One Tutorial Series (6 HOURS!)](https://www.youtube.com/watch?v=qOruiBrXlAw&ab_channel=CalebCurry) - [Create a C# Application from Start to Finish - Complete Course](https://www.youtube.com/watch?v=wfWxdh-_k_4&ab_channel=freeCodeCamp.org) - [C# Tutorials](https://www.youtube.com/playlist?list=PL_c9BZzLwBRIXCJGLd4UzqH34uCclOFwC) - [C# Mastery Course](https://www.youtube.com/playlist?list=PLrW43fNmjaQVSmaezCeU-Hm4sMs2uKzYN) - [C# Full Course Beginner to Advanced](https://www.youtube.com/playlist?list=PLq5Uz3LSFff8GmtFeoXRZCtWBKQ0kWl-H) - [C# Tutorial For Beginners & Basics - Full Course 2022](https://www.youtube.com/playlist?list=PL82C6-O4XrHfoN_Y4MwGvJz5BntiL0z0D) - [C# for Beginners Course](https://www.youtube.com/playlist?list=PL4LFuHwItvKbneXxSutjeyz6i1w32K6di) - [C# tutorial for beginners](https://www.youtube.com/playlist?list=PLAC325451207E3105) - [C# Online Training](https://www.youtube.com/playlist?list=PLWPirh4EWFpFYePpf3E3AI8LT4NInNoIM) - [C# Training](https://www.youtube.com/playlist?list=PLEiEAq2VkUULDJ9tZd3lc0rcH4W5SNSoW) - [C# for Beginners](https://www.youtube.com/playlist?list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN) - [C# - Programming Language | Tutorial](https://www.youtube.com/playlist?list=PLLAZ4kZ9dFpNIBTYHNDrhfE9C-imUXCmk) - [C#.NET Tutorials](https://www.youtube.com/playlist?list=PLTjRvDozrdlz3_FPXwb6lX_HoGXa09Yef) ## 🦉 Sites e cursos para aprender C > Cursos para aprender C em Português - [Curso de C - eXcript](https://www.youtube.com/playlist?list=PLesCEcYj003SwVdufCQM5FIbrOd0GG1M4) - [Programação Moderna em C - Papo Binário](https://www.youtube.com/playlist?list=PLIfZMtpPYFP5qaS2RFQxcNVkmJLGQwyKE) - [Curso de Linguagem C - Pietro Martins](https://www.youtube.com/playlist?list=PLpaKFn4Q4GMOBAeqC1S5_Fna_Y5XaOQS2) - [Curso de Programação C Completo - Programe seu futuro](https://www.youtube.com/playlist?list=PLqJK4Oyr5WSjjEQCKkX6oXFORZX7ro3DA) - [Linguagem C - De aluno para aluno](https://www.youtube.com/playlist?list=PLa75BYTPDNKZWYypgOFEsX3H2Mg-SzuLW) - [Curso de Linguagem C para Iniciantes - John Haste](https://www.youtube.com/playlist?list=PLGgRtySq3SDMLV8ee7p-rA9y032AU3zT8) - [Curso de Linguagem C (ANSI)](https://www.youtube.com/playlist?list=PLZ8dBTV2_5HTGGtrPxDB7zx8J5VMuXdob) - [Curso - Programação com a Linguagem C para iniciantes](https://www.youtube.com/playlist?list=PLbEOwbQR9lqxHno2S-IiG9-lePyRNOO_E) - [Curso de Programação 3 (C Avançado)](https://www.youtube.com/playlist?list=PLxMw67OGLa0kW_TeweK2-9gXRlMLYzC1o) - [Curso de C - Diego Moisset](https://www.youtube.com/playlist?list=PLIygiKpYTC_6zHLTjI6cFIRZm1BCT3CuV) - [Curso de C e C++](https://www.youtube.com/playlist?list=PL5EmR7zuTn_bONyjFxSO4ZCE-SVVNFGkS) - [Curso de Programação em Linguagem C](https://www.youtube.com/playlist?list=PLucm8g_ezqNqzH7SM0XNjsp25AP0MN82R) - [Linguagem C - Curso de Programação Completo para Iniciantes e Profissionais](https://www.youtube.com/playlist?list=PLrqNiweLEMonijPwsHckWX7fVbgT2jS3P) - [Curso de Lógica e programação em C](https://www.youtube.com/playlist?list=PLtnFngjANe7EMzARU48QgecpyQdzWapoT) > Cursos para aprender C em Inglês - [C Programming for Beginners](https://www.youtube.com/playlist?list=PL98qAXLA6aftD9ZlnjpLhdQAOFI8xIB6e) - [C Programming - Neso Academy](https://www.youtube.com/playlist?list=PLBlnK6fEyqRggZZgYpPMUxdY1CYkZtARR) - [C Programming & Data Structures](https://www.youtube.com/playlist?list=PLBlnK6fEyqRhX6r2uhhlubuF5QextdCSM) - [Programming in C - Jennys](https://www.youtube.com/playlist?list=PLdo5W4Nhv31a8UcMN9-35ghv8qyFWD9_S) - [C Language Tutorials In Hindi](https://www.youtube.com/playlist?list=PLu0W_9lII9aiXlHcLx-mDH1Qul38wD3aR) - [freeCodeCamp C / C++](https://www.youtube.com/playlist?list=PLWKjhJtqVAbmUE5IqyfGYEYjrZBYzaT4m) - [C Programming Tutorials](https://www.youtube.com/playlist?list=PL_c9BZzLwBRKKqOc9TJz1pP0ASrxLMtp2) - [C Language Tutorial Videos - Mr. Srinivas](https://www.youtube.com/playlist?list=PLVlQHNRLflP8IGz6OXwlV_lgHgc72aXlh) - [Advanced C Programming](https://www.youtube.com/playlist?list=PL7CZ_Xc0qgmJFqNWEt4LIhAPTlT0sCW4C) - [Free Online Programming Course in C for Beginners](https://www.youtube.com/playlist?list=PL76809ED684A081F3) - [C Programming - Ankpro](https://www.youtube.com/playlist?list=PLUtTaqnx2RJLSUZgv0zp0aNWy9e1cbKd9) - [C Programming Tutorials - The New Boston](https://www.youtube.com/playlist?list=PL6gx4Cwl9DGAKIXv8Yr6nhGJ9Vlcjyymq) - [C Programming - IntelliPaat](https://www.youtube.com/playlist?list=PLVHgQku8Z935hrZwx751XoyqDROH_tYMY) - [Learn C programming - edureka!](https://www.youtube.com/playlist?list=PL9ooVrP1hQOFrNo8jK9Yb2g2eMHz7hTu9) - [C Programming Tutorials - Saurabh Shukla](https://www.youtube.com/playlist?list=PLe_7x5eaUqtWp9fvsxhC4XIkoR3n5A-sF) ## 🐸 Sites e cursos para aprender C++ > Cursos para aprender C++ em Português - [Curso C++ - eXcript](https://www.youtube.com/playlist?list=PLesCEcYj003QTw6OhCOFb1Fdl8Uiqyrqo) - [Curso de C e C++ - Daves Tecnologia](https://www.youtube.com/playlist?list=PL5EmR7zuTn_bONyjFxSO4ZCE-SVVNFGkS) - [Curso Programação em C/C++](https://www.youtube.com/playlist?list=PLC9E87254BD7A875B) - [Curso C++ para iniciantes](https://www.youtube.com/playlist?list=PL8eBmR3QtPL13Dkn5eEfmG9TmzPpTp0cV) - [Curso de C++ e C#](https://www.youtube.com/playlist?list=PLxNM4ef1Bpxhro_xZd-PCUDUsgg8tZFKh) - [Curso C++](https://www.youtube.com/playlist?list=PL6xP0t6HQYWcUPcXLu2XTZ3gOCJSmolgO) - [Curso de C++ - A linguagem de programação fundamental para quem quer ser um programador](https://www.youtube.com/playlist?list=PLx4x_zx8csUjczg1qPHavU1vw1IkBcm40) > Cursos para aprender C++ em Espanhol - [Programación en C++](https://www.youtube.com/playlist?list=PLWtYZ2ejMVJlUu1rEHLC0i_oibctkl0Vh) - [Curso en C++ para principiantes](https://www.youtube.com/playlist?list=PLDfQIFbmwhreSt6Rl2PbDpGuAEqOIPmEu) - [C++ desde cero](https://www.youtube.com/playlist?list=PLAzlSdU-KYwWsM0FgOs4Jqwnr5zhHs0wU) - [Curso de Interfaces Graficas en C/C++](https://www.youtube.com/playlist?list=PLYA44wBp7zVTiCJiXIC5H5OkMOXptxLOI) > Cursos para aprender C++ em Inglês - [C++ Programming Course - Beginner to Advanced 31 hours](https://www.youtube.com/watch?v=8jLOx1hD3_o&ab_channel=freeCodeCamp.org) - [C++ Full Course For Beginners (Learn C++ in 10 hours)](https://www.youtube.com/watch?v=GQp1zzTwrIg&ab_channel=CodeBeauty) - [C++ Tutorial for Beginners - Learn C++ in 1 Hour](https://www.youtube.com/watch?v=ZzaPdXTrSb8&ab_channel=ProgrammingwithMosh) - [C++ Tutorial: Full Course for Beginners](https://www.youtube.com/watch?v=-TkoO8Z07hI&ab_channel=BroCode) - [C++ Tutorial for Beginners - Complete Course](https://www.youtube.com/watch?v=vLnPwxZdW4Y&ab_channel=freeCodeCamp.org) - [C++ Programming All-in-One Tutorial Series (10 HOURS!)](https://www.youtube.com/watch?v=_bYFu9mBnr4&ab_channel=CalebCurry) - [C++ Full Course 2022](https://www.youtube.com/watch?v=SYd5F4gIH90&ab_channel=Simplilearn) - [C++ Crash Course](https://www.youtube.com/watch?v=uhFpPlMsLzY&ab_channel=BroCode) - [C++ - The Cherno](https://www.youtube.com/playlist?list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb) - [C++ Full Course | C++ Tutorial | Data Structures & Algorithms](https://www.youtube.com/playlist?list=PLfqMhTWNBTe0b2nM6JHVCnAkhQRGiZMSJ) - [C++ Programming - Neso Academy](https://www.youtube.com/playlist?list=PLBlnK6fEyqRh6isJ01MBnbNpV3ZsktSyS) - [C++ Complete Course](https://www.youtube.com/playlist?list=PLdo5W4Nhv31YU5Wx1dopka58teWP9aCee) - [C++ Tutorials In Hindi](https://www.youtube.com/playlist?list=PLu0W_9lII9agpFUAlPFe_VNSlXW5uE0YL) - [C++ Online Training](https://www.youtube.com/playlist?list=PLWPirh4EWFpGDG3--IKMLPoYrgfuhaz_t) - [C / C++ - freeCodeCamp Playlist](https://www.youtube.com/playlist?list=PLWKjhJtqVAbmUE5IqyfGYEYjrZBYzaT4m) - [C++ Modern Tutorials](https://www.youtube.com/playlist?list=PLgnQpQtFTOGRM59sr3nSL8BmeMZR9GCIA) ## 🦉 Sites e cursos para aprender Camunda > Cursos para aprender Camunda em Português - [Curso de Camunda - Limers Dev](https://www.youtube.com/playlist?list=PLb7Px7q28I7UqIdEnZDP0RCPB2wEvO7KW) - [Curso de Camunda - Fabulous Code](https://www.youtube.com/watch?v=f9DmrLPMjRM&t=6s&ab_channel=FabulousCode) - [Curso Modelagem de Processos com Camunda BPM](https://www.youtube.com/playlist?list=PLI0t5VwNU4XNvkWYXPryepPwCCxsrEyZH) > Cursos para aprender Camunda em Inglês - [Tutorial: How to Get Started With Camunda Platform 7 Run](https://www.youtube.com/watch?v=l-sCUKQZ44s&list=PLJG25HlmvsOUnCziyJBWzcNh7RM5quTmv&ab_channel=Camunda) - [Getting Started with Camunda Platform 7](https://www.youtube.com/playlist?list=PLJG25HlmvsOUnCziyJBWzcNh7RM5quTmv) - [Camunda First Steps Course - English](https://www.youtube.com/playlist?list=PLI0t5VwNU4XP-D9sw8_34VV9QD4wlLxtQ) - [Camunda Complete Tutrorial for Java](https://www.youtube.com/playlist?list=PLLUFZCmqicc-ESKvg3XZE-7yX5o_0PPED) - [Camunda BPMN Tutorials - Arindam Mukherjee](https://www.youtube.com/playlist?list=PLago6eYwkX8g8PFjN3-7u0yCbKYjdSTUF) - [Camunda Learning - Sairam Gopalakrishnan](https://www.youtube.com/playlist?list=PLTFuYAuDJIcOd-RCNZ5PtwyfRR4Gq9XMv) ## 🐶 Sites e cursos para aprender Kotlin > Cursos para aprender Kotlin em Português - [Documentação Oficial do Kotlin](https://kotlinlang.org/docs/home.html) - [Curso de Kotlin 2020 | Básico](https://youtube.com/playlist?list=PLPs3nlHFeKTr-aDDvUxU971rPSVTyQ6Bn) - [Curso de Kotlin - Programação para Iniciantes](https://www.youtube.com/playlist?list=PLmcyA-BbqsvJnOZoGNHPMF1dCBq0m6Qzg) - [Curso Básico de Kotlin - Fabiano Góes ](https://www.youtube.com/playlist?list=PLM8_o_MDe-LEpabjij2vyHZnxI7Knrxkj) - [Mini Curso - Web API Kotlin do Zero](https://www.youtube.com/playlist?list=PLM8_o_MDe-LEas_XSKIyaFAp_MS__5j4p) - [Programação Android - Geraldo Melo](https://www.youtube.com/playlist?list=PLHZwU4kNI8DXL2ennM5kR8kHm5zwS6hOz) - [Mini Curso - Conceitos básicos de Kotlin](https://www.youtube.com/playlist?list=PLM8_o_MDe-LElQqV-SZtlyGt8l7iz770r) - [Aplicativo Android Kotlin - Salário Mês](https://www.youtube.com/playlist?list=PLufC_h3b0C2BbBfAB3rZXXkhtRDEuQFcq) - [Curso de Kotlin - Professor MarcoMaddo](https://www.youtube.com/playlist?list=PLDqAb8tE7SQYE7NJqwuku7e1S46MOav6X) - [Curso de Kotlin e Spring - Fabiano Góes](https://www.youtube.com/playlist?list=PLM8_o_MDe-LEu4XrXKjA48dt1d07FPYP1) - [Curso de Kotlin - Tutorial para Iniciantes Android](https://www.youtube.com/watch?v=r_6Ku38sA-c&t=11746s) - [Fundamentos Android Kotlin](https://cursos.alura.com.br/course/fundamentos-android-kotlin) > Cursos para aprender Kotlin em Espanhol - [Curso de Kotlin desde cero - Danisable](https://www.youtube.com/playlist?list=PLAzlSdU-KYwVlDl-939Vv0_r5XhU7zgX1) - [Curso de Kotlin de 0 a 100 - Programador Novato](https://www.youtube.com/playlist?list=PLCTD_CpMeEKSjzbsW_zmVNz23GyOVsdbS) - [Curso de Programacion Android desde cero en Kotlin](https://www.youtube.com/playlist?list=PL8ie04dqq7_M8nfPA9DPiAy7NsoZQpVAf) > Cursos para aprender Kotlin em Inglês - [Kotlin Crash Course](https://www.youtube.com/watch?v=5flXf8nuq60&ab_channel=TraversyMedia) - [Android Kotlin Course - Dr. Parag Shukla](https://www.youtube.com/playlist?list=PLATOxdAcWIvPbiiK0_mn_LTQyS1FBYdaW) - [Kotlin Course - Tutorial for Beginners](https://www.youtube.com/watch?v=F9UC9DY-vIU&ab_channel=freeCodeCamp.org) - [Kotlin Tutorial for Beginners: The Kotlin Programming Language Full 9-hour Kotlin Course](https://www.youtube.com/watch?v=wuiT4T_LJQo&ab_channel=DonnFelker-FreelancingforSoftwareDevelopers) - [Learn Kotlin Programming – Full Course for Beginners](https://www.youtube.com/watch?v=EExSSotojVI&ab_channel=freeCodeCamp.org) - [Kotlin & Android 12 Tutorial | Learn How to Build an Android App - 9h Free Development Masterclass](https://www.youtube.com/watch?v=HwoxgUPabMk&ab_channel=tutorialsEU) - [Kotlin Programming Fundamentals Tutorial - Full Course](https://www.youtube.com/watch?v=AeC4G-H-MQA&ab_channel=freeCodeCamp.org) - [Android Development(Kotlin) Full Course For Beginners 2022 | 12 Hour Comprehensive Tutorial For Free](https://www.youtube.com/watch?v=BCSlZIUj18Y&ab_channel=AppDevNotes) - [Learn Kotlin From Zero to Hero in 10 Hours](https://www.youtube.com/watch?v=cxm9AHNDMPI&ab_channel=MasterCoding) - [Android Development Course - Build Native Apps with Kotlin Tutorial](https://www.youtube.com/watch?v=Iz08OTTjR04&ab_channel=freeCodeCamp.org) - [Android Programming Course - Kotlin, Jetpack Compose UI, Graph Data Structures & Algorithms](https://www.youtube.com/watch?v=bo_LP6QOUio&ab_channel=freeCodeCamp.org) - [Kotlin Course for Beginners and Java Devs](https://www.youtube.com/playlist?list=PLrnPJCHvNZuAIbejjZA1kGfLeA8ZpICB2) - [The Kotlin Programming Language Course for Beginners](https://www.youtube.com/playlist?list=PLVUm4IewkTXqwzuRXZisWg7shMTiQhUtz) - [The Complete Kotlin Developer Course](https://www.youtube.com/playlist?list=PL6Q9UqV2Sf1h0Jox_BLZV3gqmMM1sWKUD) - [Kotlin Tutorial for Beginners: Basics and Fundamentals for beginners](https://www.youtube.com/playlist?list=PLlxmoA0rQ-LwgK1JsnMsakYNACYGa1cjR) - [Kotlin Beginner Tutorials Hindi | Complete Series](https://www.youtube.com/playlist?list=PLRKyZvuMYSIMW3-rSOGCkPlO1z_IYJy3G) - [Android Kotlin Programing](https://www.youtube.com/playlist?list=PLaoF-xhnnrRUEbF6cvk4-CeBAEOSbp8sS) - [Learn Kotlin - Kotlin Tutorial For Beginners](https://www.youtube.com/playlist?list=PL6nth5sRD25iv8jZrQWD-5dXgu56ae5m8) - [Kotlin Tutorial - Telusko](https://www.youtube.com/playlist?list=PLsyeobzWxl7rooJFZhc3qPLwVROovGCfh) ## 🐋 Sites e cursos para aprender Swift > Cursos para aprender Swift em Português - [Curso de Swift- Tiago Aguiar](https://www.youtube.com/playlist?list=PLJ0AcghBBWShgIH122uw7H9T9-NIaFpP-) - [Curso grátis Swift e SwiftUI (Stanford 2020)](https://www.youtube.com/playlist?list=PLMdYygf53DP46rneFgJ7Ab6fJPcMvr8gC) - [Curso de Swift - Desenvolvimento IOS Apple](https://www.youtube.com/playlist?list=PLxNM4ef1BpxjjMKpcYSqXI4eY4tZG2csm) - [Curso iOS e Swift](https://www.youtube.com/playlist?list=PLW-gR4IAiL9ubGKgE5MsyzwovmeOF7nt_) > Cursos para aprender Swift em Espanhol - [Curso de programación con Swift](https://www.youtube.com/playlist?list=PLNdFk2_brsRc57R6UaHy4zx_FHqx236G1) - [Curso programación iOS con Xcode y Swift](https://www.youtube.com/playlist?list=PLNdFk2_brsRcWM-31vJUgyHIGpopIDw4s) - [Curso Swift en Español desde cero [2022]](https://www.youtube.com/playlist?list=PLeTOFRUxkMcozbUpMiaHRy8_GjzJ_9tyi) - [Curso de Swift Español - Clonando YouTube](https://www.youtube.com/playlist?list=PLT_OObKZ3CpuEomHCc6v-49u3DFCdCyLH) - [Curso De Swift - Código Facilito](https://www.youtube.com/playlist?list=PLTPmvYfJJMVp_YzS22WI-5NYW1c_7eTBD) - [Curso de SwiftUI](https://www.youtube.com/playlist?list=PLNdFk2_brsRetB7LiUfpnIclBe_1iOS4M) - [Curso Xcode y Swift desde cero](https://www.youtube.com/playlist?list=PLNdFk2_brsRdyYGDX8QLFKmcpQPjFFrDC) - [Aprende Swift 3 desde cero](https://www.youtube.com/playlist?list=PLD2wfKpqmxnmnjA7lcbc2M2P6TfygmrL3) - [Curso de Swift 4 desde cero](https://www.youtube.com/playlist?list=PLD2wfKpqmxnn7-hEmKx7P3xDY8iYWsz59) - [Curso Introducción a Swift](https://www.youtube.com/playlist?list=PLvQAED-MnQpaJrSjVW449S8Kda3wGQqKD) > Cursos para aprender Swift em Inglês - [Swift Tutorial - Full Course for Beginners](https://www.youtube.com/watch?v=comQ1-x2a1Q&ab_channel=freeCodeCamp.org) - [Learn Swift Fast (2020) - Full Course For Beginners](https://www.youtube.com/watch?v=FcsY1YPBwzQ&ab_channel=CodeWithChris) - [2021 SwiftUI Tutorial for Beginners (3.5 hour Masterclass)](https://www.youtube.com/watch?v=F2ojC6TNwws&ab_channel=CodeWithChris) - [Swift Tutorial For Beginners [Full Course] Learn Swift For iOS Development](https://www.youtube.com/watch?v=mhE-Mp07RTo&ab_channel=Devslopes) - [Swift Programming Tutorial | FULL COURSE | Absolute Beginner](https://www.youtube.com/watch?v=CwA1VWP0Ldw&ab_channel=SeanAllen) - [Swift Programming Tutorial for Beginners (Full Tutorial)](https://www.youtube.com/watch?v=Ulp1Kimblg0&ab_channel=CodeWithChris) ## 🐬 Sites e cursos para aprender Go > Sites para aprender Go - [Onde aprender e estudar GoLang?](https://coodesh.com/blog/candidates/backend/onde-aprender-e-estudar-golang/#:~:text=%E2%8C%A8%EF%B8%8F%20Udemy,11%2C5%20horas%20de%20videoaula.) - [Go Lang - School Of Net](https://www.schoolofnet.com/cursos/programacao/go-lang/) - [48 horas para aprender Go](https://medium.com/@anapaulagomes/48-horas-para-aprender-go-4542b51d84a4) - [Estudo em GoLang: from Zero to Hero com materiais gratuitos!](https://medium.com/hurb-labs/estudo-em-golang-from-zero-to-hero-com-materiais-gratuitos-6be72aeea30f) > Cursos para aprender Go em Português - [Aprenda Go](https://www.youtube.com/playlist?list=PLCKpcjBB_VlBsxJ9IseNxFllf-UFEXOdg) - [Aprenda Go / Golang (Curso Tutorial de Programação)](https://www.youtube.com/playlist?list=PLUbb2i4BuuzCX8CLeArvx663_0a_hSguW) - [Go Lang do Zero](https://www.youtube.com/playlist?list=PL5aY_NrL1rjucQqO21QH8KclsLDYu1BIg) - [Curso de Introdução a Linguagem Go (Golang)](https://www.youtube.com/playlist?list=PLXFk6ROPeWoAvLMyJ_PPfu8oF0-N_NgEI) - [Curso Programação Golang](https://www.youtube.com/playlist?list=PLpZslZJHL2Q2hZXShelGADqCR_fcOhF9K) > Cursos para aprender Go em Espanhol - [Curso de Go (Golang)](https://www.youtube.com/playlist?list=PLt1J5u9LpM5-L-Ps8jjr91pKhFxAnxKJp) - [Aprendiendo a programar con Go](https://www.youtube.com/playlist?list=PLSAQnrUqbx7sOdjJ5Zsq5FvvYtI8Kc-C5) - [Curso Go - de 0 a 100](https://www.youtube.com/playlist?list=PLhdY0D_lA34W1wS2nJmQr-sssMDuQf-r8) - [Curso Go - CodigoFacilito](https://www.youtube.com/playlist?list=PLdKnuzc4h6gFmPLeous4S0xn0j9Ik2s3Y) - [Curso GO (Golang Español) - De 0 a 100](https://www.youtube.com/playlist?list=PLl_hIu4u7P64MEJpR3eVwQ1l_FtJq4a5g) - [Curso de Golang para principiante](https://www.youtube.com/playlist?list=PLm28buT4PAtbsurufxiw9k2asnkin4YLd) > Cursos para aprender Go em Inglês - [Golang Tutorial for Beginners | Full Go Course](https://www.youtube.com/watch?v=yyUHQIec83I&ab_channel=TechWorldwithNana) - [Learn Go Programming - Golang Tutorial for Beginners](https://www.youtube.com/watch?v=YS4e4q9oBaU&ab_channel=freeCodeCamp.org) - [Backend master class [Golang, Postgres, Docker]](https://www.youtube.com/playlist?list=PLy_6D98if3ULEtXtNSY_2qN21VCKgoQAE) - [Let's go with golang](https://www.youtube.com/playlist?list=PLRAV69dS1uWQGDQoBYMZWKjzuhCaOnBpa) - [Go Programming Language Tutorial | Golang Tutorial For Beginners | Go Language Training](https://www.youtube.com/playlist?list=PLS1QulWo1RIaRoN4vQQCYHWDuubEU8Vij) - [Golang Tutorials](https://www.youtube.com/playlist?list=PLzMcBGfZo4-mtY_SE3HuzQJzuj4VlUG0q) - [Golang course - Duomly](https://www.youtube.com/playlist?list=PLi21Ag9n6jJJ5bq77cLYpCgOaONcQNqm0) - [Golang Course - Evhenii Kozlov](https://www.youtube.com/playlist?list=PLgUAJTkYL6T_-PXWgVFGTkz863zZ_1do0) - [Golang Development](https://www.youtube.com/playlist?list=PLzUGFf4GhXBL4GHXVcMMvzgtO8-WEJIoY) - [Golang Crash Course](https://www.youtube.com/playlist?list=PL3eAkoh7fypqUQUQPn-bXtfiYT_ZSVKmB) - [Golang Course From A to Z - 5 Hours of Video](https://www.youtube.com/playlist?list=PLuMFwYAgU7ii-z4TGGqXh1cJt-Dqnk2eY) ## 🐦 Sites e cursos para aprender Ruby > Cursos para aprender Ruby em Português - [Ruby Para Iniciantes (2021 - Curso Completo Para Iniciantes)](https://www.youtube.com/playlist?list=PLnV7i1DUV_zOit4a_tEDf1_PcRd25dL7e) - [Curso completo de Ruby](https://www.youtube.com/playlist?list=PLdDT8if5attEOcQGPHLNIfnSFiJHhGDOZ) - [Curso de Ruby on Rails para Iniciantes](https://www.youtube.com/playlist?list=PLe3LRfCs4go-mkvHRMSXEOG-HDbzesyaP) - [Curso de Ruby on Rails básico](https://www.youtube.com/playlist?list=PLFeyfVYazTkJN6uM5opCfSN_xjxrMybXV) - [Programação com Ruby](https://www.youtube.com/playlist?list=PLucm8g_ezqNqMm1gdqjZzfhAMFQ9KrhFq) - [Linguagem Ruby](https://www.youtube.com/playlist?list=PLEdPHGYbHhldWUFs2Q-jSzXAv3NXh4wu0) > Cursos para aprender Ruby em Espanhol - [Curso Gratuito de Ruby en español](https://www.youtube.com/playlist?list=PL954bYq0HsCUG5_LbfZ54YltPinPSPOks) - [Ruby desde Cero](https://www.youtube.com/playlist?list=PLAzlSdU-KYwUG_5HcRVT4mr0vgLYBeFnm) - [Curso de Ruby](https://www.youtube.com/playlist?list=PLEFC2D43C36013A70) - [Curso Ruby - Codigofacilito](https://www.youtube.com/playlist?list=PLUXwpfHj_sMlkvu4T2vvAnqPSzWQsPesm) - [Curso Ruby on Rails 7 para principiantes en español](https://www.youtube.com/playlist?list=PLP06kydD_xaUS6plnsdonHa5ySbPx1PrP) - [Curso de Ruby on Rails 5](https://www.youtube.com/playlist?list=PLIddmSRJEJ0uaT5imV49pJqP8CGSqN-7E) > Cursos para aprender Ruby em Inglês - [Learn Ruby on Rails - Full Course](https://www.youtube.com/watch?v=fmyvWz5TUWg&ab_channel=freeCodeCamp.org) - [Ruby On Rails Crash Course](https://www.youtube.com/watch?v=B3Fbujmgo60&ab_channel=TraversyMedia) - [Ruby Programming Language - Full Course](https://www.youtube.com/watch?v=t_ispmWmdjY&ab_channel=freeCodeCamp.org) - [Ruby on Rails Tutorial for Beginners - Full Course](https://www.youtube.com/watch?v=-AdqKjqHQIA&ab_channel=CodeGeek) - [Learn Ruby on Rails from Scratch](https://www.youtube.com/watch?v=2zZCzcupQao&ab_channel=ProgrammingKnowledge) - [The complete ruby on rails developer course](https://www.youtube.com/watch?v=y4pKYYMdAA0&ab_channel=FullCourse) - [Ruby on Rails for Beginners](https://www.youtube.com/playlist?list=PLm8ctt9NhMNV75T9WYIrA6m9I_uw7vS56) - [Ruby on Rails Full Course](https://www.youtube.com/playlist?list=PLsikuZM13-0zOytkeVGSKk4VTTgE8x1ns) - [Full Stack Ruby on Rails Development Bootcamp](https://www.youtube.com/playlist?list=PL6SEI86zExmsdxwsyEQcFpF9DWmvttPPu) - [Let's Build: With Ruby On Rails](https://www.youtube.com/playlist?list=PL01nNIgQ4uxNkDZNMON-TrzDVNIk3cOz4) - [Ruby On Rail Full Course 2022](https://www.youtube.com/playlist?list=PLAqsB9gf_hQY6pwlIbht35wSytqezS-Sy) - [Advanced Ruby on Rails](https://www.youtube.com/playlist?list=PLPiVX6hQQRl_UN9cLxSoGKQm_RF8pw7MU) - [Ruby On Rails 2021 | Complete Course](https://www.youtube.com/playlist?list=PLeMlKtTL9SH_J-S0JA9o5gUmcW-NZSDtF) ## 💧 Sites e cursos para aprender Elixir > Cursos para aprender Elixir em Português - [Curso de Elixir básico - Adolfo Neto](https://www.youtube.com/watch?v=2weVIXHyIwI&list=PLF5ttO8F-IsT42x53iFxOhmY70AWf-nd6&index=53&ab_channel=AdolfoNeto) - [Curso de Elixir na prática - Elly Academy](https://www.youtube.com/watch?v=GXlyLSVDkhI&list=PLydk1OOOmzo8VBeU334j4R4WvSByRNpXR&ab_channel=ELLYACADEMY) - [Curso - Aprenda com quem não sabe](https://www.youtube.com/playlist?list=PLr4c053wuXU-YY4GmqUM3y_uauspsmO0O) - [Alquimia Stone - Formação Gratuita em Elixir](https://www.youtube.com/playlist?list=PLv3nyCBtlWP8I9rknIrfcJWrO05yEzknD) - [Repositórios Elixir4Noobs para iniciantes](https://github.com/aleDsz/elixir4noobs) - [Elixir School em Português - Documentação Oficial](https://elixirschool.com/pt) > Cursos para aprender Elixir em Inglês - [Elixir in 100 Seconds - Fi](https://www.youtube.com/watch?v=R7t7zca8SyM) - [Elixir Tutorial - Derek Banas](https://www.youtube.com/watch?v=pBNOavRoNL0&ab_channel=DerekBanas) - [Elixir & Phoenix Fundamentals Full Course For Beginners](https://www.youtube.com/watch?v=gRQIPvDFuts&ab_channel=Elixirprogrammer) - [From Zero to Hero in Elixir](https://www.youtube.com/playlist?list=PLaY7qWIrmqtFoZLvOvYRZG5hl367UybRp) - [Elixir Tutorial Series - Plangora](https://www.youtube.com/playlist?list=PL6gboNCsWvTcL1ypq1KUAG3ar1iRPdPxL) - [Intro to Elixir - Tensor Programming](https://www.youtube.com/playlist?list=PLJbE2Yu2zumA-p21bEQB6nsYABAO-HtF2) ## 🐷 Sites e cursos para aprender React > Cursos para aprender React em Português - [React em 1h - Componentes - Iniciantes](https://www.youtube.com/watch?v=K65wUN-2no4&ab_channel=MaykBrito) - [Aprenda React em 2 horas - Crie seu primeiro projeto em React](https://www.youtube.com/watch?v=pOVyVivyfok&ab_channel=MatheusBattisti-HoradeCodar) - [Curso de React - Matheus Battisti](https://www.youtube.com/playlist?list=PLnDvRpP8BneyVA0SZ2okm-QBojomniQVO) - [Curso de React - CFBCursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUh752BVDGZkxYpY9lS40fyC) - [Curso de React com Material UI 5 e Typescript - Lucas Souza Dev](https://www.youtube.com/playlist?list=PL29TaWXah3iaqOejItvW--TaFr9NcruyQ) - [Curso de React com Typescript - Lucas Souza Dev](https://www.youtube.com/playlist?list=PL29TaWXah3iZktD5o1IHbc7JDqG_80iOm) - [Mini Curso ReactJS e Typescript - Jorge Aluizio](https://www.youtube.com/playlist?list=PLE0DHiXlN_qpm0nMlvcVxG_O580IXmeRU) - [Curso de React - João Ribeiro](https://www.youtube.com/playlist?list=PLXik_5Br-zO9YVs9bxi7zoQlKq59VPTX1) - [Mini Curso de React - Celke](https://www.youtube.com/playlist?list=PLmY5AEiqDWwDSteAR-56wL9LjHPK0mrYE) - [Curso de JavaScript para React - Marcos Bruno](https://www.youtube.com/playlist?list=PLirko8T4cEmzWZVn_ZKQbfDOuCnSZJ4va) - [Aprenda React na prática - Flipix](https://www.youtube.com/playlist?list=PLXe1Uv1JGlTbrdrcZIZOabEBSpeNeVHD7) - [Curso de React JS - Programador Espartano](https://www.youtube.com/playlist?list=PLGwqoftZstLbwYNomwVgNHtWlJitUCiAz) - [Curso de ReactJS do Amador ao Profissional](https://www.youtube.com/playlist?list=PLXik_5Br-zO_47e0Zdjog8t2z76Fhlf9M) - [Curso React + NextJS - Dev & Design](https://www.youtube.com/playlist?list=PLeBknJ2kuv1mDABV2N-H2tcu1vbfffRvg) - [Curso Intensivo de Next JS e React](https://www.cod3r.com.br/courses/curso-intensivo-next-react) - [Curso de React Native - com Hooks e Context API - Cadastro Completo](https://www.cod3r.com.br/courses/react-native-crud) > Projetos para praticar React em Português - [Crie um Quiz com React.js - Projeto de React para iniciantes](https://www.youtube.com/watch?v=HlkbeikH8cs&ab_channel=MatheusBattisti-HoradeCodar) - [Crie um Sistema de Controle de Finanças com React.JS](https://www.youtube.com/watch?v=pj4vA67olbU&ab_channel=WillDev) - [Projeto de Filmes com React & API do TMDB (React Router, React Hooks)](https://www.youtube.com/watch?v=XqxUHVVO7-U&ab_channel=MatheusBattisti-HoradeCodar) - [Criando uma Pokédex com React.JS e PokeAPI](https://www.youtube.com/watch?v=dqMae44pEVk&ab_channel=LeoUjo) - [Criando Projeto de buscar CEP do Zero com ReactJS](https://www.youtube.com/watch?v=oy4cbqE1_qc&ab_channel=Sujeitoprogramador) - [Lista de Tarefas em React com Typescript](https://www.youtube.com/watch?v=95sAtAareR8&list=PL_kvSTSEFm2CwHCtvTk0llGDvM0L2jx3O&index=3&t=2s&ab_channel=BoniekyLacerda) - [Sistema de Finanças Pessoais em React com Typescript)](https://www.youtube.com/watch?v=_hytKpMc04E&list=PL_kvSTSEFm2CwHCtvTk0llGDvM0L2jx3O&index=4&ab_channel=BoniekyLacerda) - [Galeria de Fotos em React com Typescript e Firebase](https://www.youtube.com/watch?v=ss4BXa-WfgI&list=PL_kvSTSEFm2CwHCtvTk0llGDvM0L2jx3O&index=5&ab_channel=BoniekyLacerda) - [Crie um Jogo de RPG em React](https://www.youtube.com/watch?v=smapdudo7F8&list=PL_kvSTSEFm2CwHCtvTk0llGDvM0L2jx3O&index=6&ab_channel=BoniekyLacerda) - [Formulário multi-etapas em React com Typescript](https://www.youtube.com/watch?v=W1Ed9TEMGJU&list=PL_kvSTSEFm2CwHCtvTk0llGDvM0L2jx3O&index=7&ab_channel=BoniekyLacerda) - [Clone do Netflix em React para Iniciantes](https://www.youtube.com/watch?v=tBweoUiMsDg&ab_channel=BoniekyLacerda) - [Criando uma landing page com React & Compilando](https://www.youtube.com/watch?v=xmgx9P4W21o&ab_channel=DankiCode) - [Projeto de React & SaSS para o seu portfólio - Integração de React com SaSS](https://www.youtube.com/watch?v=5h4vMtBlQQU&ab_channel=MatheusBattisti-HoradeCodar) - [Pokedex com API & React, React hooks, useState, useContext, localStorage](https://www.youtube.com/watch?v=n2kkXup2T1c&ab_channel=pasquadev) - [Landing Page: Ingresso para Marte com ReactJS e Styled Components](https://www.youtube.com/watch?v=EhnXaybirdA&ab_channel=Rocketseat) - [Sistema de Login com React.JS - (Autenticação, Context API, Hooks)](https://www.youtube.com/watch?v=LjJFu6Y6MrU&ab_channel=WillDev) - [Playlist com 153 projetos para realizar com ReactJS](https://www.youtube.com/playlist?list=PL3_3koQ96v-43eOIX4WojSoYv-hKNES5b) - [Playlist com 7 projetos para realizar om ReactJS](https://www.youtube.com/playlist?list=PL3-lIzXmBDZSOn8gwFezet2bYphKwzEbq) - [Playlist com 56 projetos utilizando ReactJS e NodeJS](https://www.youtube.com/playlist?list=PL3_3koQ96v-6TE20IvdBDrntFcYjwHggb) - [Playlist com 9 projetos para realizar om ReactJS](https://www.youtube.com/playlist?list=PLM_Zgiu-XicusQmIprOkC6cRba3l_uwB7) - [Playlist de desenvolvimento web com 1.050 vídeos](https://www.youtube.com/playlist?list=PL45i6mPs-neh9PGc1gHkJUj3GQt4mI5fx) > Cursos para aprender React em Inglês - [React Course - Beginner's Tutorial for React JavaScript Library [2022]](https://www.youtube.com/watch?v=bMknfKXIFA8&ab_channel=freeCodeCamp.org) - [React Course For Beginners - Learn React in 8 Hours](https://www.youtube.com/watch?v=f55qeKGgB_M&ab_channel=PedroTech) - [Full React Course 2020 - Learn Fundamentals, Hooks, Context API, React Router, Custom Hooks](https://www.youtube.com/watch?v=4UZrsTqkcW4&ab_channel=freeCodeCamp.org) - [Learn React In 30 Minutes](https://www.youtube.com/watch?v=hQAHSlTtcmY&ab_channel=WebDevSimplified) - [React JavaScript Framework for Beginners – Project-Based Course](https://www.youtube.com/watch?v=u6gSSpfsoOQ&ab_channel=freeCodeCamp.org) - [React Crash Course for Beginners 2021 - Learn ReactJS from Scratch in this 100% Free Tutorial!](https://www.youtube.com/watch?v=Dorf8i6lCuk&ab_channel=Academind) - [React JS Full Course for Beginners | Complete All-in-One Tutorial | 9 Hours](https://www.youtube.com/watch?v=RVFAyFWO4go&ab_channel=DaveGray) - [Learn React by Building an eCommerce Site - Tutorial](https://www.youtube.com/watch?v=1DklrGoAxDE&ab_channel=freeCodeCamp.org) - [MERN Stack Full Tutorial & Project | Complete All-in-One Course | 8 Hours](https://www.youtube.com/watch?v=CvCiNeLnZ00&ab_channel=DaveGray) - [React JS Course for Beginners - 2021 Tutorial](https://www.youtube.com/watch?v=nTeuhbP7wdE&ab_channel=freeCodeCamp.org) - [React JS - React Tutorial for Beginners](https://www.youtube.com/watch?v=Ke90Tje7VS0&ab_channel=ProgrammingwithMosh) - [React JS Full Course 2022 | Build an App and Master React in 1 Hour](https://www.youtube.com/watch?v=b9eMGE7QtTk&ab_channel=JavaScriptMastery) - [React JS Crash Course](https://www.youtube.com/watch?v=w7ejDZ8SWv8&ab_channel=TraversyMedia) - [React 18 Fundamentals Crash Course 2022](https://www.youtube.com/watch?v=jLS0TkAHvRg&ab_channel=Codevolution) > Projetos para praticar React em Inglês - [Modern React Web Development Full Course - 12 Hours | 4 Real Industry Web Applications](https://www.youtube.com/watch?v=XxXyfkrP298&ab_channel=JavaScriptMastery) - [Full Stack React & Firebase Tutorial - Build a social media app](https://www.youtube.com/watch?v=m_u6P5k0vP0&ab_channel=freeCodeCamp.org) - [React Project Tutorial: Build a Responsive Portfolio Website w/ Advanced Animations (2022)](https://www.youtube.com/watch?v=hYv6BM2fWd8&t=11s&ab_channel=webdecoded) - [ReactJS Full Course in 7 Hours | Learn React js | React.js Training | Edureka](https://www.youtube.com/watch?v=VyeA0tVreYw&ab_channel=edureka%21) - [Code 15 React Projects - Complete Course](https://www.youtube.com/watch?v=a_7Z7C_JCyo&ab_channel=freeCodeCamp.org) - [Build and Deploy a Fully Responsive Website with Modern UI/UX in React JS with Tailwind](https://www.youtube.com/watch?v=_oO4Qi5aVZs&ab_channel=JavaScriptMastery) - [Build and Deploy 4 Modern React Apps and Get Hired as a Frontend Developer | Full 10-Hour Course](https://www.youtube.com/watch?v=F627pKNUCVQ&ab_channel=JavaScriptMastery) - [React JavaScript Framework for Beginners – Project-Based Course](https://www.youtube.com/watch?v=u6gSSpfsoOQ&ab_channel=freeCodeCamp.org) - [Master React JS by Building Real Projects](https://www.youtube.com/playlist?list=PL6QREj8te1P6wX9m5KnicnDVEucbOPsqR) - [Playlist for React Projects with 38 videos](https://www.youtube.com/playlist?list=PLillGF-RfqbY3c2r0htQyVbDJJoBFE6Rb) - [Playlist for React Projects with 36 videos](https://www.youtube.com/playlist?list=PLgMICEduGwEzy6jqbR_yciKiGDsto74Dq) - [React.js Real-World Projects](https://www.youtube.com/playlist?list=PLj-4DlPRT48nfYgDK00oTjlDF4O0ZZyG8) - [Playlist for React Projects with 7 vídeos](https://www.youtube.com/playlist?list=PLnHJACx3NwAe5XQDk9xLgym7FF8Q4FYW7) - [Playlist for React Projects with 24 vídeos](https://www.youtube.com/playlist?list=PLJT9n0q3md18xl4PWqzqNFUEp9DbBmogZ) - [Playlist for React Projects with 144 vídeos](https://www.youtube.com/playlist?list=PLUOLi8YAwJIKq-FjGssUJQPUNhalEfPhw) - [Build App Clones with ReactJS](https://www.youtube.com/playlist?list=PL-J2q3Ga50oMQa1JdSJxYoZELwOJAXExP) - [Real World React Project](https://www.youtube.com/playlist?list=PLOf4R-b03O-BRCXzW0Rw-jVaxZc_6vyK-) - [Playlist for React Projects with 11 vídeos](https://www.youtube.com/playlist?list=PL_pNGipveQXxpO0_h2sR28OlZvUVgf4oG) - [50 Days React Bootcamp: Build 50 Real World React Projects](https://www.youtube.com/playlist?list=PLllZK1evlMnbrMyrNQKYp1Gz5m0C3BOHk) - [Playlist for React Projects with 58 vídeos](https://www.youtube.com/playlist?list=PLZlA0Gpn_vH_NT5zPVp18nGe_W9LqBDQK) - [ReactJS Projects - Resume / Portfolio Projects](https://www.youtube.com/playlist?list=PLpPqplz6dKxVEqex8RMhgZUUe5_Sc6QHa) - [React Projects Tutorial](https://www.youtube.com/playlist?list=PLfhDYRr-FofnXgQ3ZDfepp1RsqkoqzByF) - [React Tutorials - freeCodeCamp](https://www.youtube.com/playlist?list=PLWKjhJtqVAbkArDMazoARtNz1aMwNWmvC) - [React Projects - Anton Francis Jeejo](https://www.youtube.com/playlist?list=PL5mydh8SndyO_5BML4bVF-8MqsT4UB_1t) - [React projects for beginners](https://www.youtube.com/playlist?list=PLnkPjO1byC1RFZhsfK8gVXc-h1yAERU1Y) - [Playlist for React Projects with 29 vídeos](https://www.youtube.com/playlist?list=PLq0uXZmWD-gHwBedf35I7toeJV13q0bG1) - [Playlist for React Projects with 7 vídeos](https://www.youtube.com/playlist?list=PLaIfT4YsrqUlYkdwsMAcQD0mDMayvB8oX) - [React JS Project from Scratch: Build a Stock Market Tracker](https://www.youtube.com/playlist?list=PLjItgYqIzJ9VOBgwZ82D9kjQ_QtM5R4u5) - [Django & React - Full Stack Web App Tutorial](https://www.youtube.com/playlist?list=PLzMcBGfZo4-kCLWnGmK0jUBmGLaJxvi4j) - [Playlist for React Projects with 7 vídeos](https://www.youtube.com/playlist?list=PLm9bqPO7o3xIkDgiolXDqwnheh9L5gOrw) - [ReactJS Projects | React Mini Major Projects](https://www.youtube.com/playlist?list=PLuHGmgpyHfRyiYUqrNG4YgWoN8mbHXR3O) - [Learn React by Building Projects](https://www.youtube.com/playlist?list=PLnWpTZacz3CyT6IWQZKZHVGQmPHo06rk8) - [React Front-end Projects](https://www.youtube.com/playlist?list=PLgK2z6KmUpgmwHjuDcUobN5Tgrf2Dscga) - [Playlist for React Projects with 11 vídeos](https://www.youtube.com/playlist?list=PLiYjd-0q4LFuyIgOg1gQkT5NWJ9jgsUoV) - [Playlist for React Projects with 24 vídeos](https://www.youtube.com/playlist?list=PLMi5Xiz5oefH_j0enBdkKoSMi6XNbhvCt) - [Complete React | React Playlist with tutorials and interesting](https://www.youtube.com/playlist?list=PLbrmfsRwQoPy2ZXsUbeX9eGsY9C7eiJeo) - [React Real Time Project](https://www.youtube.com/playlist?list=PLvfbtJ-xXlM7syBwPebciH4KN_R8hRY9v) - [React Portfolio Website Tutorial From Scratch - Build & Deploy React JS Portfolio Website](https://www.youtube.com/watch?v=G-Cr00UYokU&ab_channel=EGATOR) - [React Project Tutorial – Build a Portfolio Website w/ Advanced Animations](https://www.youtube.com/watch?v=bmpI252DmiI&ab_channel=freeCodeCamp.org) - [Strapi Tutorial (with React & GraphQL)](https://www.youtube.com/playlist?list=PL4cUxeGkcC9h6OY8_8Oq6JerWqsKdAPxn) - [ReactJS Project From Scratch - Blog Project](https://www.youtube.com/playlist?list=PLB_Wd4-5SGAaFKhu_XXQlCpWmP1rjgIz5) - [Movies App - React Project](https://www.youtube.com/watch?v=sZ0bZGfg_m4&ab_channel=FlorinPop) - [Job Listing App - ReactJS and TailwindCSS Tutorial](https://www.youtube.com/watch?v=JZQ8m08cbF0&ab_channel=FlorinPop) ## 🐼 Sites e cursos para aprender React Native > Cursos para aprender React Native em Português - [Curso de React Native - CFBCursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUgyDN7j9L7gykBjxByM_etD) - [Curso de React Native - Rocketseat](https://www.youtube.com/playlist?list=PL85ITvJ7FLojBfY7TifCq7P417AZdsP4k) - [Curso de React Native - Canal Geek Dev](https://www.youtube.com/playlist?list=PL8fIRnD1uUSnRqz3E2caAWDqbtIFXmNtW) - [Curso de React Native - Webdesign em Foco](https://www.youtube.com/playlist?list=PLbnAsJ6zlidsqILBeTaeUr7aaWcqAtMrW) - [Curso de React Native - Caio Malheiros](https://www.youtube.com/playlist?list=PL69eBMqNvxhVer10WY3nxgV0qiO8xenOP) - [Curso de React Native - Sujeito programador](https://www.youtube.com/playlist?list=PLAF5G8rnMmBb2XMMfo79GWnsFvuDuLHA7) - [Curso de React Native - Developer Plus](https://www.youtube.com/playlist?list=PLxF2lyHGcERApnjQPgeeEIzJJdGurraMW) - [Curso de React Native - Programador BR](https://www.youtube.com/playlist?list=PLVzrOYTg7zYD__qifpofsQDhHVHEvSx_h) - [Playlist com vídeos de React Native - Renan H.](https://www.youtube.com/playlist?list=PLB5l-YuqoyEFATE6Ax6WXB0P4AGjRDljr) - [Curso de React Native - APP IOS e Android](https://www.youtube.com/playlist?list=PLxNM4ef1Bpxhe_PxwprF0R2fp0UurDZuw) - [Curso de React com MySQL - React Native](https://www.youtube.com/playlist?list=PLxNM4ef1BpxgALv5Vm-ooZo8qYRgCzKSV) - [Curso de React Native - Eduardo Marques](https://www.youtube.com/playlist?list=PLvVYUfc9tf-JMETwebyYaA4vk3YoXlWAM) - [Playlist de vídeos sobre React Native](https://www.youtube.com/playlist?list=PLEk7yXd40KELpioDsnXbGu45nhx9xTbiL) - [Programação para Dispositivos Móveis 2020.1 - React Native](https://www.youtube.com/playlist?list=PLd4Jo6d-yhDIOgnG4EueCh2ADbMCJyJoX) - [Curso de React Native - Paulo Araujo](https://www.youtube.com/playlist?list=PL9Fgd5f5dgGIjrHsbqQNFUsgo7uQRIAdj) - [React Native do Zero - Stack Mobile](https://www.youtube.com/playlist?list=PLizN3WA8HR1wRbFttKXDdc_yQ5CWj2msJ) - [Curso de React Native - Jorge Jardim](https://www.youtube.com/playlist?list=PLvmEIQBREIvS_gS6BX5Tk1z61i85BZF7E) - [Curso de React Native - Marcelo Anselmo](https://www.youtube.com/playlist?list=PLBWrrrRI1gZBbmG43QE1hYOsqu5QXjilT) - [Desenvolvimento de App com React Native e NestJS](https://www.youtube.com/playlist?list=PLTLAlheiUm5G6yzSN0KTBbZwZS8xVKYxI) > Projetos para praticar React Native em Português - [Netflix Clone - Utilizando React Native](https://www.youtube.com/playlist?list=PL_Axpn7FrXHSt92vK3EthJCId4mUn7viv) - [Programando um Aplicativo em React Native do Zero](https://www.youtube.com/playlist?list=PL4zG19BCs4pdPJzElbUxCykHTClU-B0Ts) - [Playlist com projetos em React Native- Arthur Duarte](https://www.youtube.com/playlist?list=PLH7791M3Es82ztdPxpeLZXmfBG4tAJloH) - [Playlist com projetos em React Native - Hebert Alquimin](https://www.youtube.com/playlist?list=PLg1BUBhZiTHNYFDZUYplk9m0D1hF_tr3j) > Cursos para aprender React Native em Inglês - [React Native Tutorial for Beginners - Crash Course 2020](https://www.youtube.com/watch?v=qSRrxpdMpVc&ab_channel=Academind) - [The Complete React Native Course 2021 : from Zero to Hero](https://www.youtube.com/watch?v=ANdSdIlgsEw&ab_channel=ProgrammingwithMash) - [React Native Crash Course | Build a Complete App](https://www.youtube.com/watch?v=VozPNrt-LfE&ab_channel=Academind) - [React Native Crash Course for Beginners - Build 4 Apps in 14 Hours (Redux, Tailwind + More)](https://www.youtube.com/watch?v=AkEnidfZnCU&ab_channel=SonnySangha) - [React Native Tutorial for Beginners](https://www.youtube.com/playlist?list=PL4cUxeGkcC9ixPU-QkScoRBVxtPPzVjrQ) - [React Native Fashion](https://www.youtube.com/playlist?list=PLkOyNuxGl9jyhndcnbFcgNM81fZak7Rbw) - [React Native Tutorial - 2021](https://www.youtube.com/playlist?list=PL8kfZyp--gEXs4YsSLtB3KqDtdOFHMjWZ) - [Let's Code React Native](https://www.youtube.com/playlist?list=PLcDaXGnNU58bmEbkYNUHsrLMF6a_AqjF9) - [React Native UI's](https://www.youtube.com/playlist?list=PL6sXCB6Pgqf9RbLaxmiSQQXp-a0_j56xe) - [React Native EU 2020 - Virtual Edition](https://www.youtube.com/playlist?list=PLZ3MwD-soTTEGG42-BvoqD0qK0vKV2ygm) - [React Native Tutorial - Styling](https://www.youtube.com/playlist?list=PL0CFwZ06NyfKR1x7aYBXBwplNMwa2CMFX) - [React Native - Computer Science Tutorial](https://www.youtube.com/playlist?list=PLA_u3gtc5zsyEgLaTLY7clKiM2IRU4ndI) > Projetos para praticar React Native em Inglês - [Tutoriais React/React Native](https://www.youtube.com/playlist?list=PLntXnq2Zot_04VH1IFSZwJspOfKquAyKq) - [React Native Animation Tutorials](https://www.youtube.com/playlist?list=PLYxzS__5yYQmdfEyKDrlG5E0F0u7_iIUo) - [React Native Music Player](https://www.youtube.com/playlist?list=PLaAoUJDWH9Wqatfwa4SEfyFevrl8QefcN) - [React Native Tutorials](https://www.youtube.com/playlist?list=PLQWFhX-gwJblNXe9Fj0WomT0aWKqoDQ-h) - [React Native Crud](https://www.youtube.com/playlist?list=PLLEQmYfSF6FQCrSxRuq-4OCYx8wE67yfV) - [React Native Tutorial for Beginners - Build a React Native App](https://www.youtube.com/watch?v=0-S5a0eXPoc&ab_channel=ProgrammingwithMosh) ## 🐯 Sites e cursos para aprender Angular > Cursos para aprender Angular em Português - [Curso de Angular - Matheus Battisti - Hora de Codar](https://www.youtube.com/playlist?list=PLnDvRpP8Bnex2GQEN0768_AxZg_RaIGmw) - [Curso de Angular - Loiane Groner](https://www.youtube.com/playlist?list=PLGxZ4Rq3BOBoSRcKWEdQACbUCNWLczg2G) - [Curso Angular 9 - Cod3r Cursos](https://www.youtube.com/playlist?list=PLdPPE0hUkt0rPyAkdhHIIquKbwrGUkvw3) - [Curso Angular 9 - Michelli Brito](https://www.youtube.com/playlist?list=PL8iIphQOyG-DSLV6qWs8wh37o0R_F9Q_Q) - [Curso Começando com Angular](https://www.youtube.com/playlist?list=PLHlHvK2lnJneQPfbOvUait1MtAoXeYhtL) - [Curso Angular v13 - Tour of Heroes](https://www.youtube.com/playlist?list=PLqsayW8DhUmvtNlkDqYj99X73ts9FLK7j) - [Curso Angular para Iniciantes](https://www.youtube.com/playlist?list=PLWgD0gfm500Fhx8xSutDtEu8Q2hKTQpB9) - [Curso de Angular - Rodrigo Branas](https://www.youtube.com/playlist?list=PLQCmSnNFVYnTD5p2fR4EXmtlR6jQJMbPb) - [Aplicação com Angular 12+: Como desenvolver uma pokedex](https://www.youtube.com/watch?v=UhOcUII_5PU&ab_channel=VidaFullStack) - [Angular (O Vídeo que Você Precisava para Começar no Framework) - Dicionário do Programador](https://www.youtube.com/watch?v=Yf0rC7dERjg&ab_channel=C%C3%B3digoFonteTV) > Cursos para aprender Angular em Inglês - [Angular for Beginners Course - Full Front End Tutorial with TypeScript](https://www.youtube.com/watch?v=3qBXWUpoPHo&ab_channel=freeCodeCamp.org) - [Complete Angular 13 Course Step by Step](https://www.youtube.com/playlist?list=PL1BztTYDF-QNrtkvjkT6Wjc8es7QB4Gty) - [Angular - Complete Course Guide](https://www.youtube.com/playlist?list=PL_euSNU_eLbeAJxvVdJn5lhPWX9IWHhxs) - [Angular Tutorial For Beginners](https://www.youtube.com/playlist?list=PLC3y8-rFHvwhBRAgFinJR8KHIrCdTkZcZ) - [Angular Crash Course](https://www.youtube.com/watch?v=3dHNOWTI7H8&ab_channel=TraversyMedia) - [Angular Tutorials](https://www.youtube.com/playlist?list=PLWKjhJtqVAblNvGKk6aQVPAJHxrRXxHTs) - [Angular Tutorial For Beginners 2022](https://www.youtube.com/playlist?list=PL82C6-O4XrHdf0LMDVl1Y-4_BFbNmdrGc) - [Complete TypeScript + Angular Tutorial by Sandeep Soni - Angular Full Course](https://www.youtube.com/playlist?list=PLo80fWiInSIOTOeS3TRCk0_pCYVKbWDBG) - [Angular Tutorial for Beginners: Learn Angular & TypeScript](https://www.youtube.com/watch?v=k5E2AVpwsko&ab_channel=ProgrammingwithMosh) - [Angular 14 full course 2022 for beginner](https://www.youtube.com/watch?v=IYI0em-xT28&ab_channel=Bitfumes) - [Angular Tutorial for Beginners - Web Framework with Typescript Course](https://www.youtube.com/watch?v=AAu8bjj6-UI&ab_channel=freeCodeCamp.org) - [The Ultimate Angular and Nodejs Tutorial For Beginners 2022](https://www.youtube.com/watch?v=NFh9WEH0Zi4&ab_channel=CodeWithNasir) - [Angular 11 Tutorial - Code a Project from Scratch](https://www.youtube.com/watch?v=LiOzTQAz13Q&ab_channel=freeCodeCamp.org) - [Cafe Management System - Angular, Node.js, MySQL Database Complete Project step by step](https://www.youtube.com/watch?v=SqSN6sqbdMQ&ab_channel=BTechDays) - [Spring Boot and Angular Tutorial - Build a Reddit Clone Coding Project](https://www.youtube.com/watch?v=DKlTBBuc32c&ab_channel=freeCodeCamp.org) - [The Modern Angular Crash Course - 2022](https://www.youtube.com/watch?v=WHv1YQUg6ow&ab_channel=LaithAcademy) - [Angular Full Course - Learn Angular in 6 Hours | Angular Tutorial For Beginners | Edureka](https://www.youtube.com/watch?v=Ati-oip_HcU&ab_channel=edureka%21) - [Angular for Beginners - Let's build a Tic-Tac-Toe PWA](https://www.youtube.com/watch?v=G0bBLvWXBvc&ab_channel=Fireship) - [Learn Angular - Full Tutorial Course](https://www.youtube.com/watch?v=2OHbjep_WjQ&ab_channel=freeCodeCamp.org) - [AngularJS Tutorial for Beginners Full Cours)](https://www.youtube.com/watch?v=9b9pLgaSQuI&ab_channel=MyLesson) - [Angular 14 Full Course with real time example 2022 - Angular crud + authentication + Material UI](https://www.youtube.com/watch?v=rZCQiMdQsxE&ab_channel=NihiraTechiees) - [Spring Boot and Angular Full Stack Development | 4 Hour Course](https://www.youtube.com/watch?v=8ZPsZBcue50&ab_channel=Amigoscode) - [Angular Full Course - Learn Angular In 3 Hours | Angular Tutorial For Beginners | Simplilearn](https://www.youtube.com/watch?v=iZ1mlcCkY8A&ab_channel=Simplilearn) - [Angular Crash Course for beginners](https://www.youtube.com/watch?v=T_Fe4IaG0KU&ab_channel=HiteshChoudhary) - [Full Angular Course](https://www.youtube.com/playlist?list=PLjsBk8SIQEi-RqkglLcn19TaeeopcuDXV) - [Build a Webshop – Angular, Node.js, TypeScript, Stripe](https://www.youtube.com/watch?v=Kbauf9IgsC4&ab_channel=freeCodeCamp.org) - [Spring Boot Full Stack with Angular | Full Course 2021 ](https://www.youtube.com/watch?v=Gx4iBLKLVHk&ab_channel=Amigoscode) ## 🐞 Sites e cursos para aprender Vue > Cursos para aprender Vue em Português - [Curso de Vue - Matheus Battisti - Hora de Codar](https://www.youtube.com/playlist?list=PLnDvRpP8BnezDglaAvtWgQXzsOmXUuRHL) - [Curso gratuito Vue.js 3 INTRO](https://www.youtube.com/playlist?list=PLcoYAcR89n-qTYqfWTGxXMnAvCqY3JF8w) - [Curso Gratuito de Vue 3](https://www.youtube.com/playlist?list=PLVSNL1PHDWvRbZsrcQ249Ae5MoKrlBTdd) - [Vue.js do jeito ninja](https://www.youtube.com/playlist?list=PLcoYAcR89n-qq1vGRbaUiV6Q9puy0qigW) - [Vue JS - Curso Completo](https://www.youtube.com/playlist?list=PLWNaqtzH6CWR-dykXeDD5XmMzJur9JBIh) - [VueJS - Curso de Iniciação](https://www.youtube.com/playlist?list=PLXik_5Br-zO_xQHAH9GrNR1gAefYWaKxz) - [VueJS em 1 hora! (Teoria e prática)](https://www.youtube.com/watch?v=cSa-SMVMGsE&ab_channel=AyrtonTeshima-ProgramadoraBordo) - [Curso Vue 3, Quasar e Supabase](https://www.youtube.com/playlist?list=PLBjvYfV_TvwIfgvouZCaLtgjYdrWQL02d) - [Curso de Vue.js & Vuetify - Lista de tarefas vue-todo](https://www.youtube.com/playlist?list=PLygIEirBzJi6qaDltMN44zyVHjbqUa4e-) - [Curso de Vuejs 2 - Completo](https://www.youtube.com/playlist?list=PLWhiA_CuQkbDxptXchXrYuGZnhlwnJgOF) > Cursos para aprender Vue em Inglês - [Vue.js Course for Beginners - 2021 Tutorial](https://www.youtube.com/watch?v=FXpIoQ_rT_c&ab_channel=freeCodeCamp.org) - [Vue JS Crash Course](https://www.youtube.com/watch?v=qZXt1Aom3Cs&ab_channel=TraversyMedia) - [Vue 3 Tutorial - Full Course 10 Hours 10 apps](https://www.youtube.com/watch?v=e-E0UB-YDRk&ab_channel=Bitfumes) - [The best way to learn Vue.js in 2022 - CRASH COURSE](https://www.youtube.com/watch?v=bzlFvd0b65c&ab_channel=VueMastery) - [Vue 3 Tutorial for Beginners - FULL COURSE in 3 Hours](https://www.youtube.com/watch?v=ZqgiuPt5QZo&ab_channel=TheEarthIsSquare) - [VUE JS 3 Complete Course Tutorial](https://www.youtube.com/playlist?list=PL_euSNU_eLbedoBv-RllKj_f2Yh--91nZ) - [The Ultimate Vue 3 Tutorial (100% Composition API)](https://www.youtube.com/watch?v=I_xLMmNeLDY&ab_channel=LaithAcademy) - [VUE JS CRUD | VUE JS Contacts Manager | VUE JS Tutorial | 2022](https://www.youtube.com/watch?v=_5Tw_oI9kKg&ab_channel=UiBrainsTechnologies) - [Vue.js Explained in 100 Seconds](https://www.youtube.com/watch?v=nhBVL41-_Cw&ab_channel=Fireship) ## 🦂 Sites e cursos para aprender Svelte > Cursos para aprender Svelte em Português - [Curso Intensivo de Svelte](https://www.cod3r.com.br/courses/svelte-intensivo) - [Curso Intensivo de Svelte - Aprenda SvelteJS em 1 Vídeo](https://www.youtube.com/watch?v=SVNTizLyuvo&ab_channel=Cod3rCursos) - [Como trabalhar com Framework Svelte? Com Mario Souto](https://www.youtube.com/watch?v=1F7r0G0hFcE&ab_channel=AluraCursosOnline) > Cursos para aprender Svelte em Inglês - [Svelte Tutorial for Beginners](https://www.youtube.com/playlist?list=PL4cUxeGkcC9hlbrVO_2QFVqVPhlZmz7tO) - [Learn Svelte – Full Course for Beginners](https://www.youtube.com/watch?v=UGBJHYpHPvA&ab_channel=freeCodeCamp.org) - [Svelte Tutorial for Beginners](https://www.youtube.com/playlist?list=PLC3y8-rFHvwiYZOsc2D8AO1MYwLjZQrKx) - [SvelteKit Tutorial (Crash Course)](https://www.youtube.com/playlist?list=PL4cUxeGkcC9hpM9ARM59Ve3jqcb54dqiP) - [Svelte Complete Course | 2022 | Tutorials](https://www.youtube.com/watch?v=cGQo_iNJaQ4&ab_channel=RDHCode) - [Svelte full course 2022 for beginner](https://www.youtube.com/watch?v=AilOdkZGeOk&ab_channel=Bitfumes) - [Svelte Complete Tutorials from basics to advance Course](https://www.youtube.com/playlist?list=PLKf7GYNMvJ1NInsRQqGmKL233dlAQtWwO) - [Learn the Svelte JavaScript Framework - Full Course](https://www.youtube.com/watch?v=ujbE0mzX-CU&ab_channel=freeCodeCamp.org) - [Svelte Tutorial - Is it better than React?](https://www.youtube.com/watch?v=vhGiGqZ78Rs&ab_channel=freeCodeCamp.org) - [Brand NEW APP Marathon! LIVE Coding & Chill with SvelteKit](https://www.youtube.com/watch?v=wrADp40o1YY&ab_channel=JohnnyMagrippis) - [Let's try SvelteKit](https://www.youtube.com/watch?v=60e9Cs9lMhg&ab_channel=SimonGrimm) - [Sveltejs 3 Basics Complete Crash Course Tutorials](https://www.youtube.com/watch?v=Ub5veQTl-ik&ab_channel=RDHCode) - [Svelte Crash Course for Beginners](https://www.youtube.com/watch?v=0I_B6o2RX5A&ab_channel=EvanDoesTech) - [Svelte 3 Reaction & QuickStart Tutorial](https://www.youtube.com/watch?v=043h4ugAj4c&ab_channel=Fireship) - [Svelte Crash Course](https://www.youtube.com/watch?v=uK2RnIzrQ0M&ab_channel=TraversyMedia) - [Svelte Course | Learn from scratch](https://www.youtube.com/watch?v=-9V6AsahNFE&ab_channel=AnotherSapiens) ## 🦞 Sites e cursos para aprender Flutter > Cursos para aprender Flutter em Português - [Curso COMPLETO de Flutter](https://www.youtube.com/playlist?list=PLlBnICoI-g-d-J57QIz6Tx5xtUDGQdBFB) - [Flutter Curso 2022](https://www.youtube.com/playlist?list=PLlBnICoI-g-fuy5jZiCufhFip1BlBswI7) - [Flutter e Dart - Curso](https://www.youtube.com/playlist?list=PLqdwHeoSjEN-9aGd-RxaS_2cyD_AKT0c_) - [Curso de FLUTTER 2022](https://www.youtube.com/playlist?list=PL5EmR7zuTn_Yu_YV2pT0h0843vRGiTMtx) - [Curso Flutter](https://www.youtube.com/playlist?list=PLg5-aZqPjMmBmCIgUZ0kNtoE7KJfvJZXS) - [Curso Flutter Básico [NV1] - 2022](https://www.youtube.com/playlist?list=PLRpTFz5_57cvo0CHf-AnojOvpznz8YO7S) - [Curso de FLUTTER e DART](https://www.youtube.com/playlist?list=PL5EmR7zuTn_aX0pG4oWTyKKQT25Hkq2XG) - [A Primeira Aula de Flutter Que Todo Mundo Deveria Ter](https://www.youtube.com/watch?v=J4BVaXkwmM8&ab_channel=FilipeDeschamps) - [Curso Flutter - Projeto COMPLETO Passo a Passo [Campo Minado]](https://www.youtube.com/watch?v=i3w3Wnouowo&ab_channel=Cod3rCursos) - [Education App UI Design in Flutter - Flutter UI Design Tutorial](https://www.youtube.com/watch?v=ucwBcTgxyME&ab_channel=DearProgrammer) - [Live Coding | Desenvolva um aplicativo em Flutter!](https://www.youtube.com/watch?v=j8Swzym_EEc&ab_channel=AluraCursosOnline) - [Flutter: Configurando cores dinâmicas | #AluraMais](https://www.youtube.com/watch?v=gI4-vj0WpKM&ab_channel=AluraCursosOnline) - [Curso de Flutter: Criando seu primeiro App grátis](https://www.youtube.com/playlist?list=PLHlHvK2lnJndhgbqLl5DNEvKQg5F4ZenQ) - [Curso Flutter Avançado - 2022](https://www.youtube.com/playlist?list=PLRpTFz5_57cufduUDgiZZqA_k5Q7UV_50) - [Curso de Programação com Dart - 2022](https://www.youtube.com/playlist?list=PLRpTFz5_57cseSiszvssXO7HKVzOsrI77) - [Flutter e MobX: Desenvolva uma Aplicação Completa - Masterclass 2021](https://www.youtube.com/watch?v=LeRjIY4n2Vk&ab_channel=Cod3rCursos) > Cursos para aprender Flutter em Inglês - [Flutter Course for Beginners – 37-hour Cross Platform App Development Tutorial](https://www.youtube.com/watch?v=VPvVD8t02U8&ab_channel=freeCodeCamp.org) - [Free Flutter Course](https://www.youtube.com/playlist?list=PL6yRaaP0WPkVtoeNIGqILtRAgd3h2CNpT) - [Flutter bootcamp 2022 || Flutter Complete course for beginners to advanced level](https://www.youtube.com/playlist?list=PLFyjjoCMAPtxq8V9fuVmgsYKLNIKqSEV4) - [Flutter Tutorial for Beginners](https://www.youtube.com/playlist?list=PL4cUxeGkcC9jLYyp2Aoh6hcWuxFDX6PBJ) - [Flutter Crash Course for Beginners 2021 - Build a Flutter App with Google's Flutter & Dart](https://www.youtube.com/watch?v=x0uinJvhNxI&ab_channel=Academind) - [Flutter Firebase & DDD](https://www.youtube.com/playlist?list=PLB6lc7nQ1n4iS5p-IezFFgqP6YvAJy84U) - [Flutter State Management Course](https://www.youtube.com/playlist?list=PL6yRaaP0WPkUf-ff1OX99DVSL1cynLHxO) - [Flutter and Firebase Course](https://www.youtube.com/playlist?list=PL78sHffDjI77iyUND7TrUOXud9NSf0eCr) - [Full Stack Flutter Development](https://www.youtube.com/playlist?list=PLFhJomvoCKC-HHwfZzIy2Mv59Uen88rqB) - [Flutter UI Tutorial - UI Design Best Practices](https://www.youtube.com/playlist?list=PLjOFHn8uDrvQDUiY57tQN39wI_NAey8x1) - [Flutter Tutorial for Beginners | Flutter App Development Course](https://www.youtube.com/playlist?list=PLS1QulWo1RIa5W8F_XInRJrZLwkLY39oK) - [Flutter Tutorial For Beginners in 3 Hours](https://www.youtube.com/watch?v=CD1Y2DmL5JM&ab_channel=FlutterMapp) - [Flutter Tutorial For Beginners In 1 Hour - 2022](https://www.youtube.com/watch?v=C-fKAzdTrLU&ab_channel=FlutterMapp) - [Flutter Course – Build Full Stack Google Docs Clone](https://www.youtube.com/watch?v=F6P0hve2clE&ab_channel=freeCodeCamp.org) - [Flutter 3.0 & Rest API crash course, build a store app](https://www.youtube.com/watch?v=YAoYJfitObA&ab_channel=CodingwithHadi) - [Flutter Essentials - Learn to make apps for Android, iOS, Windows, Mac, Linux (Full Course)](https://www.youtube.com/watch?v=P2IGQT3BZQo&ab_channel=freeCodeCamp.org) - [Dart Programming Tutorial - Full Course](https://www.youtube.com/watch?v=Ej_Pcr4uC2Q&ab_channel=freeCodeCamp.org) - [Flutter Mobile App + Node.js Back End Tutorial – Code an Amazon Clone [Full Course]](https://www.youtube.com/watch?v=ylJz7N-dv1E&ab_channel=freeCodeCamp.org) ## 🐹 Sites e cursos para aprender jQuery > Cursos para aprender jQuery em Português - [Curso JQUERY BÁSICO](https://www.youtube.com/playlist?list=PLIZ0d6lKIbVpF5DffKAX5e9L119PleIqg) - [Curso de JQuery (Universidade XTI)](https://www.youtube.com/playlist?list=PLxQNfKs8YwvGOv4evjpsB3JWWZnYChp04) - [Curso JQuery 2019 - Aprende a usar JQuery do zero](https://www.youtube.com/playlist?list=PLtLYd79f_qX9uufvXcgMrG6XVyc0VHlMp) - [Curso jQuery - código facilito](https://www.youtube.com/playlist?list=PLTE0X123tz-yxigJHnmuEgqWeVMI7YI-W) - [Curso de jQuery](https://www.youtube.com/playlist?list=PLu_qC9Zc8vNwlFP_1hSOXN2906iN_tvBL) > Cursos para aprender jQuery em Inglês - [jQuery Full Course 2022 | jQuery Tutorial For Beginners | jQuery Tutorial | Simplilearn](https://www.youtube.com/watch?v=Rkvn_MA04fo&ab_channel=Simplilearn) - [Learn jQuery for Beginners - Full Course](https://www.youtube.com/watch?v=ScoURsEM_yU&ab_channel=TechZ) - [jQuery - Beau teaches JavaScript](https://www.youtube.com/playlist?list=PLWKjhJtqVAbkyK9woUZUtunToLtNGoQHB) - [jQuery Tutorial for Beginners](https://www.youtube.com/playlist?list=PLoYCgNOIyGABdI2V8I_SWo22tFpgh2s6_) - [jQuery Tutorial | jQuery Tutorial For Beginners | jQuery | jQuery full course | Simplilearn](https://www.youtube.com/watch?v=QhQ4m5g2fhA&ab_channel=Simplilearn) - [jQuery Full Course | jQuery Tutorial For Beginners | jQuery Certification Training | Edureka](https://www.youtube.com/watch?v=HgvIox6ehkM&ab_channel=edureka%21) - [jQuery Advanced Full Course | jQuery Tutorial | jQuery Tutorial For Beginners | SimpliCode](https://www.youtube.com/watch?v=OSjDGLfNsDI&ab_channel=SimpliCode) ## 🐢 Sites e cursos para aprender Less > Cursos para aprender jQuery em Português - [Curso de Less - Jornada do Dev](https://goo.gl/Y5UkLQ) - [Curso de Less - Filipe Morelli Developer](https://www.youtube.com/playlist?list=PLWhiA_CuQkbBSfhS9nzc5BkopBY-22K-D) - [Curso de Less - Daniel Martínez](https://www.youtube.com/playlist?list=PLwzKFCxxOMjPUOJitRL31rD1Zsd030sYX) - [Curso de Less - Programador Novato](https://www.youtube.com/playlist?list=PLCTD_CpMeEKT70itw70uVs0vlFbvbCPQN) ## 🐱 Sites e cursos para aprender Sass > Cursos para aprender Sass em Português - [Sass/SCSS para iniciantes + Bônus com React](https://www.youtube.com/watch?v=UKFzAu9AR7w&ab_channel=AlgaWorks) - [Aprenda SASS em 1 hora | Curso de SASS](https://www.youtube.com/watch?v=Wo5t3uUV8n4) - [SASS de 0 a 100](https://www.youtube.com/playlist?list=PLCTD_CpMeEKQXywJB8KMN_-GccZuVf9ag) - [Curso Básico de SASS desde 0](https://www.youtube.com/playlist?list=PLhSj3UTs2_yVyMlZyW-NAbgjtgAgLBzFP) - [Curso de SASS - Lucas Ribeiro](https://www.youtube.com/playlist?list=PLF3tsQa29IM2KG0OIHYxN_uqaVSI0gnbg) - [Curso de Sass - Vida FullStack](https://www.youtube.com/playlist?list=PLMy95_4XE08OmaSd_GOLKNkqhoJFvg7w7) - [Curso de Sass - Amanda Vilela](https://www.youtube.com/playlist?list=PL97KElaimHeGRtfkksKwxg6IGVZi_cR7J) > Cursos para aprender Sass em Espanhol - [Curso de Sass para principiantes desde cero](https://www.youtube.com/playlist?list=PLPl81lqbj-4I4VwUdjbV2iFg7wispiXKP) - [Curso de Sass - El Exilio de Atlas](https://www.youtube.com/playlist?list=PL0FXkz5ILg9Y0ADavZORWRUU3mqG80N8s) - [Curso Básico de Sass - Tutoriales Front-End](https://www.youtube.com/playlist?list=PL5mZlJHWhPyxKrfbsw5-1GxErJrOrSkWI) > Cursos para aprender Sass em Inglês - [Curso de Sass - Jornada do Dev](https://goo.gl/DzRv1e) - [Sass, BEM, & Responsive Design (4 hr beginners course)](https://www.youtube.com/watch?v=jfMHA8SqUL4&ab_channel=CoderCoder) - [SASS Tutorial (Build Your Own CSS Library)](https://www.youtube.com/playlist?list=PL4cUxeGkcC9jxJX7vojNVK-o8ubDZEcNb) - [Sass Tutorial for Beginners - CSS With Superpowers](https://www.youtube.com/watch?v=_a5j7KoflTs&ab_channel=freeCodeCamp.org) - [SASS Tutorial](https://www.youtube.com/playlist?list=PL4cUxeGkcC9iEwigam3gTjU_7IA3W2WZA) - [Sass & Scss - Supercharge Your CSS | Tutorial](https://www.youtube.com/playlist?list=PLLAZ4kZ9dFpOMcA70cU3gZZAXeCR9CNS9) - [Learning SASS](https://www.youtube.com/playlist?list=PLyuRouwmQCjlzPHwHOAIfIFXkf6J8Q_qy) - [Learn Sass In 20 Minutes | Sass Crash Course](https://www.youtube.com/watch?v=Zz6eOVaaelI&ab_channel=developedbyed) - [Sass Crash Course](https://www.youtube.com/watch?v=nu5mdN2JIwM&ab_channel=TraversyMedia) - [Sass in 100 Seconds](https://www.youtube.com/watch?v=akDIJa0AP5c&t=53s&ab_channel=Fireship) - [Sass Crash Course 2022](https://www.youtube.com/watch?v=BEdCOvJ5RY4&ab_channel=PixelRocket) - [7 ways to deal with CSS](https://www.youtube.com/watch?v=ouncVBiye_M&ab_channel=Fireship) ## 🐰 Sites e cursos para aprender Bootstrap > Cursos para aprender Bootstrap em Português - [Curso de Bootstrap - Matheus Battisti - Hora de Codar](https://www.youtube.com/playlist?list=PLnDvRpP8Bnexu5wvxogy6N49_S5Xk8Cze) - [Curso de Bootstrap - CFBCursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUgop9qBqm6ReuNa3XraZBrc) - [Curso completo de Bootstrap 5- Diego Mariano](https://www.youtube.com/playlist?list=PLjS7DS1TxzJIkIgR8AR6Lu0deOOs0AQuv) - [Bootstrap 5 Funtamental](https://www.youtube.com/playlist?list=PLXik_5Br-zO-iwhAe12sirOo_LZ0t-qEm) - [Curso de Bootstrap 5 - Ricardo Maroquio](https://www.youtube.com/playlist?list=PL0YuSuacUEWuJN3qb6NP15bzqd8w_oAj7) - [Criando um site com Bootstrap 4](https://www.youtube.com/playlist?list=PLBbHLUbqqCrTwIrdix6kl84m4OPE0JexR) - [Aprenda Bootstrap 5 criando um projeto - curso fundamentos de Bootstrap 2021](https://www.youtube.com/watch?v=jJUpJA1GJHw&ab_channel=MatheusBattisti-HoradeCodar) - [FORMULÁRIO MULTISTEP COM REACT.JS - FORMULÁRIO DE MÚLTIPLAS ETAPAS REACT](https://www.youtube.com/watch?v=PRSruHX_eig&ab_channel=MatheusBattisti-HoradeCodar) - [Bootstrap Guia para Iniciantes 2022 - Hostinger Brasil](https://www.youtube.com/watch?v=jsTJL6Da5wc&ab_channel=HostingerBrasil) > Cursos para aprender Bootstrap em Inglês - [Bootstrap CSS Framework - Full Course for Beginners](https://www.youtube.com/watch?v=-qfEOE4vtxE&ab_channel=freeCodeCamp.org) - [Bootstrap 5 Crash Course](https://www.youtube.com/watch?v=Jyvffr3aCp0&ab_channel=WebDevSimplified) - [Bootstrap 5 Tutorial](https://www.youtube.com/playlist?list=PL4cUxeGkcC9joIM91nLzd_qaH_AimmdAR) - [Bootstrap 5 Crash Course | Website Build & Deploy](https://www.youtube.com/watch?v=4sosXZsdy-s&ab_channel=TraversyMedia) - [Getting Started with Bootstrap 5 for Beginners - Crash Course](https://www.youtube.com/watch?v=1nxSE0R27Gg&ab_channel=DesignCourse) - [Learn Bootstrap 5 and SASS by Building a Portfolio Website - Full Course](https://www.youtube.com/watch?v=iJKCj8uAHz8&ab_channel=freeCodeCamp.org) - [Bootstrap CSS Framework For Beginners [TAGALOG]](https://www.youtube.com/watch?v=NUCvrUU8NFo&ab_channel=PinoyFreeCoder) - [Learn Bootstrap in less than 20 minutes - Responsive Website Tutorial](https://www.youtube.com/watch?v=eow125xV5-c&ab_channel=Raddy) - [Bootstrap 4 Tutorials](https://www.youtube.com/playlist?list=PL4cUxeGkcC9jE_cGvLLC60C_PeF_24pvv) - [Bootstrap 4 Tutorial + Project](https://www.youtube.com/watch?v=Uhy3gtZoeOM&ab_channel=CodingAddict) ## 🐻‍❄️ Sites e cursos para aprender MySQL > Sites para aprender MySQL - [SQLZOO](https://sqlzoo.net/wiki/SQL_Tutorial) - [SQLBolt](https://sqlbolt.com/) - [LinuxJedi](https://linuxjedi.co.uk/tag/mysql/) - [SQLCourse](https://www.sqlcourse.com/) - [CodeQuizzes](https://www.codequizzes.com/apache-spark/spark/datasets-spark-sql) - [Planet MySQL](https://planet.mysql.com/pt/) - [MySQL Learn2torials](https://learn2torials.com/category/mysql) - [Learn MySQL, Memrise](https://app.memrise.com/course/700054/learn-mysql/) - [Tizag MySQL Tutorials](http://www.tizag.com/mysqlTutorial/) - [W3Schools SQL Tutorials](https://www.w3schools.com/sql/) - [SQL Basics Khan Academy](https://www.khanacademy.org/computing/computer-programming/sql) - [Phptpoint MySQL Tutorial](https://www.phptpoint.com/mysql-tutorial/) - [RoseIndia MySQL Tutorials](https://www.roseindia.net/mysql/) - [MySQL on Linux Like Geeks](https://likegeeks.com/mysql-on-linux-beginners-tutorial/) - [Mastering MySQL by Mark Leith](http://www.markleith.co.uk/) - [Tutorials Point MySQL Tutorial](https://www.tutorialspoint.com/mysql/index.htm) - [KillerPHP MySQL Video Tutorials](https://www.killerphp.com/mysql/videos/) - [PYnative MySQL Database Tutorial](https://pynative.com/python/databases/) - [Digital Ocean Basic MySQL Tutorial](https://www.digitalocean.com/community/tags/mysql) - [Journal to SQL Authority, Pinal Dave](https://blog.sqlauthority.com/) - [MySQL Tutorial, Learn MySQL Fast, Easy and Fun](https://www.mysqltutorial.org/) > Cursos para aprender MySQL em Português - [Curso de Banco de Dados MySQL](https://www.youtube.com/playlist?list=PLHz_AreHm4dkBs-795Dsgvau_ekxg8g1r) - [Curso de MySQL - Bóson Treinamentos](https://www.youtube.com/playlist?list=PLucm8g_ezqNrWAQH2B_0AnrFY5dJcgOLR) - [Curso SQL Completo 2022 em 4 horas - Dev Aprender](https://www.youtube.com/watch?v=G7bMwefn8RQ&ab_channel=DevAprender) - [Curso de SQL com MySQL (Completo) - Ótavio Miranda](https://www.youtube.com/playlist?list=PLbIBj8vQhvm2WT-pjGS5x7zUzmh4VgvRk) - [MySQL - Curso Completo para Iniciantes e Estudantes](https://www.youtube.com/playlist?list=PLOPt_yd2VLWGEnSzO-Sc9MYjs7GZadX1f) - [Curso de MySQL - Daves Tecnologia](https://www.youtube.com/playlist?list=PL5EmR7zuTn_ZGtE7A5PJjzQ0u7gicicLK) - [Curso de SQL - CFBCursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUgQUjExcssR3utb3JIX6Kra) - [Curso Gratuito MySQL Server](https://www.youtube.com/playlist?list=PLiLrXujC4CW1HSOb8i7j8qXIJmSqX44KH) - [Curso de MySQL - Diego Moisset](https://www.youtube.com/playlist?list=PLIygiKpYTC_4KmkW7AKH87nDWtb29jHvN) - [Curso completo MySQL WorkBench](https://www.youtube.com/playlist?list=PLq-sApY8QuyeEq4L_ECA7yYgOJH6IUphP) - [Curso de MySQL 2022 - IS](https://www.youtube.com/playlist?list=PL-6S8_azQ-MrCeQgZ1ZaD8Be3EVW4wEKx) - [MySql/MariaDB - Do básico ao avançado](https://www.youtube.com/playlist?list=PLfvOpw8k80WqyrR7P7fMNREW2Q82xJlpO) - [Curso de PHP com MySQL](https://www.youtube.com/playlist?list=PLucm8g_ezqNrkPSrXiYgGXXkK4x245cvV) > Cursos para aprender MySQL em Inglês - [The New Boston MySQL Videos](https://www.youtube.com/playlist?list=PL32BC9C878BA72085) - [MySQL For Beginners, Programming With Mosh](https://www.youtube.com/watch?v=7S_tz1z_5bA&ab_channel=ProgrammingwithMosh) - [Complete MySQL Beginner to Expert](https://www.youtube.com/watch?v=en6YPAgc6WM&ab_channel=FullCourse) - [Full MySQL Course for Beginners](https://www.youtube.com/playlist?list=PLyuRouwmQCjlXvBkTfGeDTq79r9_GoMt9) - [MySQL Complete Tutorial for Beginners 2022](https://www.youtube.com/playlist?list=PLjVLYmrlmjGeyCPgdHL2vWmEGKxcpsC0E) - [SQL for Beginners (MySQL)](https://www.youtube.com/playlist?list=PLUDwpEzHYYLvWEwDxZViN1shP-pGyZdtT) - [MySQL Course](https://www.youtube.com/playlist?list=PLBlpUqEneF0-xZ1ctyLVqhwJyoQsyfOsO) - [MySQL Tutorial For Beginners - Edureka](https://www.youtube.com/playlist?list=PL9ooVrP1hQOGECN1oA2iXcWFBTRYUxzQG) - [MySQL Tutorial for Beginners](https://www.youtube.com/playlist?list=PLS1QulWo1RIY4auvfxAHS9m_fZJ2wxSse) - [MySQL Tutorial for beginner - ProgrammingKnowledge](https://www.youtube.com/playlist?list=PLS1QulWo1RIahlYDqHWZb81qsKgEvPiHn) - [MySQL DBA Tutorial - Mughees Ahmed](https://www.youtube.com/playlist?list=PLd5sTGXltJ-l9PKT2Bynhg0Ou2uESOJiH) - [MySQL DBA Tutorial - TechBrothers](https://www.youtube.com/playlist?list=PLWf6TEjiiuICV0BARDhRC0JvNKHC5MDEU) - [SQL Tutorial - Full Database Course for Beginners](https://www.youtube.com/watch?v=HXV3zeQKqGY&ab_channel=freeCodeCamp.org) ## 🐮 Sites e cursos para aprender Git e Github - [Git 4 Noobs](https://github.com/DanielHe4rt/git4noobs) - [Comandos Git](https://github.com/theandersonn/comandos-git) - [Aprenda Git](https://learngitbranching.js.org/) - [Git School](https://git-school.github.io/visualizing-git/) - [Git Flow Cheatsheet](https://danielkummer.github.io/git-flow-cheatsheet/) - [Git cheat sheet](https://training.github.com/downloads/pt_BR/github-git-cheat-sheet.pdf) <details> <summary>📝 Necessário para sobrevivencia</summary> - [Site para instalar o Git](https://git-scm.com/downloads) - Configurações iniciais do Git ```bash git config --global user.name <nome de usuário> # => Configura nome de usuário que marcará os commits git config --global user.email <[email protected]> # => Configura o email que marcará os commits ``` - Inicializando um repositório ```bash git init ``` - Clonar projeto remoto ```bash git pull <link> ``` - Adicionando um repositório remoto ```bash git remote add origin https://github.com/User/Repository.git ``` - Verifica o status do repositório ```bash git status ``` - Trackear o que não foi trackeado, inserir tudo ```bash git add . #=> Ou -A ``` - Realizar Commit ```bash git commit -m "inserir um comentário significativo" # => Ou -am ``` [Diferença entre as flags -m e -am](https://pt.stackoverflow.com/questions/344986/diferen%C3%A7a-do-git-commit-am-e-m) - lista de commits ```bash git log #=> ou git log --oneline #=> exibe log com hash e título do commit ``` - Desfazer alterações ```bash git reset # => --soft / --mixed / --hard ``` - Mudar a branch atual ```bash git checkout <branch> # ou git checkout -b <branch> # => Cria e muda para a branch passada ``` - Checar o que houve nas alterações ```bash git diff # ou git diff --name-only <SHA1> <SHA2> # Mostra apenas a alteração entre commits especificados por identificador git diff --name-only HEAD~<num> HEAD~<num> # ou por contagem # ou git diff <nome_do.arquivo> # => Mostra apenas a alteração feita naquele arquivo ``` - Retroceder até certa posição ```bash git checkout HEAD -- "diff" <nome_do.arquivo> ``` - Envia todos os commits do branch local ```bash git push <alias> <branch> ``` - Baixa o histórico e incorpora as mudanças ```bash git pull ``` - Combina o marcador do branch no branch local ```bash git merge [marcador]/[branch] ``` - Visualizando todas as branches existentes no repositório ```bash git branch #=> local # => ou git branch --all #=> local e remoto ``` - Deletando Branchs ```bash # Local git branch -D <nome-branch> git branch -d <nome-branch> # Remoto git push origin <:nome-branch> # Todas branch que não se encontram no repositório remoto git branch --merged ## git branch -r | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin | grep -v "master") | xargs git branch -d # Todas as branches no repositório local (exceto a master) git branch | grep -v "master" | xargs git branch -D ``` </details> ## 🦣 Sites e cursos para aprender TypeScript > Cursos para aprender TypeScript em Português - [Curso de TypeScript na pŕatica - aprenda TypeScript em 1 hora](https://www.youtube.com/watch?v=lCemyQeSCV8&t=634s&ab_channel=MatheusBattisti-HoradeCodar) - [Curso de TypeScript para Completos Iniciantes](https://www.youtube.com/watch?v=ppDsxbUNtNQ&t=1s&ab_channel=FelipeRocha%E2%80%A2dicasparadevs) - [TypeScript, o início, de forma prática | MasterClass #07](https://www.youtube.com/watch?v=0mYq5LrQN1s&t=2s&ab_channel=Rocketseat) - [Intensivão de Clean Architecture e TypeScript](https://www.youtube.com/watch?v=yLPxkIxbNDg&t=3915s&ab_channel=FullCycle) - [TypeScript Course for Beginners - Learn TypeScript from Scratch!](https://www.youtube.com/watch?v=BwuLxPH8IDs&ab_channel=Academind) - [TypeScript Crash Course](https://www.youtube.com/watch?v=BCg4U1FzODs&t=1s&ab_channel=TraversyMedia) - [Esse é o motivo para você começar a estudar TypeScript ](https://www.youtube.com/watch?v=JbVBPatmLr8&ab_channel=AndreIacono) - [React & TypeScript - Course for Beginners](https://www.youtube.com/watch?v=FJDVKeh7RJI&ab_channel=freeCodeCamp.org) - [TypeScript - Zero to Hero | O que é TypeScript? #01](https://www.youtube.com/watch?v=u7K1sdnCv5Y&list=PLb2HQ45KP0Wsk-p_0c6ImqBAEFEY-LU9H&ab_channel=GlauciaLemos) - [Curso de react: Aula 01 - Começando com ReactJS](https://www.youtube.com/watch?v=1bEbBkWc4-I&list=PL29TaWXah3iZktD5o1IHbc7JDqG_80iOm&ab_channel=LucasSouzaDev) - [Curso TypeScript do Básico ao avançado - Tipagem de Dados #01](https://www.youtube.com/watch?v=Z0RlhHuw6hk&list=PL4iwH9RF8xHlxBrCZImFELtiew3TneihE&ab_channel=PogCast) - [Curso de Typescript - Aula 1: O que é o typescript?](https://www.youtube.com/watch?v=3LPWQtvxHOk&list=PLbV6TI03ZWYWwU5p9ZBH8oJTCjgneX53u&ab_channel=DanielBerg) - [API Rest, Node e Typescript: #00 - Apresentação do curso, tecnologias usadas e muito mais](https://www.youtube.com/watch?v=SVepTuBK4V0&list=PL29TaWXah3iaaXDFPgTHiFMBF6wQahurP&ab_channel=LucasSouzaDev) - [Curso de Node.js completo com Typescript, Jest, TDD, Github](https://www.youtube.com/watch?v=W2ld5xRS3cY&list=PLz_YTBuxtxt6_Zf1h-qzNsvVt46H8ziKh&ab_channel=WaldemarNeto-DevLab) - [React, Material UI 5 e Typescript: #00 - Introdução](https://www.youtube.com/watch?v=wLH1Vv86I44&list=PL29TaWXah3iaqOejItvW--TaFr9NcruyQ&ab_channel=LucasSouzaDev) - [TypeScript - Aprendendo Junto 00 - Introdução ao curso](https://www.youtube.com/watch?v=67ki0t_VWc0&list=PL62G310vn6nGg5OzjxE8FbYDzCs_UqrUs&ab_channel=DevDojo) - [Curso TypeScript para Desenvolvedores C# - Aula 00: Introdução à TypeScript](https://www.youtube.com/watch?v=SbAzEptUwI4&list=PLb2HQ45KP0Wt32eCnju3lyncXUvDV5Nob&ab_channel=GlauciaLemos) - [Curso POO Typescript Aula 00 - Como Instalar Typescript - Para Iniciantes](https://www.youtube.com/watch?v=Xv7nNA-DtRE&list=PLnV7i1DUV_zMKEBTQ-wwlbyop8yVAh2tc&ab_channel=NoobCode) - [TypeScript #001 - Bem-vindos ao TypeScript](https://www.youtube.com/watch?v=DF9jY0ITt3Q&list=PLXik_5Br-zO9SEz-3tuy1UIcU6X0GZo4i&ab_channel=Jo%C3%A3oRibeiro) - [Clean Architecture & Typescript - BDD Specs + Use Cases](https://www.youtube.com/watch?v=7ylqtGk9bTo&list=PL9aKtVrF05DxIrtD3CuXGnzq8Q0IZ-t8J&ab_channel=Mango) - [TypeORM #0 - Preparando ambiente e conhecendo o Docker](https://www.youtube.com/watch?v=ZBlW5IBdhKk&list=PLDqnSpzNKDvn-3cpMf3yPn7gTnb3ooy4b&ab_channel=AngeloLuz) - [Criando site com Typescript#01 - Apresentação do curso](https://www.youtube.com/watch?v=JA2Gx-7Fy7g&list=PLyugqHiq-SKfPI4of2RbSdtzBfmwioERL&ab_channel=ClubeFull-Stack) - [Curso de Typescript - ¿ Que es #TypeScript ?](https://www.youtube.com/watch?v=ZwfoXOCpdCw&list=PL4qycS8CTHju8c4A06J_Vjtllyo6Pnc1G&ab_channel=ProCodeTv) - [01 - Curso de Orientação a Objetos no TypeScript - Classes e Objetos](https://www.youtube.com/watch?v=_Pi69njCXUU&list=PLVSNL1PHDWvQ8vKE5T2JTlLE4rXpFH3fM&ab_channel=CarlosFerreira-EspecializaTi) - [TypeORM #0 - Preparando ambiente e conhecendo o Docker](https://www.youtube.com/watch?v=ZBlW5IBdhKk&list=PLDqnSpzNKDvn-3cpMf3yPn7gTnb3ooy4b&ab_channel=AngeloLuz) - [Criando site com Typescript#01 - Apresentação do curso](https://www.youtube.com/watch?v=JA2Gx-7Fy7g&list=PLyugqHiq-SKfPI4of2RbSdtzBfmwioERL&ab_channel=ClubeFull-Stack) > Cursos para aprender TypeScript em Inglês - [Learn TypeScript – Full Tutorial](https://www.youtube.com/watch?v=30LWjhZzg50&ab_channel=freeCodeCamp.org) - [TypeScript Crash Course](https://www.youtube.com/watch?v=BCg4U1FzODs&t=1s&ab_channel=TraversyMedia) - [TypeScript Course for Beginners - Learn TypeScript from Scratch!](https://www.youtube.com/watch?v=BwuLxPH8IDs&ab_channel=Academind) - [How to Setup Node.js with TypeScript in 2023](https://www.youtube.com/watch?v=H91aqUHn8sE&ab_channel=BeyondFireship) - [How To Create An Advanced Shopping Cart With React and TypeScript](https://www.youtube.com/watch?v=lATafp15HWA&ab_channel=WebDevSimplified) - [TypeScript Tutorial for Beginners](https://www.youtube.com/watch?v=d56mG7DezGs&ab_channel=ProgrammingwithMosh) - [TypeScript Full Beginner Course](https://www.youtube.com/watch?v=01txIbtssj0&ab_channel=Bitfumes) - [TypeScript Course - Beginner to Advanced TypeScript Tutorial [2022]](https://www.youtube.com/watch?v=vcNtrYfroDY&ab_channel=Cloudaffle) - [React & TypeScript - Course for Beginners](https://www.youtube.com/watch?v=FJDVKeh7RJI&ab_channel=freeCodeCamp.org) ## 🦬 Sites e cursos para aprender Node.js > Cursos para aprender Node.js em Português - [Curso de Node.js Para Completos Iniciantes](https://www.youtube.com/watch?v=IOfDoyP1Aq0&t=963s&ab_channel=FelipeRocha%E2%80%A2dicasparadevs) - [COMEÇANDO COM NODE.JS EM 2022](https://www.youtube.com/watch?v=fm4_EuCsQwg&t=1s&ab_channel=Rocketseat) - [Autenticação com Node.js e MongoDB com JWT - Login e Registro com Node.js](https://www.youtube.com/watch?v=qEBoZ8lJR3k&ab_channel=MatheusBattisti-HoradeCodar) - [Curso de Node.JS - O que é Node.JS #01](https://www.youtube.com/watch?v=LLqq6FemMNQ&list=PLJ_KhUnlXUPtbtLwaxxUxHqvcNQndmI4B&ab_channel=VictorLima-GuiadoProgramador) - [Vamos aprender NodeJS? [Introdução, instalação, primeira aplicação NodeJS] - Curso de Node - Aula 01](https://www.youtube.com/watch?v=XN705pQeoyU&list=PLx4x_zx8csUjFC41ev2qX5dnr-0ThpoXE&ab_channel=CFBCursos) - [Curso de Node.js completo com Typescript, Jest, TDD, Github... [Código atualizado 2022]](https://www.youtube.com/watch?v=W2ld5xRS3cY&list=PLz_YTBuxtxt6_Zf1h-qzNsvVt46H8ziKh&ab_channel=WaldemarNeto-DevLab) - [O que é Node.js? - Curso - Aula Grátis #01](https://www.youtube.com/watch?v=irrkH6VII78&list=PLsGmTzb4NxK0_CENI1ThoFUNeyIgsZ32V&ab_channel=LuizTools) - [Node.js #1 - O que é Node e como instalar o Node.js no Windows](https://www.youtube.com/watch?v=jqrKQEJ6DpY&list=PLmY5AEiqDWwBHJ3i_8MDSszXXRTcFdkSu&ab_channel=Celke) - [Curso Node JS Completo: Aula 01 - Introdução e Instalação](https://www.youtube.com/watch?v=zxziRBDFjGc&list=PL2Fdisxwzt_cQ7SMv8Drlg2TcrOS5LDZq&ab_channel=Programa%C3%A7%C3%A3oWeb) - [#01 Curso NodeJS com Typescript - Iniciando Ambiente](https://www.youtube.com/watch?v=GII-SyqjbqE&list=PLn3kOoc0oI2cQDdUEQxj75sxgRH53DmSc&ab_channel=AndrewRos%C3%A1rio) - [Criando APIs com NodeJs - Aula 1: Instalação Node, NPM e VS Code](https://www.youtube.com/watch?v=wDWdqlYxfcw&list=PLHlHvK2lnJndvvycjBqQAbgEDqXxKLoqn&ab_channel=balta.io) - [Curso React JS / Node JS - Configurando o Ambiente de Desenvolvimento](https://www.youtube.com/watch?v=hK59KYwQP3U&list=PL0QN_lbTofYcw7bzm8y-l2BMslKfMfNgr&ab_channel=codezero) - [Criação de API com Node.JS e MySQL - CRUD Completo - Aula 01 - Preparação do Ambiente](https://www.youtube.com/watch?v=xGk_R8Q1epU&list=PL1hl9qLyFtfDXY9NO8F3TnjxezKJ_1HlI&ab_channel=ProfessorLozano) - [API Rest, Node e Typescript: #00 - Apresentação do curso, tecnologias usadas e muito mais](https://www.youtube.com/watch?v=SVepTuBK4V0&list=PL29TaWXah3iaaXDFPgTHiFMBF6wQahurP&ab_channel=LucasSouzaDev) - [Curso de Node.js [ #01 Fundamentos desde cero - Primeros Pasos ]](https://www.youtube.com/watch?v=mG4U9t5nWG8&list=PLPl81lqbj-4IEnmCXEJeEXPepr8gWtsl6&ab_channel=Bluuweb) - [Aula #01 - Apresentação Mini Curso - Iniciando Desenvolvimento de API Restful - Node.js e Typescript](https://www.youtube.com/watch?v=M-pNDHC25Vg&list=PLE0DHiXlN_qp251xWxdb_stPj98y1auhc&ab_channel=JorgeAluizio) - [001 - API em Node.js + TypeScript com Programação Funcional - Apresentação do projeto](https://www.youtube.com/watch?v=G-wGMfiLW0Y&list=PLr4c053wuXU_2sufpBUxu3bLRBbyWt4lX&ab_channel=queroser.ninja-FernandoDaciuk) - [Node.js - 01 Instalação do Node.js](https://www.youtube.com/watch?v=D8qWu0MGyuQ&list=PLfvOpw8k80WqZsXphHeeSVNKr6EovKir-&ab_channel=DFILITTO) - [API com Node.JS - Passo 0 - Introdução (O que é uma REST API?)](https://www.youtube.com/watch?v=d_vXgK4uZJM&list=PLWgD0gfm500EMEDPyb3Orb28i7HK5_DkR&ab_channel=Maransatto) - [Curso de Node.JS - #01 O que é Node.js](https://www.youtube.com/watch?v=aeRVisIgABA&list=PLJ0IKu7KZpCRCJgiT6jL4jJgssEcTBsg7&ab_channel=ProgramadorTech) - [Curso de Node JS Aula 01 Baixar e instalar o Node JS. Testar e instalar ferramentas extras](https://www.youtube.com/watch?v=05WeJCU8CJ4&list=PLnex8IkmReXwCyR-cGkyy8tCVAW7fGZow&ab_channel=ProfessorEdsonMaia) - [Aula 1.1 - Criando o primeiro App completo com Node.js, Postgres e front com Javascript puro](https://www.youtube.com/watch?v=TMdlKvoHxNI&list=PLAxN8g6Knm0camfON299B-vl31IYQhA8Q&ab_channel=Prof.JesielViana) - [Curso React + Node Js + React Native - Introdução. Aula 1](https://www.youtube.com/watch?v=veQ0JzX_g3w&list=PLMg7nm9OcrdlhTsN2PvLbNveJYWrHMQZv&ab_channel=MentorNerd) - [Node.js Básico 01 - Introdução](https://www.youtube.com/watch?v=F2cNmWNZSM0&list=PLWXw8Gu52TRLBgfIclx1Nh8LA60knsxY9&ab_channel=RalfLima) > Cursos para aprender Node.js em Inglês - [Node.js and Express.js - Full Course](https://www.youtube.com/watch?v=Oe421EPjeBE&t=176s&ab_channel=freeCodeCamp.org) - [Node.js Full Course for Beginners | Complete All-in-One Tutorial | 7 Hours](https://www.youtube.com/watch?v=f2EqECiTBL8&ab_channel=DaveGray) - [Node.js Tutorial for Beginners: Learn Node in 1 Hour](https://www.youtube.com/watch?v=TlB_eWDSMt4&ab_channel=ProgrammingwithMosh) - [Node.js Tutorial For Beginners | Node JS Crash Course](https://www.youtube.com/watch?v=zQRrXTSkvfw&ab_channel=developedbyed) - [Node.js / Express Course - Build 4 Projects](https://www.youtube.com/watch?v=qwfE7fSVaZM&t=1s&ab_channel=freeCodeCamp.org) - [Node.js Ultimate Beginner’s Guide in 7 Easy Steps](https://www.youtube.com/watch?v=ENrzD9HAZK4&ab_channel=Fireship) - [Node.js Tutorial for Beginners 1 - Node.js Introduction](https://www.youtube.com/watch?v=spPtAEmwys4&list=PLS1QulWo1RIb8IwHYfah5pxGU5jgNiEbK&ab_channel=ProgrammingKnowledge) - [Node js tutorial #1 what is Node js | Introduction](https://www.youtube.com/watch?v=_sPLVYXfyDE&list=PL8p2I9GklV45ihqIep4n3_VijItAkcibN&ab_channel=CodeStepByStep) - [Node.js Tutorial - 1 - Introduction](https://www.youtube.com/watch?v=LAUi8pPlcUM&list=PLC3y8-rFHvwh8shCMHFA5kWxD9PaPwxaY&ab_channel=Codevolution) - [Node.js Crash Course Tutorial #1 - Introduction & Setup](https://www.youtube.com/watch?v=zb3Qk8SG5Ms&list=PL4cUxeGkcC9jsz4LDYc6kv3ymONOKxwBU&ab_channel=TheNetNinja) - [What is Node js? | Simplified Explanation](https://www.youtube.com/watch?v=yEHCfRWz-EI&list=PLsyeobzWxl7occsESx2X1E2R2Uw5wCoeG&ab_channel=Telusko) - [Node JS Tutorial for Beginners #1 - Introduction](https://www.youtube.com/watch?v=w-7RQ46RgxU&list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp&ab_channel=TheNetNinja) - [Tech Talk: Server Scaling in Node.js](https://www.youtube.com/watch?v=w1IzRF6AkuI&list=PLiIKaud-klRGn7V0myJaSZzByPEX7VyiB&ab_channel=FullstackAcademy) - [Node js Tutorial for Beginners - 1 - Introduction](https://www.youtube.com/watch?v=CTxrpmY1At8&list=PLC3y8-rFHvwhco_O8PS1iS9xRrdVTvSIz&ab_channel=Codevolution) - [Express JS Tutorial #1 - Introduction | Node Express JS Tutorial](https://www.youtube.com/watch?v=KtnHb7FMk2Q&list=PLp50dWW_m40Vruw9uKGNqySCNFLXK5YiO&ab_channel=ARCTutorials) - [Introduction to Node JS (Hindi)](https://www.youtube.com/watch?v=5XzUdbYNWrA&list=PLbGui_ZYuhijy1SpwtIS9IwL6OJdbr4kE&ab_channel=GeekyShows) - [ExpressJS - Intro & Project Setup](https://www.youtube.com/watch?v=39znK--Yo1o&list=PL_cUvD4qzbkwp6pxx27pqgohrsP8v1Wj2&ab_channel=AnsontheDeveloper) - [How to build NodeJS Microservice - NodeJS Monolithic to Microservice Architecture](https://www.youtube.com/watch?v=EXDkgjU8DDU&list=PLaLqLOj2bk9ZV2RhqXzABUP5QSg42uJEs&ab_channel=CodewithJay) - [What is Node.js Exactly? - a beginners introduction to Nodejs](https://www.youtube.com/watch?v=pU9Q6oiQNd0&list=PLpXfHEl2fzl5wTERue9mU7AOLXEMcicBc&ab_channel=LearnCode.academy) - [Node.js in 2022 - Creating and testing a complete Node.js Rest API (WITH NO FRAMEWORKS)](https://www.youtube.com/watch?v=xR4D2bp8_S0&list=PLqFwRPueWb5fl_-rJ_6WdgCn9P87A7WNq&ab_channel=ErickWendel) ## 🦌 Sites e cursos para aprender Next.js > Cursos para aprender Next.js em Português - [Desvendando Next.js do ZERO (SSG, SSR, ISR e mais) - Decode #013](https://www.youtube.com/watch?v=2LS6rP3ykJk&ab_channel=Rocketseat) - [Next.JS e React: Curso Intensivo - Masterclass #01 [2021]](https://www.youtube.com/watch?v=PHKaJlAeNLk&ab_channel=Cod3rCursos) - [Primeiros passos Next.js | #AluraMais](https://www.youtube.com/watch?v=slmtdlWNwcE&ab_channel=AluraCursosOnline) - [Primeiros Passos com Next.js](https://www.youtube.com/watch?v=xjrDEZQ5LnA&ab_channel=BoniekyLacerda) - [Next.js (Renderização React no Lado Servidor) // Dicionário do Programador](https://www.youtube.com/watch?v=q_ZoX98uopM&ab_channel=C%C3%B3digoFonteTV) - [Por Que Usar Next.JS?](https://www.youtube.com/watch?v=TzufYnZUmz4&ab_channel=Cod3rCursos) - [Curso Next.js: Introdução - #01](https://www.youtube.com/watch?v=XHrbg2iYNCg&list=PLnDvRpP8BnezfJcfiClWskFOLODeqI_Ft&ab_channel=MatheusBattisti-HoradeCodar) - [Criando projeto React & NextJS + entendendo React #CursoDeReactNextJS #EP01](https://www.youtube.com/watch?v=BCnUMZUArrM&list=PLeBknJ2kuv1mDABV2N-H2tcu1vbfffRvg&ab_channel=Dev%26Design) - [Next.js o framework que você deveria conhecer](https://www.youtube.com/watch?v=9eI0o8io7I0&list=PLkFMdTTdI9c2js2bPRUhChVA0jdI-358s&ab_channel=LucasNhimi) - [Mini curso de Next.js - Aula 1](https://www.youtube.com/watch?v=P3p2LTz5miE&list=PLGQCLOAuF36leMwycZZ9o9uppqgmlGkhj&ab_channel=Andr%C3%A9Coelho) - [Introdução ao curso de NextJS | NextJS Intensivo](https://www.youtube.com/watch?v=cQ9ydTHx2Q0&list=PLvFchzWFz0yPKjnboH7Oq5jvzuw-7Fl4E&ab_channel=MateusSantana-BeDevLab) > Cursos para aprender Next.js em Inglês) - [NEXT.JS Crash Course for Beginners - Build 6 Apps in 17 Hours (SSR, Auth, Full-Stack + More) [2022]](https://www.youtube.com/watch?v=6fNy0iD3hsk&ab_channel=SonnySangha) - [Next.js React Framework Course – Build and Deploy a Full Stack App From scratch](https://www.youtube.com/watch?v=KjY94sAKLlw&t=6005s&ab_channel=freeCodeCamp.org) - [Next.js 13 Crash Course | Learn How To Build Full Stack Apps!](https://www.youtube.com/watch?v=T63nY70eZF0&ab_channel=developedbyed) - [Next.js 13 - The Basics](https://www.youtube.com/watch?v=__mSgDEOyv8&ab_channel=BeyondFireship) - [The Ultimate NEXT.JS 13 Tutorial (Complete Walkthrough w/ Examples)](https://www.youtube.com/watch?v=6aP9nyTcd44&ab_channel=SonnySangha) - [Let's build a Modern Portfolio with NEXT.JS (Framer Motion, Tailwind CSS, Sanity.io, React) | 2023](https://www.youtube.com/watch?v=urgi2iz9P6U&ab_channel=SonnySangha) - [Nextjs ECommerce Tutorial For Beginners 2022 [Next.js, MongoDB & Tailwind]](https://www.youtube.com/watch?v=_IBlyR5mRzA&ab_channel=CodingwithBasir) - [Next.js for Beginners - Full Course](https://www.youtube.com/watch?v=1WmNXEVia8I&ab_channel=freeCodeCamp.org) - [Next.js Tutorial - 1 - Introduction](https://www.youtube.com/watch?v=9P8mASSREYM&list=PLC3y8-rFHvwgC9mj0qv972IO5DmD-H0ZH&ab_channel=Codevolution) - [Complete Next.js Course for Beginners #1 - Introduction](https://www.youtube.com/watch?v=HejT6QXmgtc&list=PLynWqC6VC9KOvExUuzhTFsWaxnpP_97BD&ab_channel=DailyTuition) - [Next.js Tutorial #1 - Introduction & Setup](https://www.youtube.com/watch?v=A63UxsQsEbU&list=PL4cUxeGkcC9g9gP2onazU5-2M-AzA8eBw&ab_channel=TheNetNinja) - [Introduction to Next.js | NextJs Tutorial for Beginners #1](https://www.youtube.com/watch?v=DZKOunP-WLQ&list=PLu0W_9lII9agtWvR_TZdb_r0dNI8-lDwG&ab_channel=CodeWithHarry) - [ntroduction to Next.js – Next vs. Gatsby vs. CRA](https://www.youtube.com/watch?v=uQeidE2LA1s&list=PL6bwFJ82M6FXjyBTVi6WSCWin8q_g_8RR&ab_channel=LeeRobinson) - [Introduction to Next.js – Next vs. Gatsby vs. CRA](https://www.youtube.com/watch?v=uQeidE2LA1s&list=PL6bwFJ82M6FXjyBTVi6WSCWin8q_g_8RR&ab_channel=LeeRobinson) - [Build and Deploy THE PERFECT Portfolio Website | Create a Portfolio from Scratch](https://www.youtube.com/watch?v=OPaLnMw2i_0&list=PL6QREj8te1P7gixBDSU8JLvQndTEEX3c3&ab_channel=JavaScriptMastery) - [NextAuth Course - Complete Authentication with Credentials, Google & GitHub](https://www.youtube.com/watch?v=t0Fs0NO78X8&list=PL2ieA03FJ6Fc34SSXinC2to9T30ztac2M&ab_channel=DailyTuition) - [NextJS & Tests : Setting Up for Tests in Next.JS (1/6) [react testing library & jest]](https://www.youtube.com/watch?v=S7Qi4kgLH7M&list=PLCBa_75YlKx6cQc0JNZz-L1ZGFb-pOIyL&ab_channel=abhikb) - [How to Create a Next.js Starter and Add Sass to a Next.js React App](https://www.youtube.com/watch?v=oFGs_x7kxZg&list=PLFsfg2xP7cbI1U7BZJwmJwTVs4D0pqX1F&ab_channel=ColbyFayock) ## 🦘 Sites e cursos para aprender Assembly > Cursos para aprender Assembly em Português - [Assembly na Prática](https://www.youtube.com/playlist?list=PLxTkH01AauxRm0LFLlOA9RR5O6hBLqBtC) - [Curso de Assembly com Snes e Mega Drive](https://www.youtube.com/playlist?list=PLLFRf_pkM7b6Vi0ehPPovl1gQ5ubHTy5P) - [Curso de Assembly para PIC](https://www.youtube.com/playlist?list=PLZ8dBTV2_5HQd6f4IaoO50L6oToxQMFYt) - [Minicurso Programação Assembly x86 MASM32](https://www.youtube.com/playlist?list=PLmKKLDrwQKd6iL3rXIbIowc4GWMgYh_iH) - [Minicurso: Linguagem Assembly 8086 no DEBUG](https://www.youtube.com/playlist?list=PL838IdaPZmcsxX3HwxFSkxm5S_-4wqcYp) - [Curso de Assembly - Minilord](https://www.youtube.com/playlist?list=PLhkvr9d5St4VmgSpGoeXcQamYl8vBiMeH) - [Papo binario - Assembly](https://www.youtube.com/playlist?list=PLWHiAJhsj4eXi1AF6N5MYz61RcwSCoVO8) > Cursos para aprender Assembly em Inglês - [Assembly Language Programming with ARM – Full Tutorial for Beginners](https://www.youtube.com/watch?v=gfmRrPjnEw4&ab_channel=freeCodeCamp.org) - [Modern x64 Assembly](https://www.youtube.com/playlist?list=PLKK11Ligqitg9MOX3-0tFT1Rmh3uJp7kA) - [Assembly Language Programming](https://www.youtube.com/playlist?list=PLPedo-T7QiNsIji329HyTzbKBuCAHwNFC) - [Intro to x86 Assembly Language](https://www.youtube.com/playlist?list=PLmxT2pVYo5LB5EzTPZGfFN0c2GDiSXgQe) - [x86 Assembly](https://www.youtube.com/playlist?list=PLan2CeTAw3pFOq5qc9urw8w7R-kvAT8Yb) ## 🦒 Sites e cursos para aprender Lua > Cursos para aprender Lua em Português - [Introdução a Lua, instalação e primeiro programa em Lua - Curso de Lua - Aula 01](https://www.youtube.com/watch?v=J9iZeIk2OII&list=PLx4x_zx8csUhdMczA1OSq9rM7N48L6OLU&ab_channel=CFBCursos) - [Curso de Lua - Aula 01 - Introdução e Ambiente](https://www.youtube.com/watch?v=3BA_fK0yXrI&list=PLa4jh645PxpfOYT5bNkim9yoevX8dCYpt&ab_channel=Techiesse) - [Introdução a Programação - 00 - Sobre o Curso - É Válido e Atualizado?](https://www.youtube.com/watch?v=_EyRsqA_tKA&list=PLqYboeh3Jru55Yq4J08zsBoOwwwjUtZNA&ab_channel=AlfredBaudisch%28Pardall%29) - [Introdução e configuração do ambiente - Curso programação Lua Language](https://www.youtube.com/watch?v=W_XTAaO8fiU&list=PLFzjIdwnQBMzaq4srTW6ZEvoJLm2TFvOo&ab_channel=KevinSouza) - [Aprenda Lua Comigo #0 - Nosso Primeiro Projeto](https://www.youtube.com/watch?v=BhP4ic8qpUA&list=PL61kTUcYddBOFrp8dBlXfRz2Buld6Xx9m&ab_channel=Glider) - [Aprenda Lua em 20 minutos!](https://www.youtube.com/watch?v=qxoMNzpI_2A&list=PLGVGJmkQU-wd64WNnMVI1Vy9dmpfHDzrH&ab_channel=Luaverse) - [Introdução ao curso (Opcional)](https://www.youtube.com/watch?v=O6ZwV0ltNlM&list=PL4iMR_FGApjL5ahV00_MbK0j5c9RShuP3&ab_channel=MilionarioScripter) - [Curso Basico Lua (Capitulo 1)](https://www.youtube.com/watch?v=R3ky9Z786dc&list=PLZKvFeoJSjNnpuiy_ez9PylW8neFp2-gA&ab_channel=MiguelHernandezLiebano) - [Aprenda Lua em 20 minutos!](https://www.youtube.com/watch?v=qxoMNzpI_2A&ab_channel=Luaverse) - [Lua - Dicionário do Programador](https://www.youtube.com/watch?v=35Ib4BR7WZc&ab_channel=C%C3%B3digoFonteTV) > Cursos para aprender Lua em Inglês - [Full Lua Programming Crash Course - Beginner to Advanced](https://www.youtube.com/watch?v=1srFmjt1Ib0&ab_channel=Steve%27steacher) - [Game Development with LÖVE 2D and Lua – Full Course](https://www.youtube.com/watch?v=I549C6SmUnk&ab_channel=freeCodeCamp.org) - [OOP (Object Oriented Programming) - Lua tutorial (Part 15)](https://www.youtube.com/watch?v=xdJZdEAQOEo&ab_channel=Steve%27steacher) - [Lua Tutorial - DerekBanas](https://www.youtube.com/watch?v=iMacxZQMPXs&ab_channel=DerekBanas) - [Introduction to the Lua Programming Language - Lua Tutorial (Part 1)](https://www.youtube.com/watch?v=PW8NRGAZQs8&list=PLYBJzqz8zpWavt37pA6NANJTGStIHpybU&ab_channel=Steve%27steacher) - [Introdução a Programação - 00 - Sobre o Curso - É Válido e Atualizado?](https://www.youtube.com/watch?v=_EyRsqA_tKA&list=PLqYboeh3Jru55Yq4J08zsBoOwwwjUtZNA&ab_channel=AlfredBaudisch%28Pardall%29) - [Aprendendo Lua: um histórico rápido e primeiros passos com ferramentas de script Lua](https://www.youtube.com/watch?v=-iU1pCgmjx4&list=PLxgtJR7f0RBKGid7F2dfv7qc-xWwSee2O&ab_channel=BurtonsMediaGroup) - [Lua Introduction](https://www.youtube.com/watch?v=jwn1Vkez7og&list=PLysdvSvCcUhZ3d2AEF4XVAdAyQSBxLNRT&ab_channel=IndronilBanerjee) - [Lua Programming Tutorials - 1 - Downloading and Installing Lua IDE](https://www.youtube.com/watch?v=R2ozVV61qBQ&list=PLd43cTxFZWlc7vTG-3TgMhfZU6o-7pyLD&ab_channel=TutorialswithGanofins) ## 🐪 Sites e cursos para aprender Perl > Cursos para aprender Perl em Português - [Curso Perl - Alder Pinto](https://www.youtube.com/playlist?list=PLE1HNzXaOep0RJIQoWA9_-OPg4WUbjQUZ) - [Curso de Perl - Perfil Antigo](https://www.youtube.com/playlist?list=PLBDxU1-FpoohxqH3XfnqTqLCxTj8dz5sI) > Cursos para aprender Perl em Espanhol - [Tutorial de Perl en Español](https://www.youtube.com/playlist?list=PLjARR1053fYmN9oYz-H6ZI1fOkrjLz6L2) - [Curso de Perl en Español](https://www.youtube.com/playlist?list=PL8qgaJWZ7bGJPlIvAFbq8fKrFogUEJ3AJ) - [Curso Perl - David Elí Tupac](https://www.youtube.com/playlist?list=PL2FOMZ1Ba3plgMbgLlxE-8IXi7oIlkdVp) > Cursos para aprender Perl em Inglês - [Perl Online Training](https://www.youtube.com/playlist?list=PLWPirh4EWFpE0UEJPQ2PUeXUfvJDhPqSD) - [Perl Enough to be dangerous](https://www.youtube.com/watch?v=c0k9ieKky7Q&ab_channel=NedDev) - [Perl Tutorials](https://www.youtube.com/playlist?list=PL_RGaFnxSHWpqRBcStwV0NwMA3nXMh5GC) - [Perl Tutorial: Basics to Advanced](https://www.youtube.com/playlist?list=PL1h5a0eaDD3rTG1U7w9wmff6ZAKDN3b16) - [Perl Programming](https://www.youtube.com/playlist?list=PL5eJgcQ87sgcXxN8EG7RUGZ_kTDUDwYX9) - [Perl Scripting Tutorial Videos](https://www.youtube.com/playlist?list=PL9ooVrP1hQOH9R0GR6yFteE4XWbsYNLga) ## 🐧 Sites e cursos para aprender Linux > Sites para aprender Linux - [Tecmint](https://www.tecmint.com/) - [Linuxize](https://linuxize.com/) - [nixCraft](https://www.cyberciti.biz/) - [It's FOSS](https://itsfoss.com/) - [Linux Hint](https://linuxhint.com/) - [FOSS Linux](https://www.fosslinux.com/) - [LinuxOPsys](https://linuxopsys.com/) - [Linux Journey](https://linuxjourney.com/) - [Linux Command](https://linuxcommand.org/) - [Linux Academy](https://linuxacademy.org/) - [Linux Survival](https://linuxsurvival.com/) - [Linux Handbook](https://linuxhandbook.com/) - [Ryan's Tutorials](https://ryanstutorials.net/) - [LinuxFoundationX](https://www.edx.org/school/linuxfoundationx) - [LabEx Linux For Noobs](https://labex.io/courses/linux-for-noobs) - [Conquering the Command Line](http://conqueringthecommandline.com/) - [Guru99 Linux Tutorial Summary](https://www.guru99.com/unix-linux-tutorial.html) - [Eduonix Learn Linux From Scratch](https://www.eduonix.com/courses/system-programming/learn-linux-from-scratch) - [TLDP Advanced Bash Scripting Guide](https://tldp.org/LDP/abs/html/) - [The Debian Administrator's Handbook](https://debian-handbook.info/) - [Cyberciti Bash Shell Scripting Tutorial](https://bash.cyberciti.biz/guide/Main_Page) - [Digital Ocean Getting Started With Linux](https://www.digitalocean.com/community/tutorial_series/getting-started-with-linux) - [Learn Enough Command Line To Be Dangerous](https://www.learnenough.com/command-line-tutorial) > Cursos para aprender Linux em Português - [Curso de Linux - Primeiros Passos](https://www.youtube.com/playlist?list=PLHz_AreHm4dlIXleu20uwPWFOSswqLYbV) - [Curso de Linux Básico / Certificação LPIC - 1](https://www.youtube.com/playlist?list=PLucm8g_ezqNp92MmkF9p_cj4yhT-fCTl7) - [Curso de Linux - Matheus Battisti](https://www.youtube.com/playlist?list=PLnDvRpP8BnezDTtL8lm6C-UOJZn-xzALH) - [Curso GNU/Linux - Paulo Kretcheu](https://www.youtube.com/playlist?list=PLuf64C8sPVT9L452PqdyYCNslctvCMs_n) - [Curso completo de Linux desde cero para principiantes](https://www.youtube.com/playlist?list=PL2Z95CSZ1N4FKsZQKqCmbylDqssYFJX5A) - [Curso de Linux Avançado Terminal](https://www.youtube.com/playlist?list=PLGw1E40BSQnRZufbzjGVzkH-O8SngPymp) - [Curso Grátis Linux Ubuntu Desktop](https://www.youtube.com/playlist?list=PLozhsZB1lLUMHaZmvczDWugUv9ldzX37u) - [Curso Kali Linux - Daniel Donda](https://www.youtube.com/playlist?list=PLPIvFl3fAVRfzxwHMK1ACl9m4GmwFoxVz) - [Curso Grátis Linux Ubuntu Server 18.04.x LTS](https://www.youtube.com/playlist?list=PLozhsZB1lLUOjGzjGO4snI34V0zINevDm) - [Curso de Linux Ubuntu - Portal Hugo Cursos](https://www.youtube.com/playlist?list=PLxNM4ef1Bpxh3gfTUfr3BGmfuLUH4L-5Z) - [Cursos de Linux - Playlist variada com 148 vídeos](https://www.youtube.com/playlist?list=PLreu0VPCNEMQJBXmyptwC5gDGGGnQnu_u) - [Curso de Linux Básico para Principiantes 2021](https://www.youtube.com/playlist?list=PLG1hKOHdoXktPkbN_sxqr1fLqDle8wnOh) - [Revisão Certificação Linux Essentials](https://www.youtube.com/playlist?list=PLsBCFv4w3afsg8QJnMwQbFGumLpwFchc-) - [Curso completo de Linux do zero - ProfeSantiago](https://www.youtube.com/playlist?list=PLbcS-eIZbbxUqcd3Kr74fo46HzfnYpMqc) > Cursos para aprender Linux em Inglês - [The Linux Basics Course: Beginner to Sysadmin, Step by Step](https://www.youtube.com/playlist?list=PLtK75qxsQaMLZSo7KL-PmiRarU7hrpnwK) - [Linux for Hackers (and everyone)](https://www.youtube.com/playlist?list=PLIhvC56v63IJIujb5cyE13oLuyORZpdkL) - [Linux Command Line Tutorial For Beginners](https://www.youtube.com/playlist?list=PLS1QulWo1RIb9WVQGJ_vh-RQusbZgO_As) - [Linux Crash Course](https://www.youtube.com/playlist?list=PLT98CRl2KxKHKd_tH3ssq0HPrThx2hESW) - [The Complete Kali Linux Course: Beginner to Advanced](https://www.youtube.com/playlist?list=PLYmlEoSHldN7HJapyiQ8kFLUsk_a7EjCw) - [Linux Online Training](https://www.youtube.com/playlist?list=PLWPirh4EWFpGsim4cuJrh9w6-yfuC9XqI) - [CompTIA Linux+ XK0-004 Complete Video Course](https://www.youtube.com/playlist?list=PLC5eRS3MXpp-zlq64CcDfzMl2hO2Wtcl0) - [LPI Linux Essentials (010-160 Exam Prep)](https://www.youtube.com/playlist?list=PL78ppT-_wOmvlYSfyiLvkrsZTdQJ7A24L) - [Complete Linux course for beginners in Arabic](https://www.youtube.com/playlist?list=PLNSVnXX5qE8VOJ6BgMytvgFpEK2o4sM1o) - [Linux internals](https://www.youtube.com/playlist?list=PLX1h5Ah4_XcfL2NCX9Tw4Hm9RcHhC14vs) - [The Complete Red Hat Linux Course: Beginner to Advanced](https://www.youtube.com/playlist?list=PLYmlEoSHldN6W1w_0l-ta8oKzGWqCcq63) - [Linux for Programmers](https://www.youtube.com/playlist?list=PLzMcBGfZo4-nUIIMsz040W_X-03QH5c5h) - [Kali Linux: Ethical Hacking Getting Started Course](https://www.youtube.com/playlist?list=PLhfrWIlLOoKMe1Ue0IdeULQvEgCgQ3a1B) - [Linux Masterclass Course - A Complete Tutorial From Beginner To Advanced](https://www.youtube.com/playlist?list=PL2kSRH_DmWVZp_cu6MMPWkgYh7GZVFS6i) - [Unix/Linux Tutorial Videos](https://www.youtube.com/playlist?list=PLd3UqWTnYXOloH0vWBs4BtSbP84WcC2NY) - [Linux Administration Tutorial Videos](https://www.youtube.com/playlist?list=PL9ooVrP1hQOH3SvcgkC4Qv2cyCebvs0Ik) - [Linux Tutorials | GeeksforGeeks](https://www.youtube.com/playlist?list=PLqM7alHXFySFc4KtwEZTANgmyJm3NqS_L) - [Linux Operating System - Crash Course for Beginners](https://www.youtube.com/watch?v=ROjZy1WbCIA&ab_channel=freeCodeCamp.org) - [The Complete Linux Course: Beginner to Power User](https://www.youtube.com/watch?v=wBp0Rb-ZJak&ab_channel=JosephDelgadillo) - [The 50 Most Popular Linux & Terminal Commands - Full Course for Beginners](https://www.youtube.com/watch?v=ZtqBQ68cfJc&ab_channel=freeCodeCamp.org) - [Linux Server Course - System Configuration and Operation](https://www.youtube.com/watch?v=WMy3OzvBWc0&ab_channel=freeCodeCamp.org) - [Linux Tutorial for Beginners - Intellipaat](https://www.youtube.com/watch?v=4ZHvZge1Lsw&ab_channel=Intellipaat) ## 🦥 Sites e cursos para aprender Ionic > Cursos para aprender Ionic em Português - [Ionic - Dicionário do Programador](https://www.youtube.com/watch?v=5QqvO_9LPzQ&ab_channel=C%C3%B3digoFonteTV) - [Curso Ionic Completo 2022 [Iniciantes] + Desafios + Criando um Aplicativo!](https://www.youtube.com/watch?v=gEVYAdwDHwg&t=5894s&ab_channel=WhileTrue) - [Conhecendo o Ionic Framework](https://www.youtube.com/watch?v=HUBg2VTYRPo&list=PLuXkauUmG1ZH7iJfW5GpAKAQTo_NL5PZ7&ab_channel=RonanAdrielZenatti) - [Introdução ao Ionic](https://www.youtube.com/watch?v=qr9jS-ZrWpo&list=PLfhMD9jnhSMny0jU_azpnLhvsPWsvRv0q&ab_channel=JulianaCristinadosSantos) - [Curso de Ionic 6 - Aula 01 - Aplicativos Android e IOS](https://www.youtube.com/watch?v=mMQbYiHy59Q&list=PLxNM4ef1BpxgBAqQsMHhwBH6EmwQOD7Rq&ab_channel=PortalHugoCursos) - [Curso - Desenvolvimento de apps com Ionic | 01 - Apresentação](https://www.youtube.com/watch?v=xABQOK5vFZQ&list=PLVG76XkqmT1-a738T809H1xPMONh910Dl&ab_channel=JardelGarcia) - [Ionic 6 com Mysql - Aula 01 - Aplicativos Mobile](https://www.youtube.com/watch?v=ZYM9FYKTDnA&list=PLxNM4ef1BpxirvhqM-E96LdFPlDU8Wg6w&ab_channel=PortalHugoCursos) - [Ionic 3 Essencial - 1 Introdução](https://www.youtube.com/watch?v=kx7f_5IJXY8&list=PLswa9HeoJUq_Dphg3w1TwqBMgruzRCwIO&ab_channel=CodeExperts) - [Desenvolvimento de Aplicativos - Aula 01 - Introdução ao Curso](https://www.youtube.com/watch?v=hz7-z9JGQFw&list=PLxNM4ef1BpxgA3RP3L3Y___xZPc1g2h-5&ab_channel=PortalHugoCursos) - [Criando Aplicativos com Ionic | Preparação do Ambiente | Aula 1](https://www.youtube.com/watch?v=eb5i6nus8vo&list=PLxIWikUsH2nSlBxyxEEgVUTBRYbDWmFC9&ab_channel=Programa%C3%A7%C3%A3odeQuinta) - [Curso de Ionic - Aula 01 - Desenvolvimento de Aplicativos](https://www.youtube.com/watch?v=fOO6D1lb0OQ&list=PLxNM4ef1BpxgcK0J97u3aSJo30UIfpbNN&ab_channel=PortalHugoCursos) - [Ionic #01 - INSTALANDO e criando o PRIMEIRO PROJETO](https://www.youtube.com/watch?v=y2hBKxJhfGM&list=PLuUvvidbi-uCGT4LycMif1VVNhC-ZF-pi&ab_channel=SthefaneSoares-VidaPrograma%C3%A7%C3%A3o) - [Ionic COM MYSQL E PHP - AULA 01 - INTRODUÇÃO AO CURSO](https://www.youtube.com/watch?v=k_VbSstZ52A&list=PLSEfgw3tr7tPtncnFpMEymvVFNiRY3OpZ&ab_channel=GliderSI) > Cursos para aprender Ionic em Inglês - [How to Build Your First Ionic 6 App with API Calls](https://www.youtube.com/watch?v=y_vwf15eADs&ab_channel=SimonGrimm) - [Ionic 4 & Angular Tutorial For Beginners - Crash Course](https://www.youtube.com/watch?v=r2ga-iXS5i4&ab_channel=Academind) - [Ionic Framework 4 - Full Tutorial - iOS / Android App Development](https://www.youtube.com/watch?v=AvbuIRg8_Jg&ab_channel=freeCodeCamp.org) - [How to create your first mobile app using Ionic Angular](https://www.youtube.com/watch?v=whnA4Eod3xo&ab_channel=CodeSwag) - [Ionic Framework explained in 60 seconds](https://www.youtube.com/watch?v=iLLXfPwrtj0&ab_channel=AlanMontgomery) - [Building a Deliveroo Food Ordering UI with Ionic](https://www.youtube.com/watch?v=82iWIKejaiQ&ab_channel=SimonGrimm) - [Ionic 5 Tutorial #1 - Welcome to Ionic 5 For Beginners](https://www.youtube.com/watch?v=PExk4luoBiE&list=PLQfqQHJBFM18zcPVbRUIuJYCnytKG4oSn&ab_channel=ZinoTrustAcademy) - [Ionic Tutorial #1 - Overview, installation and creating the project](https://www.youtube.com/watch?v=5Gj4Y8zvl-s&list=PLlyAM-8-I7S9iNcZRfP4SQJhm4Mw5q5ku&ab_channel=ITwithPauloAlves) - [ionic 4+: Search Bar - Módulos - Filtros](https://www.youtube.com/watch?v=T5pdU0s4J6w&list=PLWmEuj970qeGbjM8NU0kdmU7Iydve81gC&ab_channel=FernandoHerrera) - [Ionic Framework Tutorial 1: Create Mobile Apps Using Ionic (Intro)](https://www.youtube.com/watch?v=0jamhGf-8ww&list=PLYxzS__5yYQljbuGjaeugpqs9U07gS5P5&ab_channel=codedamn) - [Ionic 6+ ALL IN 1 DELIVERY APP UI | EPISODE 01 - HOME SCREEN](https://www.youtube.com/watch?v=FOnsC9pXbqc&list=PLixvNT19uDK7pO5KLKqTFf7QxY2lgqN2L&ab_channel=CodingTechnyks) - [#1: Introduction - Ionic 5 / React / Firebase](https://www.youtube.com/watch?v=BX9bSrfwy7Y&list=PLYxzS__5yYQkxcATbHyMA6wfEinKL6jPD&ab_channel=codedamn) - [This app is amazing | App Review | Ionic, ReactJS, Flutter](https://www.youtube.com/watch?v=J8mSfAQvzJc&list=PLNFwX8PVq5q5K_ztYB5umsEu9p6SOQQSb&ab_channel=SimonGrimm) ## 🦦 Sites e cursos para aprender Jira > Cursos para aprender Jira em Português - [Curso Jira Software básico](https://www.youtube.com/playlist?list=PL7NDvV6PnYODio6jp-dYLXPL8SQHzTJxy) - [Jira Software 2022: Básico de Jira para Devs, POs e SMs](https://www.youtube.com/watch?v=642AqqkpgRA&ab_channel=Moxie-EspecialistasemJira) - [Jira Software - Visão Geral ( Tutorial Simples e Completo do Jira Software )](https://www.youtube.com/watch?v=o7tbOHcNQuQ&ab_channel=Moxie-EspecialistasemJira) - [Básico de Jira para Devs, POs e SMs](https://www.youtube.com/watch?v=SbHfEMYKXgA&ab_channel=LuizTools) > Cursos para aprender Jira em Inglês - [Jira Training | Jira Tutorial for Beginners | Jira Course | Intellipaat](https://www.youtube.com/watch?v=uM_m6EzMg3k&ab_channel=Intellipaat) - [How to Get A Jira Certification | Atlassian Jira](https://www.youtube.com/watch?v=UfiM2Ob1Jmc&ab_channel=ApetechTechTutorials) - [Jira Tutorial for Beginners: Jira Project Management](https://www.youtube.com/watch?v=nHuhojfjeUY&ab_channel=SimonSezIT) - [Jira Full Course 4 hours | Jira Tutorial For Beginners | Jira Training | Intellipaat](https://www.youtube.com/watch?v=fhAcJ6Gv1ko&ab_channel=Intellipaat) - [How To Use Jira Software For Beginners | Jira Project Management Software (2023)](https://www.youtube.com/watch?v=aP7W7zNTM2I&ab_channel=TutorialsbyManizha%26Ryan) ## 🦫 Sites e cursos para aprender Rust > Cursos para aprender Rust em Português - [Introdução a linguagem Rustlang | Aprenda Rust | 01](https://www.youtube.com/watch?v=zWXloY0sslE&ab_channel=BrunoRocha-CodeShow) - [Rust Lang (A Linguagem Mais AMADA de Todas) // Dicionário do Programador](https://www.youtube.com/watch?v=gA-hmH83XHc&ab_channel=C%C3%B3digoFonteTV) - [Curso rust [ 01 ] - instalação do rustup](https://www.youtube.com/watch?v=K6L43dl9frY&list=PLGtFJAmtESz-V5p-svTX34bGQvNuXEpHE&ab_channel=LinguagemRust) - [bem vindo ao curso em rust](https://www.youtube.com/watch?v=Hizsjpi66D8&list=PLWmXJQDlXOHX6UdAmXv6euoqDPUtMLpJf&ab_channel=Lanby%CE%BB) > Cursos para aprender Rust em Inglês - [Rust Tutorial Full Course](https://www.youtube.com/watch?v=ygL_xcavzQ4&ab_channel=DerekBanas) - [Why You SHOULDN'T Learn Rust](https://www.youtube.com/watch?v=kOFWIvNowXo&ab_channel=Theo-t3%E2%80%A4gg) - [Rust Programming Course for Beginners - Tutorial](https://www.youtube.com/watch?v=MsocPEZBd-M&ab_channel=freeCodeCamp.org) - [Rust Programming Tutorial #1 - Hello World | Getting Started with Rust](https://www.youtube.com/watch?v=vOMJlQ5B-M0&list=PLVvjrrRCBy2JSHf9tGxGKJ-bYAN_uDCUL&ab_channel=dcode) - [Chapter 1 - Intro - Rust Crash Course](https://www.youtube.com/watch?v=ZxozvCT0oZw&list=PL6yRaaP0WPkWRsXJgdnw9lj1vchAaKwfS&ab_channel=VandadNahavandipoor) - [Learning Rust From Zero to Hero! - Episode 1](https://www.youtube.com/watch?v=tuRQ1URwvhI&list=PLhaAGnuDAW8TrWfGhWL26XDuHDf_O5bWv&ab_channel=BendotCodes) - [Learning Rust Together! Going through the Rust Programming book live!](https://www.youtube.com/watch?v=5QsEuoIt7JQ&list=PLSbgTZYkscaoV8me47mKqSM6BBSZ73El6&ab_channel=TomMcGurl) - [50 Rust Projects - New Playlist Announcement](https://www.youtube.com/watch?v=qru3L4BvrOU&list=PL5dTjWUk_cPYuhHm9_QImW7_u4lr5d6zO&ab_channel=AkhilSharma) - [Best FREE Rust Learning Resources](https://www.youtube.com/watch?v=T4E8LSCFHu8&ab_channel=Let%27sGetRusty) - [Introduction to the series [1 of 35] | Rust for Beginners](https://www.youtube.com/watch?v=PpWR6zungUk&list=PLlrxD0HtieHjbTjrchBwOVks_sr8EVW1x&ab_channel=MicrosoftDeveloper) - [Rust Crash Course | Rustlang](https://www.youtube.com/watch?v=zF34dRivLOw&ab_channel=TraversyMedia) - [Rust in 100 Seconds](https://www.youtube.com/watch?v=5C_HPTJg5ek&ab_channel=Fireship) ## 🦭 Sites e cursos para aprender Scala > Cursos para aprender Scala em Português - [Mini Curso Scala Aula 01 - Por que utilizar a linguagem Scala?](https://www.youtube.com/watch?v=WoOZuiM28LI&list=PLRjtXwBVDaEhUXvT9s3f9T8KhzvbNIOBQ&ab_channel=DanielGoncalves) > Cursos para aprender Scala em Inglês - [Scala Tutorial - Scala at Light Speed, Part 1: Getting Started](https://www.youtube.com/watch?v=-8V6bMjThNo&list=PLmtsMNDRU0BxryRX4wiwrTZ661xcp6VPM&ab_channel=RocktheJVM) - [Spark Scala | Spark Tutorial | Scala Tutorial | Spark Scala Full Course | Intellipaat](https://www.youtube.com/watch?v=PzQ3DBrHW-U&ab_channel=Intellipaat) - [Scala Tutorial 1 - Introduction to Scala](https://www.youtube.com/watch?v=LQVDJtfpQU0&list=PLS1QulWo1RIagob5D6kMIAvu7DQC5VTh3&ab_channel=ProgrammingKnowledge) - [Introduction to Scala Basics](https://www.youtube.com/watch?v=iilTz5R_i6E&list=PLWPirh4EWFpFeu4K1gdw2M-97w_5qEpeU&ab_channel=TutorialsPoint) - [Scala Tutorial for Beginners](https://www.youtube.com/watch?v=OfngvXKNkpM&ab_channel=ProgrammingKnowledge) - [Apache Spark Tutorial | Spark Tutorial For Beginners | Spark Scala Full Course | Intellipaat](https://www.youtube.com/watch?v=r83NhShrNdw&ab_channel=Intellipaat) - [Scala Crash Course by a Scala Veteran (with some JavaScript flavor)](https://www.youtube.com/watch?v=-xRfJcwhy7A&ab_channel=DevInsideYou) - [Why Scala? | An introduction by Adam Warski](https://www.youtube.com/watch?v=t7SOXNJVbJo&ab_channel=SoftwareMill) - [Scala Tutorial 1 Why Scala ( हिन्दी)](https://www.youtube.com/watch?v=xw9N8CQo5JI&list=PLgPJX9sVy92wUdX7uVMgEzREgJrXiRdUC&ab_channel=CSGeeks) - [Scala Tutorial Full Course](https://www.youtube.com/watch?v=i9o70PMqMGY&ab_channel=Telusko) - [Scala Tutorial](https://www.youtube.com/watch?v=DzFt0YkZo8M&ab_channel=DerekBanas) - [Scala 3 & Functional Programming Essentials Course: An Overview of Scala](https://www.youtube.com/watch?v=Rp2b7pgXxFY&ab_channel=RocktheJVM) - [Functional Programming Crash Course for Scala Beginners](https://www.youtube.com/watch?v=XXkYBncbz0c&ab_channel=DevInsideYou) - [Scala Programming Tutorial | Learn Scala programming | Scala language](https://www.youtube.com/watch?v=pDq06gwJnLk&ab_channel=ProgrammingKnowledge) ## 🦝 Sites e cursos para aprender Nuxt.js > Cursos para aprender Nuxt.js em Português [Curso gratuito de Nuxt.js 2 #1 - Introdução e instalação](https://www.youtube.com/watch?v=jw6tRUGkpmo&ab_channel=TiagoMatos)[ [Nuxtjs para iniciantes - Dando um boost no seu desenvolvimento Vue js](https://www.youtube.com/watch?v=mJLeZWl71cA&ab_channel=TiagoMatos)[ [Nuxt.js (O Melhor Companheiro do Vue.js) // Dicionário do Programador](https://www.youtube.com/watch?v=l2y8oYqNV8I&ab_channel=C%C3%B3digoFonteTV)[ [Nuxt Levue Week (NLW) #01 - Introdução e Configuração (Vue, Nuxt, TypeScript e TailwindCSS)](https://www.youtube.com/watch?v=VbkFOWw4yeY&ab_channel=Frontverso)[ [Nuxt.JS: Conhecendo o Framework](https://www.youtube.com/watch?v=CZ6Qbn80h4k&ab_channel=PabloCodes) > Cursos para aprender Nuxt.js em Inglês - [Getting Started with Nuxt 3 | A Beginners Guide](https://www.youtube.com/watch?v=KHF4JdcF4JA&ab_channel=VueMastery) - [What is Nuxt js? | One Dev Question](https://www.youtube.com/watch?v=og_2HLjgD0E&ab_channel=MicrosoftDeveloper) - [Learn NuxtJS Tutorial for Beginners | Udemy Instructor, Maximilian Schwarzmüller](https://www.youtube.com/watch?v=PVMOQrdEjB0&ab_channel=Udemy) - [Nuxt JS Crash Course](https://www.youtube.com/watch?v=Wdmi4k7sFzU&ab_channel=LaithAcademy) - [Nuxt JS beginner tutorial - In Depth Intro to Nuxt.js | SPA, SSR, Static Site, Vue.js Family](https://www.youtube.com/watch?v=YjmLFdXiCJU&list=PLe30vg_FG4OQihO5an0tNT_dpkxig8iPz&ab_channel=Bitfumes) - [Nuxt 3 Crash Course #1 - What is Nuxt?](https://www.youtube.com/watch?v=GBdO5myZNsQ&ab_channel=TheNetNinja) - [Nuxt 3 full course build and deploy | #Nuxtjs #vue #nuxt3](https://www.youtube.com/watch?v=5dQMQ1BwUyc&ab_channel=Bitfumes) - [Next.js Tutorial - 1 - Introduction](https://www.youtube.com/watch?v=9P8mASSREYM&list=PLC3y8-rFHvwgC9mj0qv972IO5DmD-H0ZH&ab_channel=Codevolution) - [Mastering Nuxt JS Course](https://www.youtube.com/watch?v=sS9pkLlZ96E&ab_channel=AcademiaDigital) - [The Nuxt 3 Crash Course](https://www.youtube.com/watch?v=dZC4T4UiU1c&ab_channel=LaithAcademy) - [Nuxt JS For Beginners! - What is Nuxt and how to use it!?](https://www.youtube.com/watch?v=CBwq_TUL5Fg&ab_channel=TylerPotts) - [Next.js 13 Crash Course | Learn How To Build Full Stack Apps!](https://www.youtube.com/watch?v=T63nY70eZF0&ab_channel=developedbyed) - [Build & Deploy a Movie App With NuxtJS | NuxtJS Crash Course (2021)](https://www.youtube.com/watch?v=IzLIXyZkKAA&ab_channel=JohnKomarnicki) ## 🦎 Sites e cursos para aprender Gulp > Cursos para aprender Gulp em Português - [Gulp - Dicionário do Programador](https://www.youtube.com/watch?v=H_jbU5ClRgc&ab_channel=C%C3%B3digoFonteTV) - [Curso de GulpJS - Módulo I - Plugin Gulp Sass](https://www.youtube.com/watch?v=TEoqa9VSoXA&ab_channel=ProfessorChoren) - [Como Usar o Gulp JS - Tutorial de gulp completo](https://www.youtube.com/watch?v=QobWkb20UEQ&ab_channel=FeatureCode) - [Aula 01 - Curso de Gulp - Introdução](https://www.youtube.com/watch?v=9pZOL5_bTw4&list=PLWhiA_CuQkbD8BiFB0aGkwpqpGjvNM3zC&ab_channel=FilipeMorelliDeveloper) - [Curso de GulpJS - O que é o Gulp? Por que eu deveria utilizá-lo?](https://www.youtube.com/watch?v=LDLPBuGYoqo&ab_channel=ProfessorChoren) - [Aula 01 - Curso de Gulp - Introdução](https://www.youtube.com/watch?v=9pZOL5_bTw4&ab_channel=FilipeMorelliDeveloper) - [Usando Gulp em Arquivos Javascript // Mão no Código #2](https://www.youtube.com/watch?v=jsF1PeCxXqM&ab_channel=C%C3%B3digoFonteTV) - [Trabalhando com GULP | Torne-se um Programador](https://www.youtube.com/watch?v=2kdR2D8EEho&ab_channel=DaniloAparecido-Torne-seumprogramador) - [Grunt vs. Gulp #1 - Qual é o melhor? - Rodrigo Branas](https://www.youtube.com/watch?v=ZG0fSXOKcGM&ab_channel=RodrigoBranas) > Cursos para aprender Gulp em Inglês - [Browsersync + Sass + Gulp in 15 minutes](https://www.youtube.com/watch?v=q0E1hbcj-NI&ab_channel=CoderCoder) - [Gulp JS Crash Course](https://www.youtube.com/watch?v=1rw9MfIleEg&ab_channel=TraversyMedia) - [Curso de GulpJS - Módulo I - Plugin Gulp Sass](https://www.youtube.com/watch?v=TEoqa9VSoXA&ab_channel=ProfessorChoren) - [Gulp 4 Crash Course for Beginners](https://www.youtube.com/watch?v=-lG0kDeuSJk&ab_channel=CoderCoder) - [Gulp.js Crash Course](https://www.youtube.com/watch?v=JDXmbcNYdoU&ab_channel=BalboaCodes) - [Gulp from scratch: Intro - What the hell is Gulp?](https://www.youtube.com/watch?v=oRoy1fJbMls&list=PLriKzYyLb28lp0z-OMB5EYh0OHaKe91RV&ab_channel=AlessandroCastellani) - [Gulp from scratch: Intro - What the hell is Gulp?](https://www.youtube.com/watch?v=oRoy1fJbMls&ab_channel=AlessandroCastellani) - [Full beginner Gulp setup for SCSS, minifying Javascript, and minifying/webp images](https://www.youtube.com/watch?v=ubHwScDfRQA&ab_channel=CodinginPublic) - [Gulp JS Crash Course in Hindi #1 - An Introduction to Gulp](https://www.youtube.com/watch?v=awz6G57aY_c&ab_channel=PortableProgrammer) - [Gulpfile Setup-Automate and Enhance Your Code](https://www.youtube.com/watch?v=CFdzwGb5pBg&ab_channel=Treehouse) - [Gulp.js Tutorial - Getting Started With Gulp js | Sass](https://www.youtube.com/watch?v=8H8E75bkXos&ab_channel=CurlyBraces) - [Essential Gulp Tasks: Introduction](https://www.youtube.com/watch?v=3-WNVccDpKo&ab_channel=EnvatoTuts%2B) - [Gulp v4 - Sass and BrowserSync setup](https://www.youtube.com/watch?v=QgMQeLymAdU&ab_channel=KevinPowell) ## 🐅 Sites e cursos para aprender MongoDB > Cursos para aprender MongoDB em Português - [Curso de MongoDB fundamental | Aprenda MongoDB em 1 hora - 2021](https://www.youtube.com/watch?v=x9tC0eK0GtA&ab_channel=MatheusBattisti-HoradeCodar) - [MongoDB em 15 minutos](https://www.youtube.com/watch?v=j-cjF1GkEMQ&t=475s&ab_channel=CanalTI) - [CRIE UMA API COM NODE.JS EXPRESS MONGODB E MONGOOSE - API RESTFUL](https://www.youtube.com/watch?v=anMK76I2dUA&ab_channel=MatheusBattisti-HoradeCodar) - [MongoDB (O Banco de Dados NoSQL mais Legal) - Dicionário do Programador](https://www.youtube.com/watch?v=4dTI1mVLX3I&ab_channel=C%C3%B3digoFonteTV) - [Curso de MongoDB para iniciantes](https://www.youtube.com/watch?v=u3sVM3viDtQ&list=PLxuFqIk29JL0DMM0Z-S9_XEHAexXvhYyb&ab_channel=NatanielPaivaOficial) - [O que é Node.js? - Curso - Aula Grátis #01](https://www.youtube.com/watch?v=irrkH6VII78&list=PLsGmTzb4NxK0_CENI1ThoFUNeyIgsZ32V&ab_channel=LuizTools) - [Mongodb - Introdução](https://www.youtube.com/watch?v=3z90A7VBF4Y&list=PL4Sl6eAbMK7RsS4Q8tSHTlOIaUmTG9eRS&ab_channel=Zurubabel) - [Introdução NoSQL e MongoDB](https://www.youtube.com/watch?v=kedLyo95fGU&list=PLyqlZW5s3wkoMhARQKp3s4YtaeKucb0Xj&ab_channel=RicardoLeme) > Cursos para aprender MongoDB em Inglês - [MongoDB Crash Course](https://www.youtube.com/watch?v=ofme2o29ngU&ab_channel=WebDevSimplified) - [MongoDB Tutorial For Beginners | Full Course](https://www.youtube.com/watch?v=Www6cTUymCY&ab_channel=Amigoscode) - [Complete MongoDB Tutorial #1 - What is MongoDB?](https://www.youtube.com/watch?v=ExcRbA7fy_A&list=PL4cUxeGkcC9h77dJ-QJlwGlZlTd4ecZOA&ab_channel=TheNetNinja) - [MongoDB course 2022 | MongoDB tutorial](https://www.youtube.com/watch?v=9cWm74DteMQ&ab_channel=Bitfumes) - [MongoDB Tutorial | MongoDB Full Course | MongoDB | MongoDB Tutorial For Beginners | Simplilearn](https://www.youtube.com/watch?v=lBBtq3Oawqw&ab_channel=Simplilearn) - [Course Structure and Projects](https://www.youtube.com/watch?v=VI9TP-_7X1E&list=PLx6gGOAOEqGHqDaIjFhwnojD4Lhf4kU_N&ab_channel=ITServices%26Consulting) - [How to install MongoDB 6.0.3 on Windows 11 | Install MongoDB 6.0.3 & Mongo Shell | MongoDB Tutorial](https://www.youtube.com/watch?v=1y5sAnn0ans&list=PLSDyGb_vtanyZbsI9coZHdBNoD1ZVJn7E&ab_channel=CSCORNERSunitaRai) - [Diagnostic Thinking Course - MongoDB University](https://www.youtube.com/watch?v=9D900FFuivw&list=PL4RCxklHWZ9tDjU4TEEGof955v8JS0oet&ab_channel=MongoDB) - [Introduction to MongoDB | Fundamentals of MongoDB | Complete MongoDB Course 2022](https://www.youtube.com/watch?v=l7Psw5frLwk&list=PL1BztTYDF-QM6KSVfrbSyJNTU9inyBqYF&ab_channel=procademy) - [Complete MongoDB Tutorial #25 - MongoDB Atlas](https://www.youtube.com/watch?v=084rmLU1UgA&ab_channel=TheNetNinja) - [MongoDB Tutorial For Beginners #1 - Introduction](https://www.youtube.com/watch?v=Ya0H-7A5cE4&list=PLp50dWW_m40UWFSV6PTgYzciZJIxgHy7Q&ab_channel=ARCTutorials) - [MongoDB In 30 Minutes](https://www.youtube.com/watch?v=pWbMrx5rVBE&ab_channel=TraversyMedia) - [MongoDB Crash Course 2022](https://www.youtube.com/watch?v=2QQGWYe7IDU&ab_channel=TraversyMedia) - [MongoDB in 100 Seconds](https://www.youtube.com/watch?v=-bt_y4Loofg&ab_channel=Fireship) - [Complete MongoDB Tutorial #1 - What is MongoDB?](https://www.youtube.com/watch?v=ExcRbA7fy_A&ab_channel=TheNetNinja) ## 🦩 Sites e cursos para aprender GraphQL > Cursos para aprender GraphQL em Português - [Fundamentos do GraphQL na prática (Node.js + React) | Decode 019](https://www.youtube.com/watch?v=6SZOPKs9SUg&t=2851s&ab_channel=Rocketseat) - [GraphQL no Node.js do ZERO criando 2 apps completos](https://www.youtube.com/watch?v=1dz48pReq_c&ab_channel=Rocketseat) - [Curso COMPLETO de GraphQL #1: Introdução | O Que é ? | O Que veio resolver?](https://www.youtube.com/watch?v=RyqLvFhPNy8&list=PLK5FPzMuRKlyeZYiJNA54j4lpfxHGlz0j&ab_channel=WashingtonDeveloper) - [GraphQL // Dicionário do Programador](https://www.youtube.com/watch?v=xbLpIhCsIdg&ab_channel=C%C3%B3digoFonteTV) - [Modern GraphQL Crash Course - 2022](https://www.youtube.com/watch?v=qux4-yWeZvo&ab_channel=LaithAcademy) - [O que é GraphQL? com Juliana Amoasei | #HipstersPontoTube](https://www.youtube.com/watch?v=trf3ZR_K1nk&ab_channel=AluraCursosOnline) - [Entendendo GraphQL](https://www.youtube.com/watch?v=x6TwzA2yh08&ab_channel=DevPleno) - [GraphQL: O mínimo que um Full Cycle Developer precisa saber. feat: Rodrigo Branas](https://www.youtube.com/watch?v=NJsSsLmQPN4&ab_channel=FullCycle) - [Apresentação do Projeto - Aprenda NextJS, GraphQL na prática!](https://www.youtube.com/watch?v=WOqF_pSzyvQ&list=PLlAbYrWSYTiPlXj6USip_lCPzONUATJbE&ab_channel=WillianJusten) > Cursos para aprender GraphQL em Inglês - [Modern GraphQL Crash Course - 2022](https://www.youtube.com/watch?v=qux4-yWeZvo&ab_channel=LaithAcademy) - [GraphQL Explained in 100 Seconds](https://www.youtube.com/watch?v=eIQh02xuVw4&t=9s&ab_channel=Fireship) - [What Is GraphQL? | GraphQL Course For Beginners Ep. 1](https://www.youtube.com/watch?v=16bHGKe1QqY&list=PLpPqplz6dKxXICtNgHY1tiCPau_AwWAJU&ab_channel=PedroTech) - [GraphQL Full Course - Novice to Expert](https://www.youtube.com/watch?v=ed8SzALpx1Q&ab_channel=freeCodeCamp.org) - [GraphQL Tutorial #1 - Introduction to GraphQL](https://www.youtube.com/watch?v=Y0lDGjwRYKw&list=PL4cUxeGkcC9iK6Qhn-QLcXCXPQUov1U7f&ab_channel=TheNetNinja) - [Spring Tips: Spring for GraphQL: the GraphQL Java Engine](https://www.youtube.com/watch?v=gvIqFDNGgwU&list=PLgGXSWYM2FpNRPDQnAGfAHxMl3zUG2Run&ab_channel=SpringDeveloper) - [What is GraphQL?](https://www.youtube.com/watch?v=wfBeEn8d-8A&list=PL3eAkoh7fypqxiqDq9OQGm3aJO7dZjSBI&ab_channel=PragmaticReviews) - [GraphQL Mesh as a Gateway](https://www.youtube.com/watch?v=fhTg5wPU5LY&list=PLs2PzMqLzi7UPExN1rjpaDlXMVZQTxeDm&ab_channel=JamieBarton) - [GraphQL Crash Course With Full Stack MERN Project](https://www.youtube.com/watch?v=BcLNfwF04Kw&ab_channel=TraversyMedia) - [Learn GraphQL In 40 Minutes](https://www.youtube.com/watch?v=ZQL7tL2S0oQ&ab_channel=WebDevSimplified) - [Learn GraphQL in 4 Hours - From Beginner to Expert](https://www.youtube.com/watch?v=yqWzCV0kU_c&ab_channel=PedroTech) - [GraphQL & Apollo server full course](https://www.youtube.com/watch?v=VaN6_yDTcNs&ab_channel=Bitfumes) - [GraphQL Crash course | easy way](https://www.youtube.com/watch?v=_Zss2Mbz4Bs&ab_channel=HiteshChoudhary) - [Spring Boot GraphQL Tutorial #1 - Introduction, Dependencies, IDE Setup](https://www.youtube.com/watch?v=nju6jFW8CVw&list=PLiwhu8iLxKwL1TU0RMM6z7TtkyW-3-5Wi&ab_channel=PhilipStarritt) - [The BEST GraphQL Course on Planet! | GraphQL for Beginners](https://www.youtube.com/watch?v=YJMSlR9z5Zw&ab_channel=codedamn) - [GraphQL Crash Course](https://www.youtube.com/watch?v=CFrKTrMJIBY&ab_channel=LaithAcademy) - [React With GraphQL (Apollo Client) Crash Course](https://www.youtube.com/watch?v=gAbIQx26wSI&ab_channel=LaithAcademy) ## 🦙 Sites e cursos para aprender Cassandra > Cursos para aprender Cassandra em Português - [Modelagem de dados com Cassandra - Cassandra Day Brasil 2022](https://www.youtube.com/watch?v=4vnqakN5HEw&ab_channel=DataStaxDevelopers) - [Apache Cassandra Training | Apache Cassandra Tutorial | Apache Cassandra Course | Intellipaat](https://www.youtube.com/watch?v=47Us3i_XetI&ab_channel=Intellipaat) - [Curso de Apache Cassandra](https://www.youtube.com/watch?v=Vr6CokWVCkQ&ab_channel=OpenWebinars) - [Tudo sobre Apache Cassandra](https://www.youtube.com/watch?v=FbluLZmHmPI&ab_channel=KeepCoding-TechSchool) - [Instalando e trabalhando com banco de dados Cassandra](https://www.youtube.com/watch?v=ngY3QRJPVwU&ab_channel=EduardodeBastianiMior) - [Apache Cassandra - Armazenando Grandes Bases de Dados](https://www.youtube.com/watch?v=1oz4ZmBRmzk&ab_channel=InstitutoInfnet) > Cursos para aprender Cassandra em Inglês - [Apache Cassandra - Tutorial 1 - Introduction to Apache Cassandra](https://www.youtube.com/watch?v=s1xc1HVsRk0&list=PLalrWAGybpB-L1PGA-NfFu2uiWHEsdscD&ab_channel=jumpstartCS) - [Apache Cassandra Training | Apache Cassandra Tutorial | Apache Cassandra Course | Intellipaat](https://www.youtube.com/watch?v=47Us3i_XetI&ab_channel=Intellipaat) - [Apache Cassandra Database – Full Course for Beginners](https://www.youtube.com/watch?v=J-cSy5MeMOA&ab_channel=freeCodeCamp.org) - [Intro to Cassandra - Cassandra Fundamentals](https://www.youtube.com/watch?v=YjYWsN1vek8&list=PL2g2h-wyI4SqCdxdiyi8enEyWvACcUa9R&ab_channel=DataStaxDevelopers) - [Introduction to Cassandra | Cassandra Tutorial | Cassandra Online Training - Intellipaat](https://www.youtube.com/watch?v=Q7jO0UaH1iU&list=PLVHgQku8Z93762uoAOdAeVfr6gwPUViAt&ab_channel=Intellipaat) - [What is Apache Cassandra? | Apache Cassandra Tutorial | Apache Cassandra Introduction | Edureka](https://www.youtube.com/watch?v=iDhIjrJ7hG0&list=PL9ooVrP1hQOGJ4Yz9vbytkRmLaD6weg8k&ab_channel=edureka%21) - [Introduction To Apache Cassandra Certification Training | Simplilearn](https://www.youtube.com/watch?v=JlZxTmmRdDk&ab_channel=Simplilearn) - [Cassandra Database Crash Course](https://www.youtube.com/watch?v=KZsVSfQVU4I&ab_channel=CodewithIrtiza) ## 🦛 Sites e cursos para aprender SQL Server > Cursos para aprender SQL Server em Português - [SQL SERVER - 01 - SQL Server Express Edition - Instalando no seu computador](https://www.youtube.com/watch?v=OKqpZ6zbZwQ&list=PL7iAT8C5wumpQWB8AFW7CwK2nlzh8ZdP9&ab_channel=AlessandroTrovato) - [Curso SQL Completo 2022 [Iniciantes] + Desafios + Muita Prática](https://www.youtube.com/watch?v=G7bMwefn8RQ&ab_channel=DevAprender) - [Curso de SQL Server para Iniciantes (Aula 0) - Expectativas e Link para Baixar o SQL Server](https://www.youtube.com/watch?v=X7BUKUoO8ZI&list=PL4OAe-tL47sY7ZzeE8__q_N7BWFOehxug&ab_channel=Zurubabel) > Cursos para aprender SQL Server em Inglês - [SQL Tutorial - Full Database Course for Beginners](https://www.youtube.com/watch?v=HXV3zeQKqGY&t=32s&ab_channel=freeCodeCamp.org) - [SQL Server Tutorial For Beginners | Microsoft SQL Server Tutorial | SQL Server Training | Edureka](https://www.youtube.com/watch?v=-EPMOaV7h_Q&ab_channel=edureka%21) - [Install SQL Server 2019 Step by Step | Developer Edition | Free Software | Install SSMS](https://www.youtube.com/watch?v=7GVFYt6_ZFM&list=PL08903FB7ACA1C2FB&ab_channel=kudvenkat) - [Sql Server tutorial || onlinetraining||Sql Server ||Introduction Part - 1 by Narayana](https://www.youtube.com/watch?v=wt3yuc-rTJA&list=PLd3UqWTnYXOkDmQvCVKsXeoGeocusMP4i&ab_channel=DurgaSoftwareSolutions) - [Advanced Sql Tutorial (001 Welcome to the course)](https://www.youtube.com/watch?v=Fm3fMnbWTGg&list=PLw_k9CF7hBpIFmHUyz2jQ3Fo7yYW9jeol&ab_channel=FreeOnlineCourses) - [Learn SQL Complete | Course Introduction | SQL Full Course | SQL Tutorial For Beginners (0/11)](https://www.youtube.com/watch?v=5FrBJ4PXj2s&list=PLjNd3r1KLjQtFEklcPDhidqC_2lmpjk5H&ab_channel=AnalyticswithNags) - [Introduction of SQL Server | SQL Server Tutorial](https://www.youtube.com/watch?v=eSUG8zZ7DfQ&list=PLVlQHNRLflP8WFEvFvANnUsD2y8HJIJh1&ab_channel=NareshiTechnologies) - [SQL Course | SQL Tutorial For Beginners | Learn SQL | Intellipaat](https://www.youtube.com/watch?v=wkOD6mbXc2M&ab_channel=Intellipaat) ## 🐐 Sites e cursos para aprender Postgree SQL > Cursos para aprender Postgree SQL em Português - [Introdução ao PostgreSQL - Curso de Postgres](https://www.youtube.com/watch?v=Z_SPrzlT4Fc&list=PLucm8g_ezqNoAkYKXN_zWupyH6hQCAwxY&ab_channel=B%C3%B3sonTreinamentos) - [Guia Completo PostgreSQL do Básico ao Avançado | Como importar Banco de Dados Educacional NorthWind?](https://www.youtube.com/watch?v=Wmg_JfwkODU&list=PLDqAb8tE7SQZzMWvPG4PYevQAW1cDsbD0&ab_channel=ProfessorMarcoMaddo) - [Instalando o PostgreSQL e Criando o Primeiro Banco de Dados](https://www.youtube.com/watch?v=L_2l8XTCPAE&ab_channel=HashtagPrograma%C3%A7%C3%A3o) - [Banco de Dados com PostgreSQL - #01 - Introdução](https://www.youtube.com/watch?v=k4wYRoMvBwE&list=PLWd_VnthxxLe660ABLFZH26CW3G-uQIv-&ab_channel=Descompila) - [Curso PostgreSQL #1 Instalando no Ubuntu e Derivados](https://www.youtube.com/watch?v=grJlOnbZYus&list=PLiLrXujC4CW0YEyTxomRYXiyQEzJB4P0l&ab_channel=DanielMoraisInfocotidiano) - [Primeiros Passos no PostgreSQL](https://www.youtube.com/watch?v=l5VXbLNYu2U&ab_channel=HashtagPrograma%C3%A7%C3%A3o) > Cursos para aprender Postgree SQL em Inglês - [Learn PostgreSQL Tutorial - Full Course for Beginners](https://www.youtube.com/watch?v=qw--VYLpxG4&ab_channel=freeCodeCamp.org) - [PostgreSQL: What is a Database | Course | 2019](https://www.youtube.com/watch?v=XQ_6G0iCyMQ&list=PLwvrYc43l1MxAEOI_KwGe8l42uJxMoKeS&ab_channel=Amigoscode) - [PostgreSQL Tutorial Full Course 2022](https://www.youtube.com/watch?v=85pG_pDkITY&ab_channel=DerekBanas) - [PostgreSQL CRASH COURSE - Learn PostgreSQL in 2022](https://www.youtube.com/watch?v=zw4s3Ey8ayo&ab_channel=TroyAmelotte) - [SQL For Beginners Tutorial | Learn SQL in 4.2 Hours | 2021](https://www.youtube.com/watch?v=5hzZtqCNQKk&ab_channel=Amigoscode) - [Learn Database Administration - PostgreSQL Database Administration (DBA) for Beginners](https://www.youtube.com/watch?v=aUfPf-clLLs&ab_channel=DatabasesA2Z) - [PostgreSQL: What is PostreSQL AKA Postrgres | Course | 2019](https://www.youtube.com/watch?v=tzbA7VniRpw&ab_channel=Amigoscode) ## 🐑 Sites e cursos para aprender Delphi > Cursos para aprender Delphi em Português - [O que é o Delphi?](https://www.youtube.com/watch?v=pFni9cj4tqE&list=PLVetaKmuPN9_gBPcyRZ7YinNXsNPSfrwY&ab_channel=AugustoC%C3%A9sar) - [Delphi EM 10 MINUTOS: Tudo Que Você Precisa Saber para Começar!](https://www.youtube.com/watch?v=aTPgBJj6IRc&ab_channel=DevMedia) - [Curso de Delphi 10 Avançado - Aula 01 - Programando com Delphi](https://www.youtube.com/watch?v=6CjoKSzeHHM&list=PLxNM4ef1BpxhAExrORrdjAUhm9krPxc-R&ab_channel=PortalHugoCursos) - [Modelagem do Banco de Dados Inicial - Sistema de Escola Completo - Curso Delphi Gratuito](https://www.youtube.com/watch?v=2bdUJHGtwm4&list=PLVetaKmuPN99zOK1rgvKQV-gKhg96Mo5o&ab_channel=AugustoC%C3%A9sar) - [Curso de Delphi 10 (2017) - Aula 01 - Iniciando na programação](https://www.youtube.com/watch?v=rBJ43Usj0NM&list=PLxNM4ef1BpxjAZNWTpzSGmZ86XDAa_jf4&ab_channel=PortalHugoCursos) - [Delphi do Zero to Hero - #01](https://www.youtube.com/watch?v=zChvMKjmUeY&ab_channel=AcademiadoC%C3%B3digo) - [Delphi (soluções para Desktop, Web e Mobile) // Dicionário do Programador](https://www.youtube.com/watch?v=QKjFEMDGCYk&ab_channel=C%C3%B3digoFonteTV) > Cursos para aprender Delphi em Inglês - [Learn Delphi Programming | Unit 1.1 | Welcome To Delphi Programming for Beginners](https://www.youtube.com/watch?v=wsGpj-FVjGs&list=PLZZqoiUyRBsRTgdPJPr-eqAiOnKlP3CaP&ab_channel=LearnDelphi) - [Delphi Programming Course (FMX): 1 - Introduction to this course](https://www.youtube.com/watch?v=NrswPm4OCTk&list=PLfrySFqYRf2f8Tzyd8znGe1ldk72vJZ73&ab_channel=ShaunRoselt) - [Delphi Programming - Full Beginner Crash Course](https://www.youtube.com/watch?v=BqmJpFbRY2U&ab_channel=Steve%27steacher) - [Introduction to Delphi Programming](https://www.youtube.com/watch?v=NrWoheh_REU&ab_channel=CodeWithHuw) ## 🐊 Sites e cursos para aprender Wordpress > Cursos para aprender Wordpress em Português - [Curso WordPress Profissional](https://www.youtube.com/watch?v=JPR4OK4c35Q&list=PLHz_AreHm4dmDP_RWdiKekjTEmCuq_MW2&ab_channel=CursoemV%C3%ADdeo) - [Curso de WordPress 2023: Elementor Container Flexbox](https://www.youtube.com/watch?v=pZOU9RPpr20&list=PLltHgIJnfTsAnyA8KPXC6ohTYzGEreVEa&ab_channel=CursoB-CursosOnline) - [Curso WordPress na Prática | Passo a passo [2022]](https://www.youtube.com/watch?v=lBarY0wXf4Y&list=PLSAqMrdVsnTabS-6FQPcr3LcF-UzEA7Co&ab_channel=HostGatorAcademy) - [Curso WordPress Grátis 2023: Como Criar um Site](https://www.youtube.com/watch?v=PBtM37Wug3E&list=PLR9X8pL__UdiA1wMB02jndrD1d2kffu1o&ab_channel=CursoWordPressDefinitivo) - [Curso WordPress Grátis 2023 Completo - (Aula 1 - Apresentação)](https://www.youtube.com/watch?v=9LIZkP9HqJk&list=PLpEvhvupz-uQ3Fsaf_y1z_hRDKuh24dxR&ab_channel=iConectado-CursosOnline) - [Como Criar Um Site No Wordpress | 2022 | Para Iniciantes](https://www.youtube.com/watch?v=YtFxzjCDoXk&t=2744s&ab_channel=SalaNinja) - [Como Criar Site PROFISSIONAL, Instalar o WordPress Passo a Passo Completo, Fácil Sem Programação](https://www.youtube.com/watch?v=X6qHe5Eazyw&ab_channel=WesleyPereira-EmpreendedorDigital) - [Curso de Wordpress COMPLETO paso a paso (Gutenberg)](https://www.youtube.com/watch?v=lwNEskjrGD8&ab_channel=RomualdFons) - [WordPress para Iniciantes 2023 - Passo a Passo de Todas Funções do WordPress](https://www.youtube.com/watch?v=1EqAYuvOeT0&ab_channel=HostingerBrasil) > Cursos para aprender Wordpress em Inglês - [WordPress Full Course | Part 1](https://www.youtube.com/watch?v=-t5WNFPoCCE&list=PLQOGKy2nPhxlEVP4RBVrBoXPL6mZNZv5L&ab_channel=AzharulRafy) - [How To Make A WordPress Website ~ 2023 ~ The Ultimate WordPress Tutorial For Beginners](https://www.youtube.com/watch?v=pf8wji-tjPw&ab_channel=WebYoda) - [8 Hours Complete Course WordPress Tutorial for Beginners 2023](https://www.youtube.com/watch?v=09gj5gM4V98&ab_channel=Skilllot) - [WordPress for Beginners | FREE COURSE](https://www.youtube.com/watch?v=MsRhxl_zk5A&ab_channel=EnvatoTuts%2B) - [Education LMS WordPress Theme for Online Courses — MasterStudy | Ver. 4.0](https://www.youtube.com/watch?v=V8Lttze18-I&list=PL3Pyh_1kFGGDikfKuVbGb_dqKmXZY86Ve&ab_channel=StylemixThemes) - [Cloudways Tutorial (Move to Cloudways in 19 Minutes!) Setup, Migration, Domain, SSL & Free SMTP](https://www.youtube.com/watch?v=N7C9RR28Ggg&list=PLSk3zfDlC1f-r0dWcZHsWccaJ3CUhhylZ&ab_channel=IdeaSpot) - [WordPress Full Course in ONE VIDEO | ZERO to HERO | STEP BY STEP](https://www.youtube.com/watch?v=DcbPVzq8lHY&ab_channel=AzharulRafy) - [What is WordPress & CMS (Content Management System) | WordPress Tutorial #1](https://www.youtube.com/watch?v=-6q3Rt1MTtk&list=PLjVLYmrlmjGcXDYZC67Us13PBD-3us9jB&ab_channel=WsCubeTech) - [Week 01 | Lec 01 | Mentor Muhammad Kashif | WordPress full course | Digiskills](https://www.youtube.com/watch?v=7h_ETVuiSdY&list=PLuqUq6yfXlCGVBWbU_WyMQiLD72buRUvF&ab_channel=MissSkillie) - [Build a Website from Start to Finish using WordPress [Full Course]](https://www.youtube.com/watch?v=IPo71JPKUmg&ab_channel=freeCodeCamp.org) - [Become a WordPress Developer: Unlocking Power with Code](https://www.youtube.com/watch?v=FVqzKAUsM68&ab_channel=LearnWebCode) - [How To Build A Website with Wordpress in 2023 (Full Tutorial)](https://www.youtube.com/watch?v=AABmCvjd_iU&ab_channel=CharlieChang) ## 🐳 Sites e cursos para aprender Docker > Cursos para aprender Docker em Português - [Curso de Docker Completo](https://www.youtube.com/playlist?list=PLg7nVxv7fa6dxsV1ftKI8FAm4YD6iZuI4) - [Curso de Docker para iniciantes](https://www.youtube.com/watch?v=np_vyd7QlXk&t=1s&ab_channel=MatheusBattisti-HoradeCodar) - [Curso de Introdução ao Docker](https://www.youtube.com/playlist?list=PLXzx948cNtr8N5zLNJNVYrvIG6hk0Kxl-) - [Curso Descomplicando o Docker - LINUXtips 2016](https://www.youtube.com/playlist?list=PLf-O3X2-mxDkiUH0r_BadgtELJ_qyrFJ_) - [Descomplicando o Docker - LINUXtips 2022](https://www.youtube.com/playlist?list=PLf-O3X2-mxDn1VpyU2q3fuI6YYeIWp5rR) - [Curso Docker - Jose Carlos Macoratti](https://www.youtube.com/playlist?list=PLJ4k1IC8GhW1kYcw5Fiy71cl-vfoVpqlV) - [Docker DCA - Caio Delgado](https://www.youtube.com/playlist?list=PL4ESbIHXST_TJ4TvoXezA0UssP1hYbP9_) - [Docker em 22 minutos - teoria e prática](https://www.youtube.com/watch?v=Kzcz-EVKBEQ&ab_channel=ProgramadoraBordo) - [Curso de Docker Completo - Cultura DevOps](https://www.youtube.com/playlist?list=PLdOotbFwzDIjPK7wcu4MBCZhm9Lj6mX11) > Cursos para aprender Docker em Inglês - [Runnable, Slash Docker](https://runnable.com/docker/) - [Docker, Docker 101 Tutorial](https://www.docker.com/101-tutorial/) - [Online IT Guru, Docker Tutorial](https://onlineitguru.com/docker-training) - [Tutorials Point, Docker Tutorial](https://www.tutorialspoint.com/docker/index.htm) - [Andrew Odewahn, Docker Jumpstart](https://odewahn.github.io/docker-jumpstart/) - [Romin Irani, Docker Tutorial Series](https://rominirani.com/docker-tutorial-series-a7e6ff90a023?gi=4504494d886a) - [LearnDocker Online](https://learndocker.online/) - [Noureddin Sadawi, Docker Training](https://www.youtube.com/playlist?list=PLea0WJq13cnDsF4MrbNaw3b4jI0GT9yKt) - [Learn2torials, Latest Docker Tutorials](https://learn2torials.com/category/docker) - [Docker Curriculum, Docker For Beginners](https://docker-curriculum.com/) - [Jake Wright, Learn Docker In 12 Minutes](https://www.youtube.com/watch?v=YFl2mCHdv24&ab_channel=JakeWright) - [Digital Ocean, How To Install And Use Docker](https://www.digitalocean.com/community/tutorial_collections/how-to-install-and-use-docker) - [LinuxTechLab, The Incomplete Guide To Docker](https://linuxtechlab.com/the-incomplete-guide-to-docker-for-linux/) - [Play With Docker Classroom, Play With Docker](https://training.play-with-docker.com/) - [Shota Jolbordi, Introduction to Docker](https://medium.com/free-code-camp/comprehensive-introductory-guide-to-docker-vms-and-containers-4e42a13ee103) - [Collabnix, The #1 Docker Tutorials, Docker Labs](https://dockerlabs.collabnix.com/) - [Servers For Hackers, Getting Started With Docker](https://serversforhackers.com/c/getting-started-with-docker) - [Dive Into Docker, The Complete Course](https://diveintodocker.com/) - [Hashnode, Docker Tutorial For Beginners](https://hashnode.com/post/docker-tutorial-for-beginners-cjrj2hg5001s2ufs1nker9he2) - [Docker Crash Course Tutorial](https://www.youtube.com/playlist?list=PL4cUxeGkcC9hxjeEtdHFNYMtCpjNBm3h7) - [Docker Tutorial for Beginners - freeCodeCamp](https://www.youtube.com/watch?v=fqMOX6JJhGo&ab_channel=freeCodeCamp.org) - [Docker Tutorial for Beginners - Programming with Mosh](https://www.youtube.com/watch?v=pTFZFxd4hOI&ab_channel=ProgrammingwithMosh) - [Docker Tutorial for Beginners Full Course in 3 Hours](https://www.youtube.com/watch?v=3c-iBn73dDE&ab_channel=TechWorldwithNana) - [Docker Tutorial for Beginners Full Course](https://www.youtube.com/watch?v=p28piYY_wv8&ab_channel=Amigoscode) ## 🦜 Sites e cursos para aprender Kubernets > Cursos para aprender Kubernets em Português - [Curso de Kubernetes: Introdução ](https://www.youtube.com/watch?v=n1myN27XLfo&list=PLnPZ9TE1Tj4CpbmTsTgqVpRG0hIgHXsaX&ab_channel=MateusSchwede) - [Apresentação - Curso de Introdução ao Kubernetes ](https://www.youtube.com/watch?v=RuNTvYejG90&list=PLXzx948cNtr8XI5JBemHT9OWuYSPNUtXs&ab_channel=InsightLab) - [Kubernetes do Zero a Produção ](https://www.youtube.com/watch?v=oxWEVQP5_Rg&ab_channel=FullCycle) - [Mini Curso Gratuito de Kubernetes para Devs Javascript ](https://www.youtube.com/watch?v=eXKg9B5ooaY&ab_channel=ErickWendel) - [Containers, Docker e Kubernetes com Giovanni Bassi | #HipstersPontoTube ](https://www.youtube.com/watch?v=wxLvvMxzc1Q&ab_channel=AluraCursosOnline) - [Kubernetes // Dicionário do Programador ](https://www.youtube.com/watch?v=mVL0nOM3AGo&ab_channel=C%C3%B3digoFonteTV) - [Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] ](https://www.youtube.com/watch?v=X48VuDVv0do&ab_channel=TechWorldwithNana) - [Kubernetes Course | Kubernetes Training | Kubernetes Tutorial | Intellipaat ](https://www.youtube.com/watch?v=Vjetwwgv36o&ab_channel=Intellipaat) > Cursos para aprender Kubernets em Inglês - [Kubernetes Crash Course for Absolute Beginners [NEW] ](https://www.youtube.com/watch?v=s_o8dwzRlu4&ab_channel=TechWorldwithNana) - [Docker Containers and Kubernetes Fundamentals – Full Hands-On Course ](https://www.youtube.com/watch?v=kTp5xUtcalw&ab_channel=freeCodeCamp.org) - [Kubernetes Tutorial For Beginners - Learn Kubernetes ](https://www.youtube.com/watch?v=yznvWW_L7AA&ab_channel=Amigoscode) - [Kubernetes Course - Full Beginners Tutorial (Containerize Your Apps!) ](https://www.youtube.com/watch?v=d6WC5n9G_sM&ab_channel=freeCodeCamp.org) - [CNCF Kubernetes and Cloud Native Associate Certification Course (KCNA) - Pass the Exam! ](https://www.youtube.com/watch?v=AplluksKvzI&ab_channel=freeCodeCamp.org) ## 🐆 Sites e cursos para aprender Nest > Cursos para aprender Nest em Português - [Intensivão Nest.js: do Básico ao Avançado](https://www.youtube.com/watch?v=PHIMN85trgk&ab_channel=FullCycle) - [CURSO FUNDAMENTOS DO FRAMEWORK NESTJS | AULA #01 | CRIAÇÃO DE APLICAÇÕES BACKEND COM BASE DO NODE.JS](https://www.youtube.com/watch?v=wTvnlgJb9hI&list=PLE0DHiXlN_qqRNX4KpkNKvFswCXHUwoyL&ab_channel=JorgeAluizio) - [Criando uma aplicação com NestJS e PrismaIO](https://www.youtube.com/watch?v=0Idug0e9tPw&ab_channel=DanieleLe%C3%A3o) - [Programa em Node.js? Então conheça esse framework (NestJS do ZERO)](https://www.youtube.com/watch?v=TRa55WbWnvQ&ab_channel=Rocketseat) - [Arquitetura Hexagonal com Nest.js](https://www.youtube.com/watch?v=y4CayhdrSOY&ab_channel=FullCycle) - [CI/CD: Fazendo deploy de uma aplicação Nest.js no mundo real](https://www.youtube.com/watch?v=89GWF72F0sw&ab_channel=FullCycle) - [Nest.js: desenvolvimento de APIs](https://www.youtube.com/watch?v=BT7novtdAgI&ab_channel=FullCycle) - [Conhecendo NestJS | #AluraMais](https://www.youtube.com/watch?v=YHpG6t91oW8&ab_channel=AluraCursosOnline) - [Clean Architecture com Nest.js na prática](https://www.youtube.com/watch?v=ZOyEFaBSEfk&ab_channel=FullCycle) - [Desenvolva uma aplicação com Nest.js 9 e aproveite as novidades da nova versão](https://www.youtube.com/watch?v=1yu9084sVjs&ab_channel=FullCycle) - [Microsserviços com Nest.js e gRPC](https://www.youtube.com/watch?v=0bcwZJhplSE&ab_channel=FullCycle) - [Iniciando com NestJS - NestJS para Iniciantes](https://www.youtube.com/watch?v=ufSIGVs9X_8&ab_channel=F%C3%A1bricadeC%C3%B3digo) - [NestJS, o melhor framework backend de NodeJS](https://www.youtube.com/watch?v=bAH4nBb1NFc&ab_channel=PauloSalvatore) - [Criando CRUD com NestJS + deploy no Heroku em 30 minutos - Code/drops #80](https://www.youtube.com/watch?v=cBIUOL6MFXw&ab_channel=Rocketseat) - [GraphQL com NestJS, a melhor e mais fácil opção para o backend web](https://www.youtube.com/watch?v=2wBtOsMrPSY&ab_channel=AprendendoaProgramar) > Cursos para aprender Nest em Inglês - [NestJS Crash Course | Training #01](https://www.youtube.com/watch?v=5tau19ae6aY&list=PLIGDNOJWiL186E2BIAofH6vbS9GxAWRle&ab_channel=Codewithtkssharma) - [NestJS Crash Course](https://www.youtube.com/watch?v=xzu3QXwo1BU&list=PL_cUvD4qzbkw-phjGK2qq0nQiG6gw1cKK&ab_channel=AnsontheDeveloper) - [Nest JS Advance Course #01](https://www.youtube.com/watch?v=i1wN86rnMEI&list=PLIGDNOJWiL1_YrquGbDDN4BNNRy678Spr&ab_channel=Codewithtkssharma) - [NestJS in 100 Seconds](https://www.youtube.com/watch?v=0M8AYU_hPas&ab_channel=Fireship) - [Learn Nest.js from Scratch by building an API](https://www.youtube.com/watch?v=F_oOtaxb0L8&ab_channel=Academind) - [NestJS Crash Course: Everything you need to know! | NodeJS Tutorial 2021](https://www.youtube.com/watch?v=2n3xS89TJMI&list=PLlaDAvA2MhR2jb8zavu6I-w1BA878aHcB&ab_channel=MariusEspejo) - [Nest JS Advance Course #01](https://www.youtube.com/watch?v=Zmz9ZuSgIro&list=PLT5Jhb7lgSBPcUDAmmEnuiFMrqcurNCs7&ab_channel=CodeStudio) - [NestJs Course for Beginners - Create a REST API](https://www.youtube.com/watch?v=GHTA143_b-s&ab_channel=freeCodeCamp.org) - [Nestjs Full Course 2022 | Beginner Nestjs Tutorial](https://www.youtube.com/watch?v=Mgr5_r70OJQ&ab_channel=Bitfumes) - [NestJS Crash Course - Build a Complete Backend API](https://www.youtube.com/watch?v=BiN-xzNkH_0&ab_channel=LaithAcademy) - [NestJS Crash Course - 2021](https://www.youtube.com/watch?v=S0R82Osg-Mk&ab_channel=LaithAcademy) - [NestJS Crash Course](https://www.youtube.com/watch?v=wqhNoDE6pb4&ab_channel=TraversyMedia) - [NestJS Tutorial - Full Crash Course](https://www.youtube.com/watch?v=MNa-h_uPNmw&ab_channel=MonsterlessonsAcademy) - [NestJS tutorial for Beginners 1 - Getting Started + Creating First Nest.JS Application](https://www.youtube.com/watch?v=oU5Di3be-Sk&ab_channel=ProgrammingKnowledge) ## 🐿 Sites e cursos para aprender Laravel > Cursos para aprender Laravel em Português - [Curso Laravel - Introdução - #01](https://www.youtube.com/watch?v=qH7rsZBENJo&list=PLnDvRpP8BnewYKI1n2chQrrR4EYiJKbUG&ab_channel=MatheusBattisti-HoradeCodar) - [Curso de Laravel - #01 Introdução e Ambiente PHP](https://www.youtube.com/watch?v=SnOlhaJTMTA&list=PLwXQLZ3FdTVH5Tb57_-ll_r0VhNz9RrXb&ab_channel=RodrigoOliveira) - [Curso gratuito Laravel 9 INTRO #1 - Introdução e instalação](https://www.youtube.com/watch?v=_h7pq2uc6e4&list=PLcoYAcR89n-reidRFA3XCIvQPeKFt4dQU&ab_channel=TiagoMatos) - [Curso Gratuito de Laravel 9.x](https://www.youtube.com/watch?v=8IBlbBvcI3U&list=PLVSNL1PHDWvS1e1aeoJV7VvaDZ9m67YPU&ab_channel=CarlosFerreira-EspecializaTi) - [LARAVEL - 01 | Apresentação do CURSO](https://www.youtube.com/watch?v=jy8I-wZzeN4&list=PLSHNk_yA5fNhzjjOGcIdSB1nyhv6NR0W1&ab_channel=GustavoNeitzke) - [Laravel 8 - Aula 01 - Laravel 8](https://www.youtube.com/watch?v=z9goB9ntdoI&list=PLxNM4ef1BpxinM_SH_JWtJ-ME11QorxPa&ab_channel=PortalHugoCursos) - [Convite Curso Gratuito de Laravel 8.x](https://www.youtube.com/watch?v=rljzeWpPNYU&list=PLVSNL1PHDWvQwfqqY7XSobGuV39KsM46G&ab_channel=CarlosFerreira-EspecializaTi) - [Curso Laravel. Presentación. Vídeo 1](https://www.youtube.com/watch?v=0sHSrqyZCnM&list=PLU8oAlHdN5Bk-qkvjER90g2c_jVmpAHBh&ab_channel=pildorasinformaticas) [Laravel para iniciantes - Truques e dicas para você aprender de forma ultra rápida](https://www.youtube.com/watch?v=x5C4BmrbFjM&ab_channel=TiagoMatos) > Cursos para aprender Laravel em Inglês - [Laravel From Scratch 2022 | 4+ Hour Course](https://www.youtube.com/watch?v=MYyJ4PuL4pY&ab_channel=TraversyMedia) - [Get Started With Laravel | FREE COURSE](https://www.youtube.com/watch?v=AGE3wRKljkw&ab_channel=EnvatoTuts%2B) - [React + Laravel Full-stack Application | Build and Deploy](https://www.youtube.com/watch?v=qJq9ZMB2Was&ab_channel=TheCodeholic) - [Laravel 6 Tutorial for Beginers #1 - Introduction](https://www.youtube.com/watch?v=zckH4xalOns&list=PL4cUxeGkcC9hL6aCFKyagrT1RCfVN4w2Q&ab_channel=TheNetNinja) - [Laravel PHP Framework Tutorial - Full Course for Beginners (2019)](https://www.youtube.com/watch?v=ImtZ5yENzgE&ab_channel=freeCodeCamp.org) - [Laravel 8 Tutorial - Installation](https://www.youtube.com/watch?v=RyYKXyvM3D4&list=PLz_YkiqIHesvWMGfavV8JFDQRJycfHUvD&ab_channel=SurfsideMedia) - [Full Laravel Restaurant Reservation Website | Laravel 9 Tutorial](https://www.youtube.com/watch?v=8KaBeq9JzrQ&ab_channel=Laraveller) - [Laravel API Server Full Course - Beginner to Intermediate](https://www.youtube.com/watch?v=_zNi37BJVBk&ab_channel=Acadea.io) - [Build and Deploy Laravel 9 Portfolio - For Beginners](https://www.youtube.com/watch?v=JNhmEoBsZ48&ab_channel=TheCodeholic) - [Laravel PHP Framework Tutorial - Full Course 6.5 Hours (2020)](https://www.youtube.com/watch?v=BXiHvgrJfkg&ab_channel=Bitfumes) - [Laravel Crash Course](https://www.youtube.com/watch?v=MFh0Fd7BsjE&ab_channel=TraversyMedia) - [Laravel 8 tutorial - what is laravel | Introduction](https://www.youtube.com/watch?v=0urHFBFHsLc&list=PL8p2I9GklV46dciS4GDzBFHBi0JVIbnzT&ab_channel=CodeStepByStep) - [Laravel 9 Tutorial for Beginners | How to Learn Laravel 9 | Complete Laravel 9 Tutorial in 2022](https://www.youtube.com/watch?v=2mqsVzgsV_c&ab_channel=CodeWithDary) ## 🐃 Sites e cursos para aprender AWS > Cursos para aprender AWS em Português - [O que é AWS e como aprender mais com o Curso Gratuito Amazon Web Services na Prática - Aula 01 - #32](https://www.youtube.com/watch?v=j6yImUbs4OA&list=PLOF5f9_x-OYUaqJar6EKRAonJNSHDFZUm&ab_channel=UmInventorQualquer) - [Aula 1 - Curso Completo AWS - Introdução ao mundo da cloud](https://www.youtube.com/watch?v=HiBCv9DolxI&list=PLtL97Owd1gkQ0dfqGW8OtJ-155Gs67Ecz&ab_channel=MundodaCloud) - [Treinamento AWS Cloud Practitioner](https://www.youtube.com/playlist?list=PLAOaeiAO8J5mjnEwpSUteXZ9y7cT-K42H) > Cursos para aprender AWS em Inglês - [AWS Certified Cloud Practitioner Certification Course (CLF-C01) - Pass the Exam!](https://www.youtube.com/watch?v=SOTamWNgDKc&ab_channel=freeCodeCamp.org) - [AWS Tutorial For Beginners | AWS Full Course - Learn AWS In 10 Hours | AWS Training | Edureka](https://www.youtube.com/watch?v=k1RI5locZE4&list=PL9ooVrP1hQOFWxRJcGdCot7AgJu29SVV3&ab_channel=edureka%21) - [AWS Data Engineering Tutorial for Beginners [FULL COURSE in 90 mins]](https://www.youtube.com/watch?v=ckQ7d6ca2J0&list=PL8JO6Q_xfjenBPR9uT_G55UdSd5PYjt1D&ab_channel=JohnnyChivers) - [NEW AWS Certified Cloud Practitioner Course - 10 HOURS of VIDEO](https://www.youtube.com/watch?v=kvP_7jT-ImY&list=PLt1SIbA8guuvfvUDVLpJepmbnYpOfYCIB&ab_channel=StephaneMaarek) - [AWS Tutorial For Beginners | AWS Full Course - Learn AWS In 10 Hours | AWS Training | Edureka](https://www.youtube.com/watch?v=k1RI5locZE4&ab_channel=edureka%21) - [AWS Certified Developer - Associate 2020 (PASS THE EXAM!)](https://www.youtube.com/watch?v=RrKRN9zRBWs&ab_channel=freeCodeCamp.org) - [How I Passed My AWS Cloud Practitioner Exam in 7 Days](https://www.youtube.com/watch?v=s8byh4MCJYw&ab_channel=Soleyman) - [Learn Terraform (and AWS) by Building a Dev Environment – Full Course for Beginners](https://www.youtube.com/watch?v=iRaai1IBlB0&ab_channel=freeCodeCamp.org) - [AWS DevOps | AWS DevOps Tutorial For Beginners | AWS DevOps Training | Intellipaat](https://www.youtube.com/watch?v=cI16T7GOPwM&ab_channel=Intellipaat) - [AWS Certified Cloud Practitioner Training 2020 - Full Course](https://www.youtube.com/watch?v=3hLmDS179YE&ab_channel=freeCodeCamp.org) - [AWS Full Course 2022 | AWS Tutorial For Beginners 2022 | AWS Training For Beginners | Simplilearn](https://www.youtube.com/watch?v=ZB5ONbD_SMY&ab_channel=Simplilearn) - [AWS Certified Solutions Architect - Associate 2020 (PASS THE EXAM!)](https://www.youtube.com/watch?v=Ia-UEYYR44s&ab_channel=freeCodeCamp.org) - [AWS In 10 Minutes | AWS Tutorial For Beginners | AWS Training Video | AWS Tutorial | Simplilearn](https://www.youtube.com/watch?v=r4YIdn2eTm4&ab_channel=Simplilearn) - [AWS In 5 Minutes | What Is AWS? | AWS Tutorial For Beginners | AWS Training | Simplilearn](https://www.youtube.com/watch?v=3XFODda6YXo&ab_channel=Simplilearn) - [Top 50+ AWS Services Explained in 10 Minutes](https://www.youtube.com/watch?v=JIbIYCM48to&ab_channel=Fireship) - [How I would learn AWS Cloud (If I could start over)](https://www.youtube.com/watch?v=Z0EtjKNRdR4&ab_channel=TechWithLucy) ## 🐬 Sites e cursos para aprender Google Cloud > Cursos para aprender Google Cloud em Português - [Google Cloud Courses](https://www.youtube.com/results?search_query=Google+Cloud++Courses) - [Google Cloud, por onde começar e por quê você deveria faze-lo](https://www.youtube.com/watch?v=4lZmhCaq13U&ab_channel=CanaldaCloud) - [Apresentando o Google Cloud e Montando Servidor Ubuntu | Mini Curso Servidor Web Google Cloud](https://www.youtube.com/watch?v=OfNyUEqerxg&list=PLD4QKjLthwSIXToJoBrIhA7ARyyhUok9Y&ab_channel=MudardeVidaAgora) - [Saiba mais sobre Google Cloud Platform (GCP)](https://www.youtube.com/watch?v=iIBdj3Mump8&ab_channel=PenaRocks) > Cursos para aprender Google Cloud em Inglês - [Google Cloud Associate Cloud Engineer Course - Pass the Exam!](https://www.youtube.com/watch?v=jpno8FSqpc8&ab_channel=freeCodeCamp.org) - [Google Cloud Platform Full Course | Google Cloud Platform Tutorial | Cloud Computing | Simplilearn](https://www.youtube.com/watch?v=-pMtwYXSFK8&ab_channel=Simplilearn) - [GCP Fundamentals - Google Cloud Platform Fundamentals: Core Infrastructure #1](https://www.youtube.com/watch?v=uOTy_0gXf7I&list=PLVext98k2evjIFqVggHfvecnFu4tTJK_o&ab_channel=Coursera) - [What is Google Cloud?](https://www.youtube.com/watch?v=kzKFuHk8ovk&list=PLIivdWyY5sqKh1gDR0WpP9iIOY00IE0xL&ab_channel=GoogleCloudTech) - [Google Cloud Platform Tutorial for Beginners - Full Course](https://www.youtube.com/watch?v=G5w1rsFe-qA&ab_channel=zuni) - [Google Cloud Platform Full Course | GCP Tutorial | Google Cloud Training | Edureka](https://www.youtube.com/watch?v=IUU6OR8yHCc&ab_channel=edureka%21) - [Google Cloud Beginner Tutorial (2023) - Host & Setup A Free Website](https://www.youtube.com/watch?v=1Hyxdg1ZYho&ab_channel=TechExpress) - [Cloud Computing Full Course In 11 Hours | Cloud Computing Tutorial For Beginners | Edureka](https://www.youtube.com/watch?v=2LaAJq1lB1Q&ab_channel=edureka%21) - [Google Cloud Certification Path - New GCP Learning Path - List of Google Cloud Certifications](https://www.youtube.com/watch?v=wiR3u8RNxPo&ab_channel=Whizlabs) - [Google Cloud Platform Tutorial | Google Cloud Platform Tutorial For Beginners | Simplilearn](https://www.youtube.com/watch?v=vACTtmLWiQY&ab_channel=Simplilearn) - [Google Cloud Training | Google Cloud Platform Course | Google Cloud for Beginners | Intellipaat](https://www.youtube.com/watch?v=gud65lqebrc&ab_channel=Intellipaat) - [Google Cloud Digital Leader Certification Course - Pass the Exam!](https://www.youtube.com/watch?v=UGRDM86MBIQ&ab_channel=freeCodeCamp.org) - [Google Cloud Professional Data Engineer Certification Course](https://www.youtube.com/watch?v=rxUlmJpKY4Y&ab_channel=AlphaTutorials-Cloud) - [Google Cloud Platform Course | GCP Course | GCP Tutorial | GCP Training | Intellipaat](https://www.youtube.com/watch?v=rYJmMmpGhdg&ab_channel=Intellipaat) ## 🦆 Sites e cursos para aprender Azure > Cursos para aprender Azure em Português - [Azure (A plataforma Cloud da Microsoft) // Dicionário do Programador](https://www.youtube.com/watch?v=YgE-sZaCuJ0&ab_channel=C%C3%B3digoFonteTV) - [Azure Fundamentals - Introdução ao Curso](https://www.youtube.com/watch?v=AITM8sTsu-o&list=PLwftZeDnOzt0quETXYfGjfi2AcpeGX-7i&ab_channel=RayCarneiro) - [AZ-900 | Aula 01 | Curso Completo | Microsoft Azure Fundamentals | Preparação para o Exame AZ900](https://www.youtube.com/watch?v=h5PNYnwApkM&list=PL_yq9hmeKAk_rUvgo0KECZYI1bKzcyncC&ab_channel=HenriqueEduardoSouza) - [Azure Fundamentos (AZ-900) | Aprendendo na Prática !!](https://www.youtube.com/watch?v=mKDxMG1d76w&ab_channel=KaSolutionOficial) - [O que é MICROSOFT AZURE? Qual Certificação começar em 2022?](https://www.youtube.com/watch?v=f-oVzkvMwnE&ab_channel=AndreIacono) - [Como estudar e tirar sua 1ª certificação Azure de forma Gratuita](https://www.youtube.com/watch?v=OPxPFz2i3G4&ab_channel=MentoriaCloud) - [AZ-900 | EP 1/5 | AZ900 | Treinamento Oficial | Microsoft Azure Fundamentals](https://www.youtube.com/watch?v=4ub1uGKQK6U&ab_channel=CanaldaCloud) - [Azure na Prática Gratuito #3 - Azure DevOps](https://www.youtube.com/watch?v=6KuoTg1Ojtw&ab_channel=AzurenaPr%C3%A1tica) > Cursos para aprender Azure em Inglês - [Microsoft Azure Fundamentals Certification Course (AZ-900) - Pass the exam in 3 hours!](https://www.youtube.com/watch?v=NKEFWyqJ5XA&ab_channel=freeCodeCamp.org) - [Azure Full Course - Learn Microsoft Azure in 8 Hours | Azure Tutorial For Beginners | Edureka](https://www.youtube.com/watch?v=tDuruX7XSac&ab_channel=edureka%21) - [AZ-900 | Microsoft Azure Fundamentals Full Course, Free Practice Tests, Website and Study Guides](https://www.youtube.com/watch?v=NPEsD6n9A_I&list=PLGjZwEtPN7j-Q59JYso3L4_yoCjj2syrM&ab_channel=AdamMarczak-AzureforEveryone) - [AZ-900 Certification Course - Introduction](https://www.youtube.com/watch?v=pY0LnKiDwRA&list=PLlVtbbG169nED0_vMEniWBQjSoxTsBYS3&ab_channel=JohnSavill%27sTechnicalTraining) - [Azure Full Course - Learn Microsoft Azure in 8 Hours | Azure Tutorial For Beginners | Edureka](https://www.youtube.com/watch?v=tDuruX7XSac&list=PL9ooVrP1hQOHdFketT6JzY-71nBgIu-n0&ab_channel=edureka%21) - [What Is Azure? | Microsoft Azure Tutorial For Beginners | Microsoft Azure Training | Simplilearn](https://www.youtube.com/watch?v=3Arj5zlUPG4&ab_channel=Simplilearn) - [Azure Administrator Certification (AZ-104) - Full Course to PASS the Exam](https://www.youtube.com/watch?v=10PbGbTUSAg&ab_channel=freeCodeCamp.org) - [Azure Developer Associate (AZ-204) — Full Course Pass the Exam!](https://www.youtube.com/watch?v=jZx8PMQjobk&ab_channel=freeCodeCamp.org) - [Microsoft Azure Developer [Exam AZ-204] Full Course](https://www.youtube.com/watch?v=anef67apIEA&ab_channel=SusanthSutheesh) - [Azure Administrator Training Course | AZ-103 Training | Intellipaat](https://www.youtube.com/watch?v=ki6rJwXzTSM&ab_channel=Intellipaat) - [Azure DevOps Tutorial for Beginners | Azure DevOps | Azure DevOps Boards | Intellipaat](https://www.youtube.com/watch?v=0WlDQakFAwE&ab_channel=Intellipaat) - [Azure Training | Azure Tutorial | Intellipaat](https://www.youtube.com/watch?v=0bNFkI_0jhc&ab_channel=Intellipaat) - [Azure Course | Microsoft Azure Full Course 2023 | Azure Tutorial For Beginners | Intellipaat](https://www.youtube.com/watch?v=hG-wgtKJ9Es&ab_channel=Intellipaat) - [Microsoft Azure Fundamentals Certification (AZ-900) Full Course | Azure Online Training | Edureka](https://www.youtube.com/watch?v=wK3U7xSt31M&ab_channel=edureka%21) ## 🦅 Sites e cursos para aprender Django > Cursos para aprender Django em Português - [Como Sair do Zero em Django no Python [Passo a Passo Primeiro Site]](https://www.youtube.com/watch?v=DNGI5aD9MJs&ab_channel=HashtagPrograma%C3%A7%C3%A3o) - [Curso de Django 2 #01: Instalando o Django no Windows](https://www.youtube.com/watch?v=LZsjuSBW5YM&list=PLnDvRpP8BnewqnMzRnBT5LeTpld5bMvsj&ab_channel=MatheusBattisti-HoradeCodar) - [Como criar ambientes virtuais no Python com virtualenv e instalar pacotes como o Django, numpy, etc](https://www.youtube.com/watch?v=NNHlGCdQSNw&list=PLjv17QYEBJPpd6nI-MXpIa4qR7prKfPQz&ab_channel=RafaelZottesso) - [Aula 1 - Introdução e conhecendo o Framework](https://www.youtube.com/watch?v=UIvnNCQnejw&list=PLHWfNMxB2F4HdKbo8zdgXyxVDOxH429Ko&ab_channel=GregoryPacheco) - [Curso Django Avançado - Criando Uma Aplicação - 01](https://www.youtube.com/watch?v=2ayKIJJf1Ls&list=PL2Dw5PtrD32xmc9R48g4GWULWuWkbAllC&ab_channel=Cursosdeprograma%C3%A7%C3%A3o) - [Loja virtual - e-commerce - utilizando Django](https://www.youtube.com/watch?v=z_MMsWyLdj0&list=PLeFetwYAi-F_9lT7em1UDEXS-3Gm9hjrI&ab_channel=C%C3%93DIGOFLUENTE) - [Django, Curso de Django para Principiantes](https://www.youtube.com/watch?v=T1intZyhXDU&ab_channel=Fazt) - [Passo a passo para se tornar um desenvolvedor Python com Django | Aula semanal #31](https://www.youtube.com/watch?v=j2MPk-mVl10&ab_channel=pythonando) - [Django 4 CRUD completo em 30 minutos](https://www.youtube.com/watch?v=GGBzMpIAgz4&ab_channel=GregoryPacheco) > Cursos para aprender Django em Inglês - [Python Django Tutorial 2020 - Full Course for Beginners](https://www.youtube.com/watch?v=JT80XhYJdBw&ab_channel=CleverProgrammer) - [Python Django 7 Hour Course](https://www.youtube.com/watch?v=PtQiiknWUcI&ab_channel=TraversyMedia) - [Django For Everybody - Full Python University Course](https://www.youtube.com/watch?v=o0XbHvKxw7Y&ab_channel=freeCodeCamp.org) - [Python Django Tutorial: Full-Featured Web App Part 1 - Getting Started](https://www.youtube.com/watch?v=UmljXZIypDc&list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p&ab_channel=CoreySchafer) - [Python Django Web Framework - Full Course for Beginners](https://www.youtube.com/watch?v=F5mRW0jo-U4&ab_channel=freeCodeCamp.org) - [How I learned Django in 3 Months](https://www.youtube.com/watch?v=cRF7hIsIO10&ab_channel=DennisIvy) - [Learn Django Class-Based Views - Using TemplateView - theory and examples](https://www.youtube.com/watch?v=GxA2I-n8NR8&list=PLOLrQ9Pn6caxNb9eFZJ6LfY29nZkKmmXT&ab_channel=VeryAcademy) - [Django CRM Course - Learn how to build a CRM using Python](https://www.youtube.com/watch?v=LWro0nVdrBw&list=PLpyspNLjzwBka94O3ABYcRYk8IaBR8hXZ&ab_channel=CodeWithStein) - [How to Build an E-commerce Website with Django and Python](https://www.youtube.com/watch?v=YZvRrldjf1Y&ab_channel=freeCodeCamp.org) - [Python Backend Web Development Course (with Django)](https://www.youtube.com/watch?v=jBzwzrDvZ18&ab_channel=freeCodeCamp.org) - [E-commerce Website With Django and Vue Tutorial (Django Rest Framework)](https://www.youtube.com/watch?v=Yg5zkd9nm6w&ab_channel=freeCodeCamp.org) - [Python Django Tutorial for Beginners](https://www.youtube.com/watch?v=rHux0gMZ3Eg&ab_channel=ProgrammingwithMosh) ## 🐏 Sites e cursos para aprender Gatsby > Cursos para aprender Gatsby em Português - [Gatsby JS - Introdução ao tutorial](https://www.youtube.com/watch?v=3b2PinXRqYU&list=PLN9uKzK0o3GR3ky2Q6zc2v0Dlej3oOBtT&ab_channel=ThiagoFranchin) - [Gatsby (A alternativa ao Next.js que trabalha com MUUUITAS PÁGINAS WEB) // Dicionário do Programador](https://www.youtube.com/watch?v=uYVVzCmKY7M&t=285s&ab_channel=C%C3%B3digoFonteTV) - [Configurando projeto Gatsby | Behind the Code #09](https://www.youtube.com/watch?v=Z88SWjN6Yj0&t=4431s&ab_channel=Rocketseat) > Cursos para aprender Gatsby em Inglês - [Gatsby Tutorial #1 - What is a Static Site Generator?](https://www.youtube.com/watch?v=Qms4k6y7OgI&list=PL4cUxeGkcC9hw1g77I35ZivVLe8k2nvjB&ab_channel=TheNetNinja) - [Gatsby JS - Introdução ao tutorial](https://www.youtube.com/watch?v=3b2PinXRqYU&list=PLN9uKzK0o3GR3ky2Q6zc2v0Dlej3oOBtT&ab_channel=ThiagoFranchin) - [Gatsby Static Site Generator Tutorial](https://www.youtube.com/watch?v=RaTpreA0v7Q&ab_channel=freeCodeCamp.org) - [Gatsby JS Crash Course](https://www.youtube.com/watch?v=6YhqQ2ZW1sc&ab_channel=TraversyMedia) - [Strapi & GatsbyJS Course - Portfolio Project](https://www.youtube.com/watch?v=Oc_ITwxiG-Y&ab_channel=freeCodeCamp.org) - [Gatsby - Full Tutorial for Beginners](https://www.youtube.com/watch?v=mHFAM0CXviE&ab_channel=freeCodeCamp.org) - [Can We Really Make a Gatsby Portfolio in 10 Minutes?](https://www.youtube.com/watch?v=JxB_MY7IkME&ab_channel=zachOSTech) - [GatsbyJS e WordPress: o básico](https://www.youtube.com/watch?v=W48eHfkwtlo&ab_channel=FelipeEliaWP) - [Webinar | The All New Gatsby 5](https://www.youtube.com/watch?v=X_9yDpPpp2w&ab_channel=Gatsby) - [What is Gatsby JS and Why Use It](https://www.youtube.com/watch?v=GuvAMcsoreI&ab_channel=ZacGordon) - [The Great Gatsby Bootcamp - Full Gatsby.js Tutorial Course](https://www.youtube.com/watch?v=kzWIUX3CpuI&ab_channel=freeCodeCamp.org) - [Gatsby JS Crash Course](https://www.youtube.com/watch?v=6YhqQ2ZW1sc&ab_channel=TraversyMedia) ## 🐂 Sites e cursos para aprender ASP.net > Cursos para aprender ASP.net em Português - [Curso completo ASP.net Core](https://www.youtube.com/watch?v=r6AcjjNvI8w&list=PL_yq9hmeKAk_5bdDzHBdqe5LGrZMxawOl&ab_channel=HenriqueEduardoSouza) - [Bem-vindos ao ASP.net](https://www.youtube.com/watch?v=Z3DU-Jpft74&list=PLXik_5Br-zO-5SRVrpNHnP4uVMBL2Gqz2&ab_channel=Jo%C3%A3oRibeiro) - [Projeto do curso de .NET Core C# | Mod 01 - Aula 01](https://www.youtube.com/watch?v=q1sF6D7vKPE&list=PLs3yd28pfby7WLEdA7GXey47cKZKMrcwS&ab_channel=MidoriFukami) - [ASP.Net MVC - C# - Criando uma aplicação do Zero](https://www.youtube.com/watch?v=-v0sfER0po8&list=PLJ0IKu7KZpCQKdwRbU7HfXW3raImmghWZ&ab_channel=ProgramadorTech) > Cursos para aprender ASP.net em Inglês - [ASP.NET - Introduction](https://www.youtube.com/watch?v=ccXz-oIrFe0&list=PLWPirh4EWFpGdA3VPS9umbvP6YGT3hUU9&ab_channel=TutorialsPoint) - [What is ASP.NET Part 1](https://www.youtube.com/watch?v=3AYoipyqOkQ&list=PL6n9fhu94yhXQS_p1i-HLIftB9Y7Vnxlo&ab_channel=kudvenkat) - [ASP.NET Core 6 Full Course: ASP.NET Core MVC Tutorial](https://www.youtube.com/watch?v=XE0EcyEKdq4&ab_channel=ScholarHatByDotNetTricks) - [ASP.NET Microservices – Full Course for Beginners](https://www.youtube.com/watch?v=CqCDOosvZIk&ab_channel=freeCodeCamp.org) - [ASP.NET Core MVC Course (.NET 5)](https://www.youtube.com/watch?v=Pi46L7UYP8I&ab_channel=freeCodeCamp.org) - [Complete 3 Hour ASP NET 6.0 and Entity Framework Core Course!](https://www.youtube.com/watch?v=7d2UMAIgOLQ&ab_channel=tutorialsEU) ## 🐖 Sites e cursos para aprender Inteligência Artificial > Cursos para aprender Inteligência Artificial em Português - [Inteligência Artificial: Aula 0 - Introdução](https://www.youtube.com/watch?v=m1-Hc5-H22M&list=PL4OAe-tL47sY1OgDs7__GJW8xBpPEeNfC&ab_channel=Zurubabel) - [Introdução a Inteligência Artificial](https://www.youtube.com/watch?v=AotU3yIExqI&list=PL-LIyhnUCPkGdj9umESeimOfWctErNVzH&ab_channel=PROF.FABIOSANTOS) - [Curso de Inteligência Artificial - O que é Inteligência Artificial](https://www.youtube.com/watch?v=82VyhCNpxYA&list=PL5EmR7zuTn_Z912YaqukK1SWfY5o2xrYA&ab_channel=davestecnologia) - [Introdução às Redes Neurais Artificiais - Apresentação do Curso - Aula #0](https://www.youtube.com/watch?v=OQwxeFSJ_Q4&list=PLZj-vsMJRNhprMuIaE6HXmOkHh0NEEMtL&ab_channel=Intelig%C3%AAnciaArtificialnaPr%C3%A1tica) - [Introdução à IA #1: Introdução](https://www.youtube.com/watch?v=ucoFLlasfIo&list=PLBqjnKyN75dQiW0WJtvNoBESF5q8OWdge&ab_channel=AlgoritmoZ) - [Inteligencia Artificial com Unity - Aula 01 - Desenvolvimento de Jogos](https://www.youtube.com/watch?v=Ins6YXFJU7M&list=PLxNM4ef1BpxirZvCvdzMbFJrAWSWzGpIC&ab_channel=PortalHugoCursos) - [Inteligência Artificial na Prática com Python [Projeto Flappy Bird - Aula 1 de 4]](https://www.youtube.com/watch?v=GMDb2jtzKZQ&list=PLpdAy0tYrnKyVQDckS5IDB24QrSap2u8y&ab_channel=HashtagPrograma%C3%A7%C3%A3o) > Cursos para aprender Inteligência Artificial em Inglês - [Artificial Intelligence Full Course | Artificial Intelligence Tutorial for Beginners | Edureka](https://www.youtube.com/watch?v=JMUxmLyrhSk&ab_channel=edureka%21) - [Artificial Intelligence | What is AI | Introduction to Artificial Intelligence | Edureka](https://www.youtube.com/watch?v=4jmsHaJ7xEA&list=PL9ooVrP1hQOGHNaCT7_fwe9AabjZI1RjI&ab_channel=edureka%21) - [Overview Artificial Intelligence Course | Stanford CS221: Learn AI (Autumn 2019)](https://www.youtube.com/watch?v=J8Eh7RqggsU&list=PLoROMvodv4rO1NB9TD4iUZ3qghGEGtqNX&ab_channel=StanfordOnline) ## 🦀 Sites e cursos para aprender Machine Learning > Cursos para aprender Machine Learning em Português - [Preencher Dados que Faltam da Galera do SVBR - Machine Learning 01](https://www.youtube.com/watch?v=p_SmODmFRUw&list=PL-t7zzWJWPtzhZtI-bWWHFtCfxtjmBdIW&ab_channel=UniversoDiscreto) - [O que é Inteligência Artificial?](https://www.youtube.com/watch?v=ID5Ui22F8HQ&list=PLyqOvdQmGdTSqkutrKDaVJlEv-ui1MyK4&ab_channel=Did%C3%A1ticaTech) - [O que é MACHINE LEARNING? Introdução ao APRENDIZADO DE MÁQUINA | Machine Learning #1](https://www.youtube.com/watch?v=u8xgqvk16EA&list=PL5TJqBvpXQv5CBxLkdqmou_86syFK7U3Q&ab_channel=Programa%C3%A7%C3%A3oDin%C3%A2mica) - [Python para Machine Learning (Curso - Aula 1)](https://www.youtube.com/watch?v=MmSXHCxDwBs&list=PLyqOvdQmGdTR46HUxDA6Ymv4DGsIjvTQ-&ab_channel=Did%C3%A1ticaTech) - [Introdução ao Machine Learning (ML de Zero a 100, parte 1)](https://www.youtube.com/watch?v=t5z5lyrb-7s&ab_channel=TensorFlow) - [Curso de Machine Learning Em Português - Introdução da Primeira Parte](https://www.youtube.com/watch?v=pKc1J4RB_VQ&list=PL4OAe-tL47sb3xdFBVXs2w1BA2LRN5JU2&ab_channel=Zurubabel) > Cursos para aprender Machine Learning em Inglês - [MarI/O - Machine Learning for Video Games](https://www.youtube.com/watch?v=qv6UVOQ0F44&ab_channel=SethBling) - [Machine Learning Course for Beginners](https://www.youtube.com/watch?v=NWONeJKn6kc&ab_channel=freeCodeCamp.org) - [The Best (Free) Machine Learning Courses Online!](https://www.youtube.com/watch?v=7t5MJ38NZ8E&ab_channel=CharlesWeill) - [Machine Learning for Everybody – Full Course](https://www.youtube.com/watch?v=i_LwzRVP7bg&ab_channel=freeCodeCamp.org) - [Best Machine Learning Courses on Coursera](https://www.youtube.com/watch?v=A4OVjWeVb10&ab_channel=AlexTheAnalyst) - [PyTorch for Deep Learning & Machine Learning – Full Course](https://www.youtube.com/watch?v=V_xro1bcAuA&ab_channel=freeCodeCamp.org) ## 🦑 Sites e cursos para aprender Data Science > Cursos para aprender Data Science em Português - [Data Science: Introdução a Ciência de Dados (Primeira aula prática programando em Python)](https://www.youtube.com/watch?v=F608hzn_ygo&ab_channel=FilipeDeschamps) - [Os 3 Melhores Cursos de Data Science que fiz no Coursera](https://www.youtube.com/watch?v=r6nN8OQ-6co&ab_channel=MarioFilho) - [Como se Tornar um Cientista de Dados de Sucesso - Vlog #105](https://www.youtube.com/watch?v=-vawLSNdo-A&ab_channel=C%C3%B3digoFonteTV) - [Como eu aprenderia Data Science em 2022 (se começasse do zero) - Data Hackers](https://www.youtube.com/watch?v=K2Vu6E5Ybmo&ab_channel=DataHackers) - [Curso de Ciência de Dados (CCDD) 000 - Introdução ao Curso](https://www.youtube.com/watch?v=CiUumyrp7Ow&list=PLfCKf0-awunPFkWOKWNaXB_ndaHBlJ4QQ&ab_channel=Ignor%C3%A2nciaZero) - [Python para Data Science - #0 Apresentação e Ambiente](https://www.youtube.com/watch?v=WUuiEEuvgFE&list=PL3ZslI15yo2qCEmnYOa2sq6VQOzQ2CFhj&ab_channel=xavecoding) - [Mini-Curso: Introdução à Big Data e Data Science - Aula 1 - O que é Big Data](https://www.youtube.com/watch?v=8D20ZNTc-xA&list=PLrakQQfctUYUDaEsft9avwjbvemIEwiRQ&ab_channel=DiegoNogare) - [O que eu faria se tivesse que começar Ciência de Dados em 2022? | Comunidade DS | Meigarom Lopes](https://www.youtube.com/watch?v=0vbWEU9J3xs&ab_channel=SejaUmDataScientist) - [O que eu faria se tivesse que começar em Data Science hoje.](https://www.youtube.com/watch?v=VlYDWOfiFuc&ab_channel=SejaUmDataScientist) - [Aprenda tudo sobre Data Science, seus primeiros passos](https://www.youtube.com/watch?v=IQdISZCosAE&ab_channel=AluraCursosOnline) > Cursos para aprender Data Science em Inglês - [Top Courses to Learn Data Science Skills FAST!](https://www.youtube.com/watch?v=ho9vNL4MYZ8&ab_channel=ThuVudataanalytics) - [Data Science Full Course - Learn Data Science in 10 Hours | Data Science For Beginners | Edureka](https://www.youtube.com/watch?v=-ETQ97mXXF0&ab_channel=edureka%21) - [What is Data Science? | Free Data Science Course | Data Science for Beginners | codebasics](https://www.youtube.com/watch?v=JL_grPUnXzY&list=PLeo1K3hjS3us_ELKYSj_Fth2tIEkdKXvV&ab_channel=codebasics) - [Data Science Roadmap 2023 | Learn Data Science Skills in 6 Months](https://www.youtube.com/watch?v=eaFaD_IBYW4&ab_channel=codebasics) - [Learn Data Science Tutorial - Full Course for Beginners](https://www.youtube.com/watch?v=ua-CiDNNj30&ab_channel=freeCodeCamp.org) - [Reinforcement Learning in 3 Hours | Full Course using Python](https://www.youtube.com/watch?v=Mut_u40Sqz4&list=PLgNJO2hghbmid6heTu2Ar68CzJ344nUHy&ab_channel=NicholasRenotte) - [Statistics for Data Science | Probability and Statistics | Statistics Tutorial | Ph.D. (Stanford)](https://www.youtube.com/watch?v=Vfo5le26IhY&list=PLlgLmuG_KgbaXMKcISC-fdz7HUn1oKr9i&ab_channel=GreatLearning) - [How I Would Learn Data Science in 2022](https://www.youtube.com/watch?v=Rt6eb9VOFII&ab_channel=RecallbyDataiku) - [How I Would NOT Learn Data Science in 2023.](https://www.youtube.com/watch?v=t6CD1EwU5kc&ab_channel=KenJee) - [O que realmente é Ciência de Dados? Explicado por um Cientista de Dados](https://www.youtube.com/watch?v=xC-c7E5PK0Y&ab_channel=JomaTech) - [Statistics - A Full University Course on Data Science Basics](https://www.youtube.com/watch?v=xxpc-HPKN28&ab_channel=freeCodeCamp.org) - [A Day In The Life Of A Data Scientist](https://www.youtube.com/watch?v=Ck0ozfJV9-g&ab_channel=JomaTech) - [Data Science In 5 Minutes | Data Science For Beginners | What Is Data Science? | Simplilearn](https://www.youtube.com/watch?v=X3paOmcrTjQ&ab_channel=Simplilearn) - [Build 12 Data Science Apps with Python and Streamlit - Full Course](https://www.youtube.com/watch?v=JwSS70SZdyM&ab_channel=freeCodeCamp.org) - [Python for Data Science - Course for Beginners (Learn Python, Pandas, NumPy, Matplotlib)](https://www.youtube.com/watch?v=LHBE6Q9XlzI&ab_channel=freeCodeCamp.org) ## 🐙 Sites e cursos para aprender NumPy > Cursos para aprender NumPy em Português - [Curso Grátis - Se torne um Analista de Dados](https://www.youtube.com/watch?v=5kepfx0RquY&list=PL3Fmwz_E1hXRWxIkP843DiDf0ZeqgftTy&ab_channel=Gera%C3%A7%C3%A3oAnal%C3%ADtica) - [Como Sair do Zero com a Biblioteca Numpy no Python](https://www.youtube.com/watch?v=LZDZ0AZmWHI&ab_channel=HashtagPrograma%C3%A7%C3%A3o) > Cursos para aprender NumPy em Inglês - [NumPy Full Python Course - Data Science Fundamentals](https://www.youtube.com/watch?v=4c_mwnYdbhQ&ab_channel=NeuralNine) - [Python for Data Science - Course for Beginners (Learn Python, Pandas, NumPy, Matplotlib)](https://www.youtube.com/watch?v=LHBE6Q9XlzI&ab_channel=freeCodeCamp.org) - [Data Analysis with Python Course - Numpy, Pandas, Data Visualization](https://www.youtube.com/watch?v=GPVsHOlRBBI&ab_channel=freeCodeCamp.org) - [Introduction to NumPy Arrays for Beginners - Learn NumPy Series](https://www.youtube.com/watch?v=9fcTq8PDWWA&list=PLc_Ps3DdrcTuf3e-BBpDv8r9jbOB5Wdv-&ab_channel=DerrickSherrill) - [NumPy Python - What is NumPy in Python | Numpy Python tutorial in Hindi](https://www.youtube.com/watch?v=ZaKzw9tULeM&list=PLjVLYmrlmjGfgBKkIFBkMNGG7qyRfo00W&ab_channel=WsCubeTech) - [Introduction to Numpy and Scipy | Python Tutorials](https://www.youtube.com/watch?v=NVTWjd_UpzM&list=PLzgPDYo_3xukqLLjNeuCxj4CwvkJin03Z&ab_channel=Amulya%27sAcademy) - [Intro To Numpy - Numpy For Machine Learning 1](https://www.youtube.com/watch?v=gnKbAAVUzro&list=PLCC34OHNcOtpalASMlX2HHdsLNipyyhbK&ab_channel=Codemy.com) - [HOW TO INSTALL NUMPY - PYTHON PROGRAMMING](https://www.youtube.com/watch?v=8jBY5ior4W4&list=PLLOxZwkBK52BS9QmfiuJAGSoVikI5-1hN&ab_channel=SundeepSaradhiKanthety) - [NumPy Explained - Full Course (3 Hrs)](https://www.youtube.com/watch?v=eClQWW_gbFk&ab_channel=GormAnalysis) - [Python NumPy Tutorial for Beginners](https://www.youtube.com/watch?v=QUT1VHiLmmI&ab_channel=freeCodeCamp.org) - [Numpy Full Course | Numpy Tutorial | Python Tutorial For Beginners | Python Training | Simplilearn](https://www.youtube.com/watch?v=j31ah5Qa4QI&ab_channel=Simplilearn) - [Numpy Tutorial | Python Numpy Tutorial | Intellipaat](https://www.youtube.com/watch?v=DI8wg3SRV90&ab_channel=Intellipaat) - [Data Analysis with Python - Full Course for Beginners (Numpy, Pandas, Matplotlib, Seaborn)](https://www.youtube.com/watch?v=r-uOLxNrNk8&ab_channel=freeCodeCamp.org) - [NumPy Tutorial : Numpy Full Course](https://www.youtube.com/watch?v=8Y0qQEh7dJg&ab_channel=DerekBanas) - [Learn NUMPY in 5 minutes - BEST Python Library!](https://www.youtube.com/watch?v=xECXZ3tyONo&ab_channel=PythonProgrammer) - [Python Numpy Full Tutorial For Beginners | Numpy Full Course in 4 Hours](https://www.youtube.com/watch?v=-TYSM0CDA4c&ab_channel=WsCubeTech) - [NumPy for Beginners in 15 minutes | Python Crash Course](https://www.youtube.com/watch?v=uRsE5WGiKWo&ab_channel=NicholasRenotte) ## 🦃 Sites e cursos para aprender Pandas > Cursos para aprender Pandas em Português - [Curso de Pandas - Python - Introdução ao curso (versão ago/2020)](https://www.youtube.com/watch?v=1ua6uksg6wg&list=PL4OAe-tL47sa1McMctk5pdPd5eTAp3drk&ab_channel=Zurubabel) - [Introdução ao Pandas no Python - [SAIA DO ZERO EM 1 AULA]](https://www.youtube.com/watch?v=C0aj3FjN5e0&ab_channel=HashtagPrograma%C3%A7%C3%A3o) - [Curso Grátis - Se torne um Analista de Dados](https://www.youtube.com/watch?v=5kepfx0RquY&list=PL3Fmwz_E1hXRWxIkP843DiDf0ZeqgftTy&ab_channel=Gera%C3%A7%C3%A3oAnal%C3%ADtica) - [Manipulação de Dados em Python/Pandas - #00 Apresentação e Ambiente](https://www.youtube.com/watch?v=hD0uJln4S2Y&list=PL3ZslI15yo2pfkf7EGNR14xTwe-wZ2bNX&ab_channel=xavecoding) - [Curso para principiantes de Pandas para análisis de datos desde cero paso a paso en Python](https://www.youtube.com/watch?v=1CIZFu_qWvk&list=PLjdo6jnQHJFYUxftilqXD1pgzq9E9yJze&ab_channel=EscuelaDeBayes) - [Curso rápido completo de Pandas - Parte 1](https://www.youtube.com/watch?v=6vpDSD1wchA&ab_channel=UniversidadedosDados) - [Pandas do ZERO a ANÁLISE de DADOS | Dica de Pandas Python para Análise de Dados](https://www.youtube.com/watch?v=wnGsAOPKjLo&ab_channel=Programa%C3%A7%C3%A3oDin%C3%A2mica) - [Pandas (A Lib "Delicinha" para Data Science) - Dicionário do Programador](https://www.youtube.com/watch?v=yCtiqMRt4TQ&ab_channel=C%C3%B3digoFonteTV) > Cursos para aprender Pandas em Inglês - [Introduction to Pandas](https://www.youtube.com/watch?v=t4yBm9agYWo&list=PLFAYD0dt5xCxdKfIR3ZX3k07qrqEjUZSO&ab_channel=MachineLearningPlus) - [Pandas: free courses, books and learning resources.](https://www.youtube.com/watch?v=W0nC1yiL-VM&ab_channel=PythonProgrammer) - [Python Pandas Tutorial (Part 1): Getting Started with Data Analysis - Installation and Loading Data](https://www.youtube.com/watch?v=ZyhVh-qRZPA&list=PL-osiE80TeTsWmV9i9c58mdDCSskIFdDS&ab_channel=CoreySchafer) - [Python Pandas Tutorial 1. What is Pandas python? Introduction and Installation](https://www.youtube.com/watch?v=CmorAWRsCAw&list=PLeo1K3hjS3uuASpe-1LjfG5f14Bnozjwy&ab_channel=codebasics) - [Data Analysis with Python Course - Numpy, Pandas, Data Visualization](https://www.youtube.com/watch?v=GPVsHOlRBBI&ab_channel=freeCodeCamp.org) - [Data Analytics with Python](https://www.youtube.com/watch?v=4SJ7bEILPJk&list=PLLy_2iUCG87CNafffzNZPVa9rW-QmOmEv&ab_channel=IITRoorkeeJuly2018) - [Install Jupyter Notebook and Pandas - Pandas For Machine Learning 1](https://www.youtube.com/watch?v=fA0Ty562y8A&list=PLCC34OHNcOtqSz7Ke7kaYRf9CfviJgO55&ab_channel=Codemy.com) - [Pandas Tutorial : Pandas Full Course](https://www.youtube.com/watch?v=PcvsOaixUh8&ab_channel=DerekBanas) - [Data Analysis with Python - Full Course for Beginners (Numpy, Pandas, Matplotlib, Seaborn)](https://www.youtube.com/watch?v=r-uOLxNrNk8&ab_channel=freeCodeCamp.org) - [Complete Python Pandas Data Science Tutorial! (Reading CSV/Excel files, Sorting, Filtering, Groupby)](https://www.youtube.com/watch?v=vmEHCJofslg&ab_channel=KeithGalli) - [Pandas for Data Science in 20 Minutes | Python Crash Course](https://www.youtube.com/watch?v=tRKeLrwfUgU&ab_channel=NicholasRenotte) - [Learn pandas in 4 hours with this great (free) Kaggle course. Python for Data Science](https://www.youtube.com/watch?v=GU2mcHjLWlE&ab_channel=PythonProgrammer) ## 🐟 Sites e cursos para aprender XML > Cursos para aprender XML em Português - [XML - Dicionário do Programador](https://www.youtube.com/watch?v=h7W0UuRd4fc&ab_channel=C%C3%B3digoFonteTV) - [Curso de XML - Aula 01](https://www.youtube.com/watch?v=zqg38jy5yWQ&list=PLC1DD2110DBABA0E8&ab_channel=MarcosSouza) - [XML - Dicionário de Informática](https://www.youtube.com/watch?v=cwuosmEJuUQ&ab_channel=Dicion%C3%A1riodeInform%C3%A1tica) - [XML: Conceitos básicos](https://www.youtube.com/watch?v=LL3nWI2pM8E&ab_channel=Rog%C3%A9rioAra%C3%BAjo) > Cursos para aprender XML em Inglês - [What is XML | XML Beginner Tutorial | Learn XML with Demo in 10 min](https://www.youtube.com/watch?v=1JblVElt5K0&list=PLhW3qG5bs-L9DloLUPwC3GdFimY5Ce_gS&ab_channel=AutomationStepbyStep) - [XML Tutorial 1 Introduction](https://www.youtube.com/watch?v=YX-Arx4TBmU&list=PLbhnirpS9esXfdfZ0mapojvDycQBAIx-C&ab_channel=mrfizzlebutt) - [XML Tutorial for Beginners Theory](https://www.youtube.com/watch?v=n-y-YHVZSwk&list=PLmdFG1KSZhosqwkP-BCtcMq0KubZ4v1Cm&ab_channel=Telusko) - [XML Tutorial For Beginners | XML Tutorial | What Is XML? | Learn XML For Beginners | Simplilearn](https://www.youtube.com/watch?v=E-NciVkZFVs&ab_channel=Simplilearn) ## 🦢 Sites e cursos para aprender Jenkins > Cursos para aprender Jenkins em Português - [O básico de Pipelines CI/CD com Jenkins](https://www.youtube.com/watch?v=O6y27_Ol25g&ab_channel=Fabr%C3%ADcioVeronez) - [Curso de Jenkins - 01 Instalação](https://www.youtube.com/watch?v=8iLRsb2gXXY&ab_channel=MarceloGomesdePaula) - [Jenkins: O mínimo que você precisa saber](https://www.youtube.com/watch?v=8OfhS5f7jIY&ab_channel=FullCycle) > Cursos para aprender Jenkins em Inglês - [Jenkins Full Course | Jenkins Tutorial For Beginners | Jenkins Tutorial | Simplilearn](https://www.youtube.com/watch?v=FX322RVNGj4&ab_channel=Simplilearn) - [Learn Jenkins! Complete Jenkins Course - Zero to Hero](https://www.youtube.com/watch?v=6YZvp2GwT0A&ab_channel=DevOpsJourney) - [Jenkins Tutorial – How to Deploy a Test Server with Docker + Linux (Full Course)](https://www.youtube.com/watch?v=f4idgaq2VqA&ab_channel=freeCodeCamp.org) - [What Is Jenkins? | What Is Jenkins And How It Works? | Jenkins Tutorial For Beginners | Simplilearn](https://www.youtube.com/watch?v=LFDrDnKPOTg&ab_channel=Simplilearn) - [Complete Jenkins Pipeline Tutorial | Jenkinsfile explained](https://www.youtube.com/watch?v=7KCS70sCoK0&ab_channel=TechWorldwithNana) - [Jenkins pipeline// Advanced Tutorial // May2020- Session 1 (Part 1 Out 3 ) by DevOpsSchool](https://www.youtube.com/watch?v=v0nZnp0FUzs&list=PL0xeHY_ImQVXcCAu0PSdWKERIu4xLGo7N&ab_channel=AiOps%26MLOpsSchool) - [Deployment Overview | Jenkins](https://www.youtube.com/watch?v=813eFgtceio&list=PLRVv68RjliSfxKab5wJ3dYW7ZtlMPBoJ4&ab_channel=KubernetesAWSJenkinsCafe) - [Part 1 - An Introduction to Jenkins 2.0 for Build+Deploy+Test](https://www.youtube.com/watch?v=HZOII16W0oY&list=PL6tu16kXT9PqIe2b0BGul-cXbmwGt7Ihw&ab_channel=ExecuteAutomation) - [Jenkins Beginner Tutorial 1 - Introduction and Getting Started](https://www.youtube.com/watch?v=89yWXXIOisk&list=PLhW3qG5bs-L_ZCOA4zNPSoGbnVQ-rp_dG&ab_channel=AutomationStepbyStep) - [Jenkins Full Course | Jenkins Tutorial For Beginners | Learn Jenkins Step By Step | Simplilearn](https://www.youtube.com/watch?v=MayMkFCkzj4&ab_channel=Simplilearn) - [Jenkins Full Course in 4 Hours | Jenkins Tutorial For Beginners | DevOps Training | Edureka](https://www.youtube.com/watch?v=3a8KsB5wJDE&ab_channel=edureka%21) - [Jenkins Tutorial For Beginners 1 - Introduction to Jenkins](https://www.youtube.com/watch?v=yz3tyeA3Fe0&list=PLS1QulWo1RIbY8xXPqz6ad_sNHkIP3IXI&ab_channel=ProgrammingKnowledge) - [Jenkins 2021 Masterclass | Step by Step for Beginners | Interview Questions | Raghav Pal |](https://www.youtube.com/watch?v=woMAXn4e8NA&ab_channel=AutomationStepbyStep) - [Jenkins Tutorial | Jenkins Course For Developers and DevOps](https://www.youtube.com/watch?v=BvUkXrAAqjE&ab_channel=ProgrammingKnowledge) - [Free Jenkins CI course for beginners | Learn Jenkins CI / CD tool in one video.](https://www.youtube.com/watch?v=zhDTF_vjkuQ&ab_channel=TravelsCode) ## 🦤 Sites e cursos para aprender Xamarin > Cursos para aprender Xamarin em Português - [Curso de C# Xamarin - Aula 01 - Android, IOS e Windows Phone com C#](https://www.youtube.com/watch?v=d2tBuQEZtH8&list=PLxNM4ef1BpxjmpXgb-_0W6hUxjbgbI0PQ&ab_channel=PortalHugoCursos) - [Xamarin (o concorrente do Flutter e React Native) - Dicionário do Programador](https://www.youtube.com/watch?v=rtuywS2fG2Y&ab_channel=C%C3%B3digoFonteTV) > Cursos para aprender Xamarin em Inglês - [Kill Kotlin and Swift, Use C# Instead - Welcome to Xamarin.Forms!](https://www.youtube.com/watch?v=9eM9T5svYHw&list=PLdkt3RKz_b0zd3FHevP5Bd2vZYIwq12pF&ab_channel=EduardoRosas) - [Xamarin Android Tutorial - Linear Layout](https://www.youtube.com/watch?v=Wj-WT4uWlKA&list=PLaoF-xhnnrRVglZztNl99ih76fvBOLMe8&ab_channel=EDMTDev) - [Xamarin Forms #0- Introduction](https://www.youtube.com/watch?v=e6LeoYD1A1I&list=PL0CKdD7TV8pG0kNyfWO5LFqeU6J6Zj_49&ab_channel=Mikaelson) - [Xamarin Forms Tutorial: Build Native Mobile Apps with C#](https://www.youtube.com/watch?v=93ZU6j59wL4&ab_channel=ProgrammingwithMosh) ## 🦁 Sites e cursos para aprender Matlab > Cursos para aprender Matlab em Português - [Curso de MATLAB #01 - Introdução](https://www.youtube.com/watch?v=da0qJnleaEQ&list=PLE1UtdMhwaEobcUPjpo27o5HxeBSYjLEs&ab_channel=2001Engenharia) - [Aula 01- Apresentação do curso e do Ambiente do MATLAB](https://www.youtube.com/watch?v=XyNI0-DP-0o&list=PLJoR6gvpdNEZLB-Epf9csRTLhubXSnrzs&ab_channel=CarlosRonyheltonSantanadeOliveira) - [Curso de MATLAB - Introdução](https://www.youtube.com/watch?v=88NQiUU6khY&list=PLlx81VEju6qAUUSE3M6NlFoFnrSSqR59-&ab_channel=LASI-) - [Introdução ao Matlab para Engenharia # 001](https://www.youtube.com/watch?v=-8lHG5lX4Fg&list=PLALkrMtuSoe-0mVxznaj9NKosBUFKL7pr&ab_channel=SergioA.Casta%C3%B1oGiraldo-Brasil) - [Apresentação e Estrutura do Curso - Curso de Matlab - PETEE UFMG](https://www.youtube.com/watch?v=3366RoF1WaA&list=PL73kW0L8uzCK2qFoaY4Rur2FUetnNoUze&ab_channel=PETEEUFMG) > Cursos para aprender Matlab em Inglês - [The Complete MATLAB Course: Beginner to Advanced!](https://www.youtube.com/watch?v=T_ekAD7U-wU&ab_channel=JosephDelgadillo) - [Matlab Online Tutorial - 01 - The User Interface, Part 1](https://www.youtube.com/watch?v=w1cnxqBaljA&list=PLnVYEpTNGNtX6FcQm90I0WXdvhoEJPp3p&ab_channel=MathandScience) - [Learn MATLAB Episode #1: Installation & Resources](https://www.youtube.com/watch?v=nmyJTiZ3NeE&list=PLYmlEoSHldN4bz5WY7e0OvXQ90E_xUOmz&ab_channel=JosephDelgadillo) - [MATLAB Crash Course for Beginners](https://www.youtube.com/watch?v=7f50sQYjNRA&ab_channel=freeCodeCamp.org) - [Lesson 1: 1. Introduction (Old version)](https://www.youtube.com/watch?v=6iN56l7dEMY&list=PLYdXvSx87cgRJfv6gZl7GjAs0GNvyg-uS&ab_channel=FitzleLLC) - [What is MATLAB? & How It Works | MATLAB Features & Types | MATLAB Tutorial for Beginners](https://www.youtube.com/watch?v=0x4JhS1YpzI&list=PLjVLYmrlmjGcNZrPa9bRg0JVlcxLX4Mu9&ab_channel=WsCubeTech) ## 🪲 Sites e cursos para aprender Julia > Cursos para aprender Julia em Português - [Julia Lang (A Mistura de Linguagens que Deu Certo) - Dicionário do Programador](https://www.youtube.com/watch?v=Xzdg9czOxD8&ab_channel=C%C3%B3digoFonteTV) - [Uma LINGUAGEM para CIÊNCIA de DADOS? | Handshake #24 | Programe na Linguagem Julia](https://www.youtube.com/watch?v=Tj0CUAyxjck&list=PL5TJqBvpXQv4cAynxaIyclmpZ95g-gtqQ&ab_channel=Programa%C3%A7%C3%A3oDin%C3%A2mica) - [Linguagem de Programação Julia - Primeiras Impressões](https://www.youtube.com/watch?v=G2tYt3IKbXA&ab_channel=CaioDallaqua) - [Estrutura Básica | Linguagem Julia](https://www.youtube.com/watch?v=h0ubpGRtBUI&ab_channel=FilipeBraida) - [Tutoriais de Julia em Português - Super Tutorial do Básico](https://www.youtube.com/watch?v=Gmm5voUQaHw&ab_channel=AbelSiqueira) > Cursos para aprender Julia em Inglês - [Julia Tutorial | Julia Data Science Basic Full Course [Complete Tutorial] for Beginners [2019]](https://www.youtube.com/watch?v=lwj-1mclq0U&ab_channel=AbhishekAgarrwal) - [A Gentle Introduction to Julia](https://www.youtube.com/watch?v=4igzy3bGVkQ&list=PLP8iPy9hna6SCcFv3FvY_qjAmtTsNYHQE&ab_channel=TheJuliaProgrammingLanguage) - [The Continuing Advancements of Scientific Machine Learning (SciML) | 2022 DigiWell Julia Seminar](https://www.youtube.com/watch?v=yHiyJQdWBY8&ab_channel=TheJuliaProgrammingLanguage) - [Julia for Data Science - Video 0: Welcome, by Dr. Huda Nassar (for JuliaAcademy.com)](https://www.youtube.com/watch?v=AXgLWumAOhk&list=PLP8iPy9hna6QuDTt11Xxonnfal91JhqjO&ab_channel=TheJuliaProgrammingLanguage) - [Julia in 100 Seconds](https://www.youtube.com/watch?v=JYs_94znYy0&ab_channel=Fireship) - [JULIA COURSE FOR COMPLETE BEGINERS](https://www.youtube.com/watch?v=2apwJKYOdZo&ab_channel=F-Course) ## 🐨 Sites e cursos para aprender PowerShell > Cursos para aprender Powershell em Português - [PowerShell - Fundamentos](https://www.youtube.com/playlist?list=PLO_mlVzHgDw3EIKrT5rma_rmC4Lcc7ihT) - [Tutoriais de Windows PowerShell](https://www.youtube.com/playlist?list=PLucm8g_ezqNpdK1sHdiDC3T8VMANcT5WZ) - [PowerShell - ProfessorRamos](https://www.youtube.com/playlist?list=PL35Zp8zig6slB_EaLbwKP57L9weBfICtS) - [Curso Windows PowerShell - Bóson Treinamentos](https://www.youtube.com/playlist?list=PLs8UzdP13z6oEUoENIGkBQf1b2AtZcyoB) > Cursos para aprender Powershell em Espanhol - [Curso PowerShell 2022](https://www.youtube.com/playlist?list=PLn98b7UTDjb1h5_LCHXyeJR8nrPeTaSBM) - [Curso de PowerShell en Español](https://www.youtube.com/playlist?list=PLs3CpSZ8xiuS-qgB7SgrMoDaJcFY88EIA) > Cursos para aprender Powershell em Inglês - [PowerShell Master Class](https://www.youtube.com/playlist?list=PLlVtbbG169nFq_hR7FcMYg32xsSAObuq8) - [PowerShell For Beginners Full Course](https://www.youtube.com/watch?v=UVUd9_k9C6A&ab_channel=Nerd%27slesson) - [Powershell Advanced Tools and Scripting Full Course](https://www.youtube.com/watch?v=K4YDHFalAK8&ab_channel=Nerd%27slesson) - [PowerShell Master Class - PowerShell Fundamentals](https://www.youtube.com/watch?v=sQm4zRvvX58&ab_channel=JohnSavill%27sTechnicalTraining) ## 🐥 Sites e cursos para aprender Flask > Cursos para aprender Flask em Português - [Introdução - Curso de Flask](https://www.youtube.com/watch?v=r40pC9kyoj0&list=PL3BqW_m3m6a05ALSBW02qDXmfDKIip2KX&ab_channel=J%C3%BAliaRizza) - [Curso Flask - Aula 00 - Início](https://www.youtube.com/watch?v=MysMy8aV2NA&list=PLWhiA_CuQkbBhvPojHOPY81BmDt2eSfgI&ab_channel=FilipeMorelliDeveloper) - [Curso Programação - Como Criar um Site em Python com Flask mysql - 2022 - 01](https://www.youtube.com/watch?v=__cux2CPBN4&list=PL2Dw5PtrD32wC32rRLJSueOFPRgekHxNG&ab_channel=Cursosdeprograma%C3%A7%C3%A3o) - [Como Criar e Publicar um Site em Python com Flask](https://www.youtube.com/watch?v=K2ejI4z8Mbg&ab_channel=HashtagPrograma%C3%A7%C3%A3o) - [Curso Programação - Criando Uma loja online em python usando o framework flask - 01](https://www.youtube.com/watch?v=h5XFtuBlrT4&ab_channel=Cursosdeprograma%C3%A7%C3%A3o) - [Desenvolvimento Web com Python (Flask Framework)](https://www.youtube.com/watch?v=rGT5lG71pMQ&ab_channel=DankiCode) - [Curso de Flask 2020 - Parte 1 (Introducción).](https://www.youtube.com/watch?v=Yz1gUwXPPJw&list=PLuB3bC9rWQAsHK6rL87Vz9mfMIlk4ewwL&ab_channel=MundoPython) - [Flask (Micro Framework Web para Python) - Dicionário do Programador](https://www.youtube.com/watch?v=e9EPb5AoMf8&ab_channel=C%C3%B3digoFonteTV) > Cursos para aprender Flask em Inglês - [Flask Course - Python Web Application Development](https://www.youtube.com/watch?v=Qr4QMBUPxWo&ab_channel=freeCodeCamp.org) - [Building your first Flask app - Python on the web - Learning Flask series Pt. 1](https://www.youtube.com/watch?v=BUmUV8YOzgM&list=PLF2JzgCW6-YY_TZCmBrbOpgx5pSNBD0_L&ab_channel=JulianNash) - [Python Flask Tutorial: Full-Featured Web App Part 1 - Getting Started](https://www.youtube.com/watch?v=MwZwr5Tvyxo&list=PL-osiE80TeTs4UjLw5MM6OjgkjFeUxCYH&ab_channel=CoreySchafer) - [Python Flask Tutorial 1 - Introduction + Getting Started With Flask](https://www.youtube.com/watch?v=Kja_28SNIow&list=PLS1QulWo1RIZ6OujqIAXmLR3xsDn_ENHI&ab_channel=ProgrammingKnowledge) - [Python Website Full Tutorial - Flask, Authentication, Databases & More](https://www.youtube.com/watch?v=dam0GPOAvVI&ab_channel=TechWithTim) - [Flask Full Series - Web Application Development with Python - Introduction - Episode 1](https://www.youtube.com/watch?v=p068JokuThU&list=PLOkVupluCIjuPtTkhO6jmA76uQR994Wvi&ab_channel=JimShapedCoding) - [Learn Flask for Python - Full Tutorial](https://www.youtube.com/watch?v=Z1RJmh_OqeA&ab_channel=freeCodeCamp.org) - [Flask Tutorial #1 - How to Make Websites with Python](https://www.youtube.com/watch?v=mqhxxeeTbu0&list=PLzMcBGfZo4-n4vJJybUVV3Un_NFS5EOgX&ab_channel=TechWithTim) - [Flask [ Python Microframework ] Crash Course 2021 For Beginners](https://www.youtube.com/watch?v=3U1iHcqijCA&ab_channel=BekBrace) - [Make A Python Website As Fast As Possible!](https://www.youtube.com/watch?v=kng-mJJby8g&ab_channel=TechWithTim) ## 🐔 Sites e cursos para aprender Spring > Cursos para aprender Spring em Português - [Spring Boot | Curso Completo 2022](https://www.youtube.com/watch?v=LXRU-Z36GEU&ab_channel=MichelliBrito) - [Curso Spring - Introdução - Parte 1 de 6 (Tutorial)](https://www.youtube.com/watch?v=KIoMhHiap88&list=PLmPk8AhMVhETu1h9ZgVZyvquzrY4BwVWS&ab_channel=AprendaProgramarEmMinutos) - [Curso Spring Boot aula 01: Iniciando uma aplicação Spring Boot](https://www.youtube.com/watch?v=OHn1jLHGptw&list=PL8iIphQOyG-DHLpEx1TPItqJamy08fs1D&ab_channel=MichelliBrito) - [O que é Spring Framework? #Hipsterspontotube](https://www.youtube.com/watch?v=5XPojnx9bb8&ab_channel=AluraCursosOnline) - [Spring Boot Essentials 2 - Introdução ao curso.](https://www.youtube.com/watch?v=bCzsSXE4Jzg&list=PL62G310vn6nFBIxp6ZwGnm8xMcGE3VA5H&ab_channel=DevDojo) > Cursos para aprender Spring em Inglês - [Spring Boot Tutorial | Full Course [2022] [NEW]](https://www.youtube.com/watch?v=9SGDpanrc8U&ab_channel=Amigoscode) - [Spring framework Tutorial (001 Spring Framework Master Class Preview)](https://www.youtube.com/watch?v=MHoFSfXGX_A&list=PLw_k9CF7hBpJJsRWAhwSrDlWAzuMV0irl&ab_channel=FreeOnlineCourses) - [Spring Framework Course Overview | Content to cover | Prerequisite | Spring Tutorial in HINDI](https://www.youtube.com/watch?v=KRMNTudb0AY&list=PL0zysOflRCekeiERASkpi-crREVensZGS&ab_channel=LearnCodeWithDurgesh) - [Spring Boot Tutorial | Full Course [2022]](https://www.youtube.com/watch?v=slTUtTSwRKU&list=PLGRDMO4rOGcNSBOJOlrgQqGpIgo6_VZgR&ab_channel=JavaGuides) - [Spring framework tutorial for beginners with examples in eclipse | Why spring inversion of control ?](https://www.youtube.com/watch?v=r2Q0Jzl2qMQ&list=PL3NrzZBjk6m-nYX072dSaGfyCJ59Q5TEi&ab_channel=SeleniumExpress) - [Spring Boot Complete Tutorial - Master Class](https://www.youtube.com/watch?v=zvR-Oif_nxg&ab_channel=DailyCodeBuffer) - [Spring Full Course - Learn Spring Framework In 3 Hours | Spring Framework Tutorial | Simplilearn](https://www.youtube.com/watch?v=j3byTqx7KDE&ab_channel=Simplilearn) - [Spring Boot Tutorial for Beginners (Java Framework)](https://www.youtube.com/watch?v=vtPkZShrvXQ&ab_channel=freeCodeCamp.org) - [5 Spring Boot Projects in 10 Hours - Line by Line Coding](https://www.youtube.com/watch?v=VR1zoNomG3w&ab_channel=JavaGuides) - [Spring Boot Roadmap - How To Master Spring Boot](https://www.youtube.com/watch?v=cehTm_oSrqA&ab_channel=Amigoscode) - [Spring Security | FULL COURSE](https://www.youtube.com/watch?v=her_7pa0vrg&ab_channel=Amigoscode) - [Spring Boot Full Stack with Angular | Full Course [2021] [NEW]](https://www.youtube.com/watch?v=Gx4iBLKLVHk&ab_channel=Amigoscode) - [Spring Framework Tutorial for Beginners - Full Course](https://www.youtube.com/watch?v=QqBl92wZafo&ab_channel=TechCode) - [Spring Framework Tutorial | Full Course](https://www.youtube.com/watch?v=If1Lw4pLLEo&ab_channel=Telusko) - [Spring Full Course - Learn Spring Framework in 4 Hours | Spring Framework Tutorial | Edureka](https://www.youtube.com/watch?v=VvGjZgqojMc&ab_channel=edureka%21) - [Spring Core Tutorial in one Video | Learn Spring Core step by step in Hindi](https://www.youtube.com/watch?v=XQd_D19fPvs&ab_channel=LearnCodeWithDurgesh) - [Spring Boot Microservice Project Full Course in 6 Hours](https://www.youtube.com/watch?v=mPPhcU7oWDU&ab_channel=ProgrammingTechie) - [Spring Boot - Learn Spring Boot 3 (2 Hours)](https://www.youtube.com/watch?v=-mwpoE0x0JQ&ab_channel=Amigoscode) - [Spring Security Tutorial - [NEW] [2023]](https://www.youtube.com/watch?v=b9O9NI-RJ3o&ab_channel=Amigoscode) ## 🐗 Sites e cursos para aprender Tailwind CSS > Cursos para aprender Tailwind CSS em Português - [Curso gratuito Tailwind CSS #1 - Introdução e instalação](https://www.youtube.com/watch?v=1eLaBow7Zbo&list=PLcoYAcR89n-r1m-tMfV4qndrRWpT_rb9u&ab_channel=TiagoMatos) - [Tailwind CSS - Curso rápido](https://www.youtube.com/watch?v=1qH3wAtX4So&ab_channel=RicardoSanches) - [Tailwind CSS // Dicionário do Programador](https://www.youtube.com/watch?v=i_EKstz3x04&ab_channel=C%C3%B3digoFonteTV) - [Como começar no Tailwind CSS 3.0?](https://www.youtube.com/watch?v=mK_19iqznc8&ab_channel=EmersonBr%C3%B4ga) - [Aprenda Tailwind CSS recriando a interface do Insta!](https://www.youtube.com/watch?v=48TaQMfD8fo&ab_channel=C%C3%B3digoEscola) > Cursos para aprender Tailwind CSS em Inglês - [Tailwind CSS Full Course for Beginners | Complete All-in-One Tutorial | 3 Hours](https://www.youtube.com/watch?v=lCxcTsOHrjo&ab_channel=DaveGray) - [Tailwind CSS Tutorial #1 - Intro & Setup](https://www.youtube.com/watch?v=bxmDnn7lrnk&list=PL4cUxeGkcC9gpXORlEHjc5bgnIi5HEGhw&ab_channel=TheNetNinja) - [Tailwind in 100 Seconds](https://www.youtube.com/watch?v=mr15Xzb1Ook&list=PLro89l7qVjR_aPxpjPH6V3YjckCbuvDzm&ab_channel=Fireship) - [Learn Tailwind CSS – Course for Beginners](https://www.youtube.com/watch?v=ft30zcMlFao&ab_channel=freeCodeCamp.org) - [Build and Deploy a Fully Responsive Website with Modern UI/UX in React JS with Tailwind](https://www.youtube.com/watch?v=_oO4Qi5aVZs&ab_channel=JavaScriptMastery) - [Course Intro – Tailwind CSS v2.0: From Zero to Production](https://www.youtube.com/watch?v=elgqxmdVms8&list=PL5f_mz_zU5eXWYDXHUDOLBE0scnuJofO0&ab_channel=TailwindLabs) - [Ultimate Tailwind CSS Tutorial // Build a Discord-inspired Animated Navbar](https://www.youtube.com/watch?v=pfaSUYaSgRo&ab_channel=Fireship) - [Tailwind CSS 3 Crash Course](https://www.youtube.com/watch?v=LyRWNJK8I6U&ab_channel=codedamn) - [Tailwind in 100 Seconds](https://www.youtube.com/watch?v=mr15Xzb1Ook&ab_channel=Fireship) ## 🦐 Sites e cursos para aprender Styled Components > Cursos para aprender Styled Components em Português - [Styled Components, por onde começar? Os poderes do CSS in JS](https://www.youtube.com/watch?v=QdfjWRc4ySA&ab_channel=MarioSouto-DevSoutinho) - [Como utilizar Styled Components no React | CSS no React | Criando App com React](https://www.youtube.com/watch?v=KP5AsH_j21U&ab_channel=RodolfoMori) - [Styled Components (O construtor de elementos do React) // Dicionário do Programador](https://www.youtube.com/watch?v=p4jYFJNEyqA&ab_channel=C%C3%B3digoFonteTV) - [Aprenda Styled Components avançado do jeito fácil!](https://www.youtube.com/watch?v=Rbe8fqdc6T4&ab_channel=ArielBetti) - [Utilizando Styled Components (CSS-in-JS) no ReactJS e React Native | Diego Fernandes](https://www.youtube.com/watch?v=R3S8DEzEn6s&ab_channel=Rocketseat) - [Como Usar CSS e Estilizar Componentes no React JS - Styled Components](https://www.youtube.com/watch?v=j_cLz_A2odI&ab_channel=ProgramadorEspartano) > Cursos para aprender Styled Components em Inglês - [CSS-in-JS com Styled Components no React Native | Decode #25](https://www.youtube.com/watch?v=ZsVGOmZLgec&ab_channel=Rocketseat) - [Styled Components Crash Course & Project](https://www.youtube.com/watch?v=02zO0hZmwnw&ab_channel=TraversyMedia) - [React Styled Components - 1 - Introduction](https://www.youtube.com/watch?v=FSCSdAlLsYM&list=PLC3y8-rFHvwgu-G08-7ovbN9EyhF_cltM&ab_channel=Codevolution) - [Styled Components Is the Only Way To Do CSS](https://www.youtube.com/watch?v=54-hITMASgM&ab_channel=EngineerMan) - [Styled Components Full Tutorial - Style Your Components in React](https://www.youtube.com/watch?v=-FZzPHSLauc&ab_channel=PedroTech) - [React Styled Components Library Tutorial](https://www.youtube.com/watch?v=CDVEXZP0ki4&ab_channel=LaithAcademy) - [Styled Components - Beginners Tutorial](https://www.youtube.com/watch?v=vKI5aEsvch8&ab_channel=MonsterlessonsAcademy) - [React Hooks Tutorial - A Crash Course on Styled Components, JSX, React Router, and HOC](https://www.youtube.com/watch?v=iVRO0toVdYM&ab_channel=freeCodeCamp.org) - [Understanding the Styled Components Basics - with React](https://www.youtube.com/watch?v=nkfaZ8ctzpE&ab_channel=DailyTuition) ## 🐎 Sites e cursos para aprender Magento > Cursos para aprender Magento em Português - [Curso de Magento - Aula 1 – Introdução e Download](https://www.youtube.com/watch?v=iDl0IiJt7mQ&list=PLpEvhvupz-uQiY_aD5GGCChNLJMdZF4hS&ab_channel=iConectado-CursosOnline) - [Como Instalar o Magento 2 (Tutorial em Português)](https://www.youtube.com/watch?v=8jcy4YxaI5s&list=PLDwV4OI4NbD1abkoGuLFScvGBvgbHwihR&ab_channel=MestreMagento) - [Aula 1 - Magento 2 Curso de Desenvolvimento de Módulo](https://www.youtube.com/watch?v=MHFz2t1aVug&list=PLAB1CVlnN7Lv2nxe3JkVaGfKFOUfqyuuN&ab_channel=AbraaoMarques) - [Aula 01 - Cadastro de Categorias Magento 2](https://www.youtube.com/watch?v=qCgpHmeXadM&list=PL1KgCGp7BEH6T_91GdpjmZeIHN_pdr_MM&ab_channel=ECOM-DPlataformaparaLojasVirtuais) - [Curso de Magento - Aula 01 - Introdução ao Curso de Magento](https://www.youtube.com/watch?v=kK9D2wvv9jE&list=PLxNM4ef1Bpxi7fkqIK0RfY3bj-sTEFsDZ&ab_channel=PortalHugoCursos) > Cursos para aprender Magento em Inglês - [The complete Magento2 course](https://www.youtube.com/watch?v=zsasXJTbG5k&ab_channel=TechReview) - [Magento 2 Beginner Class, Lesson #1: Introduction to Magento 2](https://www.youtube.com/watch?v=u81X-sjgmQ0&list=PLtaXuX0nEZk9eL59JGE3ny-_GAU-z5X5D&ab_channel=OSTraining) - [How to Setup Magento on Your Computer 01/10 | Magento 2 Tutorials for Beginners (2019) | MageCafe](https://www.youtube.com/watch?v=XwXWg5fU7tY&list=PLeoWPZvrjokdF3KGMiEFuLXLIu1l2xlvd&ab_channel=Codilar%7CMagentoDevelopmentCompanyIndia) - [Magento 2 Project Overview for Beginner Developers](https://www.youtube.com/watch?v=yT6CGzt6eLM&ab_channel=MaxPronko) - [Magento 2 Introduction](https://www.youtube.com/watch?v=y6i-dVHN2vU&list=PLju9v8YUzEuzYxXrF8ucXwxW_Xcgu1dYd&ab_channel=AstralWebInc.) - [how to Install Magento 2](https://www.youtube.com/watch?v=4FYd6lRRATA&list=PL9Q0S-CmtAhJVjwnK5ip6H84sCuRQcACY&ab_channel=AlaaAl-Maliki) - [Lesson 4: A Module in Magento 2 | Magento 2 for Beginners | Mage Mastery](https://www.youtube.com/watch?v=CGEWkApKGbQ&list=PLwcl8DqLMv9cF8XBYeGDnelmV0UqO2xAJ&ab_channel=MaxPronko) - [Beginner to Certified - The Path of a Magento Developer](https://www.youtube.com/watch?v=RPCh2ca0EIg&ab_channel=MarkShust) - [How to prepare for Magento Certification Exams? (Tips and Tricks)](https://www.youtube.com/watch?v=Zq6xpA7dHpE&ab_channel=BartTv) ## 🐜 Sites e cursos para aprender ArangoDB > Cursos para aprender ArangoDB em Português - - [Introdução ao ArangoDB através do Python Português](https://www.youtube.com/watch?v=umgJygSY2V0&ab_channel=ArangoDB) - - [Introdução ao banco de dados NOSQL - ArangoDB](https://www.youtube.com/watch?v=v45go6zNNkY&ab_channel=DanielFerreira) > Cursos para aprender ArangoDB em Inglês - - [ArangoDB Tutorial - Databases every developer should know about](https://www.youtube.com/watch?v=4C4zqhXwCKs&ab_channel=LearnCode.academy) - - [ArangoDB Dev Days 2021: Lessons Learned: Creating a Complete ERP-System with ArangoDB](https://www.youtube.com/watch?v=j3EVRtD3LBE&ab_channel=ArangoDB) - - [ArangoDB Graph Database Syntax Part 1 - Traversal](https://www.youtube.com/watch?v=0U8TfLOp184&ab_channel=ArangoDB) - - [Custom Pregel in ArangoDB Feature Preview and Demo](https://www.youtube.com/watch?v=DWJ-nWUxsO8&ab_channel=ArangoDB) - - [Introduction to ArangoDB Oasis](https://www.youtube.com/watch?v=0xzn1eOYnTU&ab_channel=ArangoDB) - - [Fundamentals and Best Practices of ArangoDB Cluster Administration](https://www.youtube.com/watch?v=RQ33fkgUg64&ab_channel=ArangoDB) - - [Learn all about the new Search Engine ArangoSearch in ArangoDB 3.4](https://www.youtube.com/watch?v=iDznGhelajY&ab_channel=ArangoDB) - - [ArangoDB - How to Install and Use ArangoDB Database on Windows](https://www.youtube.com/watch?v=M-7hB-4kHtk&ab_channel=DevNami) - - [GraphQL and ArangoDB](https://www.youtube.com/watch?v=vaUdiWU-src&ab_channel=ArangoDB) ## 📚 Sites e cursos para aprender Linha de comando > Cursos para aprender Bash em Português - [Curso Básico de Bash](https://www.youtube.com/playlist?list=PLXoSGejyuQGpf4X-NdGjvSlEFZhn2f2H7) - [Curso intensivo de programação em Bash](https://www.youtube.com/playlist?list=PLXoSGejyuQGr53w4IzUzbPCqR4HPOHjAI) - [Curso de Shell Scripting - Programação no Linux](https://www.youtube.com/playlist?list=PLucm8g_ezqNrYgjXC8_CgbvHbvI7dDfhs) - [Curso de Terminal Linux - Daniel Berg](https://www.youtube.com/playlist?list=PLbV6TI03ZWYXXwbP2TNTbviUaFh6YqqVt) - [Curso de Linux Avançado Terminal - Dicas do Guarapa](https://www.youtube.com/playlist?list=PLGw1E40BSQnRZufbzjGVzkH-O8SngPymp) - [Comandos para o terminal (Windows, macOS e Linux) - Lucas Caton](https://www.lucascaton.com.br/2018/01/07/comandos-para-o-terminal-windows-macos-e-linux) > Cursos para aprender Bash em Espanhol - [Curso Profesional de Scripting Bash Shell](https://www.youtube.com/playlist?list=PLDbrnXa6SAzUsIAqsjVOeyagmmAvmwsG2) - [Curso Linux: Comandos Básicos [Introducción al Shell BASH]](https://www.youtube.com/playlist?list=PLN9u6FzF6DLTRhmLLT-ILqEtDQvVf-ChM) > Cursos para aprender Bash em Inglês - [Bash Scripting Full Course 3 Hours](https://www.youtube.com/watch?v=e7BufAVwDiM&ab_channel=linuxhint) - [Linux Command Line Full course: Beginners to Experts. Bash Command Line Tutorials](https://www.youtube.com/watch?v=2PGnYjbYuUo&ab_channel=Geek%27sLesson) - [Bash in 100 Seconds](https://www.youtube.com/watch?v=I4EWvMFj37g&ab_channel=Fireship) - [Bash Script with Practical Examples | Full Course](https://www.youtube.com/watch?v=TPRSJbtfK4M&ab_channel=Amigoscode) - [Beginner's Guide to the Bash Terminal](https://www.youtube.com/watch?v=oxuRxtrO2Ag&ab_channel=JoeCollins) - [212 Bash Scripting Examples](https://www.youtube.com/watch?v=q2z-MRoNbgM&ab_channel=linuxhint) - [Linux Bash for beginners 2022](https://www.youtube.com/watch?v=qALScO3E61I&ab_channel=GPS) - [Bash scripting tutorial for beginners](https://www.youtube.com/watch?v=9T2nEXlLy9o&ab_channel=FortifySolutions) - [Linux CLI Crash Course - Fundamentals of Bash Shell](https://www.youtube.com/watch?v=S99sQLravYo&ab_channel=codedamn) - [Shell Scripting](https://www.youtube.com/playlist?list=PLBf0hzazHTGMJzHon4YXGscxUvsFpxrZT) - [Shell Scripting Tutorial for Beginners](https://www.youtube.com/playlist?list=PLS1QulWo1RIYmaxcEqw5JhK3b-6rgdWO_) - [Bash Scripting | Complete Course](https://www.youtube.com/playlist?list=PLgmzaUQcOhaqQjXaqz7Ky5a_xj_8OlCK4) - [Complete Shell Scripting Tutorials](https://www.youtube.com/playlist?list=PL2qzCKTbjutJRM7K_hhNyvf8sfGCLklXw) - [Bash Scripting 3hrs course](https://www.youtube.com/playlist?list=PL2JwSAqE1httILs055eEgbnO9oTu1otIG) - [Bash Zero to Hero Series](https://www.youtube.com/playlist?list=PLP8aFdeDk9g5Pg7WHYfv6EsD1D8hrx5AJ) <details> <summary>📝 Alguns comandos úteis (Linux, MacOs e Powershell/Windows)</summary> - lista os arquivos presentes no diretório ```bash ls # => lista do diretorio atual # ou dir / tree /f # ou ls <caminho do diretorio> # => lista do diretorio passado ``` - Altera diretório atual ```bash cd #=> volta para a home # ou cd <caminho> #=> leva para o caminho passado ``` - Remove arquivo ```bash rm <arquivo> ``` - Remove diretório cujo caminho é dado como operando ```bash rmdir <caminho> # => o diretório deve estar vazio, ou seja, antes você tem que remover todos os arquivos do diretório ``` - Escreve na tela o conteúdo do arquivo do caminho dado como operando ```bash cat <arquivo> ``` - Escreve na tela o caminho do diretório de trabalho atual ```bash pwd ``` - Lista os comandos já executados ```bash history ``` - Limpa a tela do terminal ```bash clear # => (clc no Powershell) ``` </details>
74
Getting started with java code auditing 代码审计入门的小项目
# About The articles in this series are aimed at people who have a basic knowledge of Java's basic syntax. The contents of this series of articles mainly include: * Introduction to audit environment * SQL vulnerability principle and actual case introduction * XSS vulnerability principle and actual case introduction * SSRF vulnerability principle and actual case introduction * RCE vulnerability principle and actual case introduction * Includes vulnerability principles and actual case introductions * Serialization vulnerability principle and actual case introduction * S2 series classic vulnerability analysis * WebLogic series of classic vulnerability analysis * fastjson series classic vulnerability analysis * Jackson series classic vulnerability analysis, etc. The content order may be slightly adjusted, but the overall content will not change. Finally, I hope that this series of articles can bring you a little gain. This project contains the source code needed based on the above article Have fun # 关于 本系列的文章面向人群主要是拥有 Java 基本语法基础的朋友,系列文章的内容主要包括: * 审计环境介绍 * SQL 漏洞原理与实际案例介绍 * XSS 漏洞原理与实际案例介绍 * SSRF 漏洞原理与实际案例介绍 * RCE 漏洞原理与实际案例介绍 * 包含漏洞原理与实际案例介绍 * 序列化漏洞原理与实际案例介绍 * S2系列经典漏洞分析 * WebLogic 系列经典漏洞分析 * fastjson系列经典漏洞分析 * jackson系列经典漏洞分析等 可能内容顺序会略有调整,但是总体内容不会改变,最后希望这系列的文章能够给你带来一点收获。 本项目包含了基于上述文章中需要的源码 玩的开心
75
Answers for Quizzes & Assignments that I have taken
# Coursera and edX Assignments This repository is aimed to help Coursera and edX learners who have difficulties in their learning process. The quiz and programming homework is belong to coursera and edx and solutions to me. - #### [EDHEC - Investment Management with Python and Machine Learning Specialization](./EDHEC%20-%20Investment%20Management%20with%20Python%20and%20Machine%20Learning%20Specialization) 1. [EDHEC - Portfolio Construction and Analysis with Python](./EDHEC%20-%20Investment%20Management%20with%20Python%20and%20Machine%20Learning%20Specialization/EDHEC%20-%20Portfolio%20Construction%20and%20Analysis%20with%20Python) 2. [EDHEC - Advanced Portfolio Construction and Analysis with Python](./EDHEC%20-%20Investment%20Management%20with%20Python%20and%20Machine%20Learning%20Specialization/EDHEC%20-%20Advanced%20Portfolio%20Construction%20and%20Analysis%20with%20Python) - #### [Google Data Analytics Professional Certificate](./Google%20Data%20Analytics%20Professional%20Certificate) 1. [Google - Foundations: Data, Data, Everywhere](./Google%20Data%20Analytics%20Professional%20Certificate/course1-%20Foundations%20Data%2C%20Data%2C%20Everywhere) 2. [Google - Ask Questions to Make Data-Driven Decisions](./Google%20Data%20Analytics%20Professional%20Certificate/course2-%20Ask%20Questions%20to%20Make%20Data-Driven%20Decisions) 3. [Google - Prepare Data for Exploration](./Google%20Data%20Analytics%20Professional%20Certificate/course3-%20Prepare%20Data%20for%20Exploration) 4. [Google - Process Data from Dirty to Clean](./Google%20Data%20Analytics%20Professional%20Certificate/course4-%20Process%20Data%20from%20Dirty%20to%20Clean) 5. [Google - Analyze Data to Answer Questions](./Google%20Data%20Analytics%20Professional%20Certificate/course5-%20Analyze%20Data%20to%20Answer%20Questions) 6. [Google - Share Data Through the Art of Visualization](./Google%20Data%20Analytics%20Professional%20Certificate/course6-%20Share%20Data%20Through%20the%20Art%20of%20Visualization) 7. [Google - Data Analysis with R Programming](./Google%20Data%20Analytics%20Professional%20Certificate/course7-%20Data%20Analysis%20with%20R%20Programming) 8. [Google - Google Data Analytics Capstone: Complete a Case Study](./Google%20Data%20Analytics%20Professional%20Certificate/course8-%20Google%20Data%20Analytics%20Capstone%20Complete%20a%20Case%20Study) - #### [University of Michigan - PostgreSQL for Everybody Specialization](.//University%20of%20Michigan%20-%20PostgreSQL%20for%20Everybody%20Specialization) - #### [The University of Melbourne & The Chinese University of Hong Kong - Basic Modeling for Discrete Optimization](./The%20University%20of%20Melbourne%20-%20Basic%20Modeling%20for%20Discrete%20Optimization) - #### [Stanford University - Machine Learning](./Stanford%20University%20-%20Machine%20Learning) - #### [Imperial College London - Mathematics for Machine Learning Specialization](./Imperial%20College%20London%20-%20Mathematics%20for%20Machine%20Learning%20Specialization) 1. [Imperial College London - Linear Algebra](./Imperial%20College%20London%20-%20Mathematics%20for%20Machine%20Learning%20Specialization/Imperial%20College%20London%20-%20Mathematics%20for%20Machine%20Learning%20Linear%20Algebra) 2. [Imperial College London - Multivariate Calculus](./Imperial%20College%20London%20-%20Mathematics%20for%20Machine%20Learning%20Specialization/Imperial%20College%20London%20-%20Mathematics%20for%20Machine%20Learning%20Multivariate%20Calculus) - #### [University of Colorado Boulder - Excel/VBA for Creative Problem Solving Specialization](./CU-Boulder%20-%20Excel%20VBA%20for%20Creative%20Problem%20Solving%20Specialization) 1. [University of Colorado Boulder - Excel/VBA for Creative Problem Solving, Part 1](./CU-Boulder%20-%20Excel%20VBA%20for%20Creative%20Problem%20Solving%20Specialization/CU-Boulder%20-%20Excel%20VBA%20for%20Creative%20Problem%20Solving%2C%20Part%201) - #### [University of Washington - Machine Learning Specialization](./University%20of%20Washington%20-%20Machine%20Learning%20Specialization) 1. [University of Washington - A Case Study Approach](./University%20of%20Washington%20-%20Machine%20Learning%20Specialization/University%20of%20Washington%20-%20Machine%20Learning%20Foundations%20A%20Case%20Study%20Approach) 2. [University of Washington - Regression](./University%20of%20Washington%20-%20Machine%20Learning%20Specialization/University%20of%20Washington%20-%20Machine%20Learning%20Regression) - #### [Rice University - Python Data Representations](./Rice-Python-Data-Representations) - #### [Rice University - Python Data Analysis](./Rice-Python-Data-Analysis) - #### [Rice University - Python Data Visualization](./Rice-Python-Data-Visualization) - #### [Johns Hopkins University - Data Science Specialization](./Johns%20Hopkins%20University%20-%20Data%20Science%20Specialization) 1. [Johns Hopkins University - R Programming](./Johns%20Hopkins%20University%20-%20Data%20Science%20Specialization/Johns%20Hopkins%20University%20-%20R%20Programming) 2. [Johns Hopkins University - Getting and Cleaning Data](./Johns%20Hopkins%20University%20-%20Data%20Science%20Specialization/Johns%20Hopkins%20University%20-%20Getting%20and%20Cleaning%20Data) 3. [Johns Hopkins University - Exploratory Data Analysis](./Johns%20Hopkins%20University%20-%20Data%20Science%20Specialization/Johns%20Hopkins%20University%20-%20Exploratory%20Data%20Analysis) 4. [Johns Hopkins University - Reproducible Research](./Johns%20Hopkins%20University%20-%20Data%20Science%20Specialization/Johns%20Hopkins%20University%20-%20Reproducible%20Research) - #### [Saint Petersburg State University - Competitive Programmer's Core Skills](./Saint%20Petersburg%20State%20University%20-%20Competitive%20Programmer's%20Core%20Skills) - #### [Rice University - Business Statistics and Analysis Capstone](./Rice%20University%20-%20Business%20Statistics%20and%20Analysis%20Capstone) - #### [University of California, San Diego - Object Oriented Programming in Java](./UCSD-Object-Oriented-Programming-in-Java) - #### [University of California, San Diego - Data Structures and Performance](./UCSD-Data-Structures-and-Performance) - #### [University of California, San Diego - Advanced Data Structures in Java](./UCSD-Advanced-Data-Structures-in-Java) - #### [IBM: Applied Data Science Specialization](./Applied-Data-Science-Specialization-IBM) 1. [IBM: Open Source tools for Data Science](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Open%20Source%20tools%20for%20Data%20Science) 2. [IBM: Data Science Methodology](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Data%20Science%20Methodology) 3. [IBM: Python for Data Science](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Python%20for%20Data%20Science) 4. [IBM: Databases and SQL for Data Science](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Databases%20and%20SQL%20for%20Data%20Science) 5. [IBM: Data Analysis with Python](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Data%20Analysis%20with%20Python) 6. [IBM: Data Visualization with Python](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Data%20Visualization%20with%20Python) 7. [IBM: Machine Learning with Python](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Machine%20Learning%20with%20Python) 8. [IBM: Applied Data Science Capstone Project](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Applied%20Data%20Science%20Capstone%20Project) - #### [deeplearning.ai - TensorFlow in Practice Specialization](./deeplearning.ai%20-%20TensorFlow%20in%20Practice%20Specialization) 1. [deeplearning.ai - Introduction to TensorFlow for Artificial Intelligence, Machine Learning, and Deep Learning](./deeplearning.ai%20-%20TensorFlow%20in%20Practice%20Specialization/deeplearning.ai%20-%20TensorFlow%20for%20AI%2C%20ML%2C%20and%20Deep%20Learning) 2. [deeplearning.ai - Convolutional Neural Networks in TensorFlow](./deeplearning.ai%20-%20TensorFlow%20in%20Practice%20Specialization/deeplearning.ai%20-%20Convolutional%20Neural%20Networks%20in%20TensorFlow) 3. [deeplearning.ai - Natural Language Processing in TensorFlow](./deeplearning.ai%20-%20TensorFlow%20in%20Practice%20Specialization/deeplearning.ai%20-%20Natural%20Language%20Processing%20in%20TensorFlow) 4. [deeplearning.ai - Sequences, Time Series and Prediction](./deeplearning.ai%20-%20TensorFlow%20in%20Practice%20Specialization/deeplearning.ai%20-%20Sequences%2C%20Time%20Series%20and%20Prediction) - #### [Alberta Machine Intelligence Institute - Machine Learning Algorithms: Supervised Learning Tip to Tail](./Amii%20-%20Machine%20Learning%20Algorithms) - #### [University of Helsinki: Object-Oriented Programming with Java, part I](./Object-Oriented-Programming-with-Java-pt1-University-of%20Helsinki-moocfi) - #### [The Hong Kong University of Science and Technology - Python and Statistics for Financial Analysis](./HKUST%20%20-%20Python%20and%20Statistics%20for%20Financial%20Analysis) - #### [Google IT Automation with Python Professional Certificate](./Google%20IT%20Automation%20with%20Python) 1. [Google - Crash Course on Python](./Google%20IT%20Automation%20with%20Python/Google%20-%20Crash%20Course%20on%20Python) 2. [Google - Using Python to Interact with the Operating System](./Google%20IT%20Automation%20with%20Python/Google%20-%20Using%20Python%20to%20Interact%20with%20the%20Operating%20System) - #### [Delft University of Technology - Automated Software Testing](./Delft%20University%20of%20Technology%20-%20Automated%20Software%20Testing) - #### [University of Maryland, College Park: Cybersecurity Specialization](./University%20of%20Maryland%20-%20Cybersecurity%20Specialization) 1. [University of Maryland, College Park: Software Security](./University%20of%20Maryland%20-%20Cybersecurity%20Specialization/University%20of%20Maryland%20-%20Software%20Security) 2. [University of Maryland, College Park: Usable Security](./University%20of%20Maryland%20-%20Cybersecurity%20Specialization/University%20of%20Maryland%20-%20Usable%20Security) - #### [University of Maryland, College Park: Programming Mobile Applications for Android Handheld Systems: Part 1](./University%20of%20Maryland%20-%20Programming%20Mobile%20Applications%20for%20Android%20Handheld%20Systems%2C%20Part%20I) - #### [Harvard University - Introduction to Computer Science CS50x](./Harvard-CS50x) - #### [Duke University - Java Programming: Principles of Software Design](./Duke-Java-Programming-Principles-of-Software-Design) - #### [Duke University - Java Programming: Solving Problems with Software](./Duke-Java-Programming-Solving-Problems-with-Software) - #### [Duke University - Java Programming: Arrays, Lists, and Structured Data](./Duke-Java-Programming-Arrays-Lists-Structured-Data) - #### [Duke University - Data Science Math Skills](./Duke-University-Data-Science-Math-Skills) - #### [Massachusetts Institute of Technology - Introduction to Computer Science and Programming Using Python 6.00.1x](./MITx-6.00.1x) - #### [Massachusetts Institute of Technology - Introduction to Computational Thinking and Data Science 6.00.2x](./MITx-6.00.2x) - #### [Johns Hopkins University: Ruby on Rails Web Development Specialization](./Johns%20Hopkins%20University%20-%20Ruby%20on%20Rails%20Web%20Development%20Specialization) 1. [Johns Hopkins University - Ruby on Rails](./Johns%20Hopkins%20University%20-%20Ruby%20on%20Rails%20Web%20Development%20Specialization/Johns%20Hopkins%20University%20-%20Ruby%20on%20Rails) 2. [Johns Hopkins University - Rails with Active Record and Action Pack](./Johns%20Hopkins%20University%20-%20Ruby%20on%20Rails%20Web%20Development%20Specialization/Johns%20Hopkins%20University%20-%20Rails%20with%20Active%20Record%20and%20Action%20Pack) 3. [Johns Hopkins University - Ruby on Rails Web Services and Integration with MongoDB](./Johns%20Hopkins%20University%20-%20Ruby%20on%20Rails%20Web%20Development%20Specialization/JHU%20-%20Ruby%20on%20Rails%20Web%20Services%20and%20Integration%20with%20MongoDB) 4. [Johns Hopkins University - HTML, CSS, and Javascript for Web Developers](./Johns%20Hopkins%20University%20-%20Ruby%20on%20Rails%20Web%20Development%20Specialization/Johns%20Hopkins%20University%20-%20HTML%2C%20CSS%2C%20and%20Javascript%20for%20Web%20Developers) 5. [Johns Hopkins University - Single Page Web Applications with AngularJS](./Johns%20Hopkins%20University%20-%20Ruby%20on%20Rails%20Web%20Development%20Specialization/Johns%20Hopkins%20University%20-%20Single%20Page%20Web%20Applications%20with%20AngularJS) - #### [University of Michigan - Web Design for Everybody: Web Development & Coding Specialization](./University%20of%20Michigan%20-%20Web%20Design%20for%20Everybody) 1. [University of Michigan - HTML5](./University%20of%20Michigan%20-%20Web%20Design%20for%20Everybody/University%20of%20Michigan%20-%20%20HTML5) 2. [University of Michigan - CSS3](./University%20of%20Michigan%20-%20Web%20Design%20for%20Everybody/University%20of%20Michigan%20-%20%20CSS3) 3. [University of Michigan - Interactivity with JavaScript](./University%20of%20Michigan%20-%20Web%20Design%20for%20Everybody/University%20of%20Michigan%20-%20%20Interactivity%20with%20JavaScript) - #### [Stanford University - Introduction to Mathematical Thinking](./Stanford-University-Introduction-to-Mathematical-Thinking) - #### [University of London - Responsive Website Development and Design Specialization](./University%20of%20London%20-%20Responsive%20Website%20Development%20and%20Design%20Specialization) 1. [University of London - Responsive Web Design](./University%20of%20London%20-%20Responsive%20Website%20Development%20and%20Design%20Specialization/University%20of%20London%20-%20Responsive%20Web%20Design) 2. [University of London - Web Application Development with JavaScript and MongoDB](./University%20of%20London%20-%20Responsive%20Website%20Development%20and%20Design%20Specialization/University%20of%20London%20-%20Web%20Application%20Development%20with%20JavaScript%20and%20MongoDB) 3. [University of London - Responsive Website Tutorial and Examples](./University%20of%20London%20-%20Responsive%20Website%20Development%20and%20Design%20Specialization/University%20of%20London%20-%20Responsive%20Website%20Tutorial%20and%20Examples) - #### [University of California, San Diego - Biology Meets Programming: Bioinformatics](./UCSD%20-%20Biology%20Meets%20Programming%20Bioinformatics) - #### [University of Toronto - Learn to Program: The Fundamentals](./University-of-Toronto-The%20Fundamentals) - #### [University of Toronto - Learn to Program: Crafting Quality Code](./University-of-Toronto-Crafting-Quality-Code) - #### [University of British Columbia - How to Code: Simple Data HtC1x](./UBCx-HtC1x) - #### [University of British Columbia - Software Construction: Data Abstraction](./UBCx-Software-Construction-Data-Abstraction-SoftConst1x) - #### [University of British Columbia - Software Construction: Object-Oriented Design](./UBCx-Software-Construction-OOP-SoftConst2x)
76
A distributed single-sign-on framework.(分布式单点登录框架XXL-SSO)
<p align="center"> <img src="https://www.xuxueli.com/doc/static/xxl-job/images/xxl-logo.jpg" width="150"> <h3 align="center">XXL-SSO</h3> <p align="center"> XXL-SSO, A Distributed Single-Sign-On Framework. <br> <a href="https://www.xuxueli.com/xxl-sso/"><strong>-- Home Page --</strong></a> <br> <br> <a href="https://github.com/xuxueli/xxl-sso/actions"> <img src="https://github.com/xuxueli/xxl-sso/workflows/Java%20CI/badge.svg" > </a> <a href="https://maven-badges.herokuapp.com/maven-central/com.xuxueli/xxl-sso/"> <img src="https://maven-badges.herokuapp.com/maven-central/com.xuxueli/xxl-sso/badge.svg" > </a> <a href="https://github.com/xuxueli/xxl-sso/releases"> <img src="https://img.shields.io/github/release/xuxueli/xxl-sso.svg" > </a> <a href="http://www.gnu.org/licenses/gpl-3.0.html"> <img src="https://img.shields.io/badge/license-GPLv3-blue.svg" > </a> <a href="https://www.xuxueli.com/page/donate.html"> <img src="https://img.shields.io/badge/%24-donate-ff69b4.svg?style=flat-square" > </a> </p> </p> ## Introduction XXL-SSO is a distributed single-sign-on framework. You only need to log in once to access all trusted application systems. It has "lightweight, scalable, distributed, cross-domain, Web+APP support access" features. Now, it's already open source code, real "out-of-the-box". XXL-SSO 是一个分布式单点登录框架。只需要登录一次就可以访问所有相互信任的应用系统。 拥有"轻量级、分布式、跨域、Cookie+Token均支持、Web+APP均支持"等特性。现已开放源代码,开箱即用。 ## Documentation - [中文文档](https://www.xuxueli.com/xxl-sso/) ## Communication - [社区交流](https://www.xuxueli.com/page/community.html) ## Features 1. 简洁:API直观简洁,可快速上手 2. 轻量级:环境依赖小,部署与接入成本较低 3. 单点登录:只需要登录一次就可以访问所有相互信任的应用系统 4. 分布式:接入SSO认证中心的应用,支持分布式部署 5. HA:Server端与Client端,均支持集群部署,提高系统可用性 6. 跨域:支持跨域应用接入SSO认证中心 7. Cookie+Token均支持:支持基于Cookie和基于Token两种接入方式,并均提供Sample项目 8. Web+APP均支持:支持Web和APP接入 9. 实时性:系统登陆、注销状态,全部Server与Client端实时共享 10. CS结构:基于CS结构,包括Server"认证中心"与Client"受保护应用" 11. 记住密码:未记住密码时,关闭浏览器则登录态失效;记住密码时,支持登录态自动延期,在自定义延期时间的基础上,原则上可以无限延期 12. 路径排除:支持自定义多个排除路径,支持Ant表达式。用于排除SSO客户端不需要过滤的路径 ## Development 于2018年初,我在github上创建XXL-SSO项目仓库并提交第一个commit,随之进行系统结构设计,UI选型,交互设计…… 于2018-12-05,XXL-SSO参与"[2018年度最受欢迎中国开源软件](https://www.oschina.net/project/top_cn_2018?sort=1)"评比,在当时已录入的一万多个国产开源项目中角逐,最终排名第55名。 于2019-01-23,XXL-SSO被评选上榜"[2018年度新增开源软件排行榜之国产 TOP 50](https://www.oschina.net/news/103857/2018-osc-new-opensource-software-cn-top50)"评比,排名第8名。 至今,XXL-SSO已接入多家公司的线上产品线,接入场景如电商业务,O2O业务和核心中间件配置动态化等,截止2018-03-15为止,XXL-SSO已接入的公司包括不限于: 1. 湖南创发科技 2. 深圳龙华科技有限公司 3. 摩根国际 4. 印记云 > 更多接入的公司,欢迎在 [登记地址](https://github.com/xuxueli/xxl-sso/issues/1 ) 登记,登记仅仅为了产品推广。 欢迎大家的关注和使用,XXL-SSO也将拥抱变化,持续发展。 ## Contributing Contributions are welcome! Open a pull request to fix a bug, or open an [Issue](https://github.com/xuxueli/xxl-sso/issues/) to discuss a new feature or change. 欢迎参与项目贡献!比如提交PR修复一个bug,或者新建 [Issue](https://github.com/xuxueli/xxl-sso/issues/) 讨论新特性或者变更。 ## Copyright and License This product is open source and free, and will continue to provide free community technical support. Individual or enterprise users are free to access and use. - Licensed under the GNU General Public License (GPL) v3. - Copyright (c) 2015-present, xuxueli. 产品开源免费,并且将持续提供免费的社区技术支持。个人或企业内部可自由的接入和使用。 ## Donate No matter how much the amount is enough to express your thought, thank you very much :) [To donate](https://www.xuxueli.com/page/donate.html ) 无论金额多少都足够表达您这份心意,非常感谢 :) [前往捐赠](https://www.xuxueli.com/page/donate.html )
77
A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.
Flowable (V6) ======== [Maven Central: ![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.flowable/flowable-engine/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.flowable/flowable-engine) [Docker Images: ![Docker Hub](https://shields.io/docker/pulls/flowable/flowable-rest)](https://hub.docker.com/u/flowable/flowable-rest) [License: ![license](https://img.shields.io/hexpm/l/plug.svg)](https://github.com/flowable/flowable-engine/blob/master/LICENSE) ![Flowable Actions CI](https://github.com/flowable/flowable-engine/workflows/Flowable%20Main%20Build/badge.svg?branch=master) Homepage: https://www.flowable.org/ ## flowable / flowəb(ə)l / * a compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users. * a lightning fast, tried and tested BPMN 2 process engine written in Java. It is Apache 2.0 licensed open source, with a committed community. * can run embedded in a Java application, or as a service on a server, a cluster, and in the cloud. It integrates perfectly with Spring. With a rich Java and REST API, it is the ideal engine for orchestrating human or system activities. ## Introduction ### License Flowable is distributed under the Apache V2 license (http://www.apache.org/licenses/LICENSE-2.0.html). ### Download The Flowable downloads can be found on https://www.flowable.org/downloads.html. ### Sources The distribution contains most of the sources as jar files. The source code of Flowable can be found on https://github.com/flowable/flowable-engine. ### JDK 8+ Flowable runs on a JDK higher than or equal to version 8. Use the JDK packaged with your Linux distribution or go to [adoptium.net](https://adoptium.net/) and click on the *Latest LTS Release* button. There are installation instructions on that page as well. To verify that your installation was successful, run `java -version` on the command line. That should print the installed version of your JDK. ### Contributing Contributing to Flowable: https://github.com/flowable/flowable-engine/wiki. ### Reporting problems Every self-respecting developer should have read this link on how to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html. After you've done that you can post questions and comments on https://forum.flowable.org and create issues in https://github.com/flowable/flowable-engine/issues.
78
Algorithms And DataStructure Implemented In Python, Java & CPP, Give a Star 🌟If it helps you
<p align="center"> <a href="http://codeperfectplus.herokuapp.com/"><img src="https://capsule-render.vercel.app/api?type=rect&color=666666&height=100&section=header&text=Algorithms%20And%20Data%20Structures&fontSize=55%&fontColor=ffffff&fontAlignY=65" alt="website title image"></a> <h2 align="center">👉 A Collection of Algorithm And Data Structures in C++ and Python 👈</h2> </p> <p align="center"> <a href="http://codeperfectplus.herokuapp.com/"><img src="https://capsule-render.vercel.app/api?type=rect&color=666444&height=40&section=header&text=Hacktoberfest%20Excluded&fontSize=35%&fontColor=ffffff&fontAlignY=65" alt="website title image"></a> </p> <p align="center"> <img src="https://img.shields.io/badge/language-python-blue?style=for-the-badge"> <img src="https://img.shields.io/badge/language-C++-green?style=for-the-badge"> <img src="https://img.shields.io/badge/language-java-yellow?style=for-the-badge"> <img src="https://img.shields.io/badge/language-Javascript-ff69b4?style=for-the-badge"> </p> <p align="center"> <a href="https://github.com/codeperfectplus/awesomeScripts/stargazers"><img src="https://img.shields.io/github/stars/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="github stars"></a> <a href="https://github.com/codeperfectplus/awesomeScripts/network/members"><img src="https://img.shields.io/github/forks/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="github forks"></a> <img src="https://img.shields.io/github/languages/code-size/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="code size"> </p> <p align="center"> <a href="https://github.com/codeperfectplus/awesomeScripts/issues"><img src="https://img.shields.io/github/issues-raw/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="open issues"></a> <a href="https://github.com/codeperfectplus/awesomeScripts/issues"><img src="https://img.shields.io/github/issues-closed-raw/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="closed issues"><a/> <a href="https://github.com/codeperfectplus/awesomeScripts/pulls"><img src="https://img.shields.io/github/issues-pr-raw/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="open pull request"></a> <a href="https://github.com/codeperfectplus/awesomeScripts/pulls"><img src="https://img.shields.io/github/issues-pr-closed-raw/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="closed pull request"></a> </p> <p align="center"> <a href="https://discord.gg/JfbK3bS"><img src="https://img.shields.io/discord/758030555005714512.svg?label=Discord&logo=Discord&colorB=7289da&style=for-the-badge" alt="discord invite"></a> <img src="https://img.shields.io/github/last-commit/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="last contributions"> <a href="https://api.github.com/repos/codeperfectplus/AlgorithmsAndDataStructure/contributors"><img src="https://img.shields.io/github/contributors/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="total contributors"></a> </p> - [Introduction](#introduction) - [Data Structure](#data-structure) - [Algorithms](#algorithms) - [Languages](#languages) - [Support](#support) - [Project Progress](#project-progress) - [Contributing](#contributing) - [Authors and acknowledgment](#authors-and-acknowledgment) - [License](#license) - [Maintainers](#maintainers) **Anyone Interested in managing the repository for the upcoming HacktoberFest2021, email us at `[email protected]`** - Must be a student - Must have knowledge of Git Commands ex- branching, merging etc - Must have Python/C++ DS and Algo knowledge to review code. ## Introduction Data structures & algorithms are an essential part of programming. They both fall under the fundamentals of computer science. Understanding these gives us the advantage of writing better and more efficient code in less time. They are key topics when it comes to acing software engineering interview questions, so as developers, we must have knowledge of data Structure and algorithms. :star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it! ## Data Structures In computer science, a data structure is a data organization, management, and storage format that enables efficient access and modification. Data structure is a way or a format in which your data is stored in memory for efficient usage and retrieval. ## Algorithms An algorithm is a set of instructions that are used to accomplish a task, such as finding the largest number in a list, removing all the red cards from a deck of playing cards, sorting a collection of names, or figuring out an average movie rating from just your friends' opinions. Algorithms are not limited to computers. They are like a set of step-by-step instructions or an even a recipe, containing things you need, steps to do, the order to do them, conditions to look for, and expected results. ## Languages - C++ - Python - Java - JavaScript ## Support Check [Contribution](/CONTRIBUTING.md) Guide Before Contribution. ## Contributing Before submitting a bug, please do the following: Check [Contribution](/CONTRIBUTING.md) Guide Before Contribution. - Create separate issues for Python and C++. - You can only work on issues that you have been assigned to. - Use Flake8 locally for linting Python Code. `pip install flake8`. (We have linting checks so if your code fails it we will not merge the PR.) ## Authors and acknowledgment Show your appreciation to those who have contributed to the project. ## [License](/LICENSE) For open-source projects, Under [MIT License](/LICENSE). ## Maintainers ### 2023 Team - [Kritika Gupta](https://github.com/Kritika30032002) - [Arjit Goyal](https://github.com/arjit1704) ### 2022 Team - [Deepak Raj](https://github.com/codePerfectPlus) - [Harshit Paneri](https://github.com/harshit-paneri) - [Romil jain](https://github.com/romiljain23) - [Vanshika Sharma](https://github.com/Vanshika2063) ### 2020-2021 Team - [Ayush Modi](https://github.com/hot9cups) - [Deepak Raj](https://github.com/codePerfectPlus) - [ExpressHermes](https://github.com/ExpressHermes) - [Shantanu Kale](https://github.com/SSKale1) - [rex_divakar](https://github.com/rexdivakar) - [Shubham Pawar](https://github.com/shubham5351) ## Contributors <a href="https://github.com/codePerfectPlus/AlgorithmsAndDataStructure/graphs/contributors"> <img src="https://contrib.rocks/image?repo=codePerfectPlus/AlgorithmsAndDataStructure" /> </a> ## Stargazers over time [![Stargazers over time](https://starchart.cc/codePerfectPlus/AlgorithmsAndDataStructure.svg)](https://starchart.cc/codePerfectPlus/AlgorithmsAndDataStructure) ## Must Read Articles - [5 Tips for computer programming begineers](https://codeperfectplus.herokuapp.com/5-tips-for-computer-programming-beginners) - [What is HacktoberFest](https://codeperfectplus.herokuapp.com/what-is-hacktoberfest) - [What is Git and Github](https://codeperfectplus.herokuapp.com/what-is-git-and-gitHub) <p align="center"> <a href="https://api.github.com/repos/py-contributors/AlgorithmsAndDataStructure/contributors"><img src="http://ForTheBadge.com/images/badges/built-by-developers.svg" alt="built by developers"></a> </p>
79
Serialize Java objects to XML and back again.
master: [![CI with Maven](https://github.com/x-stream/xstream/workflows/CI%20with%20Maven/badge.svg)](https://github.com/x-stream/xstream/actions?query=workflow%3A%22CI+with+Maven%22) [![Coverage Status](https://coveralls.io/repos/github/x-stream/xstream/badge.svg?branch=master)](https://coveralls.io/github/x-stream/xstream?branch=master) v-1.4.x: [![Build Status](https://travis-ci.org/x-stream/xstream.svg?branch=v-1.4.x)](https://travis-ci.org/x-stream/xstream) [![Coverage Status](https://coveralls.io/repos/github/x-stream/xstream/badge.svg?branch=v-1.4.x)](https://coveralls.io/github/x-stream/xstream?branch=v-1.4.x) - - - - # XStream _Java to XML Serialization, and back again_ ## Binaries All binary artifacts are bundled in the -bin archive. It includes the XStream jars and any other library used at build time, or optional runtime extras. MXParser is recommend for use as it will greatly improve the performance of XStream. ## Documentation Documentation can be found at [GitHub](http://x-stream.github.io). This includes: * [Introduction](http://x-stream.github.io) and [Tutorials](http://x-stream.github.io/tutorial.html) * [JavaDoc](http://x-stream.github.io/javadoc/index.html) * [Change History](http://x-stream.github.io/changes.html) * [Frequently Asked Questions](http://x-stream.github.io/faq.html) * [Security](http://x-stream.github.io/security.html) ## Source The complete source for XStream is bundled in the -src archive. This includes: * Main API [xstream/src/java] * Unit Tests [xstream/src/test] * Maven Build Files [pom.xml] * Hibernate Module [xstream-hibernate] * Website [xstream-distribution]
80
A api management platform.(API管理平台XXL-API)
<p align="center"> <img src="https://www.xuxueli.com/doc/static/xxl-job/images/xxl-logo.jpg" width="150"> <h3 align="center">XXL-API</h3> <p align="center"> XXL-API, a api management platform. <br> <a href="https://www.xuxueli.com/xxl-api/"><strong>-- Home Page --</strong></a> <br> <br> <a href="https://github.com/xuxueli/xxl-api/releases"> <img src="https://img.shields.io/github/release/xuxueli/xxl-api.svg" > </a> <a href="http://www.gnu.org/licenses/gpl-3.0.html"> <img src="https://img.shields.io/badge/license-GPLv3-blue.svg" > </a> <a href="https://www.xuxueli.com/page/donate.html"> <img src="https://img.shields.io/badge/%24-donate-ff69b4.svg?style=flat-square" > </a> </p> </p> ## Introduction XXL-API is a powerful and easy-to-use API management platform that provides "management", "documentation", "Mock", and "test" functions for the API. Open source code, out-of-the-box. XXL-API 是一个强大易用的API管理平台,提供API的"管理"、"文档"、"Mock"和"测试"等功能。现已开放源代码,开箱即用。 ## Documentation - [中文文档](https://www.xuxueli.com/xxl-api/) ## Communication - [社区交流](https://www.xuxueli.com/page/community.html) ## Features - 1、极致简单:交互简洁,一分钟上手; - 2、项目隔离:API以项目为维度进行拆分隔离; - 3、分组管理:单个项目内的API支持自定义分组进行管理; - 4、标记星级:支持标注API星级,标记后优先展示; - 5、API管理:创建、更新和删除API; - 6、API属性完善:支持设置丰富的API属性如:API状态、请求方法、请求URL、请求头部、请求参数、响应结果、响应结果格式、响应结果参数、API备注等等; - 7、markdown:支持为API添加markdown格式的备注信息; - 8、Mock:支持为API定义Mock数据并制定数据响应格式,从而快速提供Mock接口,加快开发进度; - 9、在线测试:支持在线对API进行测试并保存测试数据,提供接口测试效率; - 10、权限控制:支持以业务线为维度进行用户权限控制,分配权限才允许操作业务线下项目接口和数据类型,否则仅允许查看; ## Contributing Contributions are welcome! Open a pull request to fix a bug, or open an [Issue](https://github.com/xuxueli/xxl-api/issues/) to discuss a new feature or change. 欢迎参与项目贡献!比如提交PR修复一个bug,或者新建 [Issue](https://github.com/xuxueli/xxl-api/issues/) 讨论新特性或者变更。 ## 接入登记 更多接入的公司,欢迎在 [登记地址](https://github.com/xuxueli/xxl-api/issues/1 ) 登记,登记仅仅为了产品推广。 ## Copyright and License This product is open source and free, and will continue to provide free community technical support. Individual or enterprise users are free to access and use. - Licensed under the GNU General Public License (GPL) v3. - Copyright (c) 2015-present, xuxueli. 产品开源免费,并且将持续提供免费的社区技术支持。个人或企业内部可自由的接入和使用。 ## Donate No matter how much the amount is enough to express your thought, thank you very much :) [To donate](https://www.xuxueli.com/page/donate.html ) 无论金额多少都足够表达您这份心意,非常感谢 :) [前往捐赠](https://www.xuxueli.com/page/donate.html )
81
Android and Java bytecode viewer
# ClassyShark ### Introduction ![alt text](https://github.com/borisf/classyshark-user-guide/blob/master/images/5%20ClassesDexData.png) ClassyShark is a standalone binary inspection tool for Android developers. It can reliably browse any Android executable and show important info such as class interfaces and members, dex counts and dependencies. ClassyShark supports multiple formats including libraries (.dex, .aar, .so), executables (.apk, .jar, .class) and all Android binary XMLs: AndroidManifest, resources, layouts etc. ### Useful links * [User guide](https://github.com/borisf/classyshark-user-guide) * [Command-line reference](https://github.com/google/android-classyshark/blob/master/CommandLine.pdf) * Gradle [sample](https://github.com/google/android-classyshark/tree/master/Samples/SampleGradle) * [Vision and Strategy](https://docs.google.com/document/d/1sK_WNzHn_6Q1V_dohxrtk1tlsPXsi9cEVnIuYuVig0M/edit?usp=sharing) ### Download To run, grab the [latest JAR](https://github.com/google/android-classyshark/releases) and run `java -jar ClassyShark.jar`. ### Export data in text format * [Exporter](https://medium.com/@BorisFarber/exporting-data-from-classyshark-e3cf3fe3fab8#.deec4nyjq) * API finder :construction: work in progress ### Develop 1. Clone the repo 2. Open in your favorite IDE/editor 3. Build options: * IntelliJ - builds automatically when exporting the project * [Gradle script](https://github.com/google/android-classyshark/blob/master/ClassySharkWS/build.gradle) * [RetroBuild](https://github.com/borisf/RetroBuild) ### Arch Linux If you're running Arch Linux you can install the latest [prebuilt jar from the AUR](https://aur.archlinux.org/packages/classyshark/). ### Dependencies * [dexlib2](https://github.com/JesusFreke/smali/tree/master/dexlib2) by jesusfreke * [guava](https://github.com/google/guava) by Google * [ASM](http://asm.ow2.org/) by OW2 * [ASMDEX](http://asm.ow2.org/asmdex-index.html) by OW2 * [java-binutils](https://github.com/jawi/java-binutils) by jawi * [BCEL](https://commons.apache.org/proper/commons-bcel) by Apache ### Support If you've found an error, please file an issue: https://github.com/google/android-classyshark/issues Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub. License ======= Copyright 2020 Google, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
82
MapReduce, Spark, Java, and Scala for Data Algorithms Book
[Data Algorithms Book](http://shop.oreilly.com/product/0636920033950.do) ====================== * Author: Mahmoud Parsian ([email protected]) * Title: [Data Algorithms: Recipes for Scaling up with Hadoop and Spark](http://shop.oreilly.com/product/0636920033950.do) * This GitHub repository will host all source code and scripts for [Data Algorithms Book](http://shop.oreilly.com/product/0636920033950.do). * Publisher: [O'Reilly Media](http://shop.oreilly.com/product/0636920033950.do) * Published date: July 2015 Git Repository ============== The book's codebase can also be downloaded from the git repository at: ```` git clone https://github.com/mahmoudparsian/data-algorithms-book.git ```` [2nd Edition! Coming Out @ the End of 2021](./misc/data-algorithms-2nd-ed-cover.jpg) =========================================== [Upgraded to Spark-3.1.2](http://spark.apache.org/releases/spark-release-3-1-2.html) ========================= [Production Version is Available NOW!](http://shop.oreilly.com/product/0636920033950.do) ====================================== [![Data Algorithms Book](./misc/da_book3.jpeg)](http://shop.oreilly.com/product/0636920033950.do) [Java 8's LAMBDA Expressions to Spark...](./misc/jdk8_and_lambda.md) ================================================ [Scala Spark Solutions](./src/main/scala/org/dataalgorithms) ============================================================ [How To Build using Apache's Ant](./misc/ant/README.md) =============================== [How To Build using Apache's Maven](./misc/maven/README.md) =================================== [Machine Learning Algorithms using Spark](./src/main/java/org/dataalgorithms/machinelearning) ========================================= [Spark for Cancer Outlier Profile Analysis](http://hadoopsummit.uservoice.com/forums/344955-data-science-analytics-and-spark/suggestions/11664381-spark-solution-for-cancer-outlier-profile-analysis) ==================================================== [Webinars and Presentions on Data Algorithms](./misc/webinars.md) ================================================================= [Introduction to MapReduce](https://github.com/mahmoudparsian/data-algorithms-book/tree/master/src/main/java/org/dataalgorithms/chapB09/charcount) =========================== [Bonus Chapters](./misc/bonus-chapters.md) ================ [Author Book Signing](./misc/book-signing.md) ===================== <!--- your comment goes here and here Work in Progress... =================== Please note that this is a work in progress... ![Data Algorithms Book Work In Progress](./misc/work_in_progress2.jpeg) --> [How To Run Spark/Hadoop Programs](./misc/run_spark/README.md) ================================== [Submit a Spark Job from Java Code](./misc/how-to-submit-spark-job-from-java-code.md) =========================================== How To Run Python Programs ========================== To run python programs just call them with `spark-submit` together with the arguments to the program. [My favorite quotes...](./misc/favorite_quotes/README.md) ========================================================= Questions/Comments ================== * [View Mahmoud Parsian's profile on LinkedIn](http://www.linkedin.com/in/mahmoudparsian) * Please send me an email: <[email protected]> * [Twitter: @mahmoudparsian](http://twitter.com/mahmoudparsian) Thank you! ```` best regards, Mahmoud Parsian ```` [![Data Algorithms Book](./misc/large-image.jpg)](http://shop.oreilly.com/product/0636920033950.do)
83
A distributed web crawler framework.(分布式爬虫框架XXL-CRAWLER)
<p align="center"> <img src="https://www.xuxueli.com/doc/static/xxl-job/images/xxl-logo.jpg" width="150"> <h3 align="center">XXL-CRAWLER</h3> <p align="center"> XXL-CRAWLER, a distributed web crawler framework. <br> <a href="https://www.xuxueli.com/xxl-crawler/"><strong>-- Home Page --</strong></a> <br> <br> <a href="https://maven-badges.herokuapp.com/maven-central/com.xuxueli/xxl-crawler/"> <img src="https://maven-badges.herokuapp.com/maven-central/com.xuxueli/xxl-crawler/badge.svg" > </a> <a href="https://github.com/xuxueli/xxl-crawler/releases"> <img src="https://img.shields.io/github/release/xuxueli/xxl-crawler.svg" > </a> <img src="https://img.shields.io/github/license/xuxueli/xxl-crawler.svg" > <a href="https://www.xuxueli.com/page/donate.html"> <img src="https://img.shields.io/badge/%24-donate-ff69b4.svg?style=flat-square" > </a> </p> </p> ## Introduction XXL-CRAWLER is a distributed web crawler framework. One line of code develops a distributed crawler. Features such as "multithreaded、asynchronous、dynamic IP proxy、distributed、javascript-rendering". XXL-CRAWLER 是一个分布式爬虫框架。一行代码开发一个分布式爬虫,拥有"多线程、异步、IP动态代理、分布式、JS渲染"等特性; ## Documentation - [中文文档](https://www.xuxueli.com/xxl-crawler/) ## Features - 1、简洁:API直观简洁,可快速上手; - 2、轻量级:底层实现仅强依赖jsoup,简洁高效; - 3、模块化:模块化的结构设计,可轻松扩展 - 4、面向对象:支持通过注解,方便的映射页面数据到PageVO对象,底层自动完成PageVO对象的数据抽取和封装返回;单个页面支持抽取一个或多个PageVO - 5、多线程:线程池方式运行,提高采集效率; - 6、分布式支持:通过扩展 "RunData" 模块,并结合Redis或DB共享运行数据可实现分布式。默认提供LocalRunData单机版爬虫。 - 7、JS渲染:通过扩展 "PageLoader" 模块,支持采集JS动态渲染数据。原生提供 Jsoup(非JS渲染,速度更快)、HtmlUnit(JS渲染)、Selenium+Phantomjs(JS渲染,兼容性高) 等多种实现,支持自由扩展其他实现。 - 8、失败重试:请求失败后重试,并支持设置重试次数; - 9、代理IP:对抗反采集策略规则WAF; - 10、动态代理:支持运行时动态调整代理池,以及自定义代理池路由策略; - 11、异步:支持同步、异步两种方式运行; - 12、扩散全站:支持以现有URL为起点扩散爬取整站; - 13、去重:防止重复爬取; - 14、URL白名单:支持设置页面白名单正则,过滤URL; - 15、自定义请求信息,如:请求参数、Cookie、Header、UserAgent轮询、Referrer等; - 16、动态参数:支持运行时动态调整请求参数; - 17、超时控制:支持设置爬虫请求的超时时间; - 18、主动停顿:爬虫线程处理完页面之后进行主动停顿,避免过于频繁被拦截; ## Communication - [社区交流](https://www.xuxueli.com/page/community.html) ## Contributing Contributions are welcome! Open a pull request to fix a bug, or open an [Issue](https://github.com/xuxueli/xxl-crawler/issues/) to discuss a new feature or change. 欢迎参与项目贡献!比如提交PR修复一个bug,或者新建 [Issue](https://github.com/xuxueli/xxl-crawler/issues/) 讨论新特性或者变更。 ## 接入登记 更多接入的公司,欢迎在 [登记地址](https://github.com/xuxueli/xxl-crawler/issues/1 ) 登记,登记仅仅为了产品推广。 ## Copyright and License This product is open source and free, and will continue to provide free community technical support. Individual or enterprise users are free to access and use. - Licensed under the Apache License, Version 2.0. - Copyright (c) 2015-present, xuxueli. 产品开源免费,并且将持续提供免费的社区技术支持。个人或企业内部可自由的接入和使用。 ## Donate No matter how much the amount is enough to express your thought, thank you very much :) [To donate](https://www.xuxueli.com/page/donate.html ) 无论金额多少都足够表达您这份心意,非常感谢 :) [前往捐赠](https://www.xuxueli.com/page/donate.html )
84
Heritrix is the Internet Archive's open-source, extensible, web-scale, archival-quality web crawler project.
# Heritrix [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.archive/heritrix/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.archive/heritrix) [![Docker](https://img.shields.io/docker/v/iipc/heritrix/latest?label=docker)](https://hub.docker.com/r/iipc/heritrix) [![Javadoc](https://javadoc.io/badge2/org.archive/heritrix/javadoc.svg)](https://www.javadoc.io/doc/org.archive.heritrix/heritrix-engine) [![LICENSE](https://img.shields.io/badge/license-Apache-blue.svg?style=flat-square)](./LICENSE) ## Introduction Heritrix is the Internet Archive's open-source, extensible, web-scale, archival-quality web crawler project. Heritrix (sometimes spelled heretrix, or misspelled or missaid as heratrix/heritix/heretix/heratix) is an archaic word for heiress (woman who inherits). Since our crawler seeks to collect and preserve the digital artifacts of our culture for the benefit of future researchers and generations, this name seemed apt. ## Crawl Operators! Heritrix is designed to respect the [`robots.txt`](http://www.robotstxt.org/robotstxt.html) exclusion directives<sup>†</sup> and [META nofollow tags](http://www.robotstxt.org/meta.html). Please consider the load your crawl will place on seed sites and set politeness policies accordingly. Also, always identify your crawl with contact information in the `User-Agent` so sites that may be adversely affected by your crawl can contact you or adapt their server behavior accordingly. <sup>†</sup> The newer wildcard extension to robots.txt is [not yet](https://github.com/internetarchive/heritrix3/issues/250) supported. ## Documentation - [Getting Started](https://heritrix.readthedocs.io/en/latest/getting-started.html) - [Operating Heritrix](https://heritrix.readthedocs.io/en/latest/operating.html) - [Configuring Crawl Jobs](https://heritrix.readthedocs.io/en/latest/configuring-jobs.html) - [Bean Reference](https://heritrix.readthedocs.io/en/latest/bean-reference.html) - [Wiki](https://github.com/internetarchive/heritrix3/wiki) ## Developer Documentation - [Developer Manual](http://crawler.archive.org/articles/developer_manual/index.html) - [REST API documentation](https://heritrix.readthedocs.io/en/latest/api.html) - JavaDoc: [engine](https://www.javadoc.io/doc/org.archive.heritrix/heritrix-engine), [modules](https://www.javadoc.io/doc/org.archive.heritrix/heritrix-modules), [commons](https://www.javadoc.io/doc/org.archive.heritrix/heritrix-commons), [contrib](https://www.javadoc.io/doc/org.archive.heritrix/heritrix-contrib) ## Latest Releases Information about releases can be found [here](https://github.com/internetarchive/heritrix3/wiki#latest-releases). ## License Heritrix is free software; you can redistribute it and/or modify it under the terms of the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) Some individual source code files are subject to or offered under other licenses. See the included [`LICENSE.txt`](./LICENSE) file for more information. Heritrix is distributed with the libraries it depends upon. The libraries can be found under the `lib` directory in the release distribution, and are used under the terms of their respective licenses, which are included alongside the libraries in the `lib` directory.
85
The binary distribution of openHAB
# openHAB Distribution [![GitHub Actions Build Status](https://github.com/openhab/openhab-distro/actions/workflows/ci-build.yml/badge.svg?branch=main)](https://github.com/openhab/openhab-distro/actions/workflows/ci-build.yml) [![Jenkins Build Status](https://ci.openhab.org/job/openHAB-Distribution/badge/icon)](https://ci.openhab.org/job/openHAB-Distribution/) [![EPL-2.0](https://img.shields.io/badge/license-EPL%202-green.svg)](https://opensource.org/licenses/EPL-2.0) [![Bountysource](https://www.bountysource.com/badge/tracker?tracker_id=28452711)](https://www.bountysource.com/teams/openhab/issues?tracker_ids=28452711) ## Introduction The open Home Automation Bus (openHAB) project aims at providing a universal integration platform for all things around home automation. It is a pure Java solution, fully based on OSGi. It is designed to be vendor-neutral as well as hardware/protocol-agnostic. openHAB brings together different bus systems, hardware devices, and interface protocols by dedicated bindings. These bindings send and receive commands and status updates on the openHAB event bus. This concept allows designing user interfaces with a unique look&feel, but with the possibility to operate devices based on a big number of different technologies. Besides the user interfaces, it also brings the power of automation logic across different system boundaries. For further information please refer to our homepage [www.openhab.org](https://www.openhab.org). For the latest snapshot builds, please see our [Jenkins job](https://ci.openhab.org/job/openHAB-Distribution/). ## Getting Started Please refer to [our tutorials](https://www.openhab.org/docs/tutorial/) on how to get started with openHAB. ## Community: How to Get Involved As any good open source project, openHAB welcomes community participation in the project. Read more in the [how to contribute](CONTRIBUTING.md) guide. If you are a developer and want to jump right into the sources and execute openHAB from within an IDE, please have a look at the [IDE setup](https://www.openhab.org/docs/developer/#setup-the-development-environment) procedures. You can also learn [how openHAB bindings are developed](https://www.openhab.org/docs/developer/bindings/). In case of problems or questions, please join our vibrant [openHAB community](https://community.openhab.org/).
86
:zap:致力于打造一款极致体验的 http://www.wanandroid.com/ 客户端,知识和美是可以并存的哦QAQn(*≧▽≦*)n
<h1 align="center">Awesome-WanAndroid</h1> <div align="center"> <img src="https://img.shields.io/badge/Version-V1.2.5-brightgreen.svg"> <img src="https://img.shields.io/badge/build-passing-brightgreen.svg"> <a href="https://developer.android.com/about/versions/android-5.0.html"> <img src="https://img.shields.io/badge/API-21+-blue.svg" alt="Min Sdk Version"> </a> <a href="http://www.apache.org/licenses/LICENSE-2.0"> <img src="https://img.shields.io/badge/License-Apache2.0-blue.svg" alt="License" /> </a> <img src="https://img.shields.io/badge/[email protected]"> </div> <div align="center"> <img src="https://diycode.b0.upaiyun.com/user/avatar/2468.jpg"> </div> ### 致力于打造一款极致体验的WanAndroid客户端,知识和美是可以并存的哦QAQn(*≧▽≦*)n ,更好的 Awesome-WanAndroid V1.2.5正式版发布,相比初始版本,项目的稳定性和界面的美化程度已提升了几个档次,如果您觉得还不错的话,就点个Star吧~(持续打磨中~,敬请关注) ### 本项目采用的性能优化技术全部来自于[Awesome-Android-Performance](https://github.com/JsonChao/Awesome-Android-Performance) ## Introduction Awesome WanAndroid项目基于Material Design + MVP + Rxjava2 + Retrofit + Dagger2 + GreenDao + Glide 这是一款会让您觉得很nice的技术学习APP,所用技术基本涵盖了当前Android开发中常用的主流技术框架,阅读内容主要面向想在Android开发领域成为专家的朋友们。此外,我正在进行一个 [全新的Android进阶计划](https://github.com/JsonChao/Awesome-Android-Exercise), 致力于成为更好的Android开发,有兴趣的朋友可以参考下~ ## Awesome-WanAndroid Architecture <div align="center"> <img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/AppArchitecture.png"> </div> #### 借鉴于[设计MVP架构的最佳实践](https://blog.mindorks.com/essential-guide-for-designing-your-android-app-architecture-mvp-part-1-74efaf1cda40#.3lyk8t57x) #### Tips: - Android Studio 上提示缺失Dagger生成的类,可以直接编译项目,会由Dagger2自动生成 - 本项目还有一些不够完善的地方,如发现有Bug,欢迎[issue](https://github.com/JsonChao/Awesome-WanAndroid/issues)、Email([[email protected]]())、PR - 项目中的API均来自于[WanAndroid网站](http://www.wanandroid.com),纯属共享学习之用,不得用于商业用途!!大家有任何疑问或者建议的可以联系[[email protected]]() ## Preview <div align="center"> <img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/GIF1.gif"><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/GIF2.gif"> </div> <div align="center"> <img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/GIF3.gif"><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/GIF4.gif"> </div> <div align="center"> <img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/GIF5.gif"><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/GIF6.gif"> </div> <div align="center"> <img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG1.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG2.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG3.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG4.png" width=20%> </div> <div align="center"> <img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG5.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG6.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG7.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG8.png" width=20%> </div> <div align="center"> <img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG9.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG10.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG11.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG12.png" width=20%> </div> <div align="center"> <img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG13.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG14.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG15.png" width=20%> </div> <div align="center"> <img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG16.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG17.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG18.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG19.png" width=20%> </div> <div align="center"> <img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG20.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG21.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG22.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG23.png" width=20%> </div> <div align="center"> <img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG24.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG25.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG26.png" width=20%><img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG27.png" width=20%> </div> <div align="center"> <img src="https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/PNG28.png" width=20%> </div> ## Apk download(Android 5.0 or above it)(更好的Awesome-WanAndroid V1.2.5 来了) <center> ![image](https://raw.githubusercontent.com/JsonChao/Awesome-WanAndroid/master/screenshots/apk.png) </center> ## Skill points - 项目代码尽力遵循了阿里巴巴Java开发规范和阿里巴巴Android开发规范,并有良好的注释。 - 使用Rxjava2结合Retrofit2进行网络请求。 - 使用Rxjava2的操作符对事件流进行进行转换、延时、过滤等操作,其中使用Compose操作符结合RxUtils工具类简化线程切换调用的代码数量。 - 使用Dagger2结合Dagger.Android无耦合地将Model注入Presenter、Presenter注入View,更高效地实现了MVP模式。 - 使用BasePresenter对事件流订阅的生命周期做了集成管理。 - 使用Material Design中的Behavior集合ToolBar实现了响应式的“上失下现”特效。 - 多处使用了滑动到顶部的悬浮按钮,提升阅读的便利性。 - 使用SmartRefreshLayout丰富的刷新动画将项目的美提升了一个档次。 - 使用了腾讯Bugly,以便对项目进行Bug修复和CI。 - 项目中多处使用了炫目的动画及特效。 - 高覆盖率的单元测试及部分UI测试。 - 更多请Clone本项目进行查看。。。 ## 笔者对项目所使用主流框架的源码分析 请参见[Awesome-Third-Library-Source-Analysis](https://github.com/JsonChao/Awesome-Third-Library-Source-Analysis) ## Version ### :zap:v1.2.5 1、将请求url的scheme字段全局替换为https 2、解决issue上存在的bug ### v1.2.4 1.新增公众号栏目,支持公众号内搜索 2.解决Bugly上的bug ### v1.2.3 1.适配Android O版本 2.解决Bugly上的bug ### v1.2.2 1.增加了Presenter层单元测试和部分View层的自动化UI测试 2.解决登陆状态过一段时间会失效的bug 3.进行了适当的小规模重构 4.解决Bugly的兼容性bug ### v1.2.1 1.增加dagger.android 2.使用config.gradle统一管理gradle依赖 3.封装RxBinding订阅处理 4.增加共享元素适配处理 5.使用Compose增加统一返回结果处理 6.增加Glide memory、bitmapPool、diskCache配置 7.优化加载错误页显示逻辑 8.优化注册界面 9.优化沉浸式状态栏显示效果 10.更新Gradle版本到3.0.1 ### v1.2.0 1.增加设置模块 2.分离出常用网站界面 3.增加item多标签 4.美化详情界面菜单 5.添加ActivityOption跳转动画 6.解决90%以上的内存泄露 ### v1.1.0 1.增加RxBus订阅管理,解决RxBus内存泄露的问题 2.解决Webview有时加载不出来的问题 3.增加RxPermission,处理Android 6.0权限问题 4.Base响应基类泛型化,减少大量实体代码 5.增加知识分类导航详情页 6.搜索页面增加删除搜索记录,UI界面更加美观 7.项目整体UI美化 ### v1.0.1 1.合理化项目分包架构 2.优化搜索模块 3.增加自动登录 4.增加TabLayout智能联动RecyclerView 5.增加沉浸式状态栏 6.优化详情文章菜单样式 7.项目整体UI美化 ### V1.0.0 1.提交Awesome WanAndroid第一版 ## Thanks ### API: 鸿洋大大提供的 [WanAndroid API](http://www.wanandroid.com/blog/show/2) ### APP: [GeekNews](https://github.com/codeestX/GeekNews) 提供了Dagger2配合MVP的架构思路 [Toutiao](https://github.com/iMeiji/Toutiao) 提供的MD特效实现思路 [diycode](https://github.com/GcsSloop/diycode) 提供的智能滑动悬浮按钮实现思路 [Eyepetizer-in-Kotlin](https://github.com/LRH1993/Eyepetizer-in-Kotlin) 提供的搜索界面切换特效实现思路 此外,还参考了不少国内外牛人的项目,感谢开源! ### UI design: [花瓣](https://huaban.com/) 提供了很美的UI界面设计,感谢花瓣 ### icon: [iconfont](http://www.iconfont.cn/) 阿里巴巴对外开放的很棒的icon资源 ### Excellent third-party open source library: #### Rx [Rxjava](https://github.com/ReactiveX/RxJava) [RxAndroid](https://github.com/ReactiveX/RxAndroid) [RxBinding](https://github.com/JakeWharton/RxBinding) #### Network [Retrofit](https://github.com/square/retrofit) [OkHttp](https://github.com/square/okhttp) [Gson](https://github.com/google/gson) #### Image Loader [Glide](https://github.com/bumptech/glide) #### DI [Dagger2](https://github.com/google/dagger) [ButterKnife](https://github.com/JakeWharton/butterknife) #### DB [GreenDao](https://github.com/greenrobot/greenDAO) #### UI [SmartRefreshLayout](https://github.com/scwang90/SmartRefreshLayout) [Lottie-android](https://github.com/airbnb/lottie-android) ### 还有上面没列举的一些优秀的第三方开源库,感谢开源,愿我们一同成长~ ## 知识星球(推荐) 现如今,Android 行业人才已逐渐饱和化,但高级人才依旧很稀缺,我们经常遇到的情况是,100份简历里只有2、3个比较合适的候选人,大部分的人都是疲于业务,没有花时间来好好学习,或是完全不知道学什么来提高自己的技术。对于 Android 开发者来说,尽早建立起一个完整的 Android 知识框架,了解目前大厂高频出现的常考知识点,掌握面试技巧,是一件非常需要重视的事情。 去年,为了进入一线大厂去做更有挑战的事情,拿到更高的薪资,我提前准备了半年的时间,沉淀了一份 「两年磨一剑」 的体系化精品面试题,而后的半年,我都在不断地进行面试,总共面试了二三十家公司,每一场面试完之后,我都将对应的面试题和详细的答案进行了系统化的总结,并更新到了我的面试项目里,现在,在每一个模块之下,我都已经精心整理出了 超高频和高频的常考 知识点。 在我近一年的大厂实战面试复盘中逐渐对原本的内容进行了大幅度的优化,并且新增了很多新的内容。它可以说是一线互联网大厂的面试精华总结,同时后续还会包含如何写简历和面试技巧的内容,能够帮你省时省力地准备面试,大大降低找到一个好工作的难度。 这份面试项目不同于我 Github 上的 Awesome-Android-Interview 面试项目:https://github.com/JsonChao/Awesome-Android-Interview,Awesome-Android-Interview 已经在 2 年前(2020年 10 月停止更新),内容稍显陈旧,里面也有不少点表述不严谨,总体含金量较低。而我今天要分享的这份面试题库,是我在这两年持续总结、细化、沉淀出来的体系化精品面试题,里面很多的核心题答案在面试的压力下,经过了反复的校正与升华,含金量极高。 在分享之前,有一点要注意的是,一定不要将资料泄露出去!细想一下就明白了: 1、如果暴露出去,拿到手的人比你更快掌握,更早进入大厂,拿到高薪,你进大厂的机会就会变小,毕竟现在好公司就那么多,一个萝卜一个坑。 2、两年前我公开分享的简陋版 Awesome-Android-Interview 面试题库现在还在被各个培训机构当做引流资料,加大了现在 Android 内卷。。 所以,这一点一定要切记。 现在,我已经在我的成长社群里修订好了 《体系化高频核心 Android 面试题库》 中的 ”计算机基础高频核心面试题“ 和 ”Java 和 kotlin 高频核心面试题“ 部分,后续还会为你带来我核心题库中的: - “Android基础 高频核心面试题” - “基础架构 高频核心面试题” - “跨平台 高频核心面试题” - “性能优化 高频核心面试题” - ”Framework 高频核心面试题“ - ”NDK 高频核心面试题“ 获取方法:扫描下方的二维码。 <div align="center"> <img src="https://mmbiz.qpic.cn/mmbiz_png/PjzmrzN77aBMyo7G0TS2tYYJicPHRLD5KlvoaRA6EP1QvjiaSSkxcOPibnXXtOpgRJw5J3EYHcribkDBuWUfhRF35Q/640?wx_fmt=png&wxfrom=5&wx_lazy=1&wx_co=1" width=30%> </div> $\color{#FF0000}{出身普通的人,如何真正改变命运?}$ 这是我过去五、六年一直研究的命题。首先,是为自己研究,因为我是从小城镇出来的,通过持续不断地逆袭立足深圳。**越是出身普通的人,就越需要有耐心,去进行系统性地全面提升,这方面,我有非常丰富的实践经验和方法论**。因此,我开启了 “JsonChao” 的成长社群,希望和你一起完成系统性地蜕变。 ### 星球目前有哪些服务? - 每周会提供一份让 **个人增值,避免踩坑 的硬干货**。 - 每日以文字或语音的形式分享我个人学习和实践中的 **思考精华或复盘记录**。 - 提供 **每月 三 次成长**、技术或面试指导的咨询服务。 - 更多服务正在研发中... ### 超哥的知识星球适合谁? - **如果你希望持续提升自己,获得更高的薪资或是想加入大厂**,那么超哥的知识星球会对你有很大的帮助。 - **如果你既努力,又焦虑**,特别适合加入超哥的知识星球,因为我经历过同样的阶段,而且最后找到了走出焦虑,靠近梦想的地方。 - **如果你希望改变自己的生活状态**,欢迎加入超哥的知识星球,和我一起每日迭代,持续精进。 ### 星球如何定价? 365元每年 每天一元,给自己的成长持续加油💪 为了回馈 JsonChao Github 的忠实用户,我申请了少量优惠券,先到者先得,错过再无 <div align="center"> <img src="https://mmbiz.qpic.cn/mmbiz_png/PjzmrzN77aAPxe8aibFBdkiaY9ldh9uQVxw0WFJ9TicCRlhZIFibIb2ex74hWel3DpkS46aX5vFlwuZXKTNMb2ZnHg/640?wx_fmt=png&wxfrom=5&wx_lazy=1&wx_co=1" width=30%> </div> ## 公众号 我的公众号 `JsonChao` 开通啦,专注于构建一套未来Android开发必备的知识体系。每个工作日为您推送高质量文章,让你每天都能涨知识。如果您想第一时间获取最新文章和最新动态,欢迎扫描关注~ <div align="center"> <img src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/7da61f2739d34818be8a51a7afbbbb53~tplv-k3u1fbpfcp-watermark.image?" width=30%> </div> ### License Copyright 2018 JsonChao Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
87
Apache Camel is an open source integration framework that empowers you to quickly and easily integrate various systems consuming or producing data.
# Apache Camel [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.camel/apache-camel/badge.svg?style=flat-square)](https://maven-badges.herokuapp.com/maven-central/org.apache.camel/apache-camel) [![Javadocs](https://www.javadoc.io/badge/org.apache.camel/apache-camel.svg?color=brightgreen)](https://www.javadoc.io/doc/org.apache.camel/camel-api) [![Stack Overflow](https://img.shields.io/:stack%20overflow-apache--camel-brightgreen.svg)](http://stackoverflow.com/questions/tagged/apache-camel) [![Chat](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://camel.zulipchat.com/) [![Twitter](https://img.shields.io/twitter/follow/ApacheCamel.svg?label=Follow&style=social)](https://twitter.com/ApacheCamel) [Apache Camel](https://camel.apache.org/) is an Open Source integration framework that empowers you to quickly and easily integrate various systems consuming or producing data. ### Introduction Camel empowers you to define routing and mediation rules in a variety of domain-specific languages (DSL, such as Java, XML, Groovy, Kotlin, and YAML). This means you get smart completion of routing rules in your IDE, whether in a Java or XML editor. Apache Camel uses URIs to enable easier integration with all kinds of transport or messaging model including HTTP, ActiveMQ, JMS, JBI, SCA, MINA or CXF together with working with pluggable Data Format options. Apache Camel is a small library that has minimal dependencies for easy embedding in any Java application. Apache Camel lets you work with the same API regardless of the transport type, making it possible to interact with all the components provided out-of-the-box, with a good understanding of the API. Apache Camel has powerful Bean Binding and integrated seamlessly with popular frameworks such as Spring, Quarkus, and CDI. Apache Camel has extensive testing support allowing you to easily unit test your routes. ## Components Apache Camel comes alongside several artifacts with components, data formats, languages, and kinds. The up to date list is available online at the Camel website: * Components: <https://camel.apache.org/components/latest/> * Data Formats: <https://camel.apache.org/components/latest/dataformats/> * Languages: <https://camel.apache.org/components/latest/languages/> * Miscellaneous: <https://camel.apache.org/components/latest/#_miscellaneous_components> ## Examples Apache Camel comes with many examples. The up to date list is available online at GitHub: * Examples: <https://github.com/apache/camel-examples/tree/main/examples#welcome-to-the-apache-camel-examples> ## Getting Started To help you get started, try the following links: **Getting Started** <https://camel.apache.org/getting-started.html> The beginner examples are another powerful alternative pathway for getting started with Apache Camel. * Examples: <https://github.com/apache/camel-examples/tree/main/examples#welcome-to-the-apache-camel-examples> **Building** <https://camel.apache.org/building.html> **Contributions** We welcome all kinds of contributions, the details of which are specified here: <https://github.com/apache/camel/blob/main/CONTRIBUTING.md> Please refer to the website for details of finding the issue tracker, email lists, GitHub, chat Website: <https://camel.apache.org/> Github (source): <https://github.com/apache/camel> Issue tracker: <https://issues.apache.org/jira/projects/CAMEL> Mailing-list: <https://camel.apache.org/community/mailing-list/> Chat: <https://camel.zulipchat.com/> StackOverflow: <https://stackoverflow.com/questions/tagged/apache-camel> Twitter: <https://twitter.com/ApacheCamel> **Support** For additional help, support, we recommend referencing this page first: <https://camel.apache.org/community/support/> **Getting Help** If you get stuck somewhere, please feel free to reach out to us on either StackOverflow, Chat, or the email mailing list. Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy! ----------------- The Camel riders! # Licensing The terms for software licensing are detailed in the `LICENSE.txt` file, located in the working directory.
88
Multiple samples showing best practices in app development on Android TV.
Android TV Samples Repository ============================= This repository contains a set of individual Android TV projects to help you get started writing Android TV apps. - AccessibilityDemo: A Java sample showing how to support accessibility on TVs - ClassicsKotlin: A modern Android TV app using Kotlin to show classic videos - Leanback: A Java app that demonstrates a basic Android TV app - Leanback Showcase: A Java app that demonstrates many different parts of the Leanback SDK and how to customize them - ReferenceAppKotlin: Our newest sample that demonstrates a variety of Android TV and Google TV integrations in Kotlin ## Getting Started - Clone this repo: ```sh git clone https://github.com/android/tv-samples.git ``` - Open the specific project(s) you're interested in within [Android Studio][studio] Need more information about getting started with Android TV? Check the [official getting started guide][getting-started]. ## Additional Resouroces - [Android TV Introduction](http://www.android.com/tv/) - [Android TV Developer Documentation](http://developer.android.com/tv) - [Android TV Apps in Google Play Store][store-apps] ## Support If you need additional help, our community might be able to help. - Stack Overflow: [http://stackoverflow.com/questions/tagged/android-tv](http://stackoverflow.com/questions/tagged/android-tv) ## License See the [LICENSE file][license] for details. [studio]: https://developer.android.com/tools/studio/index.html [getting-started]: https://developer.android.com/training/tv/start/start.html [store-apps]: https://play.google.com/store/apps/collection/promotion_3000e26_androidtv_apps_all [license]: LICENSE
89
A community-developed, free, open source, microservices API automation and load testing framework built using JUnit core runners for Http REST, SOAP, Security, Database, Kafka and much more. Zerocode Open Source enables you to create, change, orchestrate and maintain your automated test cases declaratively with absolute ease.
<img width="135" height="120" alt="Zerocode" src="https://user-images.githubusercontent.com/12598420/51964581-e5a78e80-245e-11e9-9400-72c4c02ac555.png"> Zerocode === Automated API testing has never been so easy [![API](https://img.shields.io/badge/api-automation-blue)](https://github.com/authorjapps/zerocode/wiki/What-is-Zerocode-Testing) [![Performance Testing](https://img.shields.io/badge/performance-testing-ff69b4.svg)](https://github.com/authorjapps/zerocode/wiki/Load-or-Performance-Testing-(IDE-based)) **Latest release:🏹** [![Maven](https://maven-badges.herokuapp.com/maven-central/org.jsmart/zerocode-tdd/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.jsmart/zerocode-tdd/) <br/> **Continuous Integration:** [![Build Status](https://travis-ci.org/authorjapps/zerocode.svg?branch=master)](https://travis-ci.org/authorjapps/zerocode) <br/> **Issue Discussions:** [Slack](https://join.slack.com/t/zerocode-workspace/shared_invite/enQtNzYxMDAwNTQ3MjY1LTA2YmJjODJhNzQ4ZjBiYTQwZDBmZmNkNmExYjA3ZDk2OGFiZWFmNWJlNGRkOTdiMDQ4ZmQyNzcyNzVjNWQ4ODQ) <br/> **Mailing List:** [Mailing List](https://groups.google.com/forum/#!forum/zerocode-automation) <br/> **License:** [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0) <br/> Zerocode makes it easy to create and maintain automated tests with absolute minimum overhead for [REST](https://github.com/authorjapps/zerocode/wiki/User-journey:-Create,-Update-and-GET-Employee-Details),[SOAP](https://github.com/authorjapps/zerocode/blob/master/README.md#soap-method-invocation-example-with-xml-input), [Kafka Real Time Data Streams](https://github.com/authorjapps/zerocode/wiki/Kafka-Testing-Introduction) and much more. It has the best of best ideas and practices from the community to keep it super simple, and the adoption is rapidly growing among the developer/tester community. Quick Links === For a quick introduction to Zerocode and its features, visit the + [Zerocode Wiki](https://github.com/authorjapps/zerocode/wiki) + [User's guide](https://github.com/authorjapps/zerocode/wiki#developer-guide) + [Release frequency](https://github.com/authorjapps/zerocode/wiki/Zerocode-release-frequency-and-schedule) IDE Support By === [<img width="135" height="120" alt="Jetbrains IDE" src="images/jetbrains.svg">](https://www.jetbrains.com/idea/) Maven Dependency === + [New releases - zerocode-tdd](https://maven-badges.herokuapp.com/maven-central/org.jsmart/zerocode-tdd/) [![Maven](https://maven-badges.herokuapp.com/maven-central/org.jsmart/zerocode-tdd/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.jsmart/zerocode-tdd/) + _[Older releases - zerocode-rest-bdd](https://maven-badges.herokuapp.com/maven-central/org.jsmart/zerocode-rest-bdd/)_ [![Maven](https://maven-badges.herokuapp.com/maven-central/org.jsmart/zerocode-rest-bdd/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.jsmart/zerocode-rest-bdd/) Introduction === Zerocode is a new lightweight, simple and extensible open-source framework for writing test intentions in simple JSON or YAML format that facilitates both declarative configuration and automation. Put simply, Zerocode alleviates pain and brings simplicity to modern API automation. The framework manages the response validations, target API invocations, load/stress testing and security testing in a unified way using simple YAML/JSON/Fluent steps, aka DSL. For example, if your REST API URL `https://localhost:8080/api/v1/customers/123` with `GET` method and `"Content-Type": "application/json"` returns the following payload and a `http` status code `200(OK)` , ```javaScript Response: { "id": 123, "type": "Premium High Value", "addresses": [ { "type":"home", "line1":"10 Random St" } ] } ``` then, we can easily validate the above API using `Zerocode` like below. + Using YAML described as below, > _The beauty here is, we can use the payload/headers structure for validation as it is without any manipulation or use a flat JSON path to skip the hassles of the entire object hierarchies._ ## Validators Using YAML ```yaml --- url: api/v1/customers/123 method: GET request: headers: Content-Type: application/json retry: max: 3 delay: 1000 validators: - field: "$.status" value: 200 - field: "$.body.type" value: Premium Visa - field: "$.body.addresses[0].line1" value: 10 Random St ``` or Using JSON ```JSON { "url": "api/v1/customers/123", "method": "GET", "request": { "headers": { "Content-Type": "application/json" } }, "retry": { "max": 3, "delay": 1000 }, "validators": [ { "field": "$.status", "value": 200 }, { "field": "$.body.type", "value": "Premium Visa" }, { "field": "$.body.addresses[0].line1", "value": "10 Random St" } ] } ``` ## Matchers Using YAML ```yaml --- url: api/v1/customers/123 method: GET request: headers: Content-Type: application/json retry: max: 3 delay: 1000 verify: status: 200 headers: Content-Type: - application/json; charset=utf-8 body: id: 123 type: Premium Visa addresses: - type: Billing line1: 10 Random St verifyMode: LENIENT ``` or Using JSON ```JSON { "url": "api/v1/customers/123", "method": "GET", "request": { "headers": { "Content-Type": "application/json" } }, "retry": { "max": 3, "delay": 1000 }, "verify": { "status": 200, "headers": { "Content-Type" : [ "application/json; charset=utf-8" ] }, "body": { "id": 123, "type": "Premium Visa", "addresses": [ { "type": "Billing", "line1": "10 Random St" } ] } }, "verifyMode": "STRICT" } ``` and run it simply by pointing to the above JSON/YAML file from a JUnit `@Test` method. ```java @Test @Scenario("test_customer_get_api.yml") public void getCustomer_happyCase(){ // No code goes here. This remains empty. } ``` Looks simple n easy? Why not give it a try? Visit the [quick-start guide](https://github.com/authorjapps/zerocode/wiki/Getting-Started) or [user's guide](https://github.com/authorjapps/zerocode/wiki#developer-guide) for more insight. Zerocode is used by many companies such as Vocalink, HSBC, HomeOffice(Gov) and [many others](https://github.com/authorjapps/zerocode/wiki#smart-projects-using-zerocode) to achieve accurate production drop of their microservices. Learn more about [Validators Vs Matchers](https://github.com/authorjapps/zerocode/wiki/Validators-and-Matchers) here. Happy Testing! <g-emoji class="g-emoji" alias="panda_face" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f43c.png">🐼</g-emoji>
90
A cluster computing framework for processing large-scale geospatial data
<img src="https://www.apache.org/logos/res/sedona/sedona.png" width="400"> [![Scala and Java build](https://github.com/apache/sedona/actions/workflows/java.yml/badge.svg)](https://github.com/apache/sedona/actions/workflows/java.yml) [![Python build](https://github.com/apache/sedona/actions/workflows/python.yml/badge.svg)](https://github.com/apache/sedona/actions/workflows/python.yml) [![R build](https://github.com/apache/sedona/actions/workflows/r.yml/badge.svg)](https://github.com/apache/sedona/actions/workflows/r.yml) [![Example project build](https://github.com/apache/sedona/actions/workflows/example.yml/badge.svg)](https://github.com/apache/sedona/actions/workflows/example.yml) [![Docs build](https://github.com/apache/sedona/actions/workflows/docs.yml/badge.svg)](https://github.com/apache/sedona/actions/workflows/docs.yml) Click [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/apache/sedona/HEAD?filepath=binder) and play the interactive Sedona Python Jupyter Notebook immediately! [![](https://dcbadge.vercel.app/api/server/9A3k5dEBsY)](https://discord.gg/9A3k5dEBsY) Apache Sedona™ is a cluster computing system for processing large-scale spatial data. Sedona equips cluster computing systems such as Apache Spark and Apache Flink with a set of out-of-the-box distributed Spatial Datasets and Spatial SQL that efficiently load, process, and analyze large-scale spatial data across machines. |Download statistics| **Maven** | **PyPI** | **CRAN** | |:-------------:|:------------------:|:--------------:|:---------:| | Apache Sedona | 180k/month |[![Downloads](https://static.pepy.tech/personalized-badge/apache-sedona?period=month&units=international_system&left_color=black&right_color=brightgreen&left_text=downloads/month)](https://pepy.tech/project/apache-sedona) [![Downloads](https://static.pepy.tech/personalized-badge/apache-sedona?period=total&units=international_system&left_color=black&right_color=brightgreen&left_text=total%20downloads)](https://pepy.tech/project/apache-sedona)|[![](https://cranlogs.r-pkg.org/badges/apache.sedona?color=brightgreen)](https://cran.r-project.org/package=apache.sedona) [![](https://cranlogs.r-pkg.org/badges/grand-total/apache.sedona?color=brightgreen)](https://cran.r-project.org/package=apache.sedona)| | Archived GeoSpark releases |10k/month|[![Downloads](https://static.pepy.tech/personalized-badge/geospark?period=month&units=international_system&left_color=black&right_color=brightgreen&left_text=downloads/month)](https://pepy.tech/project/geospark)[![Downloads](https://static.pepy.tech/personalized-badge/geospark?period=total&units=international_system&left_color=black&right_color=brightgreen&left_text=total%20downloads)](https://pepy.tech/project/geospark)| | ## System architecture <img src="docs/image/architecture.svg" width="600"> ## Our users and code contributors are from ... <img src="docs/image/sedona-community.png" width="600"> ## Modules in the source code | Name | API | Introduction| |---|---|---| |Core | Scala/Java | Distributed Spatial Datasets and Query Operators | |SQL | Spark RDD/DataFrame in Scala/Java/SQL |Geospatial data processing on Apache Spark| |Flink | Flink DataStream/Table in Scala/Java/SQL | Geospatial data processing on Apache Flink |Viz | Spark RDD/DataFrame in Scala/Java/SQL | Geospatial data visualization on Apache Spark| |Python | Spark RDD/DataFrame in Python | Python wrapper for Sedona | |R | Spark RDD/DataFrame in R | R wrapper for Sedona | |Zeppelin | Apache Zeppelin | Plugin for Apache Zeppelin 0.8.1+| ### Sedona supports several programming languages: Scala, Java, SQL, Python and R. ## Compile the source code Please refer to [Sedona website](http://sedona.apache.org/setup/compile/) ## Contact Feedback to improve Apache Sedona: [Google Form](https://docs.google.com/forms/d/e/1FAIpQLSeYHlc4cX5Pw0bIx2dQbhHDeWF2G2Wf7BgN_n29IzXsSzwptA/viewform) Twitter: [Sedona@Twitter](https://twitter.com/ApacheSedona) [![](https://dcbadge.vercel.app/api/server/9A3k5dEBsY)](https://discord.gg/9A3k5dEBsY) [Sedona JIRA](https://issues.apache.org/jira/projects/SEDONA): Bugs, Pull Requests, and other similar issues [Sedona Mailing Lists](https://lists.apache.org/list.html?sedona.apache.org): [[email protected]](https://lists.apache.org/[email protected]): project development, general questions or tutorials. * Please first subscribe and then post emails. To subscribe, please send an email (leave the subject and content blank) to [email protected] # Please visit [Apache Sedona website](http://sedona.apache.org/) for detailed information ## Powered by <img src="https://www.apache.org/foundation/press/kit/asf_logo_wide.png" width="500">
91
Cloudburst Nukkit - Nuclear-Powered Minecraft: Bedrock Edition Server Software
![nukkit](.github/images/banner.png) [![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](LICENSE) [![Build Status](https://ci.nukkitx.com/job/NukkitX/job/Nukkit/job/master/badge/icon)](https://ci.nukkitx.com/job/NukkitX/job/Nukkit/job/master/) ![Tests](https://img.shields.io/jenkins/t/https/ci.nukkitx.com/job/NukkitX/job/Nukkit/job/master.svg) [![Discord](https://img.shields.io/discord/393465748535640064.svg)](https://discord.gg/5PzMkyK) Introduction ------------- Nukkit is nuclear-powered server software for Minecraft: Pocket Edition. It has a few key advantages over other server software: * Written in Java, Nukkit is faster and more stable. * Having a friendly structure, it's easy to contribute to Nukkit's development and rewrite plugins from other platforms into Nukkit plugins. Nukkit is **under improvement** yet, we welcome contributions. Links -------------------- * __[News](https://nukkitx.com)__ * __[Forums](https://nukkitx.com/forums)__ * __[Discord](https://discord.gg/5PzMkyK)__ * __[Download](https://ci.nukkitx.com/job/NukkitX/job/Nukkit/job/master)__ * __[Plugins](https://nukkitx.com/resources/categories/nukkit-plugins.1)__ * __[Wiki](https://nukkitx.com/wiki/nukkit)__ Build JAR file ------------- - `git clone https://github.com/CloudburstMC/Nukkit` - `cd Nukkit` - `git submodule update --init` - `chmod +x mvnw` - `./mvnw clean package` The compiled JAR can be found in the `target/` directory. Running ------------- Simply run `java -jar nukkit-1.0-SNAPSHOT.jar`. Plugin API ------------- Information on Nukkit's API can be found at the [wiki](https://nukkitx.com/wiki/nukkit/). Docker ------------- Running Nukkit in [Docker](https://www.docker.com/) (17.05+ or higher). Build image from the source, ``` docker build -t nukkit . ``` Run once to generate the `nukkit-data` volume, default settings, and choose language, ``` docker run -it -p 19132:19132 -v nukkit-data:/data nukkit ``` Docker Compose ------------- Use [docker-compose](https://docs.docker.com/compose/overview/) to start server on port `19132` and with `nukkit-data` volume, ``` docker-compose up -d ``` Kubernetes & Helm ------------- Validate the chart: `helm lint charts/nukkit` Dry run and print out rendered YAML: `helm install --dry-run --debug nukkit charts/nukkit` Install the chart: `helm install nukkit charts/nukkit` Or, with some different values: ``` helm install nukkit \ --set image.tag="arm64" \ --set service.type="LoadBalancer" \ charts/nukkit ``` Or, the same but with a custom values from a file: ``` helm install nukkit \ -f helm-values.local.yaml \ charts/nukkit ``` Upgrade the chart: `helm upgrade nukkit charts/nukkit` Testing after deployment: `helm test nukkit` Completely remove the chart: `helm uninstall nukkit` Contributing ------------ Please read the [CONTRIBUTING](.github/CONTRIBUTING.md) guide before submitting any issue. Issues with insufficient information or in the wrong format will be closed and will not be reviewed.
92
Multi-platform transparent client-side encryption of your files in the cloud
[![cryptomator](cryptomator.png)](https://cryptomator.org/) [![Build](https://github.com/cryptomator/cryptomator/workflows/Build/badge.svg)](https://github.com/cryptomator/cryptomator/actions?query=workflow%3ABuild) [![Known Vulnerabilities](https://snyk.io/test/github/cryptomator/cryptomator/badge.svg)](https://snyk.io/test/github/cryptomator/cryptomator) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=cryptomator_cryptomator&metric=alert_status)](https://sonarcloud.io/dashboard?id=cryptomator_cryptomator) [![Twitter](https://img.shields.io/badge/[email protected]?style=flat)](http://twitter.com/Cryptomator) [![Crowdin](https://badges.crowdin.net/cryptomator/localized.svg)](https://translate.cryptomator.org/) [![Latest Release](https://img.shields.io/github/release/cryptomator/cryptomator.svg)](https://github.com/cryptomator/cryptomator/releases/latest) [![Community](https://img.shields.io/badge/help-Community-orange.svg)](https://community.cryptomator.org) ## Supporting Cryptomator Cryptomator is provided free of charge as an open-source project despite the high development effort and is therefore dependent on donations. If you are also interested in further development, we offer you the opportunity to support us: - [One-time or recurring donation via Cryptomator's website.](https://cryptomator.org/#donate) - [Become a sponsor via Cryptomator's sponsors website.](https://cryptomator.org/sponsors/) ### Gold Sponsors <table> <tbody> <tr> <td><a href="https://www.gee-whiz.de/"><img src="https://cryptomator.org/img/sponsors/geewhiz.svg" alt="gee-whiz" height="80"></a></td> <td><a href="https://proxy-hub.com/"><img src="https://cryptomator.org/img/sponsors/proxyhub.svg" alt="Proxy-Hub" height="80"></a></td> </tr> </tbody> </table> ### Silver Sponsors <table> <tbody> <tr> <td><a href="https://mowcapital.com/"><img src="https://cryptomator.org/img/sponsors/mowcapital.svg" alt="Mow Capital" height="40"></a></td> <td><a href="https://www.easeus.com/"><img src="https://cryptomator.org/img/sponsors/easeus.png" alt="EaseUS" height="40"></a></td> </tr> </tbody> </table> ### Special Shoutout Continuous integration hosting for ARM64 builds is provided by [MacStadium](https://www.macstadium.com/opensource). <a href="https://www.macstadium.com/opensource"><img src="https://uploads-ssl.webflow.com/5ac3c046c82724970fc60918/5c019d917bba312af7553b49_MacStadium-developerlogo.png" alt="MacStadium" height="100"></a> --- ## Introduction Cryptomator offers multi-platform transparent client-side encryption of your files in the cloud. Download native binaries of Cryptomator on [cryptomator.org](https://cryptomator.org/) or clone and build Cryptomator using Maven (instructions below). ## Features - Works with Dropbox, Google Drive, OneDrive, MEGA, pCloud, ownCloud, Nextcloud and any other cloud storage service which synchronizes with a local directory - Open Source means: No backdoors, control is better than trust - Client-side: No accounts, no data shared with any online service - Totally transparent: Just work on the virtual drive as if it were a USB flash drive - AES encryption with 256-bit key length - File names get encrypted - Folder structure gets obfuscated - Use as many vaults in your Dropbox as you want, each having individual passwords - Four thousand commits for the security of your data!! :tada: ### Privacy - 256-bit keys (unlimited strength policy bundled with native binaries) - Scrypt key derivation - Cryptographically secure random numbers for salts, IVs and the masterkey of course - Sensitive data is wiped from the heap asap - Lightweight: [Complexity kills security](https://www.schneier.com/essays/archives/1999/11/a_plea_for_simplicit.html) ### Consistency - HMAC over file contents to recognize changed ciphertext before decryption - I/O operations are transactional and atomic, if the filesystems support it - Each file contains all information needed for decryption (except for the key of course), no common metadata means no [SPOF](http://en.wikipedia.org/wiki/Single_point_of_failure) ### Security Architecture For more information on the security details visit [cryptomator.org](https://docs.cryptomator.org/en/latest/security/architecture/). ## Building ### Dependencies * JDK 19 (e.g. temurin) * Maven 3 ### Run Maven ``` mvn clean install # or mvn clean install -Pwin # or mvn clean install -Pmac # or mvn clean install -Plinux ``` This will build all the jars and bundle them together with their OS-specific dependencies under `target`. This can now be used to build native packages. ## License This project is dual-licensed under the GPLv3 for FOSS projects as well as a commercial license for independent software vendors and resellers. If you want to modify this application under different conditions, feel free to contact our support team.
93
|| Activate Burp Suite Pro with Key-Generator and Key-Loader ||
null
94
MySQL Proxy using Java NIO based on Sharding SQL,Calcite ,simple and fast
# Mycat2 Distributed database based on MySQL or JDBC. ## 官网 http://mycatone.top/ ## Software introduction Mycat2 is a distributed relational database (middleware) developed by the Mycat community. It supports distributed SQL queries, is compatible with the MySQL communication protocol, supports a variety of back-end databases with Java ecology, and improves data query processing capabilities through data fragmentation. ## 软件介绍 Mycat2是Mycat社区开发的一款分布式关系型数据库(中间件)。它支持分布式SQL查询,兼容MySQL通信协议,以Java生态支持多种后端数据库,通过数据分片提高数据查询处理能力。 gitee:https://gitee.com/MycatOne/Mycat2 github:https://github.com/MyCATApache/Mycat2 ![](https://github.com/MyCATApache/Mycat2/workflows/Java%20CI%20-%20Mycat2%20Main/badge.svg) ![](https://github.com/MyCATApache/Mycat2/workflows/Java%20CI%20-%20Mycat2%20Dev/badge.svg) [v1.22-release](https://github.com/MyCATApache/Mycat2/releases/tag/v1.22-2022-6-25) [doc-en](https://www.yuque.com/ccazhw/ml3nkf/bef923fb8acc57e0f805d45ef7782670?translate=en) [doc-cn](https://www.yuque.com/books/share/6606b3b6-3365-4187-94c4-e51116894695) [![Stargazers over time](https://starchart.cc/MyCATApache/Mycat2.svg)](https://starchart.cc/MyCATApache/Mycat2) ## Features 1. Open source code Learning middleware technology, database technology, and code is a must. 2. Distributed query engine compatible with MySQL syntax • Compatible with MySQL syntax. • Compatible with MySQL value types. • Use an optimizer based on rule optimization and cost. • Independent physical execution engine. 3. Custom function algorithm development • Sharding algorithm, serial number algorithm, load balancing algorithm, etc. can all be customized to load. • The query engine can run away from the network framework. 4. Customize the process Self-developed DSL manipulates the physical query plan. Support SQL forwarding and cache result set. ## Framework ![](https://cdn.nlark.com/yuque/0/2021/png/658548/1615792485342-b0f62690-e0cf-4f4a-89b6-18e5e1487227.png) Currently, only mycat2 is supported on java8, and will be supported in other versions later. ## License GNU GENERAL PUBLIC LICENSE
95
Apereo CAS - Identity & Single Sign On for all earthlings and beyond.
<p align="center"> <img src="https://user-images.githubusercontent.com/2813838/66173345-91b00380-e604-11e9-95f4-546767cc134c.png"> </p> # Central Authentication Service (CAS) [![License](https://img.shields.io/hexpm/l/plug.svg?style=for-the-badge&logo=apache)](https://github.com/apereo/cas/blob/master/LICENSE) [![Twitter](https://img.shields.io/badge/Apereo%20CAS-Twitter-blue.svg?style=for-the-badge&logo=twitter)](https://twitter.com/apereo) [![Gitter](https://img.shields.io/badge/Gitter-join%20chat-blue.svg?style=for-the-badge&colorB=a832a6&logo=gitter)][casgitter] [![Slack](https://img.shields.io/badge/Slack-join%20chat-blue.svg?style=for-the-badge&logo=slack)][casslack] [![Stack Overflow](http://img.shields.io/:stack%20overflow-cas-brightgreen.svg?style=for-the-badge&logo=stackoverflow)](http://stackoverflow.com/questions/tagged/cas) [![Support](https://img.shields.io/badge/Support-Mailing%20Lists-green.svg?colorB=ff69b4&style=for-the-badge)][cassupport] ## Introduction Welcome to the home of the [Central Authentication Service project](https://www.apereo.org/cas), more commonly referred to as CAS. CAS is an enterprise multilingual single sign-on solution for the web and attempts to be a comprehensive platform for your authentication and authorization needs. CAS is an open and well-documented authentication protocol. The primary implementation of the protocol is an open-source Java server component by the same name hosted here, with support for a plethora of additional authentication protocols and features such a SAML2, OpenID Connect and many many more. ## Contributions [![Contributing Guide](https://img.shields.io/badge/Contributions-guide-green.svg?style=for-the-badge&logo=github)][contribute] [![Open Pull Requests](https://img.shields.io/github/issues-pr/apereo/cas.svg?style=for-the-badge&logo=github)][contribute] - [How to contribute][contribute] If you have already identified an enhancement or a bug, it is STRONGLY recommended that you submit a pull request to address the case. There is no need for special ceremony to create separate issues. The pull request IS the issue and it will be tracked and tagged as such. ## Documentation [![Javadoc](https://img.shields.io/badge/Documentation-Javadoc-ff69b4.svg?style=for-the-badge&logo=readme)][casjavadocs] | Version | Reference | |--------------------------------------------------------------------------------------------|--------------------------------------------------| | ![](https://img.shields.io/badge/Development-WIP-blue.svg?style=for-the-badge&logo=github) | [Link](https://apereo.github.io/cas/development) | | ![](https://img.shields.io/badge/6.6.x-Current-green.svg?style=for-the-badge&logo=github) | [Link](https://apereo.github.io/cas/6.6.x) | Additional resources are available as follows: - [Apereo Blog][blog] - [Release Notes][releasenotes] - [Support][cassupport] - [Maintenance Policy][maintenance] - [Release Schedule][releaseschedule] ## Getting Started [![Maven Central](https://img.shields.io/maven-central/v/org.apereo.cas/cas-server-webapp?style=for-the-badge&logo=apachemaven)][casmavencentral] [![Github Releases](https://img.shields.io/github/release/apereo/cas.svg?style=for-the-badge&logo=github)][githubreleases] It is recommended to deploy CAS locally using the [WAR Overlay method][overlay]. Cloning or downloading the CAS codebase is **ONLY** required if you wish to contribute to the development of the project. We recommend that you review [this page][gettingstarted] to get started with your CAS deployment. ## Features The following features are supported by the CAS project: * CAS v1, v2 and v3 Protocol * SAML v1 and v2 Protocol * OAuth v2 Protocol * OpenID Connect Protocol * WS-Federation Passive Requestor Protocol * Authentication via JAAS, LDAP, RDBMS, X.509, Radius, SPNEGO, JWT, Remote, Apache Cassandra, Trusted, BASIC, Apache Shiro, MongoDb, Pac4J and more. * Delegated authentication to WS-FED, Facebook, Twitter, SAML IdP, OpenID Connect, CAS and more. * Authorization via ABAC, Time/Date, REST, Internet2's Grouper and more. * HA clustered deployments via Hazelcast, JPA, Apache Cassandra, Memcached, Apache Ignite, MongoDb, Redis, DynamoDb, and more. * Application registration backed by JSON, LDAP, YAML, Apache Cassandra, JPA, Couchbase, MongoDb, DynamoDb, Redis and more. * Multifactor authentication via Duo Security, YubiKey, RSA, Google Authenticator, U2F, WebAuthn and more. * Administrative UIs to manage logging, monitoring, statistics, configuration, client registration and more. * Global and per-application user interface theme and branding. * Password management and password policy enforcement. * Deployment options using Apache Tomcat, Jetty, Undertow, packaged and running as Docker containers. The foundations of CAS are built upon: [Spring Boot](https://projects.spring.io/spring-boot) and [Spring Cloud](http://projects.spring.io/spring-cloud/). ## Development [![codecov](https://codecov.io/gh/apereo/cas/branch/master/graph/badge.svg?style=for-the-badge)][cascodecov] - To build the project locally, please follow [this guide][casbuildprocess]. - The release schedule is [available here][releaseschedule]. ## Support CAS is 100% free open source software managed by [Apereo](https://www.apereo.org/), licensed under [Apache v2](LICENSE). Our community has access to all releases of the CAS software with absolutely no costs. We welcome contributions from our community of all types and sizes. The time and effort to develop and maintain this project is dedicated by a group of [volunteers and contributors][githubcontributors]. Support options may be [found here][cassupport]. If you (or your employer) benefit from this project, please consider becoming a [Friend of Apereo](https://www.apereo.org/friends) and contribute. [cascodecov]: https://codecov.io/gh/apereo/cas [maintenance]: https://apereo.github.io/cas/developer/Maintenance-Policy.html [releaseschedule]: https://github.com/apereo/cas/milestones [wiki]: https://apereo.github.io/cas [githubreleases]: https://github.com/apereo/cas/releases [gettingstarted]: https://apereo.github.io/cas/development/planning/Getting-Started.html [overlay]: https://apereo.github.io/cas/development/installation/WAR-Overlay-Installation.html [contribute]: https://apereo.github.io/cas/developer/Contributor-Guidelines.html [downloadcas]: https://www.apereo.org/cas/download [cassonatype]: https://oss.sonatype.org/content/repositories/snapshots/org/apereo/cas/ [casmavencentral]: https://search.maven.org/search?q=g:org.apereo.cas [downloadcasgithub]: https://github.com/apereo/cas/archive/master.zip [releasenotes]: https://github.com/apereo/cas/releases [cassupport]: https://apereo.github.io/cas/Support.html [casgitter]: https://gitter.im/apereo/cas?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge [casslack]: https://apereo.slack.com/ [blog]: https://apereo.github.io/ [casbuildprocess]: https://apereo.github.io/cas/developer/Build-Process.html [githubcontributors]: https://github.com/apereo/cas/graphs/contributors [casjavadocs]: https://www.javadoc.io/doc/org.apereo.cas/cas-server-core
96
Apache Solr open-source search software
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> # Welcome to the Apache Solr project! ----------------------------------- Solr is the popular, blazing fast open source search platform for all your enterprise, e-commerce, and analytics needs, built on [Apache Lucene](https://lucene.apache.org/). For a complete description of the Solr project, team composition, source code repositories, and other details, please see the Solr web site at https://solr.apache.org/ ## Download Downloads for Apache Solr distributions are available at https://solr.apache.org/downloads.html. ## Running Solr ### Installing Solr The Reference Guide contains an entire [Deployment Guide](https://solr.apache.org/guide/solr/latest/deployment-guide/system-requirements.html) to walk you through installing Solr. ### Running Solr in Docker You can run Solr in Docker via the [official image](https://hub.docker.com/_/solr). Learn more about [Solr in Docker](https://solr.apache.org/guide/solr/latest/deployment-guide/solr-in-docker.html) ### Running Solr on Kubernetes Solr has official support for running on Kubernetes, in the official Docker image. Please refer to the [Solr Operator](https://solr.apache.org/operator) home for details, tutorials and instructions. ## How to Use Solr includes a few examples to help you get started. To run a specific example, enter: ``` bin/solr start -e <EXAMPLE> where <EXAMPLE> is one of: cloud: SolrCloud example techproducts: Comprehensive example illustrating many of Solr's core capabilities schemaless: Schema-less example (schema is inferred from data during indexing) films: Example of starting with _default configset and adding explicit fields dynamically ``` For instance, if you want to run the techproducts example, enter: ``` bin/solr start -e techproducts ``` For a more in-depth introduction, please check out the [tutorials in the Solr Reference Guide](https://solr.apache.org/guide/solr/latest/getting-started/solr-tutorial.html). ## Support - [Users Mailing List](https://solr.apache.org/community.html#mailing-lists-chat) - Slack: Solr Community Channel. Sign up at https://s.apache.org/solr-slack - IRC: `#solr` on [libera.chat](https://web.libera.chat/?channels=#solr) ## Get Involved Please review [CONTRIBUTING.md](CONTRIBUTING.md) for information on contributing to the project. To get involved in the developer community: - [Mailing Lists](https://solr.apache.org/community.html#mailing-lists-chat) - Slack: `#solr-dev` in the `the-asf` organization. Sign up at https://the-asf.slack.com/messages/CE70MDPMF - [Issue Tracker (JIRA)](https://issues.apache.org/jira/browse/SOLR) - IRC: `#solr-dev` on [libera.chat](https://web.libera.chat/?channels=#solr-dev) Learn more about developing Solr by reading through the developer docs in [./dev-docs](./dev-docs) source tree.
97
深入理解Java集合框架
# Java Collections Framework Internals # Authors | Name | Weibo Id | Blog | Mail | |:-----------|:-------------|:-------------|:-----------| | 李豪 |[@计算所的小鼠标](http://weibo.com/icttinymouse) | [CarpenterLee](http://www.cnblogs.com/CarpenterLee/) | [email protected] | # Introduction 关于*C++标准模板库(Standard Template Library, STL)*的书籍和资料有很多,关于*Java集合框架(Java Collections Framework, JCF)*的资料却很少,甚至很难找到一本专门介绍它的书籍,这给Java学习者们带来不小的麻烦。我深深的不解其中的原因。**虽然JCF设计参考了STL,但其定位不是Java版的STL,而是要实现一个精简紧凑的容器框架**,对STL的介绍自然不能替代对JCF的介绍。 本系列文章主要从**数据结构和算法**层面分析JCF中List, Set, Map, Stack, Queue等典型容器,**结合生动图解和源代码,帮助读者对Java集合框架建立清晰而深入的理解**。本文并不特意介绍Java的语言特性,但会在需要的时候做出简洁的解释。 # Contents 具体内容安排如下: 1. [Overview](https://github.com/CarpenterLee/JCFInternals/blob/master/markdown/1-Overview.md) 对Java Collections Framework,以及Java语言特性做出基本介绍。 2. [ArrayList](https://github.com/CarpenterLee/JCFInternals/blob/master/markdown/2-ArrayList.md) 结合源码对*ArrayList*进行讲解。 3. [LinkedList](https://github.com/CarpenterLee/JCFInternals/blob/master/markdown/3-LinkedList.md) 结合源码对*LinkedList*进行讲解。 4. [Stack and Queue](https://github.com/CarpenterLee/JCFInternals/blob/master/markdown/4-Stack%20and%20Queue.md) 以*AarryDeque*为例讲解*Stack*和*Queue*。 5. [TreeSet and TreeMap](https://github.com/CarpenterLee/JCFInternals/blob/master/markdown/5-TreeSet%20and%20TreeMap.md) 结合源码对*TreeSet*和*TreeMap*进行讲解。 6. [HashSet and HashMap](https://github.com/CarpenterLee/JCFInternals/blob/master/markdown/6-HashSet%20and%20HashMap.md) 结合源码对*HashSet*和*HashMap*进行讲解。 7. [LinkedHashSet and LinkedHashMap](https://github.com/CarpenterLee/JCFInternals/blob/master/markdown/7-LinkedHashSet%20and%20LinkedHashMap.md) 结合源码对*LinkedHashSet*和*LinkedHashMap*进行讲解。 8. [PriorityQueue](https://github.com/CarpenterLee/JCFInternals/blob/master/markdown/8-PriorityQueue.md) 结合源码对*PriorityQueue*进行讲解。 9. [WeakHashMap](https://github.com/CarpenterLee/JCFInternals/blob/master/markdown/9-WeakHashMap.md) 对*WeakHashMap*做出基本介绍。
98
A repository of different Algorithms and Data Structures implemented in many programming languages.
# Data Structures and Algorithms Clean example implementations of data structures and algorithms written in different languages. <br><br> [![Gitter chat](https://badges.gitter.im/VAR-solutions/Algorithms.png)](https://gitter.im/VAR-solutions/Algorithms "Gitter chat") [![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT) [![Issues](http://img.shields.io/github/issues/VAR-solutions/Algorithms.svg)](https://github.com/VAR-solutions/Algorithms/issues) #### List of implementations [Algorithms list(not updated)](#) ## Contribution! * Contributions are always welcome. Language doesn't matter. Just make sure you're implementing an algorithm. * PRs are welcome. To begin developing, follow the structure: > Algorithm-Type/algorithm-name/language-name/file-name.extension e.g > Sorting/bubble-sort/python/bubble-sort.py * If there is an implementation of the same algorithm in your language, do not give a PR for that. * Please include a description for the algorithm that you are implementing. It doesn't matter if it's copied from somewhere as long as it helps people that are learning new algorithm. * Graphical examples would be very helpful too. * You can include tests as well. * Don't remove previous implementations of algorithms. Just add a new file with your own implementation. * Beautify and clean up your code for easier reading ### Note: * If your PR is closed without any comment, it means that your PR does not meet the above criteria. Make sure your PR is **not Duplicate** and it should be **well-documented**. ## Resources The curated list of resources dealing with algorithms. * **Sites** * [Algorithms - Tutorials point](https://www.tutorialspoint.com/data_structures_algorithms/index.htm) * [Algorithms - Princetone edu](http://algs4.cs.princeton.edu/home/) * [Data structures and algorithms - Hackr](https://hackr.io/tutorials/learn-data-structures-algorithms) * [Data science - Topcoder](https://www.topcoder.com/community/data-science/data-science-tutorials/) * [Fundamentals Of Algorithms- Geeks For Geeks](http://www.geeksforgeeks.org/fundamentals-of-algorithms/) * [Visual Algorithm - visualising data structures and algorithms through animation](https://visualgo.net/en) * [Rosetta Code](http://rosettacode.org/wiki/Rosetta_Code) * [GeeksforGeeks](https://www.geeksforgeeks.org) * **Online classes (Free)** * Coursera * [Introduction to algorithms Part 1](https://www.coursera.org/learn/algorithms-part1) * [Algorithms specialization 4 courses](https://www.coursera.org/specializations/algorithms) * Khan Academy * [Algorithms](https://www.khanacademy.org/computing/computer-science/algorithms) * Udacity * [Computability, Complexity & Algorithms](https://www.udacity.com/course/computability-complexity-algorithms--ud061) * [Intro to algorithms](https://www.udacity.com/course/intro-to-algorithms--cs215) * EdX * [Algorithms](https://www.edx.org/course/algorithms-iitbombayx-cs213-3x-0) * [Algorithms and data structures](https://www.edx.org/course/algorithms-data-structures-microsoft-dev285x) * [Algorithm Design and Analysis](https://courses.edx.org/courses/course-v1:PennX+SD3x+2T2017/course/) * [Graph Algorithms](https://www.edx.org/course/graph-algorithms-uc-san-diegox-algs202x) * [Data Structures](https://www.edx.org/course/data-structures-uc-san-diegox-algs201x) * [Algorithmic Design and Techniques](https://www.edx.org/course/algorithmic-design-techniques-uc-san-diegox-algs200x) * [String Processing and Pattern Matching Algorithms](https://www.edx.org/course/string-processing-pattern-matching-uc-san-diegox-algs204x) * [Graph Algorithms in Genome Sequencing](https://www.edx.org/course/graph-algorithms-genome-sequencing-uc-san-diegox-algs206x) * [Algorithms and Data Structures Capstone](https://www.edx.org/course/algorithms-data-structures-capstone-uc-san-diegox-algs207x) * [Data Structures](https://www.youtube.com/user/mycodeschool) * [Algorithms and Data Structures Capstone](https://www.edx.org/course/algorithms-data-structures-capstone-uc-san-diegox-algs207x) * [Data Structures and Algorithms](https://www.programiz.com/dsa) * GeeksForGeeks * [Algorithms](https://www.geeksforgeeks.org/fundamentals-of-algorithms/) * **Coding Practice Sites** * [HackerRank](https://www.hackerrank.com/) * [HackerEarth](https://www.hackerearth.com/) * [SPOJ](http://www.spoj.com/) * [TopCoder](https://www.topcoder.com/) * [CodeChef](https://www.codechef.com/) * [Codeforces](http://codeforces.com/) * [Project Euler](https://projecteuler.net/) * [LeetCode](https://leetcode.com/) * [CodinGame](https://www.codingame.com/) * [CodeWars](https://codewars.com/) * [Coderbyte](https://www.coderbyte.com/) * [HireVue](https://www.hirevue.com/) * [FreeCodeCamp](https://www.freecodecamp.org/) * [CodeSignal](https://codesignal.com/) * [AtCoder](https://atcoder.jp/) # Project Maintainers. * [Vishal Gaur](https://github.com/i-vishi) :tada:<br> * [Ravi Varshney](https://github.com/ravivarshney01) :tada:<br> * [Ananya Tewari](https://github.com/antew7) :tada:<br>
99
Extracts Exif, IPTC, XMP, ICC and other metadata from image, video and audio files
![metadata-extractor logo](https://cdn.rawgit.com/drewnoakes/metadata-extractor/master/Resources/metadata-extractor-logo.svg) [![metadata-extractor build status](https://api.travis-ci.org/drewnoakes/metadata-extractor.svg)](https://travis-ci.org/drewnoakes/metadata-extractor) [![Maven Central](https://img.shields.io/maven-central/v/com.drewnoakes/metadata-extractor.svg?maxAge=2592000)](https://mvnrepository.com/artifact/com.drewnoakes/metadata-extractor) [![Donate](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TNXDJKCDV5Z2C&lc=GB&item_name=Drew%20Noakes&item_number=metadata%2dextractor&no_note=0&cn=Add%20a%20message%20%28optional%29%3a&no_shipping=1&currency_code=GBP&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) _metadata-extractor_ is a Java library for reading metadata from media files. ## Installation The easiest way is to install the library via its [Maven package](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.drewnoakes%22%20AND%20a%3A%22metadata-extractor%22). ```xml <dependency> <groupId>com.drewnoakes</groupId> <artifactId>metadata-extractor</artifactId> <version>2.18.0</version> </dependency> ``` Alternatively, download it from the [releases page](https://github.com/drewnoakes/metadata-extractor/releases). ## Usage ```java Metadata metadata = ImageMetadataReader.readMetadata(imagePath); ``` With that `Metadata` instance, you can [iterate or query](https://github.com/drewnoakes/metadata-extractor/wiki/Getting-Started-(Java)#2-query-tags) the [various tag values](https://github.com/drewnoakes/metadata-extractor/wiki/SampleOutput) that were read from the image. ## Features The library understands several formats of metadata, many of which may be present in a single image: * [Exif](https://en.wikipedia.org/wiki/Exchangeable_image_file_format) * [IPTC](https://en.wikipedia.org/wiki/IPTC) * [XMP](https://en.wikipedia.org/wiki/Extensible_Metadata_Platform) * [JFIF / JFXX](https://en.wikipedia.org/wiki/JPEG_File_Interchange_Format) * [ICC Profiles](https://en.wikipedia.org/wiki/ICC_profile) * [Photoshop](https://en.wikipedia.org/wiki/Photoshop) fields * [WebP](https://en.wikipedia.org/wiki/WebP) properties * [WAV](https://en.wikipedia.org/wiki/WAV) properties * [AVI](https://en.wikipedia.org/wiki/Audio_Video_Interleave) properties * [PNG](https://en.wikipedia.org/wiki/Portable_Network_Graphics) properties * [BMP](https://en.wikipedia.org/wiki/BMP_file_format) properties * [GIF](https://en.wikipedia.org/wiki/Graphics_Interchange_Format) properties * [ICO](https://en.wikipedia.org/wiki/ICO_(file_format)) properties * [PCX](https://en.wikipedia.org/wiki/PCX) properties * [QuickTime](https://en.wikipedia.org/wiki/QuickTime_File_Format) properties * [MP4](https://en.wikipedia.org/wiki/MPEG-4_Part_14) properties It will process files of type: * JPEG * TIFF * WebP * WAV * AVI * PSD * PNG * BMP * GIF * ICO * PCX * QuickTime * MP4 * Camera Raw * NEF (Nikon) * CR2 (Canon) * ORF (Olympus) * ARW (Sony) * RW2 (Panasonic) * RWL (Leica) * SRW (Samsung) Camera-specific "makernote" data is decoded for cameras manufactured by: * Agfa * Apple * Canon * Casio * Epson * Fujifilm * Kodak * Kyocera * Leica * Minolta * Nikon * Olympus * Panasonic * Pentax * Reconyx * Sanyo * Sigma/Foveon * Sony Read [getting started](https://github.com/drewnoakes/metadata-extractor/wiki/Getting-Started) for an introduction to the basics of using this library. ## Questions & Feedback The quickest way to have your questions answered is via [Stack Overflow](http://stackoverflow.com/questions/tagged/metadata-extractor). Check whether your question has already been asked, and if not, ask a new one tagged with both `metadata-extractor` and `java`. Bugs and feature requests should be provided via the project's [issue tracker](https://github.com/drewnoakes/metadata-extractor/issues). Please attach sample images where possible as most issues cannot be investigated without an image. ## Contributing If you want to get your hands dirty, making a pull request is a great way to enhance the library. In general it's best to create an issue first that captures the problem you want to address. You can discuss your proposed solution in that issue. This gives others a chance to provide feedback before you spend your valuable time working on it. An easier way to help is to contribute to the [sample image file library](https://github.com/drewnoakes/metadata-extractor-images/wiki) used for research and testing. ## Credits This library is developed by [Drew Noakes](https://drewnoakes.com/code/exif/). Thanks are due to the many [users](https://github.com/drewnoakes/metadata-extractor/wiki/UsedBy) who sent in suggestions, bug reports, [sample images](https://github.com/drewnoakes/metadata-extractor-images/wiki) from their cameras as well as encouragement. Wherever possible, they have been credited in the source code and commit logs. ## Other languages - .NET [metadata-extractor-dotnet](https://github.com/drewnoakes/metadata-extractor-dotnet) is a complete port to C#, maintained alongside this library - PHP [php-metadata-extractor](https://github.com/gomoob/php-metadata-extractor) wraps this Java project, making it available to users of PHP - Clojure [exif-processor](https://github.com/joshuamiller/exif-processor) wraps this Java project, returning a subset of data --- More information about this project is available at: * https://drewnoakes.com/code/exif/ * https://github.com/drewnoakes/metadata-extractor/