Swift iOS Half sheet view controller - UISheetPresentationController

Поділитися
Вставка
  • Опубліковано 27 жов 2024

КОМЕНТАРІ • 10

  • @dheerajmansukhani9493
    @dheerajmansukhani9493 Рік тому

    You are working hard and showing less. If you are teaching to make sheet by scratch. write it down on title of video. Great work man. Respect

  • @6957-c5k
    @6957-c5k 2 роки тому

    Love your teaching style man. You make me want to teach

  • @spicexdream
    @spicexdream 2 роки тому

    I love your video format, editing and teaching style, all perfect!

    • @swiftarcade7632
      @swiftarcade7632  2 роки тому

      Thank you so much spicedream. Really appreciate it. Put a lot of work into these. Glad you found them and enjoy them. All the best - Jonathan

  • @sahilsisgain7027
    @sahilsisgain7027 2 роки тому

    I already knew this functionality, I was just here to check my code whether I am doing it the right way or not. I found your style of teaching very soothing to the ears. Thank you for helping others. Share your Twitter handle for more frequent insight regarding iOS development.

  • @vladc.5311
    @vladc.5311 2 роки тому

    omg this video is so good

  • @philipmurray4065
    @philipmurray4065 Рік тому

    How can I dismiss this sheetpresentation when i click the back button of the mainVc it is on? I tried this method but didn't work
    override func viewWillDisappear(_ animated: Bool) {
    super.viewWillDisappear(animated)
    if isMovingFromParent {
    if let parentVC = parent as? RecipeResultsVC,
    let sheet = navigationController?.sheetPresentationController {
    sheet.delegate = parentVC
    navigationController?.dismiss(animated: true, completion: nil)
    }
    }
    }

  • @tokero5199
    @tokero5199 2 роки тому

    Nice video. Why would you make your nib contain the word controller. Your nib i basically the V in MVC, calling it controller is straight up confusing..

    • @swiftarcade7632
      @swiftarcade7632  2 роки тому +1

      Good question John. I hear what you are saying. Yes this is a View. But it is also a controller. This nib gets presented as a full controller (not just a view). Hence I kept the word controller in the nib name. Thanks for asking!