Skip to content

iOS 18 crach #580

@terentyevintaro

Description

@terentyevintaro

Description

Describe your issue here.

What type of issue is this? (place an x in one of the [ ])

  • [ x] bug

Requirements (place an x in each of the [ ])

  • [x ] I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • [ x] I've read and agree to the Code of Conduct.
  • [ x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

SkeletonView Environment:

SkeletonView version:
**Xcode version: 16
**Swift version: 6

*** Assertion failure in -[UICollectionView _updateVisibleCellsNow:], UICollectionView.m:5639
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Expected dequeued view to be returned to the collection view in preparation for display. When the collection view's data source is asked to provide a view for a given index path, ensure that a single view is dequeued and returned to the collection view. Avoid dequeuing views without a request from the collection view. For retrieving an existing view in the collection view, use -[UICollectionView cellForItemAtIndexPath:] or -[UICollectionView supplementaryViewForElementKind:atIndexPath:]. Dequeued view: <MyProject.CategoriesCollectionCell: 0x14818b270; baseClass = UICollectionViewCell; frame = (68.3333 0; 167.5 167.5); layer = <CALayer: 0x60000041c1e0>>; Collection view: <UICollectionView: 0x105121c00; frame = (-152 -6; 304 12); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x600000e97b70>; backgroundColor = <UIDynamicSystemColor: 0x600001789b40; name = systemBackgroundColor>; layer = <CALayer: 0x60000041ad20>; contentOffset: {0, 0}; contentSize: {304, 1055}; adjustedContentInset: {0, 0, 0, 0}; layout: <UICollectionViewFlowLayout: 0x105890e80>; dataSource: <SkeletonView.SkeletonCollectionDataSource: 0x60000190d340>>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions