Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Did you consider simply adding a loud comment saying that the function setUUID is only for internal use and should not be called by user code? Commented Apr 16, 2016 at 13:52
  • 2
    It's how I have this now. But.. adding a "loud comment" doesn't seems a good design, don't you think? Commented Apr 16, 2016 at 13:59
  • I dont know. I am not sure that all the design aspects of some software can go into code only. Sometimes comments are needed. Commented Apr 16, 2016 at 14:11
  • Make it private if the code loading the textures is in your class, or make it private and use a "friend" declaration if it is not in your class, assuming that there is one particular class loading the textures. Commented Apr 19, 2016 at 7:51
  • @FrameBuffer: "Load comments" are considered good design in Objective-C :-) Commented Apr 19, 2016 at 7:52