jasonmorrissey / jmtabview Goto Github PK
View Code? Open in Web Editor NEWStylish and animated tab view for iOS rendered entirely using core graphics.
License: Other
Stylish and animated tab view for iOS rendered entirely using core graphics.
License: Other
If I will press button in index 2 it will take me to index 3.
How can I get the libJMTabView.a I've downloaded JMTabView but this library missing.
i'm looking forward your answer
-(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
dose not support ARC
The code will not run, but only build.
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!
It does not support horizontal scrolling when number of icons exceed bounds limit.
I also can't set a dynamic height != 60px.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.