Code Monkey home page Code Monkey logo

pspdftextview's Introduction

PSPDFTextView

A subclass of UITextView that fixes the most glaring problems from iOS 7 and 7.1.

What's fixed?

  • When adding a newline, UITextView will now properly scroll down. Previously, you needed to add at least one character for this to happen.
  • Scrolling to the caret position now considers contentInset. UITextView completely ignored this.
  • Typing will also consider contentInset and will update the scroll position accordingly.
  • Pasted text will scroll to the caret position.

UITextView:

UITextView

PSPDFTextView:

PSPDFTextView

Read more in my blog post: http://petersteinberger.com/blog/2014/fixing-uitextview-on-ios-7/

License

Taken from the commercial PSPDFKit - a framework for displaying and annotating PDFs in your iOS apps. This class has been relicensed under the MIT license.

pspdftextview's People

Contributors

calimarkus avatar ciechan avatar fillito avatar hpique avatar notorca avatar steipete avatar vfleurima avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pspdftextview's Issues

Text bouncing

I am using it to enter multiline text, but when I have only one line, adding a new letter or deleting one causes the text to bounce.
I am using V1.2.1.

Anyone else experiencing this?

Wrong offset with newlines

The textView scrolls to the wrong offset when reaching the end of texts with newlines. The problem appears to be carectRectForPosition:, which reports the wrong rect for the end of document. See log and animated gif below.

Steps to reproduce:

  1. Use text: @"1\n2\n3\n4\n5\n6\n7\n8\n9\n10"
  2. Run example.
  3. Position cursor at the end. Type Intro. This will already cause a quick glitch.
  4. Move scroll up.
  5. Move scroll down. The offset will be wrong.

bug

Log:

textViewDidChangeSelection
scrollToVisibleCaretAnimated:1
position: <_UITextKitTextPosition: 0x8b7d760> (20F)
caretRect: {{25.920013, 44.860001}, {2, 25.359999}}
scrollToVisibleCaretAnimated:0
position: <_UITextKitTextPosition: 0x8b7d760> (20F)
caretRect: {{25.920013, 221.73999}, {2, 25.359999}}
shouldChangeTextInRange
ensureCaretIsVisibleWithReplacementText
scheduleScrollToVisibleCaretWithDelay
textViewDidChangeSelection
scrollToVisibleCaretAnimated:1
position: <_UITextKitTextPosition: 0x8d68c50> (21F)
caretRect: {{4, 245.59999}, {2, 25.359999}}
textViewDidChange
scrollToVisibleCaretAnimated:0
position: <_UITextKitTextPosition: 0x8d68c50> (21F)
caretRect: {{4, 245.59999}, {2, 25.359999}}
scrollToVisibleCaret
scrollToVisibleCaretAnimated:0
position: <_UITextKitTextPosition: 0x8d68c50> (21F)
caretRect: {{4, 245.59999}, {2, 25.359999}}
textViewDidChangeSelection
scrollToVisibleCaretAnimated:1
position: <_UITextKitTextPosition: 0x8c2d390> (18F)
caretRect: {{4, 221.73999}, {2, 25.359999}}
textViewDidChangeSelection
scrollToVisibleCaretAnimated:1
position: <_UITextKitTextPosition: 0x8d837d0> (21F)
caretRect: {{4, 54.719997}, {2, 25.359999}}

ios6 the cursor does not show

It seems your demo app does not support ios6 but you have code to support it. It seems to be the only problem I have found with ios6

Cocoapods

Hello,

I can't seem to find PSPDFTextView on Cocoapods…
Am I missing something?

Thanks!

Issue with clicking around on textview

When you click on the textview. Dismiss the keyboard. Then click on the text view in another spot. It does not scroll to the right position. It appears the cursor is in the right position but the scrolling is going to the wrong spot.

I reproduced this on the demo app

Placeholder

Any plans for adding in placeholder support?

Text scrolls out of visible rect

First and foremost, thanks for making this library available, it fixes something I'd been working on for a while. Unfortunately, an issue I discovered actually has higher impact than the issue PSPDFTextView solved for me.

I have a textView with autolayout constraints, one of which being it's height, whose constant I modify so it will grow with user input to accommodate several lines of visible text before it starts scrolling. It worked almost perfectly with a UITextView except when newlines were entered. Now, whenever the text wraps to the next line, all the text is scrolled out of the visible CGRect. Perhaps modifying the autolayout height constant is throwing things off, I'm not sure, but other than that I don't manually scrollToRect or anything like that. I uploaded a video comparison so you can kind of watch it in action: http://www.youtube.com/watch?v=wv71vjhda2A&feature=youtu.be. The left shows a PSPDFTextView and the right a UITextView with the same use case applied.

Add tag for recent changes

Please!

I'd be happy to update podspec after release is tagged, but one has to be the owner of the pod to do that.

CocoaPods issue.

pod 'PSPDFTextView'

running pod install returns:
[!] Unable to find a specification for PSPDFTextView.

Compatibility with ReactiveCocoa

PSPDFTextView is supposed to be a 'drop-in' replacement of UITextView. This means that any code that works with UITextView should work with PSPDFTextView.

So technically I should be able to use ReactiveCocoa with it...

@property(strong, nonatomic) NSString *string; // model property
@property(strong, nonatomic) IBOutlet UITextView *textView;  // a PSPDFTextView instance
    ... 
    // in viewDidLoad
    RAC(self, string) = [self.textView rac_textSignal];

