(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
public class CircularProgressDrawable extends Drawable | |
implements Animatable { | |
private static final Interpolator ANGLE_INTERPOLATOR = new LinearInterpolator(); | |
private static final Interpolator SWEEP_INTERPOLATOR = new DecelerateInterpolator(); | |
private static final int ANGLE_ANIMATOR_DURATION = 2000; | |
private static final int SWEEP_ANIMATOR_DURATION = 600; | |
private static final int MIN_SWEEP_ANGLE = 30; | |
private final RectF fBounds = new RectF(); |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
@interface UIWindow (resize) | |
-(void)_adjustSizeClassesAndResizeWindowToFrame:(CGRect)frame; | |
@end | |
typedef enum _UICustomRes | |
{ | |
UICustomResiPadTwoThirds, | |
UICustomResiPadHalf, | |
UICustomResiPadOneThird, | |
UICustomResiPhone47, |
#include<stdio.h> | |
#include<stdlib.h> | |
void print(int x[][10],int n,int m){ | |
int i,j; | |
for(i=0;i<n;i++){ | |
printf("\n"); | |
for(j=0;j<m;j++){ | |
printf("%d\t",x[i][j]); | |
} |
/* | |
* This is an example provided by Facebook are for non-commercial testing and | |
* evaluation purposes only. | |
* | |
* Facebook reserves all rights not expressly granted. | |
* | |
* 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 NON INFRINGEMENT. IN NO EVENT SHALL | |
* FACEBOOK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN |
import UIKit | |
struct Screen<A> { | |
let run: (A -> ()) -> UIViewController | |
} | |
struct Step<A> { | |
let build: (navigationController: UINavigationController, callback: A -> ()) -> UIViewController | |
} |
func push(_ module: Presentable?) |
// | |
// MyMetalWaterfall.swift | |
// version 0.1.105 (updated for Swift 5) | |
// | |
// Demonstrates using a MetalKit compute shader to render a live waterfall RGB bitmap | |
// into a UIView | |
// | |
// This is a single file iOS app | |
// | |
// It includes AppDelegate for a minimal demonstration app |
This is a curated list of iOS (Swift & ObjC) frameworks which are inspired by React and Elm.