This is a Cheatsheet for RxSwift developers migrating to projects using ReactiveSwift.
Inspired by the RxSwift to Combine cheatsheet
RxSwift | ReactiveSwift | |
---|---|---|
Deployment Target | iOS 8.0+ | iOS 8.0+ |
var express = require('express') | |
, routes = require('./server/routes') | |
, path = require('path') | |
, app = express(); | |
app.set('port', process.env.PORT || 3000); | |
app.set('view engine', 'hbs'); | |
app.set('views', path.resolve(__dirname, 'views')); | |
app.disable('x-powered-by'); |
var express = require('express') | |
, formidable = require('formidable') | |
, fs = require('fs') | |
, path = require('path') | |
, app = express() | |
, storedFiles = []; | |
// | |
// Serve the cloud storage contents. | |
// |
find . -name \.AppleDouble -exec rm -rf {} \; |
if (!MySchema.options.toObject) { | |
PlanSchema.options.toObject = {}; | |
} | |
MySchema.options.toObject.transform = function(doc, ret) { | |
// Set the id from the retrun object value which will be a string. | |
ret.id = ret._id; | |
delete ret._id; | |
delete ret.__v; |
// Copyright 2012 Pierre-Yves Ricau | |
// | |
// 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 |
#!/bin/sh | |
# Generate iPhone Portrait Screenshots from 6+ for app store submission. | |
# From folder containing 6+ screenshots do: | |
# ./generate-ios-screenshots.sh *.png | |
mkdir -p 3.5 | |
mkdir -p 4.0 | |
mkdir -p 4.7 | |
mkdir -p 5.5 |
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end | |
import android.app.Activity; | |
import android.app.Fragment; | |
import android.app.FragmentManager; | |
#parse("File Header.java") | |
public class ${NAME} extends Fragment { | |
private static final String FRAG_TAG = ${NAME}.class.getCanonicalName(); |
AFError.errorCode 0: | |
createUploadableFailed(error: Error) | |
AFError.errorCode 1: | |
createURLRequestFailed(error: Error) | |
AFError.errorCode 2: | |
downloadedFileMoveFailed(error: Error, source: URL, destination: URL) | |
AFError.errorCode 3: |
/* | |
* Copyright 2012 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 |
This is a Cheatsheet for RxSwift developers migrating to projects using ReactiveSwift.
Inspired by the RxSwift to Combine cheatsheet
RxSwift | ReactiveSwift | |
---|---|---|
Deployment Target | iOS 8.0+ | iOS 8.0+ |