MVVMでiOS12からiOS13への修正を表現する

Created with Sketch.

MVVMでiOS12からiOS13への修正を表現する

前提条件 Model View ViewModelでの表現

Model

そのアプリケーションが扱う領域のデータと手続き

View

ユーザーが見るのに適した形で表示

ViewModel

viewとModelの間の情報の伝達と、viewのためのデータバインディング機構、表示

今回の役目

Modelに値する役割が、Githubのコメント欄でエラーログ、エビデンスを定義

Viewに値する役割が、資料で改善内容をGithubリンクを集約

ViewModelに値する役割が、Github上にあるコード修正差分

bug1.~.4 参考          RARFSlider

bug.5 参考                 SampleGenerambaViper

View

bug1.画面が表示できない

対応方法

add struct RARFStructure

add callBack logic by RARFPickerViewController

add callBack logic

add callBacklogic by VC

bug2.デザインBug 右に緑色の線が表示

これはiOS13からの症状ではないが、iOS13の

AVAssetExportPresetHEVCHighestQualityWithAlphaプロパティを定義した事によって発生しました。

対応方法

change mainComposition.renderSize logic

bug3. TrimButtonでクラッシュする

add DispatchQueue.main.async for alert

bug4. merge処理をした際にクラッシュ

trimButtnを押下、同じ画面でもう1度trimButtnを押下

mergeButtonを押下してクラッシュ

iOS12の場合は、同じ動作を実施しても発生しませんでした。今回はiOS13で起きた挙動を紹介します。

対応方法

add guard aVAssetSecound.tracks(withMediaType: .video).count

add mixComposition init()

bug.5 仕様書のExampleGropの2P項目。下スクロールし、通信取得が出来ない

仕様書

対応方法

add async

change willDisplay logic

貴重なお時間お読み下さいまして、ありがとうございます。

21件の返信

  1. Will より:

    I like it whenever people come together and share ideas.
    Great site, continue the good work! It is perfect time to make a few plans for the long run and it is time to be happy.
    I have read this post and if I could I desire to suggest you some attention-grabbing
    things or advice. Perhaps you can write subsequent articles relating to this
    article. I wish to learn more issues about it! Greetings from Florida!
    I’m bored to death at work so I decided to check out your site
    on my iphone during lunch break. I enjoy the info you present here and
    can’t wait to take a look when I get home. I’m amazed at how fast your blog loaded on my cell phone ..

    I’m not even using WIFI, just 3G .. Anyways, superb
    site! http://car.com

  2. Publissoft より:

    Thank you for the good writeup. It in fact was
    a amusement account it. https://www.publissoft.com

  3. Verna より:

    Thank you for the auspicious writeup. It in fact was a amusement account it. https://www.axeperformance.com

  4. Derrick より:

    There is certainly a great deal to know about
    this topic. I like all the points
    you have made. https://www.myozen.ca

  5. Leora より:

    There?s certainly a great deal to know about
    this subject. I really like all of the points
    you made. https://www.myozen.ca

  6. Andres より:

    I could not resist commenting. Very well written! http://www.osteopathie-canada.ca

  7. checkersmoda より:

    I am sure this article has touched all the
    internet viewers, its really really fastidious
    paragraph on building up new web
    site https://checkersmoda.com

  8. Marissa より:

    Ahaa, its good conversation concerning this piece of writing at
    this place at
    this website https://www.reiva.us

  9. Wow, this piece of writing is fastidious, my sister is analyzing these kinds of things, so I am going to let know her.

  10. Leticia より:

    Ahaa, its fastidious conversation on
    the topic of this piece of writing at this place at
    this webpage https://www.reiva.us

  11. Indira より:

    I am sure this piece of writing has touched all the internet users, its really really fastidious post on building up new
    blog https://courtier-hypothecaire-multi-prets.com

  12. Matt より:

    Way cool! Some extremely valid points! I appreciate you writing
    this
    post and also the rest of the site is extremely good. https://www.lamaisondeguignol.fr

  13. Tanesha より:

    Hello! Do you use Twitter? I’d like to follow you if that would be okay.
    I’m definitely enjoying your blog and look forward to new updates.

  14. Alannah より:

    Way cool! Some very valid points! I appreciate you penning this
    write-up plus the rest of the website is also really good. https://solliart.com

  15. Luigi より:

    I came across this board and I in finding It
    truly helpful & it helped me out a lot. https://www.palmisleskateshop.com

  16. Keeley より:

    Thank you for the good writeup. It in fact was a amusement account it. https://www.forestube.com

  17. Kristen より:

    Hi, just wanted to tell you, I loved this blog post.
    It was helpful. Keep on posting! https://exterminationchomedey.com

  18. Joey より:

    I am not sure where you?re getting your info, but good topic.
    I needs to spend some time learning more or understanding more.

    Thanks for wonderful information I was looking for this information for my mission. http://www.osteopathy-vancouver.ca

  19. Sarah より:

    Hi there, I enjoy reading all of your article.
    I wanted to write a little comment to support you. https://aluminiumgj.com

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です