Skip to content

Commit

Permalink
Beacon framework update
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottPetit committed Nov 14, 2019
1 parent 0c47447 commit a070fa9
Show file tree
Hide file tree
Showing 163 changed files with 171 additions and 70 deletions.
Binary file modified Beacon.framework/Beacon
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/Assets.car
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed Beacon.framework/Beacon.bundle/BeaconDatePicker.nib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/Info.plist
Binary file not shown.
Binary file not shown.
Binary file modified Beacon.framework/Info.plist
Binary file not shown.
4 changes: 2 additions & 2 deletions Beacon.framework/PrivateHeaders/HSBeaconAgentImageView.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#import <UIKit/UIKit.h>

#import "HSView.h"
#import "HSBeaconAgent.h"

@interface HSBeaconAgentImageView: UIView
@interface HSBeaconAgentImageView: HSView

-(void)setAgent:(HSBeaconAgent *)agent backgroundColor:(UIColor *)backgroundColor borderColor:(UIColor *)borderColor initialsColor:(UIColor *)initialsColor;

Expand Down
4 changes: 2 additions & 2 deletions Beacon.framework/PrivateHeaders/HSBeaconAgentsView.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#import <UIKit/UIKit.h>

#import "HSView.h"
#import "HSBeaconAgent.h"

@interface HSBeaconAgentsView : UIView
@interface HSBeaconAgentsView : HSView

@property (nonatomic, strong) UIColor *agentViewBackgroundColor;
@property (nonatomic, strong) UIColor *agentViewBorderColor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#import <UIKit/UIKit.h>

#import "HSTableViewCell.h"
#import "HSBeaconAgentsView.h"
#import "HSBeaconContext.h"
#import "HSBeaconConversation.h"

@interface HSBeaconAgentsViewConversationCell : UITableViewCell
@interface HSBeaconAgentsViewConversationCell : HSTableViewCell

@property (weak, nonatomic) IBOutlet UIView *multiThreadHeader;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *multiThreadHeaderHeight;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#import <UIKit/UIKit.h>

#import "HSViewController.h"
#import "HSBeaconContext.h"
#import "HSBeaconSuggestion.h"
#import "HSBeaconRelatedArticlesTableView.h"
#import "HSCardStackViewController.h"

@interface HSBeaconArticleViewController : UIViewController <HSCardStackEmbeddable>
@interface HSBeaconArticleViewController : HSViewController <HSCardStackEmbeddable>

@property (nonatomic, strong) IBOutlet UIScrollView *containerScrollView;
@property (weak, nonatomic) IBOutlet HSBeaconRelatedArticlesTableView *relatedArticlesTableView;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#import <UIKit/UIKit.h>

#import "HSTableViewController.h"
#import "HSBeaconContext.h"

@interface HSBeaconAskSelectionController: UITableViewController
@interface HSBeaconAskSelectionController: HSTableViewController

@property(strong, nonatomic) HSBeaconContext *beaconContext;

Expand Down
20 changes: 10 additions & 10 deletions Beacon.framework/PrivateHeaders/HSBeaconAttachmentTableViewCell.h
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
#import <UIKit/UIKit.h>

#import "HSTableViewCell.h"
#import "HSBeaconAttachment.h"

@protocol HSBeaconRemoveAttachmentDelegate

-(void)removeAttachment: (HSBeaconAttachment *)attachment;
-(void)removeAttachment: (nonnull HSBeaconAttachment *)attachment;

@end

@interface HSBeaconAttachmentTableViewCell: UITableViewCell
@interface HSBeaconAttachmentTableViewCell: HSTableViewCell

@property(weak, nonatomic) IBOutlet UILabel *filenameLabel;
@property(weak, nonatomic) IBOutlet UILabel *statusLabel;
@property(weak, nonatomic) IBOutlet UIImageView *attachmentImage;
@property(weak, nonatomic) IBOutlet UIProgressView *attachmentProgress;
@property (weak, nonatomic) IBOutlet UIButton *removeLabel;
@property(weak, nonatomic, nullable) IBOutlet UILabel *filenameLabel;
@property(weak, nonatomic, nullable) IBOutlet UILabel *statusLabel;
@property(weak, nonatomic, nullable) IBOutlet UIImageView *attachmentImage;
@property(weak, nonatomic, nullable) IBOutlet UIProgressView *attachmentProgress;
@property (weak, nonatomic, nullable) IBOutlet UIButton *removeLabel;

