Permalink
Browse files

Expose lastPostedMessage as write-able

  • Loading branch information...
1 parent c09aff1 commit 54275d4020a75e1f4af20f880420d8afa581c405 @myell0w committed Nov 22, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −1 MTStatusBarOverlay.h
  2. +0 −1 MTStatusBarOverlay.m
View
@@ -107,7 +107,7 @@ typedef enum MTMessageType {
// DEPRECATED: enable/disable history-tracking of messages
@property (nonatomic, assign, getter=isHistoryEnabled) BOOL historyEnabled;
// the last message that was visible
-@property (nonatomic, strong, readonly) NSString *lastPostedMessage;
+@property (nonatomic, copy) NSString *lastPostedMessage;
// determines if immediate messages in the queue get removed or stay in the queue, when a new immediate message gets posted
@property (nonatomic, assign) BOOL canRemoveImmediateMessagesFromQueue;
// the mode of the detailView
View
@@ -186,7 +186,6 @@ @interface MTStatusBarOverlay ()
@property (nonatomic, strong) NSMutableArray *messageHistory;
@property (nonatomic, strong) UITableView *historyTableView;
@property (nonatomic, assign) BOOL forcedToHide;
-@property (nonatomic, strong, readwrite) NSString *lastPostedMessage;
// intern method that posts a new entry to the message-queue
- (void)postMessage:(NSString *)message type:(MTMessageType)messageType duration:(NSTimeInterval)duration animated:(BOOL)animated immediate:(BOOL)immediate;

0 comments on commit 54275d4

Please sign in to comment.