{"id":13849247,"url":"https://github.com/autresphere/ASDepthModal","last_synced_at":"2025-07-12T16:31:23.562Z","repository":{"id":4917579,"uuid":"6073983","full_name":"autresphere/ASDepthModal","owner":"autresphere","description":"An Objective-C class that adds a sense of depth to your modal popup views.","archived":false,"fork":false,"pushed_at":"2014-05-20T06:26:42.000Z","size":1991,"stargazers_count":431,"open_issues_count":10,"forks_count":74,"subscribers_count":35,"default_branch":"master","last_synced_at":"2024-04-25T21:01:18.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"spreedly/spreedly-core-ruby","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/autresphere.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":"2012-10-04T10:38:04.000Z","updated_at":"2024-03-19T17:19:53.000Z","dependencies_parsed_at":"2022-09-23T23:51:28.074Z","dependency_job_id":null,"html_url":"https://github.com/autresphere/ASDepthModal","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autresphere%2FASDepthModal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autresphere%2FASDepthModal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autresphere%2FASDepthModal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autresphere%2FASDepthModal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autresphere","download_url":"https://codeload.github.com/autresphere/ASDepthModal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225829364,"owners_count":17530663,"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":[],"created_at":"2024-08-04T19:01:11.891Z","updated_at":"2024-11-22T01:30:42.933Z","avatar_url":"https://github.com/autresphere.png","language":"Objective-C","readme":"## ASDepthModal\nASDepthModal is mostly inspired by a nice CSS work from http://lab.hakim.se/avgrund/.\n\nIt gives a sense of depth between the current fullscreen view which is sent backward with a blur effect and a modal popup view which appears in front.\n\nWorks on iOS 5 and 6.\n\nThe blur effect is a code borrowed from https://github.com/rnystrom/RNBlurModalView.\n\n![](https://github.com/autresphere/ASDepthModal/raw/master/Screenshots/iPhoneVideo.gif)\n\n## Try it\nDownload the whole project and run it under Xcode. You can choose either iPhone or iPad destination.\nIt supports all orientations change.\n\n## Use it\nJust copy ASDepthModalViewController.h, ASDepthModalViewController.m, UIImage+Blur.h and UIImage+Blur.m in your project and `#import \"ASDepthModalViewController.h\"` where you need it.\n\nYou can also add `pod 'ASDepthModal'` to your Podfile.\n\n### Show\nOnce you have your popup view, here is how you would present it\n``` objective-c\n[ASDepthModalViewController presentView:yourPopupView];\n```\n    \n### Hide\nThe popup view is automatically closed as soon as you tap outside of it.\n\nIf you need to close the popup view by code (you usually have a \"close\" button for this purpose)\n``` objective-c\n[ASDepthModalViewController dismiss];\n```\n\n### Configure\nYou can configure the background color as well and different kind of options:\n* the effect applied on the popup when it appears ans disappears\n* whether the underlay view is blurred\n* whether a tap outside of the popup closes it.\nYou can also add some code to execute once the popup is closed.\n\n``` objective-c\n[ASDepthModalViewController presentView:yourPopupView\n                        backgroundColor:color\n                                options:options\n                      completionHandler:handler];\n```\nThree styles are available : no effect, grow effect or shrink effect.\n\n## ARC Support\nThis class requires ARC.\n\n## Dependencies\nQuartzCore and Accelerate frameworks are needed.\n","funding_links":[],"categories":["Objective-C","etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautresphere%2FASDepthModal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautresphere%2FASDepthModal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautresphere%2FASDepthModal/lists"}