@property(weak, nonatomic) id<HSBeaconRemoveAttachmentDelegate> removeAttachmentDelegate;
@property(weak, nonatomic, nullable) id<HSBeaconRemoveAttachmentDelegate> removeAttachmentDelegate;

-(void)setAttachment: (HSBeaconAttachment *)attachment;
-(void)setAttachment: (nonnull HSBeaconAttachment *)attachment;

@end
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <UIKit/UIKit.h>

#import "HSTableView.h"
#import "HSBeaconAttachment.h"
#import "HSBeaconContext.h"

Expand All @@ -13,7 +13,7 @@

@end

@interface HSBeaconAttachmentsTableView : UITableView
@interface HSBeaconAttachmentsTableView : HSTableView

@property (nonatomic) HSBeaconContext *beaconContext;
@property (nonatomic) NSMutableArray<HSBeaconAttachment *> *attachments;
Expand Down
5 changes: 4 additions & 1 deletion Beacon.framework/PrivateHeaders/HSBeaconBaseAPIClient.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#import <Foundation/Foundation.h>

@class HSBeaconSecurityInfo;
@class HSBeaconConfig;

typedef void (^CompletionHandler)(void);
typedef void (^ErrorCompletionHandler)(NSError * _Nullable error);
Expand All @@ -17,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, strong) NSString *deviceId;
@property (nonatomic, strong) NSURLSession *beaconSession;

- (instancetype)initWithBeaconId:(NSString *)beaconId deviceId: (NSString *)deviceId;
- (instancetype)initWithBeaconId:(NSString *)beaconId deviceId: (NSString *)deviceId config: (nullable HSBeaconConfig *)config;

/* this constructor is only used for testing */
- (instancetype)initWithBeaconId:(NSString *)beaconId session:(NSURLSession *)session;
Expand All @@ -34,5 +35,7 @@ NS_ASSUME_NONNULL_BEGIN

- (NSString *)apiRootOverride;

- (void)configureWithConfig:(HSBeaconConfig *)config deviceId:(NSString *)deviceId;

@end
NS_ASSUME_NONNULL_END
2 changes: 2 additions & 0 deletions Beacon.framework/PrivateHeaders/HSBeaconConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ NS_ASSUME_NONNULL_BEGIN

@property (readonly, nonatomic) NSString *beaconId;

@property (readonly, nonatomic) NSString *companyName;

@property (readonly, nonatomic) NSString *name;

@property (readonly, nonatomic) NSString *beaconColorHexValue;
Expand Down
3 changes: 2 additions & 1 deletion Beacon.framework/PrivateHeaders/HSBeaconContactFormField.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#import <UIKit/UIKit.h>
#import "HSView.h"
#import "HSBeaconContactFormValidator.h"

@class HSBeaconContactFormField;
Expand All @@ -10,7 +11,7 @@

@end

@interface HSBeaconContactFormField : UIView
@interface HSBeaconContactFormField : HSView

@property (weak, nonatomic) IBOutlet UITextField *inputField;
@property (weak, nonatomic) IBOutlet UIView *topErrorBar;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <UIKit/UIKit.h>

#import "HSViewController.h"
#import "HSBeaconContext.h"

@class HSBeaconAttachmentsTableView;
Expand All @@ -17,7 +17,7 @@

#pragma mark -

@interface HSBeaconContactFormViewController: UIViewController
@interface HSBeaconContactFormViewController: HSViewController

@property (nonatomic, weak) id<HSBeaconContactFormControllerDelegate> delegate;
@property (strong, nonatomic) HSBeaconContext *beaconContext;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <UIKit/UIKit.h>

