ryh

ryh

@

Member Since 12 years ago

Chengdu, China

Experience Points
16
follower
Lessons Completed
54
follow
Lessons Completed
2.2k
stars
Best Reply Awards
12
repos

5 contributions in the last year

Pinned
⚡ Dedicated app for reading Apple's developer documentation on an iPad or iPhone
⚡ Dates and times made easy in Objective-C
⚡ A golang cmd that provides a client to search Google.
⚡ JSONExport is a desktop application for Mac OS X which enables you to export JSON objects as model classes with their associated constructors, utility methods, setters and getters in your favorite language.
⚡ iTerm2 is a terminal emulator for Mac OS X that does amazing things.
Activity
Jan
22
1 day ago
started
started time in 13 hours ago
Jan
21
2 days ago
Activity icon
issue

ryh issue comment yaslab/CSV.swift

ryh
ryh

Image Support?

Not able to convert base64 string format.

ryh
ryh

It is your job to deal with the content in columns, not the csv parser find another library or stackoverflow.com solution to do that

Jan
18
5 days ago
started
started time in 4 days ago
started
started time in 4 days ago
started
started time in 4 days ago
Jan
17
6 days ago
started
started time in 5 days ago
started
started time in 5 days ago
Jan
15
1 week ago
started
started time in 1 week ago
started
started time in 1 week ago
started
started time in 1 week ago
started
started time in 1 week ago
started
started time in 1 week ago
Jan
12
1 week ago
started
started time in 1 week ago
Jan
6
2 weeks ago
started
started time in 2 weeks ago
started
started time in 2 weeks ago
started
started time in 2 weeks ago
Jan
4
2 weeks ago
started
started time in 2 weeks ago
Dec
25
4 weeks ago
Activity icon
issue

ryh issue comment Zaprogramiacz/GrowingTextView

ryh
ryh

输入问题

中文输入,输入一段后,直接是字母录入,如图. 估计跟替换内容有关吧? IMG_0253

ryh
ryh

Chinese IME (input method) like Pinyin(or any other IME need more than one type to input), use more than one type to input a single unicode character, for example type zi for ,but this View will break the input to "zzi字" by mistake, so he guessed it is maybe something wrong with some replace function.

My own guess is something wrong with the textViewDidChange function I added a log print in textViewDidChange print("\(textView.text)") here is what is showing in log on m1 macOS (hardware keyboard)

Optional("z")
Optional("zi")
Optional("字")
Optional("字")
Optional("字z")
Optional("字zzi")
Optional("字zzi字")

on iPhone with iOS 15.2 (soft keyboard)

Optional("z")
Optional("zi")
Optional("字")
Optional("字")
Optional("字z")
Optional("字zi")
Optional("字zii")

All input with keyboard is z i space z i space

started
started time in 4 weeks ago
started
started time in 4 weeks ago
started
started time in 4 weeks ago
Dec
24
4 weeks ago
started
started time in 4 weeks ago
started
started time in 4 weeks ago
Dec
21
1 month ago
started
started time in 1 month ago
Dec
19
1 month ago
started
started time in 1 month ago
started
started time in 1 month ago
started
started time in 1 month ago
started
started time in 1 month ago
Previous