kevintuhumury / itvdb Goto Github PK
View Code? Open in Web Editor NEWAn Objective-C wrapper around the TVDB (http://thetvdb.com) XML API for use in iOS (with ARC enabled) and OSX apps.
License: MIT License
An Objective-C wrapper around the TVDB (http://thetvdb.com) XML API for use in iOS (with ARC enabled) and OSX apps.
License: MIT License
After adding specs and cleanup, create a static framework for reusability.
Hello,
I am getting nil on show.episodes
where show
is returned by calling [TVDbShow findById:id]
Hello,
Any images (posters and banners) currently returns a 404.
Thanks
I am having difficulties understanding the TVDbUpdater mechanism.
In my Project, single shows (along with it's episodes) can be added to a database.
I display them in a tableview where i want to check for updates from time to time.
The read me says:
The first time you have a list of shows (or episodes), you should save the timestamp of that moment in your app.
If i save the timestamp every time a single show is added, wouldn't i constantly overwrite the timestamp?
Any help is welcome :)
It's no TDD, but better than nothing at all.
Hello,
first of all thank you so much for this library. It saved me a lot of time. Unfortunately I came to a problem and hope you can help me out here. I am using the method
NSMutableArray *shows = [TVDbShow findByName:name];
to give the user the ability to search for a show.
Now i like to implement kind of an autocomplete ability to show all tv-shows returning while the user is typing. Because the API call can take some time the search functionality is really slow. Is there a chance to make the findByName
method async ?
Currently this is what I am doing: In my UISearchResultsUpdatingDelegate I call my method to get the corresponding shows and then show them in my tableview:
#pragma mark - UISearchResultsUpdating
-(void)updateSearchResultsForSearchController:(UISearchController *)searchController {
NSString *searchString = [self.searchController.searchBar text];
[self updateFilteredContentForName:searchString];
if (self.searchController.searchResultsController) {
DEResultsViewController *vc = (DEResultsViewController *)self.searchController.searchResultsController;
vc.searchResults = self.searchResults;
[vc.tableView reloadData];
}
}
- (void)updateFilteredContentForName:(NSString *)name {
[self.searchResults removeAllObjects]; // First clear the filtered array.
// Update the filtered array based on the search text and scope.
if (name == nil || [name length] == 0) {
return;
}
NSMutableArray *shows = [TVDbShow findByName:name];
self.searchResults = shows;
}
Hi,
First of all, congratulation for your work. Great library.
Could you add support OS X in the pod specs? Maybe I'm wrong, but I believe itvdb doesn't use any exclusive iOS library.
Thanks!
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.