bug report #4

Closed
guoxj opened this Issue Oct 28, 2011 · 4 comments

Comments

Projects
None yet
2 participants
@guoxj

guoxj commented Oct 28, 2011

hey, thanks for your HSImageSidebarView,
there is something confusing , in the example project's Portrait mode, there are 6 icon,
but when it comes to Landscape mode,there are only 4 icon.
:)

@bjhomer

This comment has been minimized.

Show comment Hide comment
@bjhomer

bjhomer Oct 28, 2011

Owner

This appears to be an iOS 5 issue; it works correctly on the 4.3 simulator. It appears that on iOS 5, the scrollview isn't calling -layoutSubviews when it scrolls, so the sidebar doesn't know to add the new subviews. I'll look into it.

Owner

bjhomer commented Oct 28, 2011

This appears to be an iOS 5 issue; it works correctly on the 4.3 simulator. It appears that on iOS 5, the scrollview isn't calling -layoutSubviews when it scrolls, so the sidebar doesn't know to add the new subviews. I'll look into it.

@bjhomer bjhomer closed this in 3e070c1 Oct 28, 2011

@guoxj

This comment has been minimized.

Show comment Hide comment
@guoxj

guoxj Oct 28, 2011

fixed now,another iOS5 issue,when drag the first icon quickly move toward to the last icon, it crash.
HSImageSidebarView.m line 591 [imageViews insertObject:viewBeingDragged atIndex:newRow];
reason:
2011-10-29 01:08:14.463 Sidebar[2877:f803] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[__NSArrayM insertObject:atIndex:]: object cannot be nil'

guoxj commented Oct 28, 2011

fixed now,another iOS5 issue,when drag the first icon quickly move toward to the last icon, it crash.
HSImageSidebarView.m line 591 [imageViews insertObject:viewBeingDragged atIndex:newRow];
reason:
2011-10-29 01:08:14.463 Sidebar[2877:f803] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[__NSArrayM insertObject:atIndex:]: object cannot be nil'

@bjhomer

This comment has been minimized.

Show comment Hide comment
@bjhomer

bjhomer Oct 28, 2011

Owner

K. If you'll file this in a separate issue, it'll be easier to track. I'll look at it tonight.

Owner

bjhomer commented Oct 28, 2011

K. If you'll file this in a separate issue, it'll be easier to track. I'll look at it tonight.

This comment has been minimized.

Show comment Hide comment
@ghost

ghost Dec 25, 2013

Hello.
Merry Christmas.
I am a new user of your great HSImageSidebarView code, but I see that it still crashes when I drag the 1st item quickly to the last icon.
Please let me know if you fixed it or not.
Thanks.
Cui.

ghost commented Dec 25, 2013

Hello.
Merry Christmas.
I am a new user of your great HSImageSidebarView code, but I see that it still crashes when I drag the 1st item quickly to the last icon.
Please let me know if you fixed it or not.
Thanks.
Cui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment