diff --git a/Framework/Compiled/AutoCompletion.framework/AutoCompletion b/Framework/Compiled/AutoCompletion.framework/AutoCompletion deleted file mode 100755 index 052bc2d..0000000 Binary files a/Framework/Compiled/AutoCompletion.framework/AutoCompletion and /dev/null differ diff --git a/Framework/Compiled/AutoCompletion.framework/Headers/AutoCompletion.h b/Framework/Compiled/AutoCompletion.framework/Headers/AutoCompletion.h deleted file mode 100644 index 661077b..0000000 --- a/Framework/Compiled/AutoCompletion.framework/Headers/AutoCompletion.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// AutoCompletion.h -// AutoCompletion -// -// Created by Calin Calin on 15/12/15. -// Copyright © 2015 3Pillar Global. All rights reserved. -// - -#import - -//! Project version number for AutoCompletion. -FOUNDATION_EXPORT double AutoCompletionVersionNumber; - -//! Project version string for AutoCompletion. -FOUNDATION_EXPORT const unsigned char AutoCompletionVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - -#import -#import -#import -#import \ No newline at end of file diff --git a/Framework/Compiled/AutoCompletion.framework/Headers/AutoCompletionAnimator.h b/Framework/Compiled/AutoCompletion.framework/Headers/AutoCompletionAnimator.h deleted file mode 100644 index 0f5d7a5..0000000 --- a/Framework/Compiled/AutoCompletion.framework/Headers/AutoCompletionAnimator.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// AutoCompletionAnimator.h -// AutoCompletion -// - - -#import -#import - -@class AutoCompletionTextField; -@protocol AutoCompletionAnimator - -@required - -- (void)showSuggestionsForTextField:(AutoCompletionTextField*)textField - table:(UITableView*)table - numberOfItems:(NSInteger)count; - -- (void)hideSuggestionsForTextField:(AutoCompletionTextField*)textField - table:(UITableView*)table; - -@end - diff --git a/Framework/Compiled/AutoCompletion.framework/Headers/AutoCompletionTextField.h b/Framework/Compiled/AutoCompletion.framework/Headers/AutoCompletionTextField.h deleted file mode 100644 index fc6e770..0000000 --- a/Framework/Compiled/AutoCompletion.framework/Headers/AutoCompletionTextField.h +++ /dev/null @@ -1,76 +0,0 @@ -// -// AutoCompletionTextField.h -// AutoCompletion -// - -#import -#import "AutoCompletionTextFieldDataSource.h" -#import "AutoCompletionTextFieldDelegate.h" -#import "AutoCompletionAnimator.h" - - -IB_DESIGNABLE -@interface AutoCompletionTextField : UITextField - - - -/// The width of the suggestion table. The default value is text field width -@property(nonatomic,assign) IBInspectable CGFloat tableWidth; - -/// The height of the suggestion table. The default value is 216 -@property(nonatomic,assign) IBInspectable NSInteger tableHeight; - -/// The suggestion table border color. The default value is [UIColor lightGrayColor] -@property(nonatomic,strong) IBInspectable UIColor *tableBorderColor; - -/// The suggestion table corner radius. The default value is 0.0f -@property(nonatomic,assign) IBInspectable CGFloat tableCornerRadius; - -/// The suggestion table border width. The default value is 1.0f -@property(nonatomic,assign) IBInspectable CGFloat tableBorderWidth; - -/// This will add a vertical and horizontal offset to the suggestion table. The default value is UIOffsetMake(0, 5) -@property(nonatomic,assign) IBInspectable UIOffset tableOffset; - -/// Set this in case you make your custom data source and need a different value than the default one. The default value is 44.0f -@property(nonatomic,assign) IBInspectable CGFloat tableRowHeight; - -/// Change this value to choose if there will be a separator on the tableview. The default value is YES -@property(nonatomic,assign) IBInspectable BOOL showTableSeparator; - -/// The text field border color -@property(nonatomic,strong) IBInspectable UIColor* borderColor; - -/// The text field border width -@property(nonatomic,assign) IBInspectable CGFloat borderWidth; - -/// The text field selected border color -@property(nonatomic,strong) IBInspectable UIColor* selectedBorderColor; - -/// The text field selected border width -@property(nonatomic,assign) IBInspectable CGFloat selectedBorderWidth; - -/// If you want to hide the table view when there is a selection. The default value is YES -@property(nonatomic,assign) IBInspectable BOOL shouldHideTableOnSelection; - -/// Set this -@property(nonatomic, strong) id suggestionsResultDataSource; - -/// Set this -@property(nonatomic, strong) id suggestionsResultDelegate; - -/// Set this -@property(nonatomic, strong) id animationDelegate; - -/// Set this if you need to show the suggestion table directly on the window(for example in case of a table it will look better on the window). The default value is NO -@property(assign) IBInspectable BOOL showOnWindow; - - -- (CGRect)getAutoCompleteInitialFrame; - -- (CGRect)getAutoCompleteTableViewFrameForNumberOfRows:(NSInteger)rows; - -- (CGRect)textAbsoluteFrame; - -@end - diff --git a/Framework/Compiled/AutoCompletion.framework/Headers/AutoCompletionTextFieldDataSource.h b/Framework/Compiled/AutoCompletion.framework/Headers/AutoCompletionTextFieldDataSource.h deleted file mode 100644 index 68a7fb9..0000000 --- a/Framework/Compiled/AutoCompletion.framework/Headers/AutoCompletionTextFieldDataSource.h +++ /dev/null @@ -1,18 +0,0 @@ -// -// AutoCompletionTextFieldDataSource.h -// AutoCompletion -// - - -#import - -@class AutoCompletionTextField; -typedef void (^FetchCompletionBlock)(NSArray *items, NSString *textKey); - -@protocol AutoCompletionTextFieldDataSource - -@required -- (void)fetchSuggestionsForIncompleteString:(NSString*)incompleteString - withCompletionBlock:(FetchCompletionBlock)completion; - -@end diff --git a/Framework/Compiled/AutoCompletion.framework/Headers/AutoCompletionTextFieldDelegate.h b/Framework/Compiled/AutoCompletion.framework/Headers/AutoCompletionTextFieldDelegate.h deleted file mode 100644 index 5a17e02..0000000 --- a/Framework/Compiled/AutoCompletion.framework/Headers/AutoCompletionTextFieldDelegate.h +++ /dev/null @@ -1,14 +0,0 @@ -// -// AutoCompletionTextFieldDelegate.h -// AutoCompletion -// - - -#import - -@class AutoCompletionTextField; -@protocol AutoCompletionTextFieldDelegate - -- (void)textField:(AutoCompletionTextField *)textField didSelectItem:(id)selectedItem; - -@end diff --git a/Framework/Compiled/AutoCompletion.framework/Info.plist b/Framework/Compiled/AutoCompletion.framework/Info.plist deleted file mode 100644 index 6e1140c..0000000 Binary files a/Framework/Compiled/AutoCompletion.framework/Info.plist and /dev/null differ diff --git a/Framework/Compiled/AutoCompletion.framework/Modules/module.modulemap b/Framework/Compiled/AutoCompletion.framework/Modules/module.modulemap deleted file mode 100644 index 37665ad..0000000 --- a/Framework/Compiled/AutoCompletion.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module AutoCompletion { - umbrella header "AutoCompletion.h" - - export * - module * { export * } -} diff --git a/README.md b/README.md index 8fbff4a..02bdd6e 100755 --- a/README.md +++ b/README.md @@ -40,10 +40,10 @@ end Run Terminal - Navigate to project folder -- Use command: +- Add code to Cartfile: ``` code -echo git \"git@github.com:3pillarlabs/ios-autocomplete.git\" \"AutoCompleteFramework\" > Cartfile +github "3pillarlabs/ios-autocomplete" ``` - Run carthage by using command: