iEvan

Member

Last active 5 weeks ago

  1. 5 weeks ago
    Wed 16 Jan 2019 04:02:06 AM CET
    iEvan started the conversation Accessing variable from function.

    Hi. I've never used this site before so I've never started a conversation before. I had a little problem and I was seeing if there was a solution to it. In Xcode, I have a custom segment controller, and in that code, I have a way to detect which index it is on. That code is inside of a function. I was wondering if there was a way to add the variable of the index to a struct so I can access it in another file. Or just access the variable without the struct. Thanks for any ideas!

  2. Wed 16 Jan 2019 03:57:32 AM CET
    iEvan joined the forum.