{"id":32313855,"url":"https://github.com/shndrs/shndstuffs","last_synced_at":"2026-02-20T23:01:58.168Z","repository":{"id":54629835,"uuid":"162251770","full_name":"shndrs/SHNDStuffs","owner":"shndrs","description":"Make your UIView, UIImageView, UIButton, UINavigationBar and etc more AWESOME!!!","archived":false,"fork":false,"pushed_at":"2021-02-07T04:53:24.000Z","size":199,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-01T05:17:41.756Z","etag":null,"topics":["animation","cocoapods","custom-elements","custom-uibutton","custom-uinavigationbar","custom-uitextfield","custom-uiview","dynamic-gradient-view","gradient","gradient-view","ios","library","material","material-ui","podfile","shimmer-label","shndrs","swift","uinavigationbar","uinavigationbar-gradient"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/shndrs.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":"2018-12-18T07:59:59.000Z","updated_at":"2024-12-08T11:13:45.000Z","dependencies_parsed_at":"2022-08-13T22:01:01.974Z","dependency_job_id":null,"html_url":"https://github.com/shndrs/SHNDStuffs","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/shndrs/SHNDStuffs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shndrs%2FSHNDStuffs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shndrs%2FSHNDStuffs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shndrs%2FSHNDStuffs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shndrs%2FSHNDStuffs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shndrs","download_url":"https://codeload.github.com/shndrs/SHNDStuffs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shndrs%2FSHNDStuffs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29667119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T19:49:36.704Z","status":"ssl_error","status_checked_at":"2026-02-20T19:44:05.372Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["animation","cocoapods","custom-elements","custom-uibutton","custom-uinavigationbar","custom-uitextfield","custom-uiview","dynamic-gradient-view","gradient","gradient-view","ios","library","material","material-ui","podfile","shimmer-label","shndrs","swift","uinavigationbar","uinavigationbar-gradient"],"created_at":"2025-10-23T10:13:00.481Z","updated_at":"2026-02-20T23:01:58.163Z","avatar_url":"https://github.com/shndrs.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SHNDStuffs\n\n![swift-version](https://img.shields.io/badge/Swift-5.3-blueviolet.svg)\n[![Version](https://img.shields.io/cocoapods/v/SHNDStuffs.svg?style=flat)](https://cocoapods.org/pods/SHNDStuffs)\n[![License](https://img.shields.io/cocoapods/l/SHNDStuffs.svg?colorB=green)](https://cocoapods.org/pods/SHNDStuffs)\n[![Platform](https://img.shields.io/cocoapods/p/SHNDStuffs.svg?style=flat)](https://cocoapods.org/pods/SHNDStuffs)\n\n\u003cimg src=\"https://raw.githubusercontent.com/Carthage/Carthage/master/Logo/PNG/colored.png\" width=\"32px\" height=\"32px\" /\u003e  \u003cimg src=\"https://raw.githubusercontent.com/CocoaPods/shared_resources/master/img/CocoaPods-Logo-Highlight.png\" width=\"128px\" height=\"32px\" /\u003e\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n# UINavigationBar Gradient\n\nfor set UINavigationBar gradient and it's tintColor use the function below in viewDidLoad():\n```Swift\noverride func viewDidLoad() {\n    super.viewDidLoad()\n        \n    SHNDNavigationBarGradient(firstColor: .darkGray,\n                              secondColor: .white,\n                              tintColor: .black,\n                              isHorizontal: true)\n}\n```\n![example 0](https://user-images.githubusercontent.com/34839080/50152348-a0793400-02d8-11e9-87e8-1691413827fe.png) ,\n![example 3](https://user-images.githubusercontent.com/34839080/50155445-4f217280-02e1-11e9-83b7-fb2955ec2f00.png), ![example 4](https://user-images.githubusercontent.com/34839080/50155449-55175380-02e1-11e9-92ba-baabf922fd99.png)\n\n\n# SHNDNavigationCustomTitleView\n\nFor set UINavigationBarItem custom title view use the builder pattern below in viewDidLoad():\n\n```Swift\n\noverride func viewDidLoad() {\n    super.viewDidLoad()\n    let navTitleBuilder = NavigationTitleViewBuilder(title: \"SHNDStuffs\",\n                                                     desc: \"Custom Title View\",\n                                                     titleFont: UIFont(name: \"Papyrus\", size: 18)!,\n                                                     descFont: UIFont(name: \"Kailasa\", size: 10)!,\n                                                     titleTextColor: .purple,\n                                                     descTextColor: .black)\n    SHNDNavigationCustomTitleView(builder: navTitleBuilder)                                                     \n}\n```\n\n![shndnavcustomtitleview](https://user-images.githubusercontent.com/34839080/50560864-22764d80-0d1a-11e9-8ed5-51e500ead09f.png)\n\nso simple, right?! 😋😋\n\n# SHNDButton After Tap Animation\n\nif you wanna get an animation(shake, pulsate or flash) after you tapped the button :\n\n```Swift\n@IBAction func buttonPressed(_ sender: SHNDButton) {\n\n    let animationElements = AnimationElements(duration: 0.1,\n                                              repeatCount: 3,\n                                              autoreverses: true,\n                                              animationMode: .shake)\n    sender.SHNDButtonAnimation(animationElements: animationElements)\n}\n```\n\n# SHNDShimmerLabel\nShimmer ,Shimmer ,Shimmer 😄, so simple and awesome as it should to be 😉:\n\n```Swift\n\noverride func viewDidAppear(_ animated: Bool) {\n    super.viewDidAppear(animated)\n    \n    let builderObject = ShimmerObject.init(text: \"shndRS\",\n                                           font: UIFont(name: \"Papyrus\", size: 73)!,\n                                           textAlignment: .center, animationDuration: 2,\n                                           frame: CGRect(x: 0, y: 0, width: view.frame.width, height: 400),\n                                           parentView: view,\n                                           mainLabelTextColor: .orange,\n                                           maskLabelTextColor: .purple)\n\n    SHNDShimmerFactory.create(builder: builderObject)\n}\n\n```\n\nAnd this is how it looks: \n\n\n![shndshimmer](https://user-images.githubusercontent.com/34839080/50724114-444a4880-10fd-11e9-8168-7eb1f75c7130.gif)\n\n\n\n\n# SHNDView, SHNDButton, SHNDImageView, SHNDTextField\n\nFor using SHNDView, SHNDButton, SHNDImageView just put one of these classes into subclass of your objects, and that's set... you have AWESOME features in your NavigationInspector\n\n![shndviewimage](https://user-images.githubusercontent.com/34839080/50561395-7c2d4680-0d1f-11e9-981a-be082bd8335d.png)\n\n\n# SHNDDynamicGradientView\n\nHave you ever seen Instagram login/sign up page Dynamic Gradient View? Well let me give you some good news, i've got something for you fellas here in SHNDStuffs that you can have that animation in your app, it's quite simple:\n\n```Swift\n\nlet object = SHNDDynamicGradientViewObject.init(colorArray: colorArray,\n                                                duration: 8,\n                                                shndView: gradientView)\n\nSHNDDynamicGradientView(builder: object).animate()\n\n```\nps: and colorArray is an array of UIColor tuple like this:\n\n```Swift\nvar colorArray:[(firstColor:UIColor, secondColor:UIColor)] = []\n```\ngo and append whatever colors you want into it:\n\n```Swift\ncolorArray.append((firstColor: .purple, secondColor: .gray))\ncolorArray.append((firstColor: .red, secondColor: .blue))\ncolorArray.append((firstColor: .orange, secondColor: .brown))\n```\nand now you have it  😉\n\n## Requirements\n\n\u003cp\u003eiOS 9.0+\u003c/p\u003e\n\u003cp\u003eXcode 10.0\u003c/p\u003e  \n\u003cp\u003eSwift 4.0 or later\u003c/p\u003e\n\n## Installation\n\nSHNDStuffs is available through [CocoaPods](https://cocoapods.org/pods/SHNDStuffs). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'SHNDStuffs'\n```\n\n## Author\n\nsahandraeisi1994@gmail.com, sahandraeisi@yahoo.com\n\n## License\n\nSHNDStuffs 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%2Fshndrs%2Fshndstuffs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshndrs%2Fshndstuffs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshndrs%2Fshndstuffs/lists"}