//
// AppDefine.h
// ProtectedData
//
// Created by on 7/6/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#ifndef SAFE_PERFORM_WITH_ARG
#define SAFE_PERFORM_WITH_ARG(THE_OBJECT, THE_SELECTOR, THE_ARG) (([THE_OBJECT respondsToSelector:THE_SELECTOR])?[THE_OBJECT performSelector:THE_SELECTOR withObject:THE_ARG]:nil)
#endif
#ifndef USERDEFAULT
#define USERDEFAULTISAPPLOCKKEYSETTED @"isAppLockKeySetted"
#define USERDEFAULTAPPLOCKKEY @"appLockKey"
#endif
#ifndef RGBA
#define RGBA(r, g, b, a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]
#endif