Code Monkey home page Code Monkey logo

Comments (16)

markcdb avatar markcdb commented on May 10, 2024

+1 for this

from chipagecontrol.

aaronmusa avatar aaronmusa commented on May 10, 2024

up

from chipagecontrol.

chili-ios avatar chili-ios commented on May 10, 2024

hey guys,
Could you please send steps to reproduce the issue?

from chipagecontrol.

Powersel avatar Powersel commented on May 10, 2024

Same problem. Unfortunately, issue has random origin. Key point it's to show CHILPageControl item on screen and work with it, after, when I release (navigation stack) this screen crash can appears at any time.

from chipagecontrol.

Powersel avatar Powersel commented on May 10, 2024

PS. Extra info, in my project any entity of CHIPageControlChimayo doesent deallocated. Both options, if UI element created as outlet or programmatically.

from chipagecontrol.

chili-ios avatar chili-ios commented on May 10, 2024

hey @Powersel ,
Does your viewcontroller deallocate? I've made some tests in demo project even with CHIPageControlChimayo and everything works as expected and pageControl gets deallocated.

from chipagecontrol.

Powersel avatar Powersel commented on May 10, 2024

@chili-ios Hello, yep, all UI elements at top layer are trying to dealloc. In my case UICollectionCell trys to dealloc, calls deinit func and at this time my custom subclass ( parental class is CHIPageControlChimayo) are creates this error.

from chipagecontrol.

chili-ios avatar chili-ios commented on May 10, 2024

@Powersel,
Can you please provide a code example?
I've tried to make a subclass of CHIPageControlChimayo and it deallocates as expected when viewcontroller deallocates.

from chipagecontrol.

Powersel avatar Powersel commented on May 10, 2024

@chili-ios Can we move to Skype, Hangouts, Slack? It will be more comfortable.

from chipagecontrol.

chili-ios avatar chili-ios commented on May 10, 2024

@Powersel,
My skype - igors.nemenonoks

from chipagecontrol.

Banck avatar Banck commented on May 10, 2024

Hello!
Is there any news?

from chipagecontrol.

chili-ios avatar chili-ios commented on May 10, 2024

We have investigated the issue and can’t reproduce it. Could anyone help with the scenario? Seems like it’s a retain cycle or something like that.

from chipagecontrol.

SatbirTanda avatar SatbirTanda commented on May 10, 2024

+1 I am seeing this too -[CHIPageControl.WeakProxy updateFrame]: unrecognized selector sent to instance 0x282a3d0e0

from chipagecontrol.

chili-ios avatar chili-ios commented on May 10, 2024

We still need a working example of this bug. It seems that you have a retain cycle or something similar.

from chipagecontrol.

SatbirTanda avatar SatbirTanda commented on May 10, 2024

I solved this by commenting out

    internal func setupDisplayLink() {
//        self.displayLink = CADisplayLink(target: WeakProxy(self), selector: #selector(updateFrame))
//        self.displayLink?.add(to: .current, forMode: .common)
    }

//    @objc internal func updateFrame() {
//        self.animate()
//    }

from chipagecontrol.

papipons avatar papipons commented on May 10, 2024

Can't replicate the issue anymore. Closing this issue.

from chipagecontrol.

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.