xhzengaib / xhtwitterpaggingviewer Goto Github PK
View Code? Open in Web Editor NEWA twitter like navigation bar, page viewer.
License: MIT License
A twitter like navigation bar, page viewer.
License: MIT License
Hi, thanks for your great job here, but I found it's not easy to make the nav bar transparent.
I added following line into - (void)setupNavigationBar in XHTwitterPaggingViewer.m, but it did work, is any idea about this issue? thanks a lot.
[self.navigationBar setBackgroundImage:[UIImage new]
forBarMetrics:UIBarMetricsDefault];
self.navigationBar.shadowImage = [UIImage new];
self.navigationBar.translucent = YES;
Hello,
In you demo you are using XHTwitterPaggingViewer from start of the application (First View Controller) and declare in didFinishLaunchingWithOptions.
As I am doing below hierarchy in StoryBoard.
UINavigationController -> UIViewController -> UIViewController - > XHTwitterPaggingViewer
For this I am doing in ViewDidLoad of second VC
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main_iPhone" bundle:nil];
XHTwitterPaggingViewer *twitterPaggingViewer = [storyboard instantiateViewControllerWithIdentifier:@"XHTwitterPaggingViewer"];
XHTableViewController *tableViewController1 = [storyboard instantiateViewControllerWithIdentifier:@"TableViewController1"];
XHTableViewController *tableViewController2 = [storyboard instantiateViewControllerWithIdentifier:@"TableViewController2"];
twitterPaggingViewer.viewControllers = @[tableViewController1, tableViewController2];
But i am getting crash
Please provide you feedback for this, how can I load from something inner view controller.
Recently, my company want bunlid a iphone app about IM. i am a iOS development engineer , a rookie.
Should i build the XMPP servicer ? or is there someone else going do this ? Because i don' t know anything about this..... If the servicer was built. Then what should i do ?
[XMPPJID jidWithUser:(NSString *) domain:(NSString *) resource:(NSString *)] where do i get domain and resource ?
please help me...
How can i fix to work on iOS 8 ?
Hello I'm trying to use the library but I got this issue Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[newsPagerViewController topViewController]: unrecognized selector sent to instance
In this line
newsPagerViewController *twitterPaggingViewer = (newsPagerViewController *)navigationController.topViewController;
newsPagerViewController is subclass of XHTwitterPaggingViewer and in storyboard I've embded newsPagerViewController in navigation controller.
When I try to add two UIViewController instead of XHTableViewController gives me this error:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull rangeOfCharacterFromSet:]: unrecognized selector sent to instance 0x10a083cb0'
Followed example project XHTwitterPaggingViewerStoryboradExample
UINavigationController *navigationController = (UINavigationController *)self.window.rootViewController;
twitterPaggingViewer = (XHTwitterPaggingViewer *)navigationController.topViewController;
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
ViewController1 *vc1 = [storyboard instantiateViewControllerWithIdentifier:@"vc1"];
ViewController2 *vc2 = [storyboard instantiateViewControllerWithIdentifier:@"vc2"];
twitterPaggingViewer.viewControllers = @[vc1,vc2];
Hello, i have tried your project and i have substitute the:
XHTableViewController *tableViewController = [[XHTableViewController alloc] init];
with a simple UITableViewController with xib, but the UITableview go under the UINavigationBar and the first two line are covered by the navigation bar. how i can do?
XHTwitterPaggingViewer not resizing according to the orientation. Flexible height width is not helping.
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.