AM
Size: a a a
AM
D
P
json =
try JSONSerialization.jsonObject(with: data!, options: .mutableContainers)
as! [String: AnyObject]
! [String: AnyObject]
JSONSerialization.jsonObject
?[String: AnyObject]
, что это за конструкция String: AnyObject
?IC
json =
try JSONSerialization.jsonObject(with: data!, options: .mutableContainers)
as! [String: AnyObject]
! [String: AnyObject]
JSONSerialization.jsonObject
?[String: AnyObject]
, что это за конструкция String: AnyObject
?P
json =
try JSONSerialization.jsonObject(with: data!, options: .mutableContainers)
P
P
KM
IC
json =
try JSONSerialization.jsonObject(with: data!, options: .mutableContainers)
IC
IC
PB
KM
PE
KM
KM
KM
PE
DS
struct CustomText: UIViewRepresentable {
var text: NSMutableAttributedString
func makeUIView(context: Context) -> UITextView {
let textView = UITextView()
textView.attributedText = text
textView.isUserInteractionEnabled = true
textView.isScrollEnabled = true
return textView
}
func updateUIView(_ uiView: UITextView, context: Context) {}
}
SсrollView {
CustomText(text: NSMutableAttributedString(string: "Lorem”)
CustomText(text: NSMutableAttributedString(string: "Lorem”)
CustomText(text: NSMutableAttributedString(string: "Lorem”)
…
CustomText(text: NSMutableAttributedString(string: "Lorem”)
}
AM