Esqarrouth/EZSwiftExtensions

Swift 3

J053Fabi0 opened this issue ยท 7 comments

Is this useful with swift 3?

@J053Fabi0 I use it in every single project with almost every single file I write in Swift 3!

Let us know how we can help you ๐Ÿ˜‰

I do not understand your question. Is it to ask whether the library works with swift 3. The answer to that is yes. If you are interested in what value this library adds, you must identify the problem you have with your work and then ask whether there exists an extension here that solves it.

@lfarah Thanks!
And I have a question
How can I reload the ViewController of an app every time it gets open?
For example that I label with the text "Hello World" it becomes "Hello there"
I know it has nothing to do with the question but im tired of looking on the internet and found nothing.

hmmm you don't need to use EZSwiftExtensions for that. Just implement the viewWillAppear:

    override func viewWillAppear(_ animated: Bool) {
        // your code here
    }

When I click home button and open the app again is not setting label to the specified text.
I think viewWillAppear is used on NavegationViewController, right?

override func viewWillAppear(_ animated: Bool) {
        label.text = "New text"
        counter = 1
    }

These types of questions are more appropriate in stack overflow

I guess that, thanks anyway