The above code works with UITextView but gives me this rather lovely explosion if I try it with PSPDFTextView:

#6  0x00000001001a3c46 in -[PSPDFTextView realDelegate] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:18
#7  0x00000001001a39b3 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#8  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#9  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#10 0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#11 0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#12 0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#13 0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#14 0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#15 0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#16 0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#17 0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#18 0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#19 0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#20 0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#21 0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#22 0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#23 0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#24 0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#25 0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#26 0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#27 0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#28 0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#29 0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#30 0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#31 0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#32 0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#33 0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#34 0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#35 0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#36 0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#37 0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#38 0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#39 0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#40 0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#41 0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#42 0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#43 0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#44 0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#45 0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#46 0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#47 0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#48 0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#49 0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#50 0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87043  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87044  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87045  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87046  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87047  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87048  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87049  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87050  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87051  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87052  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87053  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87054  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87055  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87056  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87057  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87058  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87059  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87060  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87061  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87062  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87063  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87064  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87065  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87066  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87067  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87068  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87069  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87070  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87071  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87072  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87073  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87074  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87075  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87076  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87077  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87078  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87079  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87080  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87081  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87082  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87083  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87084  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87085  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87086  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87087  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87088  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87089  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87090  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87091  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87092  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87093  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87094  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87095  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87096  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87097  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87098  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87099  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87100  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87101  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87102  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87103  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87104  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87105  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87106  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87107  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87108  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87109  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87110  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87111  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87112  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87113  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87114  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87115  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87116  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87117  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87118  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87119  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87120  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87121  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87122  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87123  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87124  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87125  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87126  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87127  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87128  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87129  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87130  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87131  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87132  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87133  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87134  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87135  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87136  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87137  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87138  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87139  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87140  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87141  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87142  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87143  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87144  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87145  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87146  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87147  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87148  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87149  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87150  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87151  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87152  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87153  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87154  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87155  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87156  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87157  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87158  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87159  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87160  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87161  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87162  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87163  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87164  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87165  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87166  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87167  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87168  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87169  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87170  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87171  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87172  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87173  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87174  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87175  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87176  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87177  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87178  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87179  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87180  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87181  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87182  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87183  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87184  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87185  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87186  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87187  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87188  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87189  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87190  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87191  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87192  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87193  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87194  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87195  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87196  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87197  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87198  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87199  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87200  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87201  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87202  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87203  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87204  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87205  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87206  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87207  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87208  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87209  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87210  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87211  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87212  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87213  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87214  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87215  0x00000001001d4bdf in -[RACDelegateProxy respondsToSelector:] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.m:73
#87216  0x00000001001c71e7 in __RACSwizzleRespondsToSelector_block_invoke at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.m:113
#87217  0x00000001001a39d6 in -[PSPDFTextView respondsToSelector:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:198
#87218  0x0000000101e6baa5 in -[UIScrollView setDelegate:] ()
#87219  0x00000001001a2694 in -[PSPDFTextView setDelegate:] at ~/Pods/PSPDFTextView/PSPDFTextView/PSPDFTextView.m:58
#87220  0x000000010022c633 in RACUseDelegateProxy at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UITextView+RACSignalSupport.m:24
#87221  0x000000010022c12b in -[UITextView(RACSignalSupport) rac_textSignal] at ~/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UITextView+RACSignalSupport.m:51

Backspace and scroll makes text jerk when deleting many newlines

First, thanks for fixing most of the iOS7 bugs! Unfortunately, there are still some more.

In the example project, add to the text quite a few simple newlines: \n\n\n\n\n\n\n\n\n\n\. It works also with letters and newlines, such as a\na\na\na\na\n etc.
Launch the app, tap the text.

First, ensure-visible issues:

  1. Text isn't scrolled to bottom, it stays somewhere in the middle.
  2. Second tap also doesn't scroll to bottom even though caret is now there.

Now, start tapping backspace. Newlines are removed, however:

  1. Big text piece from above is flashing at the top of the view right after pressing backspace and disappearing again (as if scrolling up and then down again).
  2. Caret is jumping somewhere up and then down again (I suppose this is the reason for jerking, but it's just a guess).

Important note, this is reproducible only when text is added prior to editing. Adding newlines from keyboard and then removing them does not reproduce the behaviour.

I'm trying to fix it in my app myself right now. If I'm successful, will add a pull request as well.

Unrecognized selector crashes

I'm getting "unrecognized selector" crashes in PSPDFTextView.

-[PSPDFTextView scrollViewDidScroll:]: unrecognized selector sent to instance 0x1641f200

These started after implementing scrollViewDidScroll: in the PSPDFTextView/UITextView (real) delegate, a UIViewController. To reproduce, dealloc the UIViewController while still scrolling.

The stack trace:

screen shot 2014-02-23 at 00 53 00

Looks like it might be a delegate forwarding issue, but after looking at the code I'm not exactly sure what might be causing it.

If I add the following to PSPDFTextView the crashes disappear.

- (void)scrollViewDidScroll:(UIScrollView *)scrollView
{
    if ([_realDelegate respondsToSelector:@selector(scrollViewDidScroll:)])
    {
        [_realDelegate scrollViewDidScroll:scrollView];
    }
}

However, this is a patch that hides the real issue. Any idea of what it might be?

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.