How to Make a CollectionView w/ Custom Cells Programmatically (Swift, UIKit)

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024
  • In this video we will learn how to programmatically create a collectionview and custom cells in UIKit. You will learn all you need
    to get started with UICollectionView and custom UICollectionViewCell UI in swift xcode.
    If this video helped out and you want to see more iOS/Swift videos,
    please consider subscribing.
    If you liked the video, leave a like or comment!
    My Website:
    CodingWithCode...
    If coding is too hard, you can hire me:
    www.fiverr.com...

Комментарии • 15

  • @ngroenke
    @ngroenke Месяц назад

    This is super helpful. It's a very minimalist implementation with all the necessary parts.

  • @ngroenke
    @ngroenke Месяц назад

    Thank you!

  • @vishveshpratapsingh
    @vishveshpratapsingh 9 месяцев назад +1

    those who are facing problem in space in iOS17 just remove the iv.contentMode = .scaleAspectFill
    because take the complete width
    the formula for the spacing is
    height*width/how many parts did you require
    Thank you ...............................

  • @imsudhirpawar
    @imsudhirpawar Год назад +2

    why do you always set the version 13.0?

  • @davidrandom7057
    @davidrandom7057 11 месяцев назад

    @CodeBrah, I am a beginner using CollectionView and I want to make a layout in UICollectionViewCell, and I am wondering if you can make a tutorial about it please 🙏✌

  • @user-le1yi9xs1n
    @user-le1yi9xs1n 10 месяцев назад +1

    please make more videos on IOS development

  • @kuchumovnikita7977
    @kuchumovnikita7977 Год назад

    Finally! Thank you so much❤

    • @Codebrah
      @Codebrah  Год назад

      Np but it’s just a normal collectionview. Not compositional yet

  • @Dohyun_home
    @Dohyun_home 6 месяцев назад

    thanks for your youtube. this is very helpful information about how to use collectionView. i have a qusetion about setting collectionviewcell constraints can i use init(frame: CGRect) { super.init(frame: frame) addSubview(myImageView) setupUI()} this is working. so is it okay?

  • @user-le1yi9xs1n
    @user-le1yi9xs1n 10 месяцев назад +1

    Best

  • @anhhanry7167
    @anhhanry7167 Месяц назад

    you should use 'lazy var...{ }()' instead of using 'private Let ... { }()

  • @rparham1997
    @rparham1997 Год назад

    Can you do tutorials on programmatic UIAlert Controllers?

    • @Codebrah
      @Codebrah  Год назад

      Uploaded! Thx for request

  • @fattoofittoo7907
    @fattoofittoo7907 Год назад

    @CodeBrah, hey bro could you create new tutorial like fetching & Displaying API Data again? please

    • @Codebrah
      @Codebrah  Год назад

      What do you want different in it?