Skip to content

Instantly share code, notes, and snippets.

View lisaiceland's full-sized avatar
🏅
Innovate | Iterate

Lisaiceland DBA lisaiceland

🏅
Innovate | Iterate
View GitHub Profile
@lisaiceland
lisaiceland / tabs.service.ts
Created March 1, 2017 16:17 — forked from adamkearsley/tabs.service.ts
A service to hide and show tabs in Ionic 2
import {Injectable} from '@angular/core';
// Declare TabsService as a provider in app.module.ts
// Inject TabsService in your class: constructor(public tabs: TabsService){}
// Use the this.tabs.hide() or this.tabs.show() methods wherever you want
@Injectable()
export class TabsService {
constructor() {}
public hide() {
@lisaiceland
lisaiceland / DeviceUID.m
Created August 25, 2016 18:07 — forked from miguelcma/DeviceUID.m
iOS Unique Device ID that persists between app reinstalls
/* DeviceUID.h
#import <Foundation/Foundation.h>
@interface DeviceUID : NSObject
+ (NSString *)uid;
@end
*/
// Device.m