Giter VIP home page Giter VIP logo

Comments (10)

ReimannSamuel avatar ReimannSamuel commented on June 5, 2024 1

Thank you so much for your support @dmrschmidt

from dswaveformimage.

dmrschmidt avatar dmrschmidt commented on June 5, 2024

Hey @ReimannSamuel,

thanks for reporting this, but I need a little more context to look at this in any meaningful way.

First, which version of the library are you using? Please make sure it is the most recent, v14.2.1.

Once that is confirmed, can you provide a stack trace? And which exact version of iOS 17 are you running and on what device / simulator?

Appreciate your help.

from dswaveformimage.

ReimannSamuel avatar ReimannSamuel commented on June 5, 2024

Thanks for the response @dmrschmidt ,
Im not using the pod , Im using the package dependencies. Im running in iphone 12(iOS version - 17.1.0) . Can i replace the package dependencies with the latest pod?

from dswaveformimage.

dmrschmidt avatar dmrschmidt commented on June 5, 2024

If by pod you mean "CocoaPods", the support for this has been dropped a long while ago. So using Swift Package Manager is definitely the approach to use, yes.
Screenshot 2023-12-08 at 13 52 19

You should make sure that you're on 14.2.1, as there have been various bug fixes which may be the cause of your crash.

If you have been using an older major version, whether you need to do any changes to your code, depends on how you used it. There's migration hints towards the bottom of the README.

Once you are on 14.2.1 and the crash still persists, I can look into it if you provide me with a stack trace of the crash and some context on your code that caused it.

from dswaveformimage.

ReimannSamuel avatar ReimannSamuel commented on June 5, 2024

Thanks for your support @dmrschmidt ,
Version 13.0.2 is working fine in iOS version - 17.1.0

from dswaveformimage.

dmrschmidt avatar dmrschmidt commented on June 5, 2024

OK that's great to hear. I still highly recommend updating to 14.2.1 though, as there have been significant improvements made since 13.0.2.

from dswaveformimage.

ReimannSamuel avatar ReimannSamuel commented on June 5, 2024

Sure @dmrschmidt . I have one more question related to waveforms. Im using the WaveformImage in the tableviewcell. Waveforms keep updating and flickering while scrolling the tableview. Need solution for this issue badly. Please do the needful

from dswaveformimage.

dmrschmidt avatar dmrschmidt commented on June 5, 2024

Right. So the waveform view is not meant to be used for high performance scenarios. The library shouldn't make any assumptions here because everyone's need will vary wildly.

If you're generating and scrolling through a lot of waveforms while maintaining good performance, you should use WaveformImageDrawer directly. Generate the images you need and cache them in a way suitable to your application.

You would then just render them in a standard UIImageView.

from dswaveformimage.

ReimannSamuel avatar ReimannSamuel commented on June 5, 2024

Is there any sample project for this? If yes pls share the github link . It will be more useful for u

from dswaveformimage.

dmrschmidt avatar dmrschmidt commented on June 5, 2024

There currently unfortunately is not, no. And I won't find any time in the near future to do so. I might add something eventually to the example project, but again, it'll be of limited use as UICollectionViews / UITableViews typically get complex in different ways in different apps. This part is also something quite far outside the scope / concerns of this library.

The API for generating the waveform images is illustrated in the README but that's the easy part.

from dswaveformimage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.