Skip to content

Instantly share code, notes, and snippets.

View uknowmeright's full-sized avatar

Paul Lehn uknowmeright

View GitHub Profile
@uknowmeright
uknowmeright / Android Pass Variable
Created April 15, 2014 20:27
How to pass variables to a new activity in Android (Android Studio)
//step 1:
import android.content.Intent;
//step 2: add to activity you want to sav variables from
Intent i = new Intent(getApplicationContext(), ActivityName.class);
i.putExtra("someVariable","variableValue");
startActivity(i);
//step 3: add to activity you want to pulll variables from
@uknowmeright
uknowmeright / PaulsRatingManager.swift
Last active January 7, 2019 21:52
rate my app popup #tags: swift, rating, ios
//
// PaulsRatingManager.swift
//
// Created by Paul on 1/7/19.
// Copyright © 2019 Paul Lehn. All rights reserved.
//
import Foundation
import StoreKit
@uknowmeright
uknowmeright / MyTimer.swift
Last active January 7, 2019 21:52
timer for IOS #tags: timer, swift, mytimer
// MyTimer.swift
//
// Created by Paul on 10/11/18.
// Copyright © 2018 Paul Lehn. All rights reserved.
//
import Foundation
class MyTimer: NSObject {
@uknowmeright
uknowmeright / Global.swift
Created January 7, 2019 21:35
global variables #tags: global, swift
//
// global.swift
//
// Created by Paul Lehn on 1/4/18.
// Copyright © 2018 Paul Lehn. All rights reserved.
//
import Foundation
struct global {
@uknowmeright
uknowmeright / AppNavigation.Swift
Last active January 7, 2019 21:53
navigation class #tags: navigation, IOS, Swift, Class
//
// AppNavigation.swift
//
// Created by Paul Lehn on 12/20/17.
// Copyright © 2017 Paul Lehn. All rights reserved.
//
import Foundation
import Firebase
import SideMenu