LAND-VEHICLE DESIGN TOOL
Home
InterUnit-UI
Contact
Open Positions
InterUnit-UI on wxWidgets
InterUnit-UI on Win32
InterUnit-UI on MacOS
InterUnit-UI on Linux
InterUnit-UI on Android
InterUnit-UI on iOS
InterUnit-UI on a Web-app
Bicycle-trailer (planned)
Land-vehicle construction
Events
Appendix A
Appendix B
Appendix C
Privacy Policy
LAND-VEHICLE DESIGN TOOL
Home
InterUnit-UI
Contact
Open Positions
InterUnit-UI on wxWidgets
InterUnit-UI on Win32
InterUnit-UI on MacOS
InterUnit-UI on Linux
InterUnit-UI on Android
InterUnit-UI on iOS
InterUnit-UI on a Web-app
Bicycle-trailer (planned)
Land-vehicle construction
Events
Appendix A
Appendix B
Appendix C
Privacy Policy
More
  • Home
  • InterUnit-UI
  • Contact
  • Open Positions
  • InterUnit-UI on wxWidgets
  • InterUnit-UI on Win32
  • InterUnit-UI on MacOS
  • InterUnit-UI on Linux
  • InterUnit-UI on Android
  • InterUnit-UI on iOS
  • InterUnit-UI on a Web-app
  • Bicycle-trailer (planned)
  • Land-vehicle construction
  • Events
  • Appendix A
  • Appendix B
  • Appendix C
  • Privacy Policy
  • Home
  • InterUnit-UI
  • Contact
  • Open Positions
  • InterUnit-UI on wxWidgets
  • InterUnit-UI on Win32
  • InterUnit-UI on MacOS
  • InterUnit-UI on Linux
  • InterUnit-UI on Android
  • InterUnit-UI on iOS
  • InterUnit-UI on a Web-app
  • Bicycle-trailer (planned)
  • Land-vehicle construction
  • Events
  • Appendix A
  • Appendix B
  • Appendix C
  • Privacy Policy

InterUnit-UI on iOS -- Swift (UIKit)

Swift on UIKit

Approximate Implementation Notes


class EngagementManager : UIView

struct SInterUnit 

(base functions and data needed by all InterUnits

to interface with the EngagementManager)

protocol PInterUnit

(additional functions required for all concrete InterUnits.

All concrete InterUnits are SInterUnits that implement PInterUnit)

1. Frame-buffer access

override UIView::draw(_:)

{

UIGraphicsGetCurrentContext()

UIGraphicsPushContext(_:)

(draw the InterUnit stack in back to front order)

UIGraphicsPopContext()

}

--- x --- x ---

2. User-input response 

UIPress

(UIKit sends this general purpose descriptive object to the UIView

for keyboard, mouse and touch events)

UIView::setNeedsDisplay(_:) 

(request for a draw, full or partial)

Copyright Khitchdee Design (OPC) Private Limited 2025

  • Home
  • InterUnit-UI
  • Contact
  • Open Positions
  • Bicycle-trailer (planned)

This website uses cookies.

We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.

DeclineAccept