<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">All done. Now to get it past the Apple gatekeepers…<div class=""><br class=""></div><div class=""><img apple-inline="no" id="FFDBEED1-9BB1-4621-A291-B45959AF409D" src="cid:AC70F42C-1932-46AE-BD65-65B740651F48" class=""></div><div class=""><br class=""></div><div class="">Mark<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 29 Jan 2019, at 7:40 PM, Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" class="">mark@webb-johnson.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Good grief, that was painful. Almost as many classes and files in this chat messaging framework as in the whole rest of the project combined.<div class=""><br class=""></div><div class="">After hours and nights of struggling, I’ve finally got a working messaging UI up in the iOS App (both iPhone and iPad).</div><div class=""><br class=""></div><div class="">Now, to implement the actual message content…</div><div class=""><br class=""></div><div class=""><span id="cid:490D5E8B-C257-4FE4-9652-895D5370693C"><PastedGraphic-2.tiff></span></div><div class=""><br class=""></div><div class="">Regards, Mark.</div><div class=""><br class=""></div><div class="">P.S. At least it looks better than Android 😜<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 16 Jan 2019, at 4:46 PM, Geir Øyvind Vælidalo <<a href="mailto:geir@validalo.net" class="">geir@validalo.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class="">Great work, Mark!!! I tried to fix the warnings myself, but it felt like walking through knee deep mud :-D Apple sure isn’t afraid to change their API. It’s probably for the best, but it is quite overwhelming for people like us who isn’t working with these things on a daily basis. <div class="">Hope you get the messaging tab working! Good luck 🍀 </div><div class=""><br class=""></div><div class="">Geir<br class=""><br class=""><div dir="ltr" class="">Sendt fra min iPhone</div><div dir="ltr" class=""><br class="">16. jan. 2019 kl. 09:32 skrev Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" class="">mark@webb-johnson.net</a>>:<br class=""><br class=""></div><blockquote type="cite" class=""><div dir="ltr" class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">I played around with it some, and managed to get the number of warnings down from 550+ to below 100 :-) The bad news is, of course, 80/20 rule that the last 20% are gonna be by far the hardest. But these are warnings, so we may get away with them for some time. Mostly deprecated function interfaces that are still working (but maybe dropped at some point in the future). Some date back to IOS 6, so a little scary...<div class=""><br class=""></div><div class="">I also took the opportunity to fix a couple of niggling issues that have been annoying me. Tidied up the storyboard layouts, fixed a crash on lock/unlock for cars not supporting the function. etc. I’ve committed what I have done so far.</div><div class=""><br class=""></div><div class="">I’ve also started working on a messaging tab (just like the android app). Adding the tab was relatively easy (despite changes in storyboard), but the ‘drop in framework libraries for chat bubbles’ all seem incredibly convoluted. Not 'drop in' at all. I was expecting something to draw the screen for me, and simply give me a method to call to add a chat text message. But, no; these libraries want me to do all the drawing myself. Literally copy-and-paste half a dozen classes from example code, then try to remove dependencies on yet more third party libraries. Good grief… So much more complex than I had hoped, but I am working on it.</div><div class=""><br class=""></div><div class="">Regards, Mark.</div><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 11 Jan 2019, at 4:12 PM, Geir Øyvind Vælidalo <<a href="mailto:geir@validalo.net" class="">geir@validalo.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Mark,<div class=""><br class=""></div><div class="">I totally know what you mean. The changes from Xcode 9.4 to 10 are major. I had to change the build system to «legacy build system» to get the OVMS APP to compile. Unfortunately that is a temporary solution. </div><div class=""><br class=""></div><div class="">I wish I was more fluent in Xcode...</div><div class=""><br class=""></div><div class="">Geir</div><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">11. jan. 2019 kl. 03:01 skrev Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" class="">mark@webb-johnson.net</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Geir,<div class=""><br class=""></div><div class="">I haven’t had time to do anything on the iOS App at all. I did try to get it running on the latest xcode, but many (hundreds of) error messages and a real PITA. Just too much on my plate at the moment to work on it.</div><div class=""><br class=""></div><div class="">There are a bunch of drop-in iOS framework libraries for chat bubble style messaging. I think the UI would be easy.</div><div class=""><br class=""></div><div class="">Regards, Mark.</div><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 11 Jan 2019, at 4:48 AM, Geir Øyvind Vælidalo <<a href="mailto:geir@validalo.net" class="">geir@validalo.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Mark,<div class=""><br class=""></div><div class="">Did you get anywhere with the message-function on iOS-App? Would it be possible to send commands like «stat» and then see the result in the App?</div><div class=""><br class=""></div><div class="">Geir<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">3. jan. 2018 kl. 13:32 skrev Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" class="">mark@webb-johnson.net</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">Geir,<br class=""><br class="">I’m looking after the iOS version. I can build and release for Apple devices, and post updates to iTunes Store.<br class=""><br class="">I have some changes made to enlarge some fields, and I want to add a ‘messages’ function similar to the Android version (to be able to issue commands to both v2 and v3 boxes). Other than that, I don’t have anything outstanding on the iOS version - it seems to support the v3 metrics just fine as is.<br class=""><br class="">If anybody else has any changes to iOS version, please make a pull request on the GitHub and I’ll merge in.<br class=""><br class="">Regards, Mark<br class="">_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.teslaclub.hk" class="">OvmsDev@lists.teslaclub.hk</a><br class=""><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" class="">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br class=""></div></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.openvehicles.com" class="">OvmsDev@lists.openvehicles.com</a><br class=""><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" class="">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.openvehicles.com" class="">OvmsDev@lists.openvehicles.com</a><br class=""><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" class="">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.openvehicles.com" class="">OvmsDev@lists.openvehicles.com</a><br class=""><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" class="">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br class=""></div></blockquote></div><br class=""></div></div></blockquote><blockquote type="cite" class=""><div dir="ltr" class=""><span class="">_______________________________________________</span><br class=""><span class="">OvmsDev mailing list</span><br class=""><span class=""><a href="mailto:OvmsDev@lists.openvehicles.com" class="">OvmsDev@lists.openvehicles.com</a></span><br class=""><span class=""><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" class="">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a></span><br class=""></div></blockquote></div></div>_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.openvehicles.com" class="">OvmsDev@lists.openvehicles.com</a><br class=""><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" class="">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.openvehicles.com" class="">OvmsDev@lists.openvehicles.com</a><br class="">http://lists.openvehicles.com/mailman/listinfo/ovmsdev<br class=""></div></blockquote></div><br class=""></div></body></html>