System Icons, Multi-Color Icons, and SF Symbols in SwiftUI | Bootcamp #6

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

КОМЕНТАРІ • 52

  • @dre5671
    @dre5671 Рік тому +28

    Pro Tip: You can easily add an SF Symbol without having to leave Xcode, and without having to copy/paste.
    After typing
    Image(systemName: “”)
    place your cursor in between the quotes, and click the “+” button in the top right of Xcode (or CMD + Shift + L).
    Next, click the last tab, which looks like a dragon ball lol. This should be the “Symbols” tab.
    Then look up key words like “person”, or “walk”, or “heart”, etc..
    Lastly, when you’ve found the Symbol you’d like, double-click, and Xcode will automatically paste the name for you.
    This is why you placed the cursor between the quotes, although it wasn’t necessary to access the menu.

    • @amandadias2078
      @amandadias2078 Рік тому +2

      Amazing tip!!!! Thank you so much!!!!!!!!!!!!!!

    • @CMessineo
      @CMessineo 7 місяців тому +1

      Awesome tip!

    • @CornuDev
      @CornuDev 5 місяців тому +1

      Thank you😊

    • @barimehdi77
      @barimehdi77 Місяць тому +1

      That actually a great tip thank you

  • @craigcurphey5175
    @craigcurphey5175 3 роки тому +13

    I really appreciate your approach. I learned more in the last day or so than in the last 3 months!

  • @sycrosclips2267
    @sycrosclips2267 Рік тому +2

    So far this course has been absolutely amazing. Im just starting coding and had always thought I would hate it but this course has made it so much more fun as a beginner. Now im actually looking forward to doing more coding in the day. Thank you!

  • @Engazan
    @Engazan 2 роки тому +5

    10:44 you can cgange all colors when u using ".symbolRenderingMode(.palette)" u can then add 2 params to "foregroundColor" or 3 or more depends on icon

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

      Thanks dude.

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

      Looks like we can skip `.symbolRenderingMode(.palette)` now.

  • @mhfs61
    @mhfs61 2 роки тому +15

    Image(systemName: "battery.100.bolt")
    .resizable()
    .symbolRenderingMode(.palette)
    .foregroundStyle(.brown, .gray, .green)
    .aspectRatio(contentMode: .fit)
    .frame(width: 200, height: 200)

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

      That is so cool!

    • @CMessineo
      @CMessineo 7 місяців тому

      Awesome tip and example!

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

    Bro I think u're blessing to me man;I'm almost finish learning swift and next step is going to be learning swiftui in somehow ;so I just found ur channel with shows and teaches clearly the concept nonetheless .Thank you so much man I just subscribed

  • @CMessineo
    @CMessineo 7 місяців тому

    Really fun lesson! Psyched to use these icons in my app!

  • @samichougle
    @samichougle 15 днів тому

    How do I get the frame color to be blue? Love the Bootcamp series!

  • @aykayk07
    @aykayk07 3 роки тому +1

    Hi. I watch your videos from turkey. Your videos are very understandable. Thanks a lot 👍

  • @fbcreativemedia
    @fbcreativemedia 6 місяців тому +1

    In the SF symbols app, the color pallette is missing., Looked everywhere and cannot find an option

  • @joyjain3111
    @joyjain3111 8 місяців тому +1

    Great!!!~

  • @MobilDasturchiUz
    @MobilDasturchiUz 4 місяці тому

    thanks for lessons, very useful

  • @spradohak
    @spradohak Рік тому +1

    you can customize the multicolor icon with .forgroundStyle()

  • @JeckyKA
    @JeckyKA 3 роки тому

    thank you, great video!

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

    Greatest ios tutor!

  • @goransaric9161
    @goransaric9161 7 місяців тому

    If anyone wonders why he doesn't have multicolor circle that's because it goes other way around.
    Click on Show inspector and click middle button Show the rendering inspector(brush icon) and at the top Rendering is set to Automatic by default, click and change to Multicolor.

  • @pierremarais7669
    @pierremarais7669 3 роки тому +1

    Hi great video how can put a SF symbol inside my text, using this to refer to an icon in my text string, thanks let me know if this can be done

    • @SwiftfulThinking
      @SwiftfulThinking  3 роки тому

      Hey Pierre! It would be better to create an HStack and put an Image() (with the icon) next to the Text()!

  • @최승기-g8f
    @최승기-g8f 3 роки тому

    Thank you!! (감사합니다.)

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

    The color item on the top right to change the colors of the multicolor icons does not appear for me.

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

    thanks

  • @ZhengCheng
    @ZhengCheng 3 роки тому +1

    Image(systemName: "heart.fill").font(.system(size:200)).foregroundColor(Color(Literal))

  • @codedbynesta1194
    @codedbynesta1194 3 роки тому

    Thanks man! Actually how can it create set of icons in the same pho (preview) without changing it ? Thanks

    • @SwiftfulThinking
      @SwiftfulThinking  3 роки тому

      Hi Nesta, you can use a Group {} and put multiple views inside it!

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

    Amazing

  • @preuton
    @preuton Рік тому +3

    color literal has been removed.

    • @chrislowe6926
      @chrislowe6926 4 місяці тому

      Try typing Color(#colorLiteral()), and it should give you a little icon to click on to choose the color. I find that I have to type in the last ) again after the icon appears and I’ve chosen a color.

    • @chrislowe6926
      @chrislowe6926 4 місяці тому

      Inside the view, create a color variable and then use that variable where you want.
      let bgColor = Color(#colorLiteral())
      In the image, write
      .foregroundColor(bgColor)
      That way you can use colorLiteral with .foregroundColor

  • @knowledgeispower4953
    @knowledgeispower4953 8 місяців тому

    good bro☺

  • @Денис-ж3ф5р
    @Денис-ж3ф5р 2 роки тому

    I cannot believe I'm allowed to use SwifrUI in production now.

  • @ZhengCheng
    @ZhengCheng 3 роки тому

    .aspectRatio(contentMode: .fit)
    .aspectRatio(contentMode: .fill)
    .scaledToFill()
    .scaledToFit()

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

    Can I get github Link for this project?

  • @ZhengCheng
    @ZhengCheng 3 роки тому

    Image(systemName: "heart")

  • @ZhengCheng
    @ZhengCheng 3 роки тому

    Image(systemName: "heart.fill")

  • @ZhengCheng
    @ZhengCheng 3 роки тому

    Image(systemName: "heart.fill").renderingMode(.original)

  • @Денис-ж3ф5р
    @Денис-ж3ф5р 3 роки тому

    for algorithms

  • @enesozmus
    @enesozmus 5 місяців тому +1

    Image(systemName: "theatermasks")
    .symbolRenderingMode(.hierarchical)
    .foregroundStyle(.blue)
    Image(systemName: "person.badge.plus")
    .symbolRenderingMode(.palette)
    .foregroundStyle(.green, .blue)
    Image(systemName: "shareplay")
    .symbolRenderingMode(.palette)
    .foregroundStyle(.blue, .black)
    Image(systemName: "person.3.sequence.fill")
    .symbolRenderingMode(.palette)
    .foregroundStyle(.blue, .red, .green)