This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (UIViewController *)topViewController{ | |
return [self topViewController:[UIApplication sharedApplication].keyWindow.rootViewController]; | |
} | |
- (UIViewController *)topViewController:(UIViewController *)rootViewController | |
{ | |
if (rootViewController.presentedViewController == nil) { | |
return rootViewController; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import Firebase | |
final class ClassService { | |
// MARK: - Firebase Storage Reference | |
let PHOTO_STORAGE_REF: StorageReference = Storage.storage().reference().child("photos") | |
init (){} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ANYTabDefaultViewController.m | |
// AnyPay | |
// | |
// Created by Chhem Sronglong on 07/03/2018. | |
// Copyright © 2018 Things9. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |