Skip to content

Instantly share code, notes, and snippets.

@isaldin
Created June 22, 2016 15:06
Show Gist options
  • Save isaldin/90c0947634f6e286c1af60d33aa591e9 to your computer and use it in GitHub Desktop.
Save isaldin/90c0947634f6e286c1af60d33aa591e9 to your computer and use it in GitHub Desktop.
AtomSubscriber template
//
// ___FILENAME___
// ___PROJECTNAME___
//
// Created ___FULLUSERNAME___ on ___DATE___.
// Copyright © ___YEAR___ ___ORGANIZATIONNAME___. All rights reserved.
//
// Generated by Atom templates.
//
import Foundation
import Atom
extension ___FILEBASENAMEASIDENTIFIER___: AtomSubscriber
{
typealias EventType = <#Event#>
func stateChanged(event: EventType)
{
switch event {
default:
()
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment