iOS Question Class vs Static Code

Discussion in 'iOS Questions' started by Semen Matusovskiy, May 18, 2019.

  1. Semen Matusovskiy

    Semen Matusovskiy Well-Known Member Licensed User

    Hi, guys ---

    I think about moving some common subroutines from modules (StaticCode) to class.
    There is no technical need. I simply want to collect subroutines together.

    Do I understand correctly that similar action affects nothing, because internally classes and modules are the same (for performance, memory usage) and I will not expand Class Globals ?
  2. Erel

    Erel Administrator Staff Member Licensed User

    The performance and memory footprint of classes and static code modules are the same. In both cases it is insignificant and shouldn't be a factor in your program design.
    techknight likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice