Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8843555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:15:13+00:00 2026-06-14T11:15:13+00:00

I recently added a UICollectionView to my storyboard, it’s currently pushed into view by

  • 0

I recently added a UICollectionView to my storyboard, it’s currently pushed into view by another view and this appears to be working fine however, using the storyboard editor i set the view to contain 35 cells which in the editor look fine, but when i run the app the cells are invisible. Some of the cells have UIButtons inside and these don’t render either.

To double check the view was rendering i changed the background colour in the editor and ran it again, the colour updated correctly. Am i right in assuming that the setup should automatically render the cells without me having to run any delegate code if they have been setup in the editor?

Any help would be appreciated.

Thanks

EDIT—-

Ok i have implemented the appropriate delegate methods in my second view controller that then pushes a segue to bring up the collectionview controller, i also added the to my second view controller header file and added the following code to the .M file:

// number of sections for the view
- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView{
    return 1;
}

// numbers of items in section
- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section{
    return 1;
}

// cell to return (uses the custom identifier of the cell in the storyboard)
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath{

    UICollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:@"quickNoteCell" forIndexPath:indexPath];
    return cell;
}

I have also made sure the identifier in the cell on the storyboard uses the quickNoteCell, and changed its default colour to blue, however i am still not seeing the cell any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T11:15:14+00:00Added an answer on June 14, 2026 at 11:15 am

    Like Jay said, put the line here under your @interface and it should work. Nothing is wrong in the code you posted.

    <UICollectionViewDelegate, UICollectionViewDataSource>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We recently added a feature to our software that requires .NET 2.0 SP2. This
I recently added some css to my website, it works perfectly fine in all
I've recently added this little bit of code to my .htaccess file: RewriteCond %{REQUEST_FILENAME}
I have recently added a project to Heroku. However, none of the .css files
I've recently added testing through CMake to one of my projects. I've done this
I've recently added Microsoft Unity to my MVC3 project and now I'm getting this
I recently added the Glimpse Debugger package to my project. This added a reference
Apple recently added a new constant to the CIDetector class called CIDetectorTracking which appears
I recently added jQuery mobile to my website. However, the jQuery theme broke my
I recently added an extra authentication backend to allow users to login using either

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.