Code Monkey home page Code Monkey logo

asoxscrolltableviewcell's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

asoxscrolltableviewcell's Issues

Call uicollectionview reload

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.

Error when implementing cell

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. :)

[tableView reloadData] not update images

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]?

first load:
d70bbe7ec51b4277baa9ecad84693093

reloadData:
121212

after scroll first row (updated hidden by scrolling image):
23232

error

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)

willDisplayCell

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?

Same install pod way but cant fixed "Assertion failure in & Invalid parameter not satisfying"

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~

Multiple items being selected at once

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

Images from Service

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!

How to segue?

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

App crash when table view scroll down for new rows

when table view scroll down for new rows load and at same time cell collection view is scrolling.

Steps

  1. add more content in cell [to scroll long enough]
  2. scroll that content of cell
    3.also same time scroll table to look other content.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.