Andrew Poes
Andrew Poes
Changing to as? seems to work ``` if (current as? U) != element { self.append(current) } ```
Sounds reasonable – I'll look into adding the functionality.
Thanks for getting back. It's been a while since I played around with this. I'll dig through my code samples and see if I can track it down.
Scratch previous suggestion, looks like it can be simplified: `CGFloat centerY = CGRectGetHeight(self.bounds) * 0.5 - CGRectGetHeight(layoutRect) * 0.5; glyphRect.origin.y += centerY;` Not sure what `CGPoint location = [self.layoutManager locationForGlyphAtIndex:glyphIndex];`...
You don't need to drag the xcodeproj to your project. All you need to do is add the source files and make sure they're targeted to your target.
@sebastiaanluca you can still add exswift as a submodule! Just add the repo as a submodule, but when adding to your project, just drag the source code in.
I don't know if this will help anyone, but I was running into a strange behavior where if a video player goes off screen, I called "endProcessing" but the reader...
Looks like cancelProcessing has been added to help mitigate this issue
Running into the same issue.