iOS Question Name of Object(view)

Discussion in 'iOS Questions' started by narek adonts, Mar 24, 2015.

  1. narek adonts

    narek adonts Well-Known Member Licensed User

    Hi,

    Is there a way to get the name of an object/view by code during app running?

    Narek
     
  2. klaus

    klaus Expert Licensed User

    No.
    What exactly do you want to do?
     
  3. narek adonts

    narek adonts Well-Known Member Licensed User

    I have a lot of Labels and a part of them are with the same declared name.
    I want to get these labels.

    I am thinking to use a list to store them but it will take to much memory.

    Narek
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    It will not take any memory. The list will just hold a pointer to each of the views. Unless you are creating more than 1 million views it will be insignificant.
     
Loading...
  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