# TextInputCanvas and iOS

**URL:** <https://ifnotnil.com/t/textinputcanvas-and-ios/1557>\
**Category:** General Programming\
**Created:** [22 February 2021 14:38 UTC](https://ifnotnil.com/t/textinputcanvas-and-ios/1557 "2021-02-22T14:38:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Garry](https://ifnotnil.com/user_avatar/ifnotnil.com/garry/32/2_2.png) [@Garry](https://ifnotnil.com/u/Garry)\
**Post date:** [22 February 2021 14:38 UTC](https://ifnotnil.com/t/textinputcanvas-and-ios/1557/1 "2021-02-22T14:38:00Z")

</div>

This is mostly aimed at @MonkeybreadSoftware since I am currently using his build of the TextInputCanvas but is there any chance that this control can be compiled for iOS now that Xojo iOS now supports plugins?

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://ifnotnil.com/user_avatar/ifnotnil.com/monkeybreadsoftware/32/451_2.png) [@MonkeybreadSoftware](https://ifnotnil.com/u/MonkeybreadSoftware)\
**Post date:** [22 February 2021 16:42 UTC](https://ifnotnil.com/t/textinputcanvas-and-ios/1557/2 "2021-02-22T16:42:06Z")

</div>

iOS would mean a rewrite for iOS.  
Similar code, but UI\* instead of NS\* classes at least.

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [22 February 2021 16:45 UTC](https://ifnotnil.com/t/textinputcanvas-and-ios/1557/3 "2021-02-22T16:45:09Z")

</div>

Does iOS control hierarchy and the various delegates that need to be implemented match up well with the macOS ones ?  
It does seem a big job and IF it were an “officially supported control” …

---

<div class="post-metadata">

**Author:** ![Garry](https://ifnotnil.com/user_avatar/ifnotnil.com/garry/32/2_2.png) [@Garry](https://ifnotnil.com/u/Garry)\
**Post date:** [22 February 2021 17:09 UTC](https://ifnotnil.com/t/textinputcanvas-and-ios/1557/4 "2021-02-22T17:09:43Z")

</div>

What kind of timeframe / financial commitment would that require Christian? I imagine it wouldn’t happen from Xojo since they haven’t publicly touched the GitHub repo for quite some time.

I think there’s a lot of value in it for iOS.

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://ifnotnil.com/user_avatar/ifnotnil.com/monkeybreadsoftware/32/451_2.png) [@MonkeybreadSoftware](https://ifnotnil.com/u/MonkeybreadSoftware)\
**Post date:** [22 February 2021 17:34 UTC](https://ifnotnil.com/t/textinputcanvas-and-ios/1557/5 "2021-02-22T17:34:15Z")

</div>

I am just doing this on request by clients. Usually one of the bigger clients needs it and doesn’t bother putting a few hours into something like this.

Not sure, but I would budget a day for an iOS rewrite.

---

<div class="post-metadata">

**Author:** ![Garry](https://ifnotnil.com/user_avatar/ifnotnil.com/garry/32/2_2.png) [@Garry](https://ifnotnil.com/u/Garry)\
**Post date:** [22 February 2021 17:38 UTC](https://ifnotnil.com/t/textinputcanvas-and-ios/1557/6 "2021-02-22T17:38:20Z")

</div>

Interesting.

How close a port do you think you could make it for iOS? I have a complex subclass of TextInputCanvas (essentially a code editor). Could you mimic the class sufficiently on iOS to make an iOS port of my subclass viable?
