Selection and PieCharts in iOS 17

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024

ความคิดเห็น • 28

  • @parietal100
    @parietal100 ปีที่แล้ว +3

    Once again an excellent overview of these features in chart creation. Very much appreciated.

  • @JoromeAX
    @JoromeAX 8 วันที่ผ่านมา

    Thank you!

  • @abdouett3676
    @abdouett3676 ปีที่แล้ว +2

    Thank you for sharing the video!

  • @andrejkling3886
    @andrejkling3886 ปีที่แล้ว +1

    Thank you so much Stewart…🎉

  • @alperencetin
    @alperencetin ปีที่แล้ว +2

    Awesome video, thanks.

  • @brianjordan2418
    @brianjordan2418 ปีที่แล้ว

    Great video! I’m looking forward to a video about freestanding macros!

  • @brucknerdevilliers
    @brucknerdevilliers 6 หลายเดือนก่อน

    Fantastically thorough and thoroughly fantastic. One small issue though, running Xcode 15.3 beta and I can't seem to get any console output from the 'selectedCount' change. Maybe a setting?

    • @StewartLynch
      @StewartLynch  6 หลายเดือนก่อน

      What time in the video are you trying to see this in. Are you using the Simulator or Preview?

    • @brucknerdevilliers
      @brucknerdevilliers 6 หลายเดือนก่อน +1

      @@StewartLynch OK, just saw that there is the option in the console to see Preview output. Apologies for bugging you unnecessarily. Everything is working perfectly!

  • @SanDie-iv5cp
    @SanDie-iv5cp ปีที่แล้ว +1

    Ohh great Video thx, do u have any CRUD APIs video too ?

    • @StewartLynch
      @StewartLynch  ปีที่แล้ว +1

      I will be doing a series for SwiftData in November. However check my channel for not another todo app. It is full of CRUD operations

  • @ABNERJUDE
    @ABNERJUDE 6 หลายเดือนก่อน

    Great Chart video tutorial Stewart. Thanks! What codes can be written to return any selected segment from being expanded, besides having to click on the Live Preview?

    • @StewartLynch
      @StewartLynch  6 หลายเดือนก่อน

      Sorry. I don’t understand the question

    • @ABNERJUDE
      @ABNERJUDE 6 หลายเดือนก่อน

      @@StewartLynch : Sorry for not being clear with my question. In the Donut Chart, after going around of clicking each segment and it gets expanded, the last segment that was selected continued to stay expanded. How can I make that last expanded segment to return to its normal size (not expanded), or how to unselect it so it's not expanded? To make that last segment collapse to its normal size, I have to click on the Live Preview button, to refresh the Preview is the whole chart is back to square one, without any selected/expanded segment. Hopefully I had explained my question clearer this time.

    • @StewartLynch
      @StewartLynch  6 หลายเดือนก่อน

      YOu can add a button somewhere on the view and set the selectedWineType back to nil
      Button("Clear") {
      selectedWineType = nil
      }

    • @ABNERJUDE
      @ABNERJUDE 5 หลายเดือนก่อน

      @@StewartLynch : Thank you for providing this solution, Stewart! More power to you in making these educational tutorial videos . . .

  • @NATAR160
    @NATAR160 หลายเดือนก่อน

    Could u kindly increase ur Xcode font size to like 36? Even at 760p it's a little struggle to see ur code. I don't have eye problem. I watch other channels apart from urs. I prefer channels that i could easily pick out the code with not too good tutorial compared to channels with excellent tutorials but u almost have to be ready to go blind to read the code.
    Also, how do all these channels like Net Ninja, Brad, Derek Banas etc do it such that u could almost close ur eyes n still be able to read their code, but most tutorials in the SwiftUI ecosystem is a struggle n endurance to really see the text.
    I think it's double work to try to understand code n at the same time struggle to even see the code properly.
    NB: of course i meant this for ur subsequent tutorials.

    • @StewartLynch
      @StewartLynch  หลายเดือนก่อน

      What are you watching on? If I increase the size much more there will be too much line wrapping and the code will be difficult to read. I would be interested if others feel the same as I have never had this comment. In fact, the opposite as some want to see the entire code. I try to zoom in on relevant code so you get the context of the code being typed relevant to surrounding code. It is a fine line and you can’t please everyone.

    • @NATAR160
      @NATAR160 หลายเดือนก่อน

      @@StewartLynch Maybe it's XCode thing. I'm using my smartphone n it's a new phone with excellent resolution. Those channels I mentioned use VS Code: perhaps that's where the difference lies.
      Frankly, u one of the best developers content on yt: will always go for ur tutorials.

    • @StewartLynch
      @StewartLynch  หลายเดือนก่อน +1

      Ah, watching on a phone is an issue I would think with any code tutorials. WIth Xcode and SwiftUI, you need to show more content, because you often want to show both the code and the preview so if you enlarged the text, it would look really strange.

  • @josephkessler7222
    @josephkessler7222 หลายเดือนก่อน

    I was wondering if you can help me out. My code is essentially the same as yours, but my charts is moving around when I select it. I've pinpointed it to the onChange. If I comment that out, it doesn't move around. Even if I just have a print statement inside the onChange, the chart moves. Do you know what could be causing that?

    • @StewartLynch
      @StewartLynch  หลายเดือนก่อน

      I am afraid I do not know why this would be the case

    • @josephkessler7222
      @josephkessler7222 หลายเดือนก่อน +1

      @@StewartLynch Thanks for responding. I figured out what it was. I was passing in an array and then computing the data for the chart based on that array. Every time selectedCount would change, it would recompute that data, which would refresh the chart. And I guess since the IDs were different everything would move around.

  • @victorriurean
    @victorriurean ปีที่แล้ว +1