iOS 14 SwiftUI Tutorial: Unsplash Photo Viewer with Lazy Stacks, iPad Sidebar...

Поделиться
HTML-код
  • Опубликовано: 4 сен 2024

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

  • @andyibanezk
    @andyibanezk 4 года назад +1

    Hi Bryan. Nice video. A few things:
    You can add two arrays together, so you don’t need to iterate over each photo to add them individually to the other array.
    When you using ForEach, you only need to pass in the id: when your type does not conform with identifiable. Since your object conforms to it, you can skip it.
    URL is actually a Codable type, so you can use it in your models and JSONDecoder will happily give you URLs when parsing. This would prevent you from creating the URLs manually at 18:13ish.

  • @donatasaviltis935
    @donatasaviltis935 4 года назад +2

    Good one, as always detailed tutorial. We will wait for new tutorials about iOS & macOS hybrid apps :)

  • @temmy7372
    @temmy7372 4 года назад

    I like how you took your time to release this ...your tutorials are always stunning ...a big fan/student of your tutorials

  • @forrestanderson2885
    @forrestanderson2885 4 года назад

    Excellent tutorial Brian. Yes, I would like to see more tutorials about apps that work on iPhone, iPad and Mac.It is more compelling to load ContentView() or ImageGridView() in the main content area on iPad from outset rather than display text telling the user to select List or Grid from the sidebar. Keep up the great work. You are a very good teacher.

  • @taslimfi
    @taslimfi 3 года назад

    I wish I could give multiple thumbs up for this great tutorial!.

  • @williamdu8777
    @williamdu8777 4 года назад

    I have followed your channel for awhile! Love the tutorials you are having!! I’m a iOS beginner and I found the video is pretty informative! Keep on the great work!!!💪👍

  • @andrejkling3886
    @andrejkling3886 3 года назад

    Thank you Brian for Amazing lessons....

  • @9988khan
    @9988khan 4 года назад

    Finally Got this , im searching lot for using api

  • @9988khan
    @9988khan 4 года назад

    No words to thank you 😊

  • @mkhasson97
    @mkhasson97 4 года назад

    Very nice video, and the explanation is very cool
    As usual, distinct lessons and I hope to see advanced lessons on RUclips or Udemy
    with additional technologies such as iCloud.
    Big Thank 🥰

  • @josiahjots1376
    @josiahjots1376 3 года назад

    In 'Model.swift' I had to set 'var alt_description: String?' as optional since some photos don't have a description; it wasn't loading the json data until I added the '?'

  • @TheCocuroci
    @TheCocuroci 4 года назад +1

    Will you update the course to iOS 14?

  • @DmitryMerva
    @DmitryMerva 3 года назад

    Hi, how to make "List" option in sidebar (video time: 41:56) selected by default without clicking? I can't find solution for this task. This is possible?

  • @bbb-ek1xs
    @bbb-ek1xs 2 года назад

    Hi, teach me to get 5000 request from unspalsh API, I saw unspalsh API documentation, I couldn't do it because there are different conditions

  • @IonWP
    @IonWP 4 года назад

    So, this tutorial works only on Xcode 12?
    I've tried this tutorial on my pc but, at the :
    let json = try JSONDecoder().decode([Photo].self, from: dates)
    for photo in json {
    print("Photo is: \(photo)")
    self.photoArray.append(photo)
    }
    Got an error,
    This is error: typeMismatch(Swift.Array, Swift.DecodingError.Context(codingPath: [], debugDescription: "Expected to decode Array but found a dictionary instead.", underlyingError: nil))
    Can you help, please?

  • @justsomeguywithoutamustach3834
    @justsomeguywithoutamustach3834 4 года назад +1

    I don't know why, but I don't think I'll ever use SwiftUI.