Skip to content

Instantly share code, notes, and snippets.

View xfer's full-sized avatar

Marcelo Alves xfer

View GitHub Profile
import UIKit
import CoreMotion
class ViewController: UIViewController {
@IBOutlet weak var wallpaper: UIImageView!
@IBOutlet weak var welcomeLabel: UILabel!
var motionManager: CMMotionManager!
package classes {
public class ApplicationSkin {
import com.adobe.csxs.core.CSXSInterface;
import com.adobe.csxs.types.AppSkinInfo;
public function ApplicationSkin() {}
// The current lightness of the app's background on a scale of 0-1
//
// Returns a Number