forked from ChatSecure/ChatSecure-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
098802d
commit dcfd753
Showing
11 changed files
with
117 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# github "ChatSecure/SignalProtocol-ObjC" ~> 1.0.0 | ||
github "ChatSecure/SignalProtocol-ObjC" "241f439" | ||
github "ChatSecure/SignalProtocolC" "4335dfb" | ||
github "Mantle/Mantle" ~> 2.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
github "ChatSecure/SignalProtocol-ObjC" "241f439a80afd68d9199e73e95f1350ade893b53" | ||
github "ChatSecure/SignalProtocolC" "4335dfb70f6eb036c409cea59ebc778f4d734c16" | ||
github "Mantle/Mantle" "2.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// OTRFileItem.h | ||
// ChatSecure | ||
// | ||
// Created by Chris Ballinger on 5/19/17. | ||
// Copyright © 2017 Chris Ballinger. All rights reserved. | ||
// | ||
|
||
#import "OTRMediaItem.h" | ||
|
||
/** This is a catch-all item for unknown file types */ | ||
@interface OTRFileItem : OTRMediaItem | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// OTRFileItem.m | ||
// ChatSecure | ||
// | ||
// Created by Chris Ballinger on 5/19/17. | ||
// Copyright © 2017 Chris Ballinger. All rights reserved. | ||
// | ||
|
||
#import "OTRFileItem.h" | ||
|
||
@implementation OTRFileItem | ||
|
||
// Return empty view for now | ||
- (UIView *)mediaView { | ||
CGSize size = [self mediaViewDisplaySize]; | ||
CGRect frame = CGRectMake(0, 0, size.width, size.height); | ||
return [[UIView alloc] initWithFrame:frame]; | ||
} | ||
|
||
+ (NSString *)collection | ||
{ | ||
return [OTRMediaItem collection]; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters