m1entus / inselectronicprogramguidelayout Goto Github PK
View Code? Open in Web Editor NEWUICollectionViewLayout for displaying electronic program guide.
License: BSD 2-Clause "Simplified" License
UICollectionViewLayout for displaying electronic program guide.
License: BSD 2-Clause "Simplified" License
The delegate method for - (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath
doesn't seem to get called when clicking on a cell
UICollectionView received layout attributes for a cell with an index path that does not exist
Firstly thank you for great job, its really awesome library.
I want to know that, there is any functionalities for drag & drop row in your library. if there then please help me.
Thank you in advance. :)
Hi guys!
First of all I want to say that the work youэму done is awesome!
I have a few questions:
Thank you!!!
I have downloaded the program guide and wish to use it in my project.
I have dded it using pod and in my bridging have put:
#import "INSElectronicProgramGuideLayout/INSElectronicProgramGuideLayout.h"
I also copied the Electronic Program Guide Cene to my storyboard.
I have created a segue from a button to the cene.
I also created a class called EpgViewController as:
import UIKit
class EpgViewController: UICollectionViewController
{
}
Now, when I click the button to show the empty cene, I get this error:
2017-05-09 17:40:30.660719-0300 ipTv3[884:169392] -[ipTv3.EpgViewController currentTimeForCollectionView:layout:]: unrecognized selector sent to instance 0x167b7530
2017-05-09 17:40:30.663947-0300 ipTv3[884:169392] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ipTv3.EpgViewController currentTimeForCollectionView:layout:]: unrecognized selector sent to instance 0x167b7530'
*** First throw call stack:
(0x1d93bb3d 0x1cbc3067 0x1d940fd1 0x1d93f0c3 0x1d867d08 0x1d6a25f 0x1d663b9 0x1d63939 0x1d627bb 0x22bc57c3 0x22bc4db1 0x22bc47ab 0x22b678c3 0x207c4cb7 0x207b8d77 0x207b8c05 0x20747849 0x20765feb 0x20766b3f 0x1d8f7803 0x1d8f5a55 0x1d8f6017 0x1d8490ef 0x1d848f11 0x1eff3b41 0x22bcde83 0x170e94 0x1d0364eb)
libc++abi.dylib: terminating with uncaught exception of type NSException
Do you have any example on how to implement the INSElectronicProgramGuideLayout using swift?
Thank you very much for any help.
Hi ,
When loading data quickly it crashed.
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCache setObject:forKey:cost:]: attempt to insert nil value
I would like to scroll to arbitrary time and not only to the current time.
Hi Team,
We have integrated your sample INSElectronicProgramGuideLayout into our application.
First of all I want congratulate you guys for this excellent sample for EPG Guide and it also helped us in Many ways.
All of a sudden we are facing a issue which we need your help to sort it out.
Please find below details of steps for issue.
We have tried to sort it out our end but we couldn’t do it.
Please help us in this regard as we are struck as this is a major issue for us.
Hello man,
I need to current time indicator on of top the collection view
Hi,
regarding #2, I've found out a potential improvement but I don't know if it could be of any interest to the project.
On that pull request, delegate has been extended to let lib's clients to define a fixed start/end time instead of showing only the interval of time derived by the start/end time of each cell.
A possible improvement (that I'm already using) is to intend those fixed start/end time as "minimum" values. In this way, is it possible to define a minimum size for the collection view, but it is still possible to present cells that are outside the given range.
What do you think?
How to make the time row always visible when scrolling, just like the channel column? Thanks!
Hi,
I'm having an issue with the time needed to layout the collection view.
I have approximatively 300 channels and I let the user scroll until next week (data is paginated), which means there's a lot of data. When I scroll until "tomorrow" page, I load more data from my web service, invalidate the layout, reloadData on the collectionView and eventually call layoutIfNeeded
on my collectionView. Reloading data & layoutIfNeeded
take up to 10seconds.
After checking the layout code, it seems like disabling the cache in startDateForIndexPath:
and endDateForIndexPath:
fixes the issue.
What do you think about it?
I have run the Example target in from INSElectronicProgramGuideLayout.xcworkspace, but can't find CoreData+MagicalRecord.h file
Hello, its a great great work!!
The my question; in your example you provided the ISCurrentTimeIndicatorView class, but how to use it?
thanks for your work.
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.