Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WebRTCリリースで辛かったこと

 WebRTCリリースで辛かったこと

Ken Jumbo Haneda

April 19, 2018
Tweet

More Decks by Ken Jumbo Haneda

Other Decks in Programming

Transcript

  1. 2.׬શͳεΧΠϓͷ୅ସ͡Όͳ͍ ʻAppʼ Ͳ͏͍͏͜ͱ͔ͱ͍͏ͱɾɾɾ myMutableString = NSMutableAttributedString(string: myString, attributes: [NSFontAttributeName:UIFont(name: "Georgia",

    size: 18.0)!]) myMutableString.addAttribute(NSForegroundColorAttributeName, value: UIColor.redColor(),range: NSRange(location:2,length:4)) !!πϥΠϙΠϯτ!!
  2. 2.׬શͳεΧΠϓͷ୅ସ͡Όͳ͍ ʻAppʼ iOS: UILabel͸HTMLܗࣜͰදࣔͰ͖Δ Android: TextView͸HTMLܗࣜͰදࣔͰ͖Δ → HTMLʹཔΖ͏ // kotlin

    label.setText(Html.fromHtml(“<b>text</b>", Html.FROM_HTML_MODE_COMPACT))
 // swift var err:NSError? self.label.attributedText = NSAttributedString( data: htmlText.dataUsingEncoding(NSUnicodeStringEncoding, allowLossyConversion: true), options: [NSDocumentTypeDocumentAttribute:NSHTMLTextDocumentType], documentAttributes: nil, error: &err)
  3. 2.׬શͳεΧΠϓͷ୅ସ͡Όͳ͍ ʻAppʼ iOS: UILabel͸HTMLܗࣜͰදࣔͰ͖Δ Android: TextView͸HTMLܗࣜͰදࣔͰ͖Δ → HTMLʹཔΖ͏ // kotlin

    label.setText(Html.fromHtml(“<b>text</b>", Html.FROM_HTML_MODE_COMPACT))
 // swift var err:NSError? self.label.attributedText = NSAttributedString( data: htmlText.dataUsingEncoding(NSUnicodeStringEncoding, allowLossyConversion: true), options: [NSDocumentTypeDocumentAttribute:NSHTMLTextDocumentType], documentAttributes: nil, error: &err) ͍͍ײ͡ʹͰ͖ͨͷͰ ޙ೔OSSͰެ։͠·͢ skype-IM-kitతͳ
  4. 3. σόΠεࠩҟͱෳ਺ΫϥΠΞϯτͷ؅ཧ ϨΞδϣϒӳձ࿩ (iPhone/iPad/Android/Android Tablet) ๏ਓ޲͚͓΋ͯͳ͠ӳձ࿩ (iPhone/iPad/Android/Android Tablet) WebαΠτ (ੜె༻ɾߨࢣ༻)

    ڞ௨ԽΛ͕Μ͹Δ ڞ௨ϞδϡʔϧԽ android/iosͦΕͧΕͰ2ΞϓϦ͋Δ͚Ͳ1ͭͷιʔεͰ ϏϧυΛ෼͚͍ͯΔɻϨοεϯը໘ɾViewModelͳͲ ͕ͬͪΓڞ༗͍ͯ͠Δɻ ڞ௨ϞδϡʔϧԽ ϝοηʔδϯά෦෼ͳͲΛ ڞ௨Ϟδϡʔϧͱͯ͠෼཭தɺ SPAԽͯ͋͠Δɻ