-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed For Xcode4.6,customize abbreviation and token height #72
Open
kmyhy
wants to merge
6
commits into
thermogl:master
Choose a base branch
from
kmyhy:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Nov 26, 2013
-
Fixed For Xcode4.6,customize abbreviation and token height
1. Fixed: Property ' edgesForExtendedLayout' not found 'edgesForExtendedLayout' is only available in iOS 7.0 or later. If you compile 'TokenFieldExample' in iOS 6.1 SDK, you should get this error. You can check for it at compile-time using something like: #if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 if ([self respondsToSelector:@selector(edgesForExtendedLayout)]) self.edgesForExtendedLayout = UIRectEdgeNone; #endif 2. Add 'abbr' property I used property 'abbr' and category ' NSString+truncateToSize' if users like customize their untoken text like 'Victoria Delgadillo... 4 联系人' rather than default '3 recipients'. 3. can designate height By default, the token field's height is fixed to 43 px. In iPad,it is fine.In iPhone,it is too tall. Maybe we should shorten it to 24 px so we can save more screen dimensions. Specify the frame parameter in ' initWithFrame ' no help for it.I refined the code so users can customize the token field's height.
Configuration menu - View commit details
-
Copy full SHA for 0b87c30 - Browse repository at this point
Copy the full SHA 0b87c30View commit details
Commits on Nov 27, 2013
-
Verbatim auto-searching always reault in UI stoping responding when source array is very huge. It is always a good thing to allow user to close the auto-searching feature although we can perform a background search. Meanwhile should allow user to execute a manual search when user need.This commit is just that.
Configuration menu - View commit details
-
Copy full SHA for 81311ee - Browse repository at this point
Copy the full SHA 81311eeView commit details -
Transparentize background color
It is conventional to design a clear background color for UI component.But it's not easy to archive this with TITokenField.This commit worked fine.
Configuration menu - View commit details
-
Copy full SHA for 083235e - Browse repository at this point
Copy the full SHA 083235eView commit details
Commits on Nov 28, 2013
-
Fixed: presentPopoverFromRect:inView: causes SIGABRT
Steps to reproduce: 1. Run TokenFieldExamle in iPad 2. Touches the search button without type anything 3. App crashed,see the console Commit 'forbit auto-searching'(SHA:81311ee01656fc44202acbaa0c96e238bffcaac2 ) causes this bug. This commit fixed it.
Configuration menu - View commit details
-
Copy full SHA for 81b244a - Browse repository at this point
Copy the full SHA 81b244aView commit details -
This commit allow to define a touch up inside callback function for specific token.
Configuration menu - View commit details
-
Copy full SHA for 10ca75b - Browse repository at this point
Copy the full SHA 10ca75bView commit details
Commits on Dec 6, 2013
-
Fixed: in iOS 7 set forcePickSearchResult to YES cause keyboard never…
… dismissed! Steps to reproduce: 1. Open TokenFieldExample project, add this line to viewDidLoad method in TokenFieldExampleViewController.m: [_tokenFieldView setForcePickSearchResult:YES]; 2. Run TokenFieldExample on iPad(not simulator). 3. Touch the token field and do not input any word. 4. The keyboard popup, but click the "dismiss keyboard button" nothing happening. If run on iOS 6, "dismiss keyboard button" just work fine.But on iOS 7,the keyboard does not disappear, it just stays there. The user can still navigate through back navigation bar button, but all text fields are disabled, meaning you can't enter text anywhere. The only option the user has is killing the app and starting fresh. Try to send resignFirstResponder messages, but no help anything. This commit fixed it.
Configuration menu - View commit details
-
Copy full SHA for 436896a - Browse repository at this point
Copy the full SHA 436896aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.