agusso / asoxscrolltableviewcell Goto Github PK
View Code? Open in Web Editor NEW'Horizontal Scroll Table View Cell' library
License: MIT License
'Horizontal Scroll Table View Cell' library
License: MIT License
hi
love the work, but i have issues with iso 7 layout not work /also how can make the cell move automatically i.e move on a timer , can you please draft the code for me
thanks
Hi There!
I want to call horizontalScrollContentsView to reload one of its content, can I do that?
What I want to do is to update the scroll content on-the-fly, maybe via Notification Center,
However, I can't seem to access that property (where from?) from my main table view controller..
Can you help?
Makasih.
as title, how to move objects ?
Hello.
I was try to implement cell of ASOX by your example here:
https://github.com/agusso/ASOXScrollTableViewCell/tree/master/Example/XScroll
But I always get this error:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: (name != nil) && ([name length] > 0)'
As you see, Xcode can't find defined custom cell (in example it's named XScrollViewCell).
Next is my programm:
http://image.prntscr.com/image/418e17778d044e66849a347be053b104.png
http://image.prntscr.com/image/57efbe17a2b949e98eaefe8c0addba07.png
http://image.prntscr.com/image/8bce4fd2d8a94dc7a8c681f6d83eda73.png
Please, help me to resolve this issue. :)
at ios7,Layout is not correct。
Hello.
When I try to reload table with new data (new images), xScrollViewCell shows me previous image, but if I scroll horizontalView at row of table and after scroll back image are update.
When tableView loads first time, all images visible normal. Bug after only reloadData.
Question: how to update all images after [tableView reloadData]?
hi, i got a error then run demo
Ld /Users/dip/Library/Developer/Xcode/DerivedData/XScroll-cgndgsnchglbdhgjdaqvfhtzhiwc/Build/Products/Debug-iphonesimulator/XScroll.app/XScroll normal x86_64
cd /Users/dip/Downloads/ASOXScrollTableViewCell-master/Example
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -L/Users/dip/Library/Developer/Xcode/DerivedData/XScroll-cgndgsnchglbdhgjdaqvfhtzhiwc/Build/Products/Debug-iphonesimulator -F/Users/dip/Library/Developer/Xcode/DerivedData/XScroll-cgndgsnchglbdhgjdaqvfhtzhiwc/Build/Products/Debug-iphonesimulator -filelist /Users/dip/Library/Developer/Xcode/DerivedData/XScroll-cgndgsnchglbdhgjdaqvfhtzhiwc/Build/Intermediates/XScroll.build/Debug-iphonesimulator/XScroll.build/Objects-normal/x86_64/XScroll.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=8.0 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -lASOXScrollTableViewCell -fobjc-arc -fobjc-link-runtime -lPods-XScroll -Xlinker -dependency_info -Xlinker /Users/dip/Library/Developer/Xcode/DerivedData/XScroll-cgndgsnchglbdhgjdaqvfhtzhiwc/Build/Intermediates/XScroll.build/Debug-iphonesimulator/XScroll.build/Objects-normal/x86_64/XScroll_dependency_info.dat -o /Users/dip/Library/Developer/Xcode/DerivedData/XScroll-cgndgsnchglbdhgjdaqvfhtzhiwc/Build/Products/Debug-iphonesimulator/XScroll.app/XScroll
ld: library not found for -lASOXScrollTableViewCell
clang: error: linker command failed with exit code 1 (use -v to see invocation)
How to detect new visible item of horizontal tableView?
I was try:
-(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath
But this callback works, when user move vertical tableView rows.
I need detect new visible item for update count of items (download new elements from server), what must me do?
hi agusso:
Thanks for your nice sharing!
I follow pod install and same UITableViewController implement tutor but occur "Assertion failure in -[UINib initWithNibName:directory:bundle:], /SourceCache/UIKit_Sim/UIKit-3318.16.14/UINib.m:98" and "Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: (name != nil) && ([name length] > 0)'" error message. I'm try exaimine each storyboard setting from your project, but cat fixed this. Can you help to check my implement practice project(as like your project)~thanks
Share Project:https://www.dropbox.com/sh/b6iev96pced4xkl/AACEiCmMV9iT9x4MxrLwbF2Va?dl=0
Tool
iOS SDK 8.1
Deployment Target 7.1
Xcode 6.1.1
ps : your (Xscroll) project can successful run my Xcode and iPhone.
thanks, i fixed it~
Hi,
I'm having an issue where after selecting an item, every sixth item is also being selected. Five cells are being presented at a time. It appears my everything is set up properly, I only have one section and one row so I set the tableview up as such. In tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) I create an instance of ASOXScrollTableViewCell with the identifier for a prototype tableview cell and return the cell. In horizontalScrollContentsView cellForItemAtContentIndexPath I instantiate an instance of my custom subclass of UICollectionViewCell. In horizontalScrollContentsView didSelectItemAtContentIndexPath I instantiate the cell as such:
var cell: XScrollViewCell = horizontalScrollContentsView.cellForItemAtIndexPath(contentIndexPath) as XScrollViewCell
and set the background color to green. After selecting a cell, the correct cell is selected, but still every sixth cell is also being presented with the green background. Could this be an issue with reusing the cells as it appears as every 6th cell dequeued. I've been trying to solve the issue with no luck thus far.
Thanks,
Kurt
Hi there! First great job!
Can this example handle a list of images coming from a server backend like Parse.com for example ?
Where in the code to implement the server code ?
Thnx and cheers!
I am confused as how to show a detail view from the selected section and item. I want to be able to show a detail view controller from the user selected cell. If you could explain on how to do this I would be more than appreciative!
-Thank you
when table view scroll down for new rows load and at same time cell collection view is scrolling.
Steps
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.