Skip to content

Instantly share code, notes, and snippets.

View fuzza's full-sized avatar
🎯
Focusing

Oleksii Faizullov fuzza

🎯
Focusing
View GitHub Profile
@fuzza
fuzza / Makefile
Created May 31, 2017 08:07 — forked from pietbrauer/Makefile
Shutdown and reset all iOS Simulators
erase_sim:
./reset_sim.sh 2>/dev/null; true
@fuzza
fuzza / AppDelegate.m
Last active May 14, 2016 18:13 — forked from oleksii-demedetskyi/AppDelegate.m
Service Locator
- didFinishAppLaunch
{
ServiceLocator* serviceLocator = [ServiceLocator new];
SomeService* someService = [SomeService new];
[serviceLocator useObject:someService asServiceForKind:[someService class]];
SomeViewController* vc = [SomeViewController new];
vc.serviceLocator = serviceLocator;
}