All Projects → rubygarage → Collection View Layouts

rubygarage / Collection View Layouts

Licence: apache-2.0
A library that implements custom flow layouts for iOS apps

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Collection View Layouts

Socialcounters
jQuery/PHP - Collection of Social Media APIs that display number of your social media fans. Facebook Likes, Twitter Followers, Instagram Followers, YouTube Subscribers, etc..
Stars: ✭ 104 (-78.82%)
Mutual labels:  pinterest, facebook, instagram
Keyring
Keyring is an authentication framework for WordPress. It comes with definitions for a variety of HTTP Basic, OAuth1 and OAuth2 web services. Use it as a common foundation for working with other web services from within WordPress code.
Stars: ✭ 52 (-89.41%)
Mutual labels:  pinterest, facebook, instagram
Postwill
Posting to the most popular social media from Ruby
Stars: ✭ 181 (-63.14%)
Mutual labels:  pinterest, facebook, instagram
Skraper
Kotlin/Java library and cli tool for scraping posts and media from various sources with neither authorization nor full page rendering (Facebook, Instagram, Twitter, Youtube, Tiktok, Telegram, Twitch, Reddit, 9GAG, Pinterest, Flickr, Tumblr, IFunny, VK, Pikabu)
Stars: ✭ 72 (-85.34%)
Mutual labels:  pinterest, facebook, instagram
Skeleton
Skeleton is a Social Engineering tool attack switcher
Stars: ✭ 44 (-91.04%)
Mutual labels:  instagram, facebook, pinterest
Photo Editor Android
Photo Editor SDK contains a lot of features like edit, scale, rotate and draw on images like Instagram stories.
Stars: ✭ 463 (-5.7%)
Mutual labels:  facebook, instagram
SocialInfo4J
fetch data from Facebook, Instagram and LinkedIn
Stars: ✭ 44 (-91.04%)
Mutual labels:  instagram, facebook
Ananas
An easy image editor integration for your Android apps.
Stars: ✭ 186 (-62.12%)
Mutual labels:  instagram, facebook
Photoeditor
A Photo Editor library with simple, easy support for image editing using paints,text,filters,emoji and Sticker like stories.
Stars: ✭ 3,105 (+532.38%)
Mutual labels:  facebook, instagram
sharon
A lightweight and modular social sharing library
Stars: ✭ 16 (-96.74%)
Mutual labels:  facebook, pinterest
aboutmeinfo-telegram-bot
ℹ️ About Me Info Bot: Share your social media and links on Telegram
Stars: ✭ 20 (-95.93%)
Mutual labels:  instagram, facebook
Embera
A Oembed consumer library, that gives you information about urls. It helps you replace urls to youtube or vimeo for example, with their html embed code. It has advanced features like offline support, responsive embeds and caching support.
Stars: ✭ 268 (-45.42%)
Mutual labels:  facebook, instagram
DaProfiler
DaProfiler allows you to create a profile on your target based in France only. The particularity of this program is its ability to find the e-mail addresses your target.
Stars: ✭ 58 (-88.19%)
Mutual labels:  instagram, facebook
spark-ar-creators
List of 9500 (and counting) Spark AR Creators. Open an issue or contact me if you want to be added.❤️
Stars: ✭ 122 (-75.15%)
Mutual labels:  instagram, facebook
instagram-stories
Get the Instagram Stories in Node.js and Browser
Stars: ✭ 86 (-82.48%)
Mutual labels:  instagram, facebook
keyring-social-importers
A collection of importers which pull your content back from social networks, and into your own WordPress install.
Stars: ✭ 26 (-94.7%)
Mutual labels:  instagram, pinterest
Timeliner
In general, Timeliner obtains items from data sources and stores them in a timeline.
Stars: ✭ 2,911 (+492.87%)
Mutual labels:  facebook, instagram
Social Media Profiles Regexs
📇 Extract social media profiles and more with regular expressions
Stars: ✭ 324 (-34.01%)
Mutual labels:  facebook, instagram
Zuck.js
A javascript library that lets you add stories EVERYWHERE.
Stars: ✭ 3,396 (+591.65%)
Mutual labels:  facebook, instagram
Oauth
🔗 OAuth 2.0 implementation for various providers in one place.
Stars: ✭ 336 (-31.57%)
Mutual labels:  facebook, instagram

Build Status codecov

About

Collection View Layouts is a set of custom layouts for iOS which imitate general data grid approaches for mobile apps.

Layout types

Tags Pinterest 500px Instagram
Flipboard Facebook Flickr

Overview

  • 7 popular layouts for iOS collection view
  • Tags and Flipboard layouts support left and right content align
  • 500px has custom cells layout configuration
  • Three modes for Instagram layout (default grid mode, one preview cell, regular preview cell)
  • Each layout can be configured with content and cells paddings separately
  • Tests coverage more than 90%

Installation

CocoaPods

Collection View Layouts is available through CocoaPods. To install it, simply add the following lines (depends on your needs) to your Podfile:

pod 'collection-view-layouts/Core'
pod 'collection-view-layouts/TagsLayout'
pod 'collection-view-layouts/PinterestLayout'
pod 'collection-view-layouts/Px500Layout'
pod 'collection-view-layouts/InstagramLayout'
pod 'collection-view-layouts/FlipboardLayout'
pod 'collection-view-layouts/FacebookLayout'
pod 'collection-view-layouts/FlickrLayout'

Requirements

iOS: 11.0+
Swift: 5.0
CocoaPods: for iOS

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Usage

Configuration of custom layouts is pretty easy:

var layout: BaseLayout = TagsLayout()

layout.delegate = self
layout.delegate = ItemsPadding(horizontal: 10, vertical: 10)
layout.cellsPadding = ItemsPadding(horizontal: 8, vertical: 8)

collectionView.collectionViewLayout = layout
collectionView.reloadData()

Also, you have to implement LayoutDelegate protocol:

public protocol LayoutDelegate: class {
    func cellSize(indexPath: IndexPath) -> CGSize
}

func cellSize(indexPath: IndexPath) -> CGSize {
    return cellsSizes[indexPath.row]
}

Author

Sergey Afanasiev

Getting Help

[email protected]

License

Collection View Layouts is licensed under the Apache 2.0 license


RubyGarage Logo

RubyGarage is a leading software development and consulting company in Eastern Europe. Our main expertise includes Ruby and Ruby on Rails, but we successfuly employ other technologies to deliver the best results to our clients. Check out our portoflio for even more exciting works!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].