Skip to content

Instantly share code, notes, and snippets.

🔋
Battery about to die

Okke Timm okket

🔋
Battery about to die
View GitHub Profile
View application.controller.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
View application.controller.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
View Reflections.swift
import Foundation
func typestring(x : Any) -> String
{
if let obj = x as? NSObject {
return NSStringFromClass((x as NSObject).dynamicType)
}
// Native Swift
switch x {
You can’t perform that action at this time.