Coder Social home page Coder Social logo

jmtabview's People

Contributors

jasonmorrissey avatar shekibobo 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jmtabview's Issues

Missing libJMTabView.a

How can I get the libJMTabView.a I've downloaded JMTabView but this library missing.
i'm looking forward your answer

Can not work with ios6.0 ?

-(void)addStandardTabView;
{
    JMTabView *tabView = [[[JMTabView alloc] initWithFrame:CGRectMake(0, 0, self.view.bounds.size.width, 60.)] autorelease];


libobjc.A.dylib`+[NSObject alloc]:
0x1e03a2c:  pushl  %ebp
0x1e03a2d:  movl   %esp, %ebp
0x1e03a2f:  subl   $24, %esp
0x1e03a32:  calll  0x1e03a37                 ; +[NSObject alloc] + 11
0x1e03a37:  popl   %eax
0x1e03a38:  movl   995549(%eax), %eax
0x1e03a3e:  movl   %eax, 4(%esp)
0x1e03a42:  movl   8(%ebp), %eax
0x1e03a45:  movl   %eax, (%esp)
0x1e03a48:  movl   $0, 8(%esp)
0x1e03a50:  calll  0x1e0108c                 ; objc_msgSend
0x1e03a55:  addl   $24, %esp
0x1e03a58:  popl   %ebp
0x1e03a59:  ret    


JMTabViewDelegate is not using respondsToSelector:

Hi,

I just started using JMTabView and first thing I saw is that you're not using respondsToSelector to test if the delegate implements a given method.

In this method:

- (void)didSelectItemAtIndex:(NSUInteger)itemIndex;
{
    if (self.delegate)
    {
        [self.delegate tabView:self didSelectTabAtIndex:itemIndex];
    }
}

I get:

-[StationDetailViewController tabView:didSelectTabAtIndex:]: unrecognized selector sent to instance 0x687cab0
2011-09-24 19:01:02.026 MetroRio[4163:b303] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[StationDetailViewController tabView:didSelectTabAtIndex:]: unrecognized selector sent to instance 0x687cab0'

IHMO I think it should be:

- (void)didSelectItemAtIndex:(NSUInteger)itemIndex;
{
    if (self.delegate)
    {
        if([self.delegate respondsToSelector:@selector(didSelectTabAtIndex:)])
        {
            [self.delegate tabView:self didSelectTabAtIndex:itemIndex];
        }
    }
}

Thank you!

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.