Posts

Post marked as solved
5 Replies
// how I worked around Scanner.'scanUpTo(_:into:)' being deprecated in iOS 13.0 public func extractLinesFrom(string: String) -> [String] { var result: [String] = [] let scanner = Scanner(string: string) while scanner.isAtEnd == false { guard let line = scanner.scanUpToCharacters(from: .newlines) else { return result } result.append(line) } return result }The API drops the need for NSString local variable as well as makes use of optional return type so we can bail out early.
Post not yet marked as solved
5 Replies
A Block Cursor was not the problem. I reset it back to Vertical Bar Cursor, and still have hangs in .playgrounds upon saving. All The Time. Xcode 11 beta 7 on Mojave 10.14.6.
Post not yet marked as solved
5 Replies
OMG, I have the same problem with Xcode 11 beta 7 on Mojave 10.14.6, and I JUST SET MY CURSOR TO BLOCK CURSOR. If this is the problem, and if "Vertical Bar Cursor" is the solution, I will report back. Several people are experiencing this problem in Sept. 2019.
Post not yet marked as solved
4 Replies
Same here. Xcode 11 beta 7 hangs all the time when saving a .playground.I'm not running Catalina. I'm running Mojave 10.14.6.I've tried resetting xcode-slect -r path, deleting /Library/Developer completely, reinstalling Xcode, and reinstalling Command Line Tools. Many crash reports filed with-[NSDocument(NSDocumentSaving) _writeSafelyToURL:ofType:forSaveOperation:error:] + 28 (AppKit + 11911858) [0x7fff3a43a2b2] 1-29.something called IDEPegasusPlaygroundEditor is failing.Xcode 11 beta 7 is completely unusable on my machine (for playgrounds). For Projects it works fine.