Skip to content

Instantly share code, notes, and snippets.

David Hoerl dhoerl

  • New Jersey, USA
Block or report user

Report or block dhoerl

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
@dhoerl
dhoerl / UIImage+WhiteImage.m
Created Sep 20, 2011
UIImage category to produce a new all white image from any other image. Useful to create white versions of darker icons for use in dark views.
View UIImage+WhiteImage.m
//
// UIImage+WhiteImage.m
//
// Created by David Hoerl on 9/14/11.
// Copyright (c) 2011 David Hoerl. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@dhoerl
dhoerl / KeychainItemWrapper.h
Last active Aug 14, 2019
KeychainItemWrapper ARCified. Added the ability to manage a dictionary in place of just a string - the #define PASSWORD_USES_DATA in the .m file switches the mode.
View KeychainItemWrapper.h
/*
File: KeychainItemWrapper.h
Abstract:
Objective-C wrapper for accessing a single keychain item.
Version: 1.2 - ARCified
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Inc. ("Apple") in consideration of your agreement to the following
terms, and your use, installation, modification or redistribution of
@dhoerl
dhoerl / Reachability.h
Created Aug 25, 2011
Reachability (iOS) ARCified
View Reachability.h
/*
File: Reachability.h
Abstract: Basic demonstration of how to use the SystemConfiguration Reachablity APIs.
Version: 2.2 - ARCified
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc.
("Apple") in consideration of your agreement to the following terms, and your
use, installation, modification or redistribution of this Apple software
You can’t perform that action at this time.