{"id":26129586,"url":"https://github.com/manuelescrig/mevfloatingbutton","last_synced_at":"2025-07-18T02:41:39.266Z","repository":{"id":56920363,"uuid":"50496984","full_name":"manuelescrig/MEVFloatingButton","owner":"manuelescrig","description":"An iOS drop-in UITableView, UICollectionView and UIScrollView superclass category for showing a customizable floating button on top of it.","archived":false,"fork":false,"pushed_at":"2017-03-22T15:30:04.000Z","size":162,"stargazers_count":296,"open_issues_count":4,"forks_count":39,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-06-22T01:39:33.919Z","etag":null,"topics":["cocoapods","ios","ios-animation","objective-c","objective-c-extensions","objective-c-library"],"latest_commit_sha":null,"homepage":"","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/manuelescrig.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-01-27T09:37:27.000Z","updated_at":"2024-11-07T05:50:34.000Z","dependencies_parsed_at":"2022-08-20T21:50:19.339Z","dependency_job_id":null,"html_url":"https://github.com/manuelescrig/MEVFloatingButton","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/manuelescrig/MEVFloatingButton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelescrig%2FMEVFloatingButton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelescrig%2FMEVFloatingButton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelescrig%2FMEVFloatingButton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelescrig%2FMEVFloatingButton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manuelescrig","download_url":"https://codeload.github.com/manuelescrig/MEVFloatingButton/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelescrig%2FMEVFloatingButton/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265692788,"owners_count":23812207,"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":["cocoapods","ios","ios-animation","objective-c","objective-c-extensions","objective-c-library"],"created_at":"2025-03-10T19:54:57.437Z","updated_at":"2025-07-18T02:41:39.203Z","avatar_url":"https://github.com/manuelescrig.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MEVFloatingButton\nAn iOS **drop-in** UITableView, UICollectionView, UIScrollView superclass **category** for showing a customizable floating button on top of it. \n\n[![BuddyBuild](https://dashboard.buddybuild.com/api/statusImage?appID=58932c0b55013001004c3ff0\u0026branch=master\u0026build=latest)](https://dashboard.buddybuild.com/apps/58932c0b55013001004c3ff0/build/latest?branch=master)\n[![Version](https://img.shields.io/cocoapods/v/MEVFloatingButton.svg?style=flat)](http://cocoapods.org/pods/MEVFloatingButton)\n[![License](https://img.shields.io/packagist/l/doctrine/orm.svg)](http://cocoapods.org/pods/MEVFloatingButton)\n[![Platform](https://img.shields.io/cocoapods/p/MEVFloatingButton.svg?style=flat)](http://cocoapods.org/pods/MEVFloatingButton)\n[![Language](http://img.shields.io/badge/language-objective--c-blue.svg?style=flat)](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/Introduction/Introduction.html)\n\n![MEVFloatingButton](https://cloud.githubusercontent.com/assets/1849990/13462466/db001be6-e087-11e5-92a1-79c8ecefb715.gif \"An iOS **drop-in** UITableView, UICollectionView, UIScrollView superclass **category** for showing a customizable floating button on top of it.\")\n\n \n## Features\n* Multiple animation types.\n* Different display modes.\n* Different screen positions.\n* Customizable button icon.\n* Multiple delegate methods.\n\n## Demo\n[Demo App](https://appetize.io/app/rkaym9brp1yva59ejat5xdh9yc)\n\n## Usage\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n#### Requirements\n\nRequires iOS SDK version \u003e 8.0\n\n\n#### Installation\n---\n\n##### CocoaPods \n\nMEVFloatingButton is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'MEVFloatingButton'\n```\n\n##### Manual \n\nSimply include `UIScrollView+FloatingButton.h` and `UIScrollView+FloatingButton.m` from `/Pod/Classes/` folder in your App’s Xcode project. \n\n#### How to use\n---\n##### Step 1\n\n```objective-c\n#import \"UIScrollView+FloatingButton.h\"\n```\n\n##### Step 2\n\nAdd datasource and delegate methods.\n\n```objective-c\n@interface ViewController () \u003cMEVFloatingButtonDelegate\u003e\n```\n\n```objective-c\n#pragma mark - MEScrollToTopDelegate Methods\n\n- (void)floatingButton:(UIScrollView *)scrollView didTapButton:(UIButton *)button;\n- (void)floatingButtonWillAppear:(UIScrollView *)scrollView;\n- (void)floatingButtonDidAppear:(UIScrollView *)scrollView;\n- (void)floatingButtonWillDisappear:(UIScrollView *)scrollView;\n- (void)floatingButtonDidDisappear:(UIScrollView *)scrollView;\n```\n\n##### Step 3\n\nCreate a `MEVFloatingButton`object.\n\n```objective-c\nMEVFloatingButton *button = [[MEVFloatingButton alloc] init];\nbutton.animationType = MEVFloatingButtonAnimationFromBottom;\nbutton.displayMode = MEVFloatingButtonDisplayModeWhenScrolling;\nbutton.position = MEVFloatingButtonPositionBottomCenter;\nbutton.image = [UIImage imageNamed:@\"Icon0\"];\nbutton.imageColor = [UIColor groupTableViewBackgroundColor];\nbutton.backgroundColor = [UIColor darkGrayColor];\nbutton.outlineColor = [UIColor darkGrayColor];\nbutton.outlineWidth = 0.0f;\nbutton.imagePadding = 20.0f;\nbutton.horizontalOffset = 20.0f;\nbutton.verticalOffset = -30.0f;\nbutton.rounded = YES;\nbutton.hideWhenScrollToTop = YES;\n```\n\nSet the object to your UIScrollView/UITableView/UICollectionView.\n\n```objective-c\n[self.tableView setFloatingButtonView:button];\n```\n\nSet the delegate.\n\n```objective-c\n[self.tableView setFloatingButtonDelegate:self]\n```\n\n\n## Sample Project\n\nFor more info check the **Examples** project. Everything is there.\n\n## Change Log\n\nSee [Changelog.md](https://github.com/manuelescrig/MEVFloatingButton/blob/master/CHANGELOG.md)\n\n## Author\n\nManuel Escrig Ventura, [@manuelescrig](https://www.twitter.com/manuelescrig/)\n\n## Credits\n\nIcons made by Elegant Themes from www.flaticon.com \n\n## License\n\nMEVFloatingButton is available under the MIT license. \nSee [License.md](https://github.com/manuelescrig/MEVFloatingButton/blob/master/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanuelescrig%2Fmevfloatingbutton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanuelescrig%2Fmevfloatingbutton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanuelescrig%2Fmevfloatingbutton/lists"}