GithubHelp home page GithubHelp logo

erndev / edsidebar Goto Github PK

View Code? Open in Web Editor NEW
164.0 164.0 30.0 300 KB

Attemp to create a customizable Sidebar like those seen in apps like Sparrow or Twitter

Home Page: http://www.cocoawithchurros.com

Objective-C 90.47% Ruby 9.53%

edsidebar's Introduction

EDSideBar

Attemp to create a Sidebar in ObjectiveC/Cocoa like those seen in apps like Sparrow Mail, Twitter or Github for Mac.

###Installation

The easiest way to install EDSidebar is via CocoaPods. Add this line to your Podfile:

pod 'EDSidebar'

and run pod install.

You can also install it manually by copying to project these two files (localated in EDSideBar directory): EDSidebar.h and EDSidebar.m

Screenshot

EDSideBar

License

BSD License. Copyright (c) 2011, Ernesto García All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

SideBar Icon License

The sidebar icon in the sample project belongs to IconSweets icon collection.

Copyright © 2010 Yummygum.

You may use these icons for both commercial and for personal use and customize them any way you like.

edsidebar's People

Contributors

dbainbridge avatar erndev avatar stomforde avatar unixo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

edsidebar's Issues

Adding a Bottom Sidebar button with a Custom Layout mode?

Is it possible to add a sidebar button using a custom layout and/or custom position ?
What I would like to have is to add a bottom button using the ECSideBarLayoutTop layout mode for all others buttons (like in Twitter for Mac by example).
Any way to do this with the current api ?

Exception on launch

*** Terminating app due to uncaught exception 'NSRangeException', reason: 'NSRLEArray objectAtIndex:effectiveRange:: Out of bounds'
terminate called throwing an exception
abort() called

Some users see this on launch on OS X 10.8.4.

Possible Loop

Hi first, thank you.. Great control.

I noticed in my app that I was getting significant looping. I then ran the sample app and found the same..

2013-10-10 19:00:54.175 EDSidebar[9656:303] -[ECSideBarButtonCell drawBezelWithFrame:inView:]
2013-10-10 19:00:54.176 EDSidebar[9656:303] -[ECSideBarButtonCell drawWithFrame:inView:]
2013-10-10 19:00:54.176 EDSidebar[9656:303] -[ECSideBarButtonCell drawBezelWithFrame:inView:]
2013-10-10 19:00:54.189 EDSidebar[9656:303] -[ECSideBarButtonCell drawWithFrame:inView:]
2013-10-10 19:00:54.190 EDSidebar[9656:303] -[ECSideBarButtonCell drawBezelWithFrame:inView:]

If I can identify the cause, I'll update this issue, meanwhile, any help appreciated.

Transparency

Is there a way to easy make the whole bar transparency and add a custom image to it?

In the example app button 1 on the left hand side cannot be selected

This is from the latest source, simply open the xcode project, build and run, and for some reason I can never select the first button on the left hand side.

I put a break point in buttonClicked:. When you click on button 1 it gets called twice, the first time with the correct index (0) then the second time the index is set to 1?

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.