Giter Club home page Giter Club logo

Comments (3)

nicklockwood avatar nicklockwood commented on June 24, 2024

I actualy just added this as an FAQ item to the docs. It wasn't in the docs because it's a standard feature of UIView: Just set clipToBounds = YES (it's called something else in Interface Builder, but I think you'll find it).

Nick

(Sent from my iPhone)

On 27 Oct 2011, at 21:59, jNoxx [email protected] wrote:

Hey Nick,

This is actually one of the best opensource things for iOS, better then Three20 or whatever, very very very easy to use and just lovely.
there is just one thing bugging me actually. That the Carousel isn't respecting the bounds of it's view within a nib.
So if you create lets say an UIView with iCarousel as parent in a xib on a ViewController. And you make it half of iPad screen.
That when it gets loaded, they are over the border of what you tell them to stay in, is it me, am I missing something, or no one actually cared about this? :)

Greetings, Noxx.

Reply to this email directly or view it on GitHub:
#52

from icarousel.

jNoxx avatar jNoxx commented on June 24, 2024

Oh my, do I feel like a retard Nick..
I've been coding for 2 years, and this is just a frikking tick in IB. Ah well, we all make mistakes right ;) it works like a charm now, appreciate the fast response though! :)
I only get 1 more warning in the newest version.

NSComparisonResult compareViewDepth(UIView *view1, UIView *view2, iCarousel *self)
This gives No previous prototype for Function ^

from icarousel.

nicklockwood avatar nicklockwood commented on June 24, 2024

I've added the function prototype to the interface, which should get rid of the error.

from icarousel.

Related Issues (20)

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.