{"id":17125370,"url":"https://github.com/boris-em/cloudy","last_synced_at":"2025-04-13T06:27:47.403Z","repository":{"id":56906055,"uuid":"64521022","full_name":"Boris-Em/Cloudy","owner":"Boris-Em","description":"Random Cloudy Skies for iOS.","archived":false,"fork":false,"pushed_at":"2018-06-02T20:08:45.000Z","size":262,"stargazers_count":102,"open_issues_count":0,"forks_count":14,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-11T03:39:04.724Z","etag":null,"topics":["cloud","ios","random-generation","swift","ui"],"latest_commit_sha":null,"homepage":"","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/Boris-Em.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":"2016-07-30T02:03:25.000Z","updated_at":"2022-09-09T11:57:24.000Z","dependencies_parsed_at":"2022-08-21T03:20:46.259Z","dependency_job_id":null,"html_url":"https://github.com/Boris-Em/Cloudy","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boris-Em%2FCloudy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boris-Em%2FCloudy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boris-Em%2FCloudy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boris-Em%2FCloudy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Boris-Em","download_url":"https://codeload.github.com/Boris-Em/Cloudy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248673461,"owners_count":21143501,"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":["cloud","ios","random-generation","swift","ui"],"created_at":"2024-10-14T18:44:46.498Z","updated_at":"2025-04-13T06:27:47.366Z","avatar_url":"https://github.com/Boris-Em.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloudy\n\n[![Build Status](https://travis-ci.org/Boris-Em/Cloudy.svg?branch=master)](https://travis-ci.org/Boris-Em/Cloudy)\n[![Version](https://img.shields.io/cocoapods/v/Cloudy.svg?style=flat)](http://cocoadocs.org/docsets/Cloudy)\n[![License](https://img.shields.io/cocoapods/l/Cloudy.svg?style=flat)](http://cocoadocs.org/docsets/Cloudy)\n[![Platform](https://img.shields.io/cocoapods/p/Cloudy.svg?style=flat)](http://cocoadocs.org/docsets/Cloudy)\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"./.assets/Cloudy Banner.jpg\"/\u003e\u003c/p\u003e\t\n\nCloudy is a simple UIView subclass that lets you generate random yet beautiful clouds.\n\n## Table of Contents\n\n* [**Project Details**](#project-details)  \n  * [Requirements](#requirements)\n  * [License](#license)\n  * [Support](#support)\n  * [Sample App](#sample-app)\n* [**Getting Started**](#getting-started)\n  * [Installation](#installation)\n  * [Setup](#setup)\n* [**Documentation**](#documentation)\n\n## Project Details\n\nLearn more about the **Cloudy** project, licensing, support etc.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"./.assets/Cloudy_iPhone.jpg\"/\u003e\u003c/p\u003e\t\n\n### Requirements\n - Requires iOS 7 or later. The sample project is optimized for iOS 9.\n - Requires Automatic Reference Counting (ARC).\n - Optimized for ARM64 Architecture.\n\n### License\nSee the [License](https://github.com/Boris-Em/Cloudy/blob/master/LICENSE). You are free to make changes and use this in either personal or commercial projects. Attribution is not required, but highly appreciated. A little \"Thanks!\" (or something to that affect) is always welcome. If you use **Cloudy** in your app, please let us know!\n\n### Support\n[![https://gitter.im/Boris-Em/Cloudy](https://badges.gitter.im/Boris-Em/Cloudy.svg)](https://gitter.im/Boris-Em/Cloudy?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)  \n\nJoin us on gitter if you have any question!\n\n### Sample App\nThe iOS Sample App included with this project demonstrates one way to correctly setup and use **Cloudy**. It also offers the possibility to customize the view within the app.\n\n## Getting Started\n\nIt only takes a few simple steps to install and setup **Cloudy** to your project.\n\n###Installation\nThe easiest way to install **Cloudy** is to use \u003ca href=\"http://cocoapods.org/\" target=\"_blank\"\u003eCocoaPods\u003c/a\u003e. To do so, simply add the following line to your `Podfile`:\n\t\u003cpre\u003e\u003ccode\u003epod 'Cloudy'\u003c/code\u003e\u003c/pre\u003e\n\t\nThe other way to install **Cloudy**, is to drag and drop the *Cloudy* folder into your Xcode project. When you do so, make sure to check the \"*Copy items into destination group's folder*\" box.\n\n### Setup\n**Cloudy** is a simple UIView subclass. It can be initialized with Interface Builder, or programatically.\n \n **Interface Builder Initialization**  \n 1 - Drag a `UIView` to your `UIViewController`.  \n 2 - Change the class of the new `UIView` to `Cloudy`.  \n 3 - Select the `Cloudy` and open the Attributes Inspector. Most of the customizable properties can easily be set from the Attributes Inspector. The Sample App demonstrates this capability.\n \n **Programmatical Initialization**  \n Here is an example illustrating how to initialize a Cloudy instance programmatically:\n\n ```swift\n let cloudyView = Cloudy(frame: CGRectMake(0.0, 0.0, 200.0, 200.0))\n view.addSubview(Cloudy)\n ```\n## Documentation\nAll of the methods and properties available for **Cloudy** are documented below.\n\n##### `cloudsColor`  \nThe color of the clouds. Defaults to white.\n\n##### `cloudsShadowColor`  \nThe color of the clouds' shadow. Default to darkGrayColor.\n\n##### `cloudsShadowRadius`  \nThe radius of the clouds' shadow. Defaults to 1.0.\n\n##### `cloudsShadowOpacity`  \nThe opacity of the clouds' shadow. Defaults to 1.0.\n\n##### `cloudsShadowOffset`  \nThe offset of the clouds' shadow. Defaults to (0.0, 1.0).\n\n##### `minCloudSizeRatio`  \nThe minimum size of the clouds as a ratio of the view's height. From 0.0 to 1.0, 0.0 being 0% of the view's height and 1.0 being 100% of the view's height. Defaults to 0.2.\n\n##### `padding`  \nA padding that will be filled with the color of `cloudsColor`. The padding will be at the top, or bottom of the view depending on the property `orientation`. It is expressed as a value between 0.0 and 1.0, 0.0 meaning no padding, and 1.0 that the view will be filled with the padding. Defaults to 0.2.\n\n##### `orientation`  \nThe orientation of the clouds. Defaults to `Down`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboris-em%2Fcloudy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboris-em%2Fcloudy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboris-em%2Fcloudy/lists"}