GithubHelp home page GithubHelp logo

Comments (7)

hretarekar avatar hretarekar commented on August 15, 2024

Shouldn't scrollViewProxy property be strong instead of weak? When it is set in initWithCoder, ARC will release the value and set it back to nil as there is nothing at this point which retains it.

from slacktextviewcontroller.

dzenbot avatar dzenbot commented on August 15, 2024

Is this reproduceable in the sample project, on your end?
Doesn't happen here.

The scrollViewProxy property is meant to be weak since it's just referring to strong properties like tableView or collectionView. Will try to diagnose the issue soon.

from slacktextviewcontroller.

hretarekar avatar hretarekar commented on August 15, 2024

Cool. Will test it and let you know if there are any issues. Thanks.

from slacktextviewcontroller.

cassidyclawson avatar cassidyclawson commented on August 15, 2024

Hi @dzenbot and @hretarekar,

I'm so excited to use this pod but I'm afraid I am still experiencing this same crash as hretarekar, even on the latest release. It's the same log trace except a few of the line numbers have changed slightly.

I cannot reproduce the problem in the sample project. Perhaps you can shed some insight based on my circumstance:

  • I am programmatically instantiating my viewcontroller with a xib file.
  • I have an IBOutlet from the tableview in my xib to my viewcontroller.

I have experimented with including and tweaking the following methods but could not get anywhere:
+ (UITableViewStyle)tableViewStyleForCoder:(NSCoder *)decoder
- (id)initWithCoder:(NSCoder *)aDecoder
- (void)commonInit

Any advice?

from slacktextviewcontroller.

Fanghao avatar Fanghao commented on August 15, 2024

Hit the same crash when upgrade to 1.7.
Works fine on 1.5 and 1.6 tho.

from slacktextviewcontroller.

dzenbot avatar dzenbot commented on August 15, 2024

@cassidyclawson you are not supposed to have a tablview in your xib nor liking it with an IBOutlet.
Are you doing the same @Fanghao

The current Interface Builder is actually a trick: you can't layout outlets on it since all the subviews are created programatically.

from slacktextviewcontroller.

Fanghao avatar Fanghao commented on August 15, 2024

no. I am doing it all programmatically.

Just try 1.7.1, and it works. Really dunno what's the problem.

from slacktextviewcontroller.

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.