{"id":22065141,"url":"https://github.com/wilddylan/uiviewhelper","last_synced_at":"2025-05-13T01:16:43.227Z","repository":{"id":56925174,"uuid":"48522057","full_name":"wilddylan/UIViewHelper","owner":"wilddylan","description":"UIViewHelper","archived":false,"fork":false,"pushed_at":"2015-12-24T05:58:11.000Z","size":48,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-13T01:16:34.528Z","etag":null,"topics":["ui-components"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wilddylan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-24T03:03:55.000Z","updated_at":"2016-10-13T04:48:01.000Z","dependencies_parsed_at":"2022-08-21T05:20:57.382Z","dependency_job_id":null,"html_url":"https://github.com/wilddylan/UIViewHelper","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilddylan%2FUIViewHelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilddylan%2FUIViewHelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilddylan%2FUIViewHelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilddylan%2FUIViewHelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wilddylan","download_url":"https://codeload.github.com/wilddylan/UIViewHelper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253851078,"owners_count":21973674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ui-components"],"created_at":"2024-11-30T19:15:12.361Z","updated_at":"2025-05-13T01:16:43.144Z","avatar_url":"https://github.com/wilddylan.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UIViewHelper\n\n[![CI Status](http://img.shields.io/travis/Dylan/UIViewHelper.svg?style=flat)](https://travis-ci.org/Dylan/UIViewHelper)\n[![Version](https://img.shields.io/cocoapods/v/UIViewHelper.svg?style=flat)](http://cocoapods.org/pods/UIViewHelper)\n[![License](https://img.shields.io/cocoapods/l/UIViewHelper.svg?style=flat)](http://cocoapods.org/pods/UIViewHelper)\n[![Platform](https://img.shields.io/cocoapods/p/UIViewHelper.svg?style=flat)](http://cocoapods.org/pods/UIViewHelper)\n\n## Usage\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Methods\n\n- properties\n\n```objc\n\n@property (nonatomic, assign) CGPoint origin;\n@property (nonatomic, assign) CGSize size;\n@property (nonatomic, assign) CGFloat top;\n@property (nonatomic, assign) CGFloat left;\n@property (nonatomic, assign) CGFloat bottom;\n@property (nonatomic, assign) CGFloat right;\n@property (nonatomic, assign) CGFloat width;\n@property (nonatomic, assign) CGFloat height;\n@property (nonatomic, assign) CGFloat x;\n@property (nonatomic, assign) CGFloat y;\n@property (nonatomic, assign) CGSize boundsSize;\n@property (nonatomic, assign) CGFloat boundsWidth;\n@property (nonatomic, assign) CGFloat boundsHeight;\n@property (nonatomic, readonly) CGRect contentBounds;\n@property (nonatomic, readonly) CGPoint contentCenter;\n\n@property (nonatomic, strong) UILabel *badge;\n@property (nonatomic, strong) UIColor *badgeBgColor;\n@property (nonatomic, strong) UIColor *badgeTextColor;\n@property (nonatomic, assign) CGRect badgeFrame;\n@property (nonatomic, assign) DLBadgeAnimType aniType;\n\n```\n\n- methods\n\n```objc\n\n// shake View\n- (void)shakeView;\n\n// show bage\n- (void)showDLBadge;\n- (void)showDLBadgeWithStyle:(DLBadgeStyle)style value:(NSInteger)value animationType:(DLBadgeAnimType)aniType;\n- (void)clearBadge;\n\n// Moves\n- (void)moveTo:(CGPoint)destination duration:(float)secs option:(UIViewAnimationOptions)option;\n- (void)moveTo:(CGPoint)destination duration:(float)secs option:(UIViewAnimationOptions)option delegate:(id)delegate callback:(SEL)method;\n- (void)raceTo:(CGPoint)destination withSnapBack:(BOOL)withSnapBack;\n- (void)raceTo:(CGPoint)destination withSnapBack:(BOOL)withSnapBack delegate:(id)delegate callback:(SEL)method;\n\n// Transforms\n- (void)rotate:(int)degrees secs:(float)secs delegate:(id)delegate callback:(SEL)method;\n- (void)scale:(float)secs x:(float)scaleX y:(float)scaleY delegate:(id)delegate callback:(SEL)method;\n- (void)spinClockwise:(float)secs;\n- (void)spinCounterClockwise:(float)secs;\n\n// Transitions\n- (void)curlDown:(float)secs;\n- (void)curlUpAndAway:(float)secs;\n- (void)drainAway:(float)secs;\n\n// Effects\n- (void)changeAlpha:(float)newAlpha secs:(float)secs;\n- (void)pulse:(float)secs continuously:(BOOL)continuously;\n\n// add subview with animation\n- (void)addSubviewWithFadeAnimation:(UIView *)subview;\n\n// gesture with block\n- (void)addTapActionWithBlock:(GestureActionBlock)block;\n- (void)addLongPressActionWithBlock:(GestureActionBlock)block;\n\n// firstResponderViewController\n- (UIViewController *)firstResponderViewController;\n\n\n```\n\n## Requirements\n\n## Installation\n\nUIViewHelper is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"UIViewHelper\"\n```\n\n## Author\n\nDylan, 3664132@163.com\n\n## License\n\nUIViewHelper is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilddylan%2Fuiviewhelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilddylan%2Fuiviewhelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilddylan%2Fuiviewhelper/lists"}