{"id":13908188,"url":"https://github.com/kubatruhlar/SFDraggableDialogView","last_synced_at":"2025-07-18T07:30:39.658Z","repository":{"id":56933893,"uuid":"47918635","full_name":"kubatruhlar/SFDraggableDialogView","owner":"kubatruhlar","description":"Beautiful dialog view with UIDynamics.","archived":false,"fork":false,"pushed_at":"2016-09-29T09:49:20.000Z","size":11675,"stargazers_count":241,"open_issues_count":2,"forks_count":37,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-12T01:41:44.403Z","etag":null,"topics":["cocoapods","ios","objective-c","ui"],"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/kubatruhlar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-13T12:39:04.000Z","updated_at":"2024-03-05T07:35:04.000Z","dependencies_parsed_at":"2022-08-21T06:50:34.626Z","dependency_job_id":null,"html_url":"https://github.com/kubatruhlar/SFDraggableDialogView","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/kubatruhlar/SFDraggableDialogView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubatruhlar%2FSFDraggableDialogView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubatruhlar%2FSFDraggableDialogView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubatruhlar%2FSFDraggableDialogView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubatruhlar%2FSFDraggableDialogView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kubatruhlar","download_url":"https://codeload.github.com/kubatruhlar/SFDraggableDialogView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubatruhlar%2FSFDraggableDialogView/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265720358,"owners_count":23817215,"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","objective-c","ui"],"created_at":"2024-08-06T23:02:32.051Z","updated_at":"2025-07-18T07:30:38.905Z","avatar_url":"https://github.com/kubatruhlar.png","language":"Objective-C","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"[![Version](https://img.shields.io/cocoapods/v/SFDraggableDialogView.svg)](http://cocoapods.org/pods/SFDraggableDialogView)\n[![License](https://img.shields.io/cocoapods/l/SFDraggableDialogView.svg)](http://cocoapods.org/pods/SFDraggableDialogView)\n[![Platform](https://img.shields.io/cocoapods/p/SFDraggableDialogView.svg)](http://cocoapods.org/pods/SFDraggableDialogView)\n\n# SFDraggableDialogView\nDisplay the beautiful dialog view with **realistic physics behavior** (thanks to UIkit Dynamics) with **drag to dismiss** feature.\n\n\u003ch3 align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/kubatruhlar/SFDraggableDialogView/blob/master/Screens/example.gif\" alt=\"Example\" height=\"400\"/\u003e\n\u003c/h3\u003e\n\n## Installation\n**Since pod version 1.1.4 the pod is not broken anymore! Assets and xib are generated.**\n\nThere are two ways to add the **SFDraggableDialogView** library to your project. Add it as a regular library or install it through **CocoaPods**.\n\n`pod 'SFDraggableDialogView'`\n\nYou may also quick try the example project with\n\n`pod try SFDraggableDialogView`\n\n**Library requires target iOS 8 and above**\n\n## Usage *(Mind that some parts of the example code could be from my other libraries etc.)*\n```objective-c\n    SFDraggableDialogView *dialogView = [[[NSBundle mainBundle] loadNibNamed:@\"SFDraggableDialogView\" owner:self options:nil] firstObject];\n    dialogView.frame = self.view.bounds;\n    dialogView.photo = [UIImage imageNamed:@\"face\"];\n    dialogView.delegate = self;\n    dialogView.titleText = [[NSMutableAttributedString alloc] initWithString:@\"Round is over\"];\n    dialogView.messageText = [self exampleAttributeString];\n    dialogView.firstBtnText = [@\"See results\" uppercaseString];\n    dialogView.dialogBackgroundColor = [UIColor whiteColor];\n    dialogView.cornerRadius = 8.0;\n    dialogView.backgroundShadowOpacity = 0.2;\n    dialogView.hideCloseButton = true;\n    dialogView.showSecondBtn = false;\n    dialogView.contentViewType = SFContentViewTypeDefault;\n    dialogView.firstBtnBackgroundColor = [UIColor colorWithRed:0.230 green:0.777 blue:0.316 alpha:1.000];\n    [dialogView createBlurBackgroundWithImage:[self jt_imageWithView:self.view] tintColor:[[UIColor blackColor] colorWithAlphaComponent:0.35] blurRadius:60.0];\n    \n    [self.view addSubview:dialogView];\n```\n\n### SFDraggableDialogViewDelegate\n```objective-c\n- (void)draggableDialogView:(SFDraggableDialogView *)dialogView didPressFirstButton:(UIButton *)firstButton;\n- (void)draggableDialogView:(SFDraggableDialogView *)dialogView didPressSecondButton:(UIButton *)secondButton;\n- (void)draggingDidBegin:(SFDraggableDialogView *)dialogView;\n- (void)draggingDidEnd:(SFDraggableDialogView *)dialogView;\n- (void)draggableDialogViewWillDismiss:(SFDraggableDialogView *)dialogView;\n- (void)draggableDialogViewDismissed:(SFDraggableDialogView *)dialogView;\n```\n\n### Custom content view\nThere is `SFContentViewType` property that takes two values - Default and Custom. Default view has two labels and image from example. Use custom view for as a container for your subviews accessible through `customView` property.\n\nThere is also `showSecondBtn` property.\n\nLibrary uses Apple’s category for UIImage blur located in resources.\n\n## Author\nThis library is open-sourced by [Jakub Truhlar](http://kubatruhlar.cz).\n    \n## License\nThe MIT License (MIT)\nCopyright © 2015 Jakub Truhlar\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubatruhlar%2FSFDraggableDialogView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkubatruhlar%2FSFDraggableDialogView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubatruhlar%2FSFDraggableDialogView/lists"}