#import "HSViewController.h"
#import "HSBeaconContext.h"
#import "HSBeaconConversation.h"
#import "HSBeaconConversationDetailsWebView.h"
Expand All @@ -13,7 +13,7 @@

@end

@interface HSBeaconConversationDetailsController : UIViewController <HSCardStackEmbeddable>
@interface HSBeaconConversationDetailsController : HSViewController <HSCardStackEmbeddable>

@property (nonatomic) HSBeaconConversation *conversation;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#import <UIKit/UIKit.h>

#import "HSWebView.h"
#import "HSBeaconContext.h"
#import "HSBeaconConversationThread.h"

@interface HSBeaconConversationDetailsWebView : UIWebView
@interface HSBeaconConversationDetailsWebView : HSWebView

@property (nonatomic) HSBeaconContext *beaconContext;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <UIKit/UIKit.h>

#import "HSView.h"
#import "HSBeaconCustomFieldDefinition.h"
#import "HSBeaconCustomFieldValue.h"
#import "HSBeaconPlaceholderTextViewDelegate.h"
Expand All @@ -13,7 +13,7 @@

@end

@interface HSBeaconCustomFieldEntryView : UIView
@interface HSBeaconCustomFieldEntryView : HSView

@property (nonatomic, strong) HSBeaconContext *beaconContext;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <UIKit/UIKit.h>

#import "HSViewController.h"
#import "HSBeaconCustomFieldDefinition.h"
#import "HSBeaconCustomFieldValue.h"
#import "HSBeaconContext.h"
Expand All @@ -12,7 +12,7 @@

@end

@interface HSBeaconCustomFieldsEntryController : UIViewController
@interface HSBeaconCustomFieldsEntryController : HSViewController

@property (weak, nonatomic) IBOutlet UIView *topSeparator;
@property (weak, nonatomic) IBOutlet UIView *bottomSeparator;
Expand Down
3 changes: 2 additions & 1 deletion Beacon.framework/PrivateHeaders/HSBeaconErrorView.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#import <UIKit/UIKit.h>
#import "HSView.h"

@interface HSBeaconErrorView : UIView
@interface HSBeaconErrorView : HSView

-(void)showError:(NSString *)errorMessage;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#import <UIKit/UIKit.h>
#import "HSViewController.h"

NS_ASSUME_NONNULL_BEGIN

@interface HSBeaconLoadingViewController : UIViewController
@interface HSBeaconLoadingViewController : HSViewController

@property(weak, nonatomic) IBOutlet UIActivityIndicatorView *spinner;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <UIKit/UIKit.h>

#import "HSViewController.h"
#import "HSBeaconAgentsView.h"
#import "HSBeaconContext.h"
#import "HSBeaconCustomFieldsEntryController.h"
Expand All @@ -19,7 +19,7 @@

#pragma mark -

@interface HSBeaconMessageEntryContainerController: UIViewController
@interface HSBeaconMessageEntryContainerController: HSViewController

@property(strong, nonatomic) HSBeaconContext *beaconContext;
@property (nonatomic, weak) id<HSBeaconMessageEntryContainerControllerDelegate> delegate;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#import <UIKit/UIKit.h>

#import "HSViewController.h"
#import "HSBeaconContext.h"

@interface HSBeaconMessageSentController: UIViewController
@interface HSBeaconMessageSentController: HSViewController

@property(weak, nonatomic) IBOutlet UIImageView *messageSentImageView;
@property(weak, nonatomic) IBOutlet UILabel *messageSentHeaderLabel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <UIKit/UIKit.h>

#import "HSNavigationController.h"
@class HSBeaconContext;
@class HSBeaconNavigationController;

Expand All @@ -9,7 +9,7 @@

@end

@interface HSBeaconNavigationController : UINavigationController
@interface HSBeaconNavigationController : HSNavigationController

@property (nonatomic, weak) id<HSBeaconNavigationControllerDelegate> beaconNavigationDelegate;
@property (nonatomic, weak) HSBeaconContext *beaconContext;
Expand Down
4 changes: 2 additions & 2 deletions Beacon.framework/PrivateHeaders/HSBeaconNavigationTabView.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#import <UIKit/UIKit.h>

