[{"data":1,"prerenderedAt":84},["ShallowReactive",2],{"content-query-jayH2grb46":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":7,"date":9,"aliases":10,"body":13,"_type":75,"_id":76,"_source":77,"_file":78,"_stem":79,"_extension":80,"bodyHtml":81,"year":82,"month":83,"day":83},"/archive/2016/03/03/the-path-of-most-resistance","2016",false,"","The Path of Most Resistance","2016-03-03T00:00:00.000Z",[11,12],"/blog/2016/3/3/the-path-of-most-resistance","/2016/03/03/the-path-of-most-resistance",{"type":14,"children":15,"toc":71},"root",[16,25,40,45,66],{"type":17,"tag":18,"props":19,"children":21},"element","h2",{"id":20},"sometimes-there-just-isnt-a-good-shortcut",[22],{"type":23,"value":24},"text","Sometimes There Just Isn't a Good Shortcut",{"type":17,"tag":26,"props":27,"children":28},"p",{},[29,31,38],{"type":23,"value":30},"Because of a mix of API limitations in the forms library that we're using, how ",{"type":17,"tag":32,"props":33,"children":35},"code",{"className":34},[],[36],{"type":23,"value":37},"UITableView",{"type":23,"value":39}," works, and several other factors, I determined early this morning that getting exactly the design that I'd been handed into the app would be hard to get looking right, and the easy options that I could think of were either hacks or cheats.",{"type":17,"tag":26,"props":41,"children":42},{},[43],{"type":23,"value":44},"I talked to the designer, and she agreed most of the bad options were bad. A few were potentially worth investigating, but had solid arguments for every part of what made the original design hard to implement.",{"type":17,"tag":26,"props":46,"children":47},{},[48,50,56,58,64],{"type":23,"value":49},"So in the end, I took a swing at doing it the hard way. When I started in I ran into some issues like Xcode not wanting to build after a ",{"type":17,"tag":32,"props":51,"children":53},{"className":52},[],[54],{"type":23,"value":55},"pod update",{"type":23,"value":57}," for reasons involving the derived data folder and then strange animation glitches due to libraries not getting along. After I cleared those, getting the screen looking and working right ended up being easier than I'd feared, the forms library was only ",{"type":17,"tag":59,"props":60,"children":61},"em",{},[62],{"type":23,"value":63},"slightly",{"type":23,"value":65}," difficult about the fact that I mangled the view hierarchy that it expected.",{"type":17,"tag":26,"props":67,"children":68},{},[69],{"type":23,"value":70},"I ended up eating more time than I'd have liked, I hope to have the feature in review first thing tomorrow whereas I wanted to have it done today, but I I have to admit that it does look great in motion as designed.",{"title":7,"searchDepth":72,"depth":72,"links":73},2,[74],{"id":20,"depth":72,"text":24},"markdown","content:archive:2016:2016-03-03-the-path-of-most-resistance.md","content","archive/2016/2016-03-03-the-path-of-most-resistance.md","archive/2016/2016-03-03-the-path-of-most-resistance","md","\u003Ch2 id=\"sometimes-there-just-isnt-a-good-shortcut\">Sometimes There Just Isn't a Good Shortcut\u003C/h2>\u003Cp>Because of a mix of API limitations in the forms library that we're using, how \u003Ccode class=\"\">UITableView\u003C/code> works, and several other factors, I determined early this morning that getting exactly the design that I'd been handed into the app would be hard to get looking right, and the easy options that I could think of were either hacks or cheats.\u003C/p>\u003Cp>I talked to the designer, and she agreed most of the bad options were bad. A few were potentially worth investigating, but had solid arguments for every part of what made the original design hard to implement.\u003C/p>\u003Cp>So in the end, I took a swing at doing it the hard way. When I started in I ran into some issues like Xcode not wanting to build after a \u003Ccode class=\"\">pod update\u003C/code> for reasons involving the derived data folder and then strange animation glitches due to libraries not getting along. After I cleared those, getting the screen looking and working right ended up being easier than I'd feared, the forms library was only \u003Cem>slightly\u003C/em> difficult about the fact that I mangled the view hierarchy that it expected.\u003C/p>\u003Cp>I ended up eating more time than I'd have liked, I hope to have the feature in review first thing tomorrow whereas I wanted to have it done today, but I I have to admit that it does look great in motion as designed.\u003C/p>",2016,3,1722847701225]