Coder Social home page Coder Social logo

Comments (5)

jomnius avatar jomnius commented on July 30, 2024

Bumb. Any ideas, anyone? Xcode6 deadline closing in fast...

from samtextview.

soffes avatar soffes commented on July 30, 2024

Well since the error is related to view controllers, I doubt text view is related. Can you provide a sample project reproducing this?

Sam

On Thu, Dec 4, 2014 at 5:52 AM, Jouni Miettunen [email protected]
wrote:

Bumb. Any ideas, anyone? Xcode6 deadline closing in fast...

Reply to this email directly or view it on GitHub:
#25 (comment)

from samtextview.

jomnius avatar jomnius commented on July 30, 2024

Did some more debugging, as I should have in the beginning: crash even with basic UITextView in storyboard, so not connected to SAMTextView. There's something very strange in this project I've inherited.

As it is, case can be closed. Sorry for the trouble!

from samtextview.

jomnius avatar jomnius commented on July 30, 2024

Found the problem: storyboard contained a toolbar that was set to textView.inputAccessoryView in code. Worked ok with Xcode5, but crashes with Xcode6. Problem has nothing to do with SAMTextView, therefore this case can be closed. Sorry for the trouble!

from samtextview.

jomnius avatar jomnius commented on July 30, 2024

Well, one more time with the fix: I still create toolbar in storyBoard (I'm visual person, things are easier when I see them), but I "reset" the parentViewController with a call to removeFromSuperview. Seems to work.

@property (weak, nonatomic) IBOutlet UIToolbar *keyboardToolbar;
[self.keyboardToolbar removeFromSuperview];
self.feedbackText.inputAccessoryView = self.keyboardToolbar;

from samtextview.

Related Issues (16)

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.