#import "HSView.h"
#import "HSBeaconFontIcons.h"

@interface HSBeaconNavigationTabView : UIView
@interface HSBeaconNavigationTabView : HSView

- (void)addTab:(HSIcon)icon text:(NSString *)text pressed:(BOOL)pressed tabColor:(UIColor *)color;

Expand Down
4 changes: 2 additions & 2 deletions Beacon.framework/PrivateHeaders/HSBeaconPickerView.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#import <UIKit/UIKit.h>

#import "HSView.h"
#import "HSBeaconContext.h"

@interface HSBeaconPickerView : UIView
@interface HSBeaconPickerView : HSView

@property (nonatomic, strong) HSBeaconContext *beaconContext;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#import <UIKit/UIKit.h>

#import "HSTableViewController.h"
#import "HSBeaconContext.h"

@interface HSBeaconPreviousMessagesController : UITableViewController
@interface HSBeaconPreviousMessagesController : HSTableViewController

@property (weak, nonatomic) IBOutlet UIBarButtonItem *backButton;
@property (weak, nonatomic) IBOutlet UIBarButtonItem *closeButton;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <UIKit/UIKit.h>

#import "HSViewController.h"
#import "HSBeaconAttachmentsTableView.h"
#import "HSBeaconContext.h"
#import "HSBeaconErrorView.h"
Expand All @@ -12,7 +12,7 @@

@end

@interface HSBeaconPreviousMessagesReplyController : UIViewController
@interface HSBeaconPreviousMessagesReplyController : HSViewController

@property (weak, nonatomic) IBOutlet HSBeaconSubmitButton *sendButton;
@property (weak, nonatomic) IBOutlet UIButton *attachButton;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <UIKit/UIKit.h>

#import "HSTableView.h"
#import "HSBeaconContext.h"

@class HSBeaconArticleDetails;
Expand All @@ -8,7 +8,7 @@
- (void)relatedArticlesTableViewDidSelectArticleDetails:(HSBeaconArticleDetails *)articleDetails;
@end

@interface HSBeaconRelatedArticlesTableView : UITableView
@interface HSBeaconRelatedArticlesTableView : HSTableView

@property (nonatomic, strong) HSBeaconContext *beaconContext;
@property (nonatomic, weak) id<HSBeaconRelatedArticlesTableProtocol> relatedArticlesDelegate;
Expand Down
4 changes: 2 additions & 2 deletions Beacon.framework/PrivateHeaders/HSBeaconSearchFooterView.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#import <UIKit/UIKit.h>

#import "HSView.h"
@class HSBeaconContext;
@class HSBorderedButton;

@interface HSBeaconSearchFooterView : UIView
@interface HSBeaconSearchFooterView : HSView

@property (weak, nonatomic) HSBeaconContext *beaconContext;

Expand Down
4 changes: 2 additions & 2 deletions Beacon.framework/PrivateHeaders/HSBeaconSearchResultsCell.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#import <UIKit/UIKit.h>

#import "HSTableViewCell.h"
#import "HSBeaconArticleCell.h"
#import "HSBeaconArticleSearchResult.h"
#import "HSBeaconContext.h"

@interface HSBeaconSearchResultsCell: UITableViewCell <HSBeaconArticleCell>
@interface HSBeaconSearchResultsCell: HSTableViewCell <HSBeaconArticleCell>

@property(strong, nonatomic) HSBeaconArticleSearchResult *searchResult;
@property(strong, nonatomic) HSBeaconContext *beaconContext;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#import <UIKit/UIKit.h>

#import "HSTableViewCell.h"
#import "HSBeaconContext.h"
#import "HSBeaconConversation.h"

@interface HSBeaconSubjectOnlyConversationCell : UITableViewCell
@interface HSBeaconSubjectOnlyConversationCell : HSTableViewCell

@property (weak, nonatomic) IBOutlet UILabel *subjectLabel;
@property (weak, nonatomic) IBOutlet UIView *convoContainer;
Expand Down
Loading

0 comments on commit a070fa9

Please sign in to comment.