objective c - In iOS where should objects be created if not in view controller -


I have a class (which receives data from NSNotificationCenter, processes it and sends it back to the NSNation Center ) That I start my app just once. I could have done it with a visual controller, but it seems weird because they are not related, so where are you right to create an object, which are not directly related to the UI, But living in the life of the application Should?

You should keep things for which app delegate The app running in the H / M file must be alive for the entire life cycle.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -