Latest 0.1.0
License MIT
Platforms ios 8.0

Gridy simplifies calculations related to 2d grid layout. It is written in Swift and well-tested. If you do programming for a long time, chances are you implemented this "Convert my 2d array to rectangles on screen and vice versa" code at least few times. Gridy takes this responsibilities. You just need to provide all necessary dimensions of grid such as width and height for cells, spacing between them, etc. (If you don’t provide, Gridy will take default values).


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



Gridy is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "Gridy"


Alexander Doloz, [email protected]


Gridy is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "Gridy",
    "version": "0.1.0",
    "summary": "Gridy performs all the calculations related to grid layout.",
    "description": "There are many situations when you need to manually calculate 2d grid layout (nsuppose you're writing game like chess or 2048). Gridy performs all necessaryn   calculations so you don't have to. It's written in Swift, highly customizablenbut easy to use because it provides reasonable defaults for unused parameters. nAlso Gridy is tested with XCTest test suite.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Alexander Doloz": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.0"
    "platforms": {
        "ios": "8.0"
    "source_files": "Pod/Classes/**/*",
    "pod_target_xcconfig": {
        "ENABLE_BITCODE": "NO",
        "OTHER_LDFLAGS": "-weak-lswiftXCTest",
        "FRAMEWORK_SEARCH_PATHS": "$(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks""

Pin It on Pinterest

Share This