Skip to content

Instantly share code, notes, and snippets.

View andretodman's full-sized avatar

Andre andretodman

  • IOS / Android / Unity Engineer @ www.insight.fm | www.pubfuse.com
  • Boston, Ma USA
  • 05:20 (UTC -04:00)
View GitHub Profile
<!--
Tutorial code for: http://www.binpress.com/tutorial/generating-nice-movie-previews-with-ffmpeg/138
-->
<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
</head>
<body>
<a href="https://www.youtube.com/watch?v=v1uyQZNg2vE" target="_blank" class="video-preview" data-frames="100" data-source="http://i.imgur.com/BX0pV4J.jpg"></a>
@andretodman
andretodman / AppLifecycleTracker.swift
Last active June 2, 2019 12:46
A Swift 4.0 class to keep track of the time an app is in background, foreground, terminated and suspended
//
// AppLifecycleTracker.swift
// A Swift 4.0 class to keep track of the time an app is in background, foreground, terminated and suspended
// Usage: var appLifecycleTracker:AppLifecycleTracker? = AppLifecycleTracker()
// Must enable CoreLocation update background mode to allow this to update in BG
// Privacy - Location Always and When In Use Usage Description must be in the plist
// Test by freeing ram while app is backgrounded to see last suspention time
//
// Created by Andre Todman on 10/19/18.
//