Skip to content

Instantly share code, notes, and snippets.

Benzamin Basher benzamin

Block or report user

Report or block benzamin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View BBExtensions.swift
//
// BBExtensions.swift
// Benzamin Basher
//
// Created by Digital & ABS Planning on 8/20/18.
// Copyright © 2018 RedGreen Studio. All rights reserved.
//
import UIKit
import Foundation
@benzamin
benzamin / BBFileManager.h
Last active Aug 20, 2017
Utility Class for basic file caching and file manipulation of documentsdirectory if iOS.
View BBFileManager.h
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface BBFileManager : NSObject
//-------------------- File caching ------------------
/**
* Caches a NSDictionary in the cache for a certain period of time
* @param dict The NSDictionary which need to be cached
@benzamin
benzamin / MyViewController.h
Created May 14, 2017
Automatic view pushing when keyboard covers a text field depending on the position of the textfield in the window.
View MyViewController.h
#import <UIKit/UIKit.h>
@interface MyViewController : UIViewController
@end
@benzamin
benzamin / DispatchGroup.h
Last active Jan 29, 2017
Using dispatch_group to execute code synchronously, this sample singletone class might help to implement it easily.
View DispatchGroup.h
#import <Foundation/Foundation.h>
@interface DispatchGroupManager : NSObject
{
}
/**
* Singleton constructor
* @return Singleton instance of DispatchGroup.
*/
You can’t perform that action at this time.