GithubHelp home page GithubHelp logo

rakutou / cngridview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mralexgray/cngridview

0.0 2.0 0.0 1.77 MB

CNGridView is a (wanna be) replacement for NSCollectionView. It has full delegate and dataSource support with method calls like known from NSTableView/UITableView.

Ruby 0.84% Objective-C 98.37% C++ 0.78%

cngridview's Introduction

Flattr this git repo Travis Status

Overview

CNGridView is a (wanna be) replacement for NSCollectionView. It has full delegate and dataSource support with method calls just like known from NSTableView and UITableView.

The main inspiration to develop this control came fom @JustSid who wrote the JUCollectionView. But CNGridView was written from ground up, it uses ARC and has a bunch of properties to customize its layout and behavior. CNGridView was only testet on 10.7 Lion & 10.8 Mountain Lion.

Here is a shot of the included example application:

CNGridView Example Application

Usage

To use CNGridView the easy work is done in a few steps:

  • open InterfaceBuilder and select your NIB file that should contain the grid view
  • drag a NSScrollView to your target view, and set the class of NSScrollView's content view to CNGridView
  • connect the delegate & dataSource
  • implement all required delegate/dataSource methods and fill it with appropriate content.

Now you have a fully functionable grid view. Please take a look at the example.

Contribution

The code is provided as-is, and it is far off being complete or free of bugs. If you like this component feel free to support it. Make changes related to your needs, extend it or just use it in your own project. Pull-Requests and Feedbacks are very welcome. Just contact me at [[email protected]](mailto:[email protected]?Subject=[CNGridView] Your component on Github) or send me a ping on Twitter @TheCocoaNaut.

Documentation

The complete documentation you will find on CocoaDocs.

License

This software is published under the MIT License.

Software that uses CNGridView

If you like this component and if you're using it in your own software so please let me know. I'll give you a mention and set a link to your website (or the Mac App Store, if it exists).

CNGridView is used by this software:

  • Unbound - Unbound is a faster, simpler photo manager.
  • TunesBar+ - TunesBar+ simply sits in your menubar and tells you what track is currently playing in iTunes.

cngridview's People

Contributors

i386 avatar dbainbridge avatar phranck avatar

Watchers

James Cloos avatar Harimoto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.