Код: Выделить всё
(
git grep -H -E 'WKWebView\(|SFSafariViewController\(' -- '*.swift' 2>/dev/null
git grep -H -E 'SFSafariViewController alloc|UIWebView alloc' -- '*.m' '*.mm' "*.h' 2>/dev/null
) \
| grep -E '\bWKWebView\(|\bSFSafariViewController\(|\bSFSafariViewController alloc\b|\bUIWebView alloc\b' \
| wc -l
Подробнее здесь: https://stackoverflow.com/questions/797 ... ing-script
Мобильная версия