diff --git a/IRCCloud/Classes/AppDelegate.h b/IRCCloud/Classes/AppDelegate.h index d58a0cb8..1c546da0 100644 --- a/IRCCloud/Classes/AppDelegate.h +++ b/IRCCloud/Classes/AppDelegate.h @@ -68,12 +68,12 @@ NSMutableSet *_activeScenes; } -@property (strong, nonatomic) UIWindow *window; +@property (strong) UIWindow *window; -@property (strong, nonatomic) LoginSplashViewController *loginSplashViewController; -@property (strong, nonatomic) MainViewController *mainViewController; -@property (strong, nonatomic) ECSlidingViewController *slideViewController; -@property (strong, nonatomic) SplashViewController *splashViewController; +@property (strong) LoginSplashViewController *loginSplashViewController; +@property (strong) MainViewController *mainViewController; +@property (strong) ECSlidingViewController *slideViewController; +@property (strong) SplashViewController *splashViewController; @property BOOL movedToBackground; @@ -93,11 +93,11 @@ API_AVAILABLE(ios(13.0)) AppDelegate *_appDelegate; UIScene *_scene; } -@property (strong, nonatomic) UIWindow *window; -@property (strong, nonatomic) UIScene *scene; +@property (strong) UIWindow *window; +@property (strong) UIScene *scene; -@property (strong, nonatomic) LoginSplashViewController *loginSplashViewController; -@property (strong, nonatomic) MainViewController *mainViewController; -@property (strong, nonatomic) ECSlidingViewController *slideViewController; -@property (strong, nonatomic) SplashViewController *splashViewController; +@property (strong) LoginSplashViewController *loginSplashViewController; +@property (strong) MainViewController *mainViewController; +@property (strong) ECSlidingViewController *slideViewController; +@property (strong) SplashViewController *splashViewController; @end diff --git a/IRCCloud/Classes/AppDelegate.m b/IRCCloud/Classes/AppDelegate.m index 2ed7e65b..4a422ca1 100644 --- a/IRCCloud/Classes/AppDelegate.m +++ b/IRCCloud/Classes/AppDelegate.m @@ -53,8 +53,8 @@ + (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host { //From: http://stackoverflow.com/a/19313559 @interface NavBarHax : UINavigationBar -@property (nonatomic, assign) BOOL changingUserInteraction; -@property (nonatomic, assign) BOOL userInteractionChangedBySystem; +@property (assign) BOOL changingUserInteraction; +@property (assign) BOOL userInteractionChangedBySystem; @end diff --git a/IRCCloud/Classes/AvatarsDataSource.h b/IRCCloud/Classes/AvatarsDataSource.h index 8ea0d174..dc2e2c2f 100644 --- a/IRCCloud/Classes/AvatarsDataSource.h +++ b/IRCCloud/Classes/AvatarsDataSource.h @@ -24,9 +24,9 @@ NSMutableDictionary *_selfImages; NSTimeInterval _lastAccessTime; } -@property (nonatomic, assign) int bid; -@property (nonatomic, copy) NSString *nick, *displayName; -@property (nonatomic, readonly) NSTimeInterval lastAccessTime; +@property (assign) int bid; +@property (copy) NSString *nick, *displayName; +@property (readonly) NSTimeInterval lastAccessTime; -(UIImage *)getImage:(int)size isSelf:(BOOL)isSelf; -(UIImage *)getImage:(int)size isSelf:(BOOL)isSelf isChannel:(BOOL)isChannel; @end diff --git a/IRCCloud/Classes/BuffersDataSource.h b/IRCCloud/Classes/BuffersDataSource.h index e97696b0..a8a88a06 100644 --- a/IRCCloud/Classes/BuffersDataSource.h +++ b/IRCCloud/Classes/BuffersDataSource.h @@ -42,14 +42,14 @@ NSString *_displayName; NSMutableDictionary *_typingIndicators; } -@property (nonatomic, assign) int bid, cid, archived, deferred, timeout, extraHighlights; -@property (nonatomic, assign) NSTimeInterval min_eid, last_seen_eid, scrolledUpFrom, created; -@property (nonatomic, assign) CGFloat savedScrollOffset; -@property (nonatomic, copy) NSString *name, *type, *away_msg, *chantypes; -@property (nonatomic, assign) BOOL valid, scrolledUp, serverIsSlack; -@property (nonatomic, copy) NSString *draft; -@property (nonatomic, strong) Buffer *lastBuffer, *nextBuffer; -@property (nonatomic, strong) NSMutableDictionary *typingIndicators; +@property (assign) int bid, cid, archived, deferred, timeout, extraHighlights; +@property (assign) NSTimeInterval min_eid, last_seen_eid, scrolledUpFrom, created; +@property (assign) CGFloat savedScrollOffset; +@property (copy) NSString *name, *type, *away_msg, *chantypes; +@property (assign) BOOL valid, scrolledUp, serverIsSlack; +@property (copy) NSString *draft; +@property (strong) Buffer *lastBuffer, *nextBuffer; +@property (strong) NSMutableDictionary *typingIndicators; @property (readonly) NSString *accessibilityValue, *normalizedName, *displayName; @property (readonly) BOOL isMPDM; -(NSComparisonResult)compare:(Buffer *)aBuffer; diff --git a/IRCCloud/Classes/CallerIDTableViewController.h b/IRCCloud/Classes/CallerIDTableViewController.h index 301e93d1..fd2d52df 100644 --- a/IRCCloud/Classes/CallerIDTableViewController.h +++ b/IRCCloud/Classes/CallerIDTableViewController.h @@ -24,6 +24,6 @@ UIBarButtonItem *_addButton; UILabel *_placeholder; } -@property (strong, nonatomic) NSArray *nicks; -@property (strong, nonatomic) IRCCloudJSONObject *event; +@property (strong) NSArray *nicks; +@property (strong) IRCCloudJSONObject *event; @end diff --git a/IRCCloud/Classes/ChannelListTableViewController.h b/IRCCloud/Classes/ChannelListTableViewController.h index 7525718f..e3768748 100644 --- a/IRCCloud/Classes/ChannelListTableViewController.h +++ b/IRCCloud/Classes/ChannelListTableViewController.h @@ -25,7 +25,7 @@ UILabel *_placeholder; UIActivityIndicatorView *_activity; } -@property (strong, nonatomic) NSArray *channels; -@property (strong, nonatomic) IRCCloudJSONObject *event; +@property (strong) NSArray *channels; +@property (strong) IRCCloudJSONObject *event; -(void)refresh; @end diff --git a/IRCCloud/Classes/ChannelModeListTableViewController.h b/IRCCloud/Classes/ChannelModeListTableViewController.h index d333ba85..27269aa4 100644 --- a/IRCCloud/Classes/ChannelModeListTableViewController.h +++ b/IRCCloud/Classes/ChannelModeListTableViewController.h @@ -31,8 +31,8 @@ NSString *_mask; BOOL _canChangeMode; } -@property (strong, nonatomic) NSArray *data; -@property (strong, nonatomic) IRCCloudJSONObject *event; +@property (strong) NSArray *data; +@property (strong) IRCCloudJSONObject *event; @property NSString *mask; -(id)initWithList:(int)list mode:(NSString *)mode param:(NSString *)param placeholder:(NSString *)placeholder cid:(int)cid bid:(int)bid; diff --git a/IRCCloud/Classes/ChannelsDataSource.h b/IRCCloud/Classes/ChannelsDataSource.h index 4221db07..24d20945 100644 --- a/IRCCloud/Classes/ChannelsDataSource.h +++ b/IRCCloud/Classes/ChannelsDataSource.h @@ -32,11 +32,11 @@ BOOL _valid; BOOL _key; } -@property (nonatomic, assign) int cid, bid; -@property (nonatomic, assign) BOOL valid, key; -@property (nonatomic, copy) NSString *name, *topic_text, *topic_author, *type, *mode, *url; -@property (nonatomic, assign) NSTimeInterval topic_time, timestamp; -@property (nonatomic, strong) NSArray *modes; +@property (assign) int cid, bid; +@property (assign) BOOL valid, key; +@property (copy) NSString *name, *topic_text, *topic_author, *type, *mode, *url; +@property (assign) NSTimeInterval topic_time, timestamp; +@property (strong) NSArray *modes; -(void)addMode:(NSString *)mode param:(NSString *)param; -(void)removeMode:(NSString *)mode; -(BOOL)hasMode:(NSString *)mode; diff --git a/IRCCloud/Classes/DisplayOptionsViewController.h b/IRCCloud/Classes/DisplayOptionsViewController.h index c3329798..8ad54ce6 100644 --- a/IRCCloud/Classes/DisplayOptionsViewController.h +++ b/IRCCloud/Classes/DisplayOptionsViewController.h @@ -35,5 +35,5 @@ UISwitch *_nocolors; UISwitch *_typingStatus; } -@property (strong, nonatomic) Buffer *buffer; +@property (strong) Buffer *buffer; @end diff --git a/IRCCloud/Classes/EditConnectionViewController.m b/IRCCloud/Classes/EditConnectionViewController.m index 7c7bd153..4655d8a7 100644 --- a/IRCCloud/Classes/EditConnectionViewController.m +++ b/IRCCloud/Classes/EditConnectionViewController.m @@ -30,7 +30,7 @@ @interface NetworkListViewController : UITableViewController { UIActivityIndicatorView *_activityIndicator; } -@property (nonatomic) NSString *selection; +@property (copy) NSString *selection; -(id)initWithDelegate:(id)delegate; - (void)fetchServerList; @end diff --git a/IRCCloud/Classes/EventsDataSource.h b/IRCCloud/Classes/EventsDataSource.h index ae509e55..8db4ee8c 100644 --- a/IRCCloud/Classes/EventsDataSource.h +++ b/IRCCloud/Classes/EventsDataSource.h @@ -108,18 +108,18 @@ BOOL _collapsed; NSTimeInterval _lastEditEID; } -@property (nonatomic, assign) int cid, bid, rowType, reqId, childEventCount, replyCount; -@property (nonatomic, assign) NSTimeInterval eid, groupEid, serverTime, parent, lastEditEID; -@property (nonatomic, copy) NSString *timestamp, *type, *msg, *hostmask, *from, *fromMode, *nick, *oldNick, *server, *diff, *groupMsg, *targetMode, *formattedMsg, *to, *command, *day, *chan, *realname, *accessibilityLabel, *accessibilityValue, *avatar, *avatarURL, *fromNick, *msgid, *formattedPrefix; -@property (nonatomic, assign) BOOL isHighlight, isSelf, toChan, toBuffer, linkify, pending, monospace, isHeader, isEmojiOnly, isQuoted, isCodeBlock, hasReply, isReply, edited, collapsed, hasReplyRow; -@property (nonatomic, copy) NSDictionary *ops,*entities; -@property (nonatomic, strong) UIColor *color, *bgColor; -@property (nonatomic, copy) NSAttributedString *formatted, *formattedNick, *formattedRealname, *formattedPadded; -@property (nonatomic, assign) float height, timestampPosition, avatarHeight, estimatedWidth; -@property (nonatomic, strong) NSArray *links, *realnameLinks; -@property (nonatomic, strong) NSMutableSet *replyNicks; -@property (nonatomic, strong) NSTimer *expirationTimer; -@property (nonatomic, assign) NSInteger row, mentionOffset; +@property (assign) int cid, bid, rowType, reqId, childEventCount, replyCount; +@property (assign) NSTimeInterval eid, groupEid, serverTime, parent, lastEditEID; +@property (copy) NSString *timestamp, *type, *msg, *hostmask, *from, *fromMode, *nick, *oldNick, *server, *diff, *groupMsg, *targetMode, *formattedMsg, *to, *command, *day, *chan, *realname, *accessibilityLabel, *accessibilityValue, *avatar, *avatarURL, *fromNick, *msgid, *formattedPrefix; +@property (assign) BOOL isHighlight, isSelf, toChan, toBuffer, linkify, pending, monospace, isHeader, isEmojiOnly, isQuoted, isCodeBlock, hasReply, isReply, edited, collapsed, hasReplyRow; +@property (copy) NSDictionary *ops,*entities; +@property (strong) UIColor *color, *bgColor; +@property (copy) NSAttributedString *formatted, *formattedNick, *formattedRealname, *formattedPadded; +@property (assign) float height, timestampPosition, avatarHeight, estimatedWidth; +@property (strong) NSArray *links, *realnameLinks; +@property (strong) NSMutableSet *replyNicks; +@property (strong) NSTimer *expirationTimer; +@property (assign) NSInteger row, mentionOffset; -(NSComparisonResult)compare:(Event *)aEvent; -(BOOL)isImportant:(NSString *)bufferType; -(BOOL)isMessage; diff --git a/IRCCloud/Classes/EventsDataSource.m b/IRCCloud/Classes/EventsDataSource.m index ee9c0264..c6016c05 100644 --- a/IRCCloud/Classes/EventsDataSource.m +++ b/IRCCloud/Classes/EventsDataSource.m @@ -30,11 +30,6 @@ @implementation Event + (BOOL)supportsSecureCoding { return YES; } --(instancetype)init { - self = [super init]; - self->_type = (NSString *)[[NSNull alloc] init]; - return self; -} -(NSComparisonResult)compare:(Event *)aEvent { if(aEvent.pending && !_pending) return NSOrderedAscending; diff --git a/IRCCloud/Classes/EventsTableView.h b/IRCCloud/Classes/EventsTableView.h index debe1a19..424a7129 100644 --- a/IRCCloud/Classes/EventsTableView.h +++ b/IRCCloud/Classes/EventsTableView.h @@ -98,11 +98,11 @@ @property (readonly) UILabel *topUnreadLabel; @property (readonly) UILabel *bottomUnreadLabel; @property (readonly) UILabel *bottomUnreadArrow; -@property (nonatomic) NSTimeInterval eidToOpen; +@property (assign) NSTimeInterval eidToOpen; @property (readonly) UIImageView *stickyAvatar; @property Buffer *buffer; @property NSString *msgid; -@property (nonatomic) BOOL shouldAutoFetch; +@property (assign) BOOL shouldAutoFetch; -(void)insertEvent:(Event *)event backlog:(BOOL)backlog nextIsGrouped:(BOOL)nextIsGrouped; -(IBAction)topUnreadBarClicked:(id)sender; -(IBAction)bottomUnreadBarClicked:(id)sender; diff --git a/IRCCloud/Classes/EventsTableView.m b/IRCCloud/Classes/EventsTableView.m index a3c2e502..48d6d8c0 100644 --- a/IRCCloud/Classes/EventsTableView.m +++ b/IRCCloud/Classes/EventsTableView.m @@ -83,7 +83,7 @@ @interface EventsTableCell : UITableViewCell { @property (readonly) UIView *quoteBorder, *codeBlockBackground, *topBorder, *bottomBorder, *lastSeenEIDBackground, *socketClosedBar; @property (readonly) NSLayoutConstraint *messageOffsetLeft, *messageOffsetRight, *messageOffsetTop, *messageOffsetBottom, *timestampWidth, *avatarOffset, *nicknameOffset, *lastSeenEIDOffset, *avatarWidth, *avatarHeight, *replyCenter, *replyXOffset, *avatarTop; @property (readonly) UIControl *replyButton; -@property (nonatomic) NSURL *largeAvatarURL; +@property (strong) NSURL *largeAvatarURL; -(IBAction)avatarTapped:(UITapGestureRecognizer *)sender; @end diff --git a/IRCCloud/Classes/IRCColorPickerView.h b/IRCCloud/Classes/IRCColorPickerView.h index a3dc91f9..0cf91408 100644 --- a/IRCCloud/Classes/IRCColorPickerView.h +++ b/IRCCloud/Classes/IRCColorPickerView.h @@ -26,7 +26,7 @@ UIButton *_fg[16]; UIButton *_bg[16]; } -@property (nonatomic, assign) id delegate; +@property (assign) id delegate; -(void)updateButtonColors:(BOOL)background; @end diff --git a/IRCCloud/Classes/IgnoresTableViewController.h b/IRCCloud/Classes/IgnoresTableViewController.h index a8d6e70d..9251bfd1 100644 --- a/IRCCloud/Classes/IgnoresTableViewController.h +++ b/IRCCloud/Classes/IgnoresTableViewController.h @@ -24,6 +24,6 @@ int _cid; UILabel *_placeholder; } -@property (strong, nonatomic) NSArray *ignores; +@property (strong) NSArray *ignores; @property int cid; @end diff --git a/IRCCloud/Classes/LinkLabel.h b/IRCCloud/Classes/LinkLabel.h index 36a1b00d..6aa71290 100644 --- a/IRCCloud/Classes/LinkLabel.h +++ b/IRCCloud/Classes/LinkLabel.h @@ -22,8 +22,8 @@ UITapGestureRecognizer *_tapGesture; NSMutableArray *_links; } -@property (nonatomic, unsafe_unretained) id linkDelegate; -@property (nonatomic, strong) NSDictionary *linkAttributes; +@property (unsafe_unretained) id linkDelegate; +@property (strong) NSDictionary *linkAttributes; - (void)addLinkToURL:(NSURL *)url withRange:(NSRange)range; - (void)addLinkWithTextCheckingResult:(NSTextCheckingResult *)result; diff --git a/IRCCloud/Classes/LinkTextView.h b/IRCCloud/Classes/LinkTextView.h index 6d07ec14..a1b8a252 100644 --- a/IRCCloud/Classes/LinkTextView.h +++ b/IRCCloud/Classes/LinkTextView.h @@ -22,8 +22,8 @@ UITapGestureRecognizer *_tapGesture; NSMutableArray *_links; } -@property (nonatomic, unsafe_unretained) id linkDelegate; -@property (nonatomic, strong) NSDictionary *linkAttributes; +@property (unsafe_unretained) id linkDelegate; +@property (strong) NSDictionary *linkAttributes; - (void)addLinkToURL:(NSURL *)url withRange:(NSRange)range; - (void)addLinkWithTextCheckingResult:(NSTextCheckingResult *)result; diff --git a/IRCCloud/Classes/LinksListTableViewController.h b/IRCCloud/Classes/LinksListTableViewController.h index d316fece..68714249 100644 --- a/IRCCloud/Classes/LinksListTableViewController.h +++ b/IRCCloud/Classes/LinksListTableViewController.h @@ -22,6 +22,6 @@ IRCCloudJSONObject *_event; NSArray *_data; } -@property (strong, nonatomic) IRCCloudJSONObject *event; +@property (strong) IRCCloudJSONObject *event; -(void)refresh; @end diff --git a/IRCCloud/Classes/LogExportsTableViewController.h b/IRCCloud/Classes/LogExportsTableViewController.h index a902e129..3135413f 100644 --- a/IRCCloud/Classes/LogExportsTableViewController.h +++ b/IRCCloud/Classes/LogExportsTableViewController.h @@ -35,7 +35,7 @@ @property Buffer *buffer; @property Server *server; -@property (nonatomic, copy) void (^completionHandler)(void); +@property (copy) void (^completionHandler)(void); -(void)download:(NSURL *)url; diff --git a/IRCCloud/Classes/MainViewController.h b/IRCCloud/Classes/MainViewController.h index 945f2efe..5727a09a 100644 --- a/IRCCloud/Classes/MainViewController.h +++ b/IRCCloud/Classes/MainViewController.h @@ -128,11 +128,11 @@ UILabel *_typingIndicator; NSTimer *_typingTimer; } -@property (nonatomic) int cidToOpen; -@property (nonatomic) int bidToOpen; -@property (nonatomic) NSTimeInterval eidToOpen; -@property (nonatomic) NSString *incomingDraft; -@property (nonatomic) NSString *bufferToOpen; +@property (assign) int cidToOpen; +@property (assign) int bidToOpen; +@property (assign) NSTimeInterval eidToOpen; +@property (copy) NSString *incomingDraft; +@property (copy) NSString *bufferToOpen; @property (readonly) EventsTableView *eventsView; @property (readonly) Buffer *buffer; @property BOOL isShowingPreview; diff --git a/IRCCloud/Classes/NamesListTableViewController.h b/IRCCloud/Classes/NamesListTableViewController.h index a350755d..3b372022 100644 --- a/IRCCloud/Classes/NamesListTableViewController.h +++ b/IRCCloud/Classes/NamesListTableViewController.h @@ -22,6 +22,6 @@ IRCCloudJSONObject *_event; NSArray *_data; } -@property (strong, nonatomic) IRCCloudJSONObject *event; +@property (strong) IRCCloudJSONObject *event; -(void)refresh; @end diff --git a/IRCCloud/Classes/NetworkConnection.m b/IRCCloud/Classes/NetworkConnection.m index 3e0f1ca5..dc9b886e 100644 --- a/IRCCloud/Classes/NetworkConnection.m +++ b/IRCCloud/Classes/NetworkConnection.m @@ -110,7 +110,7 @@ @interface OOBFetcher : NSObject { } @property (readonly) NSString *url; @property int bid; -@property (nonatomic, copy) void (^completionHandler)(BOOL); +@property (copy) void (^completionHandler)(BOOL); -(id)initWithURL:(NSString *)URL; -(void)cancel; -(void)start; diff --git a/IRCCloud/Classes/NickCompletionView.h b/IRCCloud/Classes/NickCompletionView.h index 2095934d..0a73d8d3 100644 --- a/IRCCloud/Classes/NickCompletionView.h +++ b/IRCCloud/Classes/NickCompletionView.h @@ -27,7 +27,7 @@ NSInteger _selection; } @property (readonly) UIFont *font; -@property (nonatomic, assign) id completionDelegate; +@property (assign) id completionDelegate; @property NSInteger selection; -(void)setSuggestions:(NSArray *)suggestions; -(NSUInteger)count; diff --git a/IRCCloud/Classes/ServersDataSource.h b/IRCCloud/Classes/ServersDataSource.h index 362f3a37..9a2e1b37 100644 --- a/IRCCloud/Classes/ServersDataSource.h +++ b/IRCCloud/Classes/ServersDataSource.h @@ -58,14 +58,14 @@ BOOL _blocksDeletes; BOOL _blocksTyping; } -@property (nonatomic, assign) int cid, port, ssl, order, deferred_archives, orgId, avatars_supported, slack; -@property (nonatomic, copy) NSString *name, *hostname, *nick, *status, *realname, *server_pass, *nickserv_pass, *join_commands, *away, *usermask, *mode, *CHANTYPES, *MODE_OPER, *MODE_OWNER, *MODE_ADMIN, *MODE_OP, *MODE_HALFOP, *MODE_VOICED, *server_realname, *ircserver, *avatar, *avatarURL, *from; -@property (nonatomic, copy) NSDictionary *fail_info, *PREFIX; -@property (nonatomic, copy) NSDictionary *isupport; -@property (nonatomic, copy) NSArray *caps; -@property (nonatomic) NSMutableDictionary *collapsed; +@property (assign) int cid, port, ssl, order, deferred_archives, orgId, avatars_supported, slack; +@property (copy) NSString *name, *hostname, *nick, *status, *realname, *server_pass, *nickserv_pass, *join_commands, *away, *usermask, *mode, *CHANTYPES, *MODE_OPER, *MODE_OWNER, *MODE_ADMIN, *MODE_OP, *MODE_HALFOP, *MODE_VOICED, *server_realname, *ircserver, *avatar, *avatarURL, *from; +@property (copy) NSDictionary *fail_info, *PREFIX; +@property (copy) NSDictionary *isupport; +@property (copy) NSArray *caps; +@property (strong) NSMutableDictionary *collapsed; @property (readonly) Ignore *ignore; -@property (nonatomic) BOOL blocksEdits, blocksReplies, blocksReactions, blocksDeletes, blocksTyping; +@property (assign) BOOL blocksEdits, blocksReplies, blocksReactions, blocksDeletes, blocksTyping; -(NSComparisonResult)compare:(Server *)aServer; -(NSArray *)ignores; -(void)setIgnores:(NSArray *)ignores; diff --git a/IRCCloud/Classes/UIColor+IRCCloud.h b/IRCCloud/Classes/UIColor+IRCCloud.h index c31241dd..2d4ba752 100644 --- a/IRCCloud/Classes/UIColor+IRCCloud.h +++ b/IRCCloud/Classes/UIColor+IRCCloud.h @@ -20,8 +20,8 @@ #define IRC_COLOR_COUNT 99 @interface UITableViewCell (IRCCloudAppearanceHax) -@property (strong, nonatomic) UIColor *textLabelColor UI_APPEARANCE_SELECTOR; -@property (strong, nonatomic) UIColor *detailTextLabelColor UI_APPEARANCE_SELECTOR; +@property (strong) UIColor *textLabelColor UI_APPEARANCE_SELECTOR; +@property (strong) UIColor *detailTextLabelColor UI_APPEARANCE_SELECTOR; @end @interface UIColor (IRCCloud) diff --git a/IRCCloud/Classes/URLHandler.h b/IRCCloud/Classes/URLHandler.h index 49ae7687..a6340519 100644 --- a/IRCCloud/Classes/URLHandler.h +++ b/IRCCloud/Classes/URLHandler.h @@ -24,8 +24,8 @@ typedef void (^mediaURLResult)(BOOL, NSString *); NSMutableDictionary *_fileIDs; } -@property (nonatomic, copy) NSURL *appCallbackURL; -@property (strong, nonatomic) UIWindow *window; +@property (copy) NSURL *appCallbackURL; +@property (strong) UIWindow *window; + (BOOL)isImageURL:(NSURL *)url; + (BOOL)isYouTubeURL:(NSURL *)url; diff --git a/IRCCloud/Classes/WhoListTableViewController.h b/IRCCloud/Classes/WhoListTableViewController.h index 14c8b2f2..6c1cd771 100644 --- a/IRCCloud/Classes/WhoListTableViewController.h +++ b/IRCCloud/Classes/WhoListTableViewController.h @@ -23,6 +23,6 @@ NSArray *_data; NSDictionary *_selectedRow; } -@property (strong, nonatomic) IRCCloudJSONObject *event; +@property (strong) IRCCloudJSONObject *event; -(void)refresh; @end diff --git a/IRCCloud/Classes/WhoWasTableViewController.h b/IRCCloud/Classes/WhoWasTableViewController.h index 42ebfad1..beac130e 100644 --- a/IRCCloud/Classes/WhoWasTableViewController.h +++ b/IRCCloud/Classes/WhoWasTableViewController.h @@ -23,6 +23,6 @@ IRCCloudJSONObject *_event; UILabel *_placeholder; } -@property (strong, nonatomic) IRCCloudJSONObject *event; +@property (strong) IRCCloudJSONObject *event; -(void)refresh; @end diff --git a/build-scripts/BUILD b/build-scripts/BUILD index ef491079..832f62a3 100644 --- a/build-scripts/BUILD +++ b/build-scripts/BUILD @@ -1 +1 @@ -337 \ No newline at end of file +339 \ No newline at end of file