Create Graphs & Charts in App with Swift 5 (Xcode 12 | 2023)

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

КОМЕНТАРІ • 68

  • @iOSAcademy
    @iOSAcademy  3 роки тому +2

    Enjoy my teaching style? Learn to build the TikTok App from scratch with my course!
    ios-academy.teachable.com/p/building-tiktok-for-ios

  • @kimdaegyum
    @kimdaegyum 3 роки тому +4

    I've gotten so used to your style of teaching... and I gotta say you're my go-to youtube swift guy. I know that whenever you have videos on something I am gonna get to where I was wanting to go. Thanks a lot man!

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

    Hello @IOS academy ,your video saved me from days of toiling.Jah Bless Bro.Thanks bigtime

  • @theevanator9252
    @theevanator9252 4 роки тому +6

    Thank you very much. I am currently making my own app and all of your vids have improved it amazingly. Could we also see a follow up vid in the future with the further customizability for the graphs?

    • @iOSAcademy
      @iOSAcademy  4 роки тому +1

      Thank you! And sure, will follow up.

  • @gastonpena3
    @gastonpena3 5 місяців тому

    Thanks, great tutorial! do you know if there is a way of setting corner radius to each the donut chart sections?

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

    great video great teaching style

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

    Huge Thanks!

  • @headach09
    @headach09 11 місяців тому

    Thanks for sharing from scrach :)

    • @iOSAcademy
      @iOSAcademy  11 місяців тому

      Thanks for watching!

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

    How would the graph look on a different ios device? What would need to be done to accomplish this for all devices?

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

    I want to make an AreaMark in swiftui, how would I implement it provided I need zoom and pan functionality in it?

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

    Thanks man. Great tutorial.

  • @liangyanyang2091
    @liangyanyang2091 4 роки тому +1

    Excellent video! Could you make another tutorial with different more sophisticated types of charts and graphs. How about this idea for further videos as well: animated charts and graphs

    • @iOSAcademy
      @iOSAcademy  4 роки тому

      Thanks! And absolutely, subscribe and stay tuned :)

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

    Is it possible to have custom tap handlers on the individual parts of the pie chart?

  • @ANILKUMAR-vv1fz
    @ANILKUMAR-vv1fz 3 роки тому

    Nice Video Conent

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

    super video Love it. also can anyone tell me how to give a label for each bar color

  • @Bon.80
    @Bon.80 4 роки тому +1

    Thanks for doing this

    • @iOSAcademy
      @iOSAcademy  4 роки тому

      Your welcome!

    • @Bon.80
      @Bon.80 4 роки тому

      I am going to Purdue next year to study UX design so I downloaded x code to get familiar with another programming language and these videos have helped me out a lot. I was curious if you had a Twitter so I can ask u a few questions over direct messages?

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

    Does the entries.append(BarChartDataEntry(x: x, y: x)) have to conform to Double? If it doesn't, how can we make it conform to another data type?

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

    Can you make video on horizontal bar chart using this same library?

  • @noamif
    @noamif 4 роки тому +1

    Hey mate, Great tutorial again! one question though, how would you recommend persisting the data? userdefaults or using something like realm ?

    • @iOSAcademy
      @iOSAcademy  4 роки тому

      thanks - Realm since its heavier data.

    • @noamif
      @noamif 4 роки тому

      @@iOSAcademy First of all thanks for the reply, would you mind explaining to me shortly how you'd go about doing that? i've been scouting the net for WEEKS and i simply cannot find a way to save data!

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

    If I wanted to create a line chart with two data points (which would be two extremes), how could I draw a line across each axis to them so that I could also get the mid-point. I would also like to have the mid-point highlighted.

  • @dipenpanara9094
    @dipenpanara9094 4 роки тому

    Great tutorial

  • @iphoneultra
    @iphoneultra 4 роки тому

    hello, I can't find a video on that. can you teach us how to add dynamically user's data (date on x-axis, data on y-axis) and save to UserDefaults? ChartDataEntry date type is confusing for me. subbed..

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

    please can you explain to us, how can we put x label

  • @reinerwahnsinn4037
    @reinerwahnsinn4037 4 роки тому +1

    Am I allowed to use this in apps i want to publish? Do i have to Name somebody When submitting? Who is the owner of this Framework? Thank you

    • @iOSAcademy
      @iOSAcademy  4 роки тому +1

      Yes you can use it! Its open source, take a look at the github page.

  • @alasdaircook6161
    @alasdaircook6161 4 роки тому

    Once again, great video. Question: Could you please give me a pointer for how I could embed the chart in a collection view? The idea would be to have a collection view of charts and when you tap it it opens up a new VC with the chart filling the screen. Thanks!

    • @iOSAcademy
      @iOSAcademy  4 роки тому +1

      Thanks! You basically need a custom collection cell that has a chart. Add a public interface to configure it with data. Make sure to like and sub!

    • @alasdaircook6161
      @alasdaircook6161 4 роки тому

      @@iOSAcademy great, thanks!

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

      hi. i’d like to do a line chart but it won’t have a lot of data points. i suppose it’s very complicated to program a smoothing of the line graph as the points are plotted.

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

    hey is there any tutorial of your to create custom guages?

  • @rand-em6zi
    @rand-em6zi 4 роки тому

    Can you please suggest how to add axis titles and scale the data for line charts

    • @iOSAcademy
      @iOSAcademy  4 роки тому

      There is a x-axis and y-axis property off of the chart that you can set values to

  • @introvert9639
    @introvert9639 4 роки тому +1

    hi afraz have you tried creating apps without story board

    • @iOSAcademy
      @iOSAcademy  4 роки тому

      Yes! I usually don't use storyboards professionally - all code all the time :)

    • @introvert9639
      @introvert9639 4 роки тому

      iOS Academy then probably you should create some tutorials without storyboard too

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

    Hi, I am using a M1 MacBook, while I can install the podfile using rosetta, I run into problem during building. Does anyone have the same issue?

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

    Hi signed up to be a Patreon so that I can get access to some of the source code from iOS Academy. When I tried to get into the Patreon account, I am unclear as to how I can get access to the source code. I left you a message in the Patreon section, and urge you to please read it, and reply.

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

    How i add stroke slices?

  • @preetirathore6033
    @preetirathore6033 4 роки тому

    Can you help me with the stacked bar chart

    • @iOSAcademy
      @iOSAcademy  4 роки тому

      What do you need help with?

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

    How would you add timestamp from Firestore, as the data for a barchart?

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

      Also overall this was an excellent, informative video and I appreciated it a lot!

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

      Thanks! Id use date formatters

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

      Thank you! Would I be able to personally contact you in someway? I’m not sure how to use date formatters or what they are 😬

  • @alasdaircook6161
    @alasdaircook6161 4 роки тому

    Hi, how would we add this to an already existing project?

    • @iOSAcademy
      @iOSAcademy  4 роки тому

      Just bring in the framework via Cocoapods or some other method and implement it :)

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

    can I have docs for this ? , nice video anyways

  • @meowzart5995
    @meowzart5995 4 роки тому +1

    Can u do this in swiftui?

    • @iOSAcademy
      @iOSAcademy  4 роки тому

      Yes, coming soon, stay tuned and subscribe

    • @iphoneultra
      @iphoneultra 4 роки тому

      @@iOSAcademy hello, I can't find a video on that. can you teach us how to add dynamically user's data (date on x-axis, data on y-axis) and save to UserDefaults? ChartDataEntry date type is confusing for me. subbed..

  • @sudianto2069
    @sudianto2069 4 роки тому +1

    Let me try your tutor

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

    It would have been better if you've prepared the chart data set and just copy/pasting that in your code instead of spending time coding the sample data set.

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

    yo if you're going to demonstrate using a third party tool cocaopods, then fucking show how to install charts. Ffs