Code Monkey home page Code Monkey logo

bddynamicgridviewcontroller's People

Contributors

nebiros avatar norsez avatar nunofgs avatar

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

bddynamicgridviewcontroller's Issues

Layout breaks when coming back to the controller

Hi,
When I press on one of the photos of the gallery I load a new viewcontroller (push navigationcontroller). In this controller I show the picture and some info about it. The problem comes when I press the back button (self.navigationcontroller pop....). I como back to the gallery but the layout is broken, some rows are over other ones. I'm testing in ios 8. Any idea why this can happen?
Thanks in advance.

Loading images from the web

Hi,
How do manage the loading of images from an external source? I have read a question about this but there is no sample code. I have tried using asynimageview by Nick Lockwood. This class creates a subclass of uiimageview and goes to an URL to pick it up. When I load the controller I define each image on the array with an asyncimageview but only some of them are created in the grid.

I have been debugging and only images which are downloaded previously to the animation are show. The rest of them are ignored, so depending on times of access to the internet you will get a different set of images.

Any idea how to manage this? Or any other approach that could be done?

Thanks a lot

Layout subview is a consistent way

I'm trying to implement infinite scrolling using your control. I'm handling when the grid views hits the bottom, then I load new data and reload.

The problem is, when I reload the grid view, the views that where already there get a different layout/ordering.

So my question is, how can I add new data to the grid view while maintaing the layout of the views currently displayed?

Can't use your component

Your component looks promising. But how can I use it with generic UIView on my own view controller? Your example doesn't have any xib file, I'm confuse. Newbie here :)

Version 0.0.5

Any chance you could release and tag a 0.0.5 version, as well as submit to the Cocoapods specs repository?

onSingleTab

i tried to use it ,, so i can get the view and view index ,, but i can't understand how its work
can you please guide me !

Multiple View Selection

How would I go about a multiple view selection? This would be a great feature to add to this....

How to restore the right side, thank you!

BDDynamicGridViewController are really good, I want to add it to my projects, In the process of adding I changes some code, Would you tell me how to restore the right of the white side, thank you!

ios 2013-5-22 8 18 06

when trying to run on ios 7 it crashes

when trying to run on iOS 7 on xcode 4.5 it crashes with the following exception
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITableViewCellScrollView gridContainerView]: unrecognized selector sent to instance

i investegate a little and i found that the method

  • (void)gesture:(UIGestureRecognizer_)gesture view:(UIView__)view viewIndex:(NSInteger_)viewIndex

is the one who have the problem when trying to iterate on
cell.gridContainerView.subviews.count

the gridContainerView is nil.. but i don't know why that happen at all

it's crash when i click a picture

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITableViewCellScrollView gridContainerView]: unrecognized selector sent to instance 0x895faf0'
*** First throw call stack:
(
0 CoreFoundation 0x0236e5e4 exceptionPreprocess + 180
1 libobjc.A.dylib 0x014cc8b6 objc_exception_throw + 44
2 CoreFoundation 0x0240b903 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275
3 CoreFoundation 0x0235e90b __forwarding
+ 1019
4 CoreFoundation 0x0235e4ee _CF_forwarding_prep_0 + 14
5 BDDynamicGridViewDemo 0x00008194 -[BDDynamicGridViewController gesture:view:viewIndex:] + 388
6 BDDynamicGridViewDemo 0x00008bd1 -[BDDynamicGridViewController didSingleTap:] + 161
7 UIKit 0x003a9f8c _UIGestureRecognizerSendActions + 230
8 UIKit 0x003a8c00 -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 383
9 UIKit 0x003aa66d -[UIGestureRecognizer _delayedUpdateGesture] + 60
10 UIKit 0x003adbcd ___UIGestureRecognizerUpdate_block_invoke + 57
11 UIKit 0x003adb4e _UIGestureRecognizerRemoveObjectsFromArrayAndApplyBlocks + 317
12 UIKit 0x003a4248 _UIGestureRecognizerUpdate + 199
13 CoreFoundation 0x0233653e CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 30
14 CoreFoundation 0x0233648f __CFRunLoopDoObservers + 399
15 CoreFoundation 0x023143b4 __CFRunLoopRun + 1076
16 CoreFoundation 0x02313b33 CFRunLoopRunSpecific + 467
17 CoreFoundation 0x0231394b CFRunLoopRunInMode + 123
18 GraphicsServices 0x022ca9d7 GSEventRunModal + 192
19 GraphicsServices 0x022ca7fe GSEventRun + 104
20 UIKit 0x0003294b UIApplicationMain + 1225
21 BDDynamicGridViewDemo 0x00001c5d main + 141
22 BDDynamicGridViewDemo 0x00001bc5 start + 53
23 ??? 0x00000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

if i load too many images it gets a little slow

i know it's crazy but i've putted 700 images and it got loaded a bit slow.. but when scrolling it was not smooth .. i'm trying to use lazytable technique in it but i thought it would be better if you do it for all of us :)

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.