mirror of
https://github.com/zhigang1992/MessageBarManager.git
synced 2026-01-12 17:32:25 +08:00
removed demo image constants
This commit is contained in:
@@ -10,11 +10,12 @@
|
||||
// Quartz
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
|
||||
// Constants
|
||||
#define kImageIconError @"icon-error.png"
|
||||
#define kImageIconSuccess @"icon-success.png"
|
||||
#define kImageIconInfo @"icon-info.png"
|
||||
// Image Constants
|
||||
#define kMessageBarImageIconError @"icon-error.png"
|
||||
#define kMessageBarImageIconSuccess @"icon-success.png"
|
||||
#define kMessageBarImageIconInfo @"icon-info.png"
|
||||
|
||||
// Numeric Constants
|
||||
#define kMessageBarAlpha 0.96
|
||||
#define kMessageBarPadding 10
|
||||
#define kMessageBarMaxDescriptionHeight 250
|
||||
@@ -375,13 +376,13 @@ static UIColor *descriptionColor = nil;
|
||||
UIImage *iconImage = nil;
|
||||
switch (type) {
|
||||
case MessageBarMessageTypeError:
|
||||
iconImage = [UIImage imageNamed:kImageIconError];
|
||||
iconImage = [UIImage imageNamed:kMessageBarImageIconError];
|
||||
break;
|
||||
case MessageBarMessageTypeSuccess:
|
||||
iconImage = [UIImage imageNamed:kImageIconSuccess];
|
||||
iconImage = [UIImage imageNamed:kMessageBarImageIconSuccess];
|
||||
break;
|
||||
case MessageBarMessageTypeInfo:
|
||||
iconImage = [UIImage imageNamed:kImageIconInfo];
|
||||
iconImage = [UIImage imageNamed:kMessageBarImageIconInfo];
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
@@ -51,7 +51,6 @@
|
||||
56CD5A25175A777B00E9B94E /* MessageBarManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MessageBarManager.h; path = ../../../Classes/MessageBarManager.h; sourceTree = "<group>"; };
|
||||
56CD5A26175A777B00E9B94E /* MessageBarManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MessageBarManager.m; path = ../../../Classes/MessageBarManager.m; sourceTree = "<group>"; };
|
||||
56DE553917458AB20026B7D2 /* StringConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StringConstants.h; sourceTree = "<group>"; };
|
||||
56DE553A17458AB20026B7D2 /* UIConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIConstants.h; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
@@ -183,7 +182,6 @@
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
56DE553917458AB20026B7D2 /* StringConstants.h */,
|
||||
56DE553A17458AB20026B7D2 /* UIConstants.h */,
|
||||
);
|
||||
path = Constants;
|
||||
sourceTree = "<group>";
|
||||
|
||||
Binary file not shown.
@@ -1,13 +0,0 @@
|
||||
//
|
||||
// Constants.h
|
||||
// MessageBarManagerDemo
|
||||
//
|
||||
// Created by Terry Worona on 5/16/13.
|
||||
// Copyright (c) 2013 Terry Worona. All rights reserved.
|
||||
//
|
||||
|
||||
#pragma mark - Images
|
||||
|
||||
#define kImageIconSucces @"icon-success.png"
|
||||
#define kImageIconError @"icon-error.png"
|
||||
#define kImageIconInfo @"icon-info.png"
|
||||
Reference in New Issue
Block a user