appsquickly / typhoon

Powerful dependency injection for Objective-C ✨✨ (https://PILGRIM.PH is the pure Swift successor to Typhoon!!)✨✨
https://pilgrim.ph
Apache License 2.0
2.7k stars 269 forks source link

Typhoon load optimizing #522

Closed vasilenkoigor closed 8 years ago

vasilenkoigor commented 8 years ago

On WWDC 2016 session https://developer.apple.com/videos/play/wwdc2016/406/ Apple recommends replace +(void)load with +(void)initialise. In Typhoon framework I'm found the few places where used +(void)load method. It will be a nice enhancement follow to new Apple recommendations.

alexgarbarev commented 8 years ago

+load is called earlier, and we use that to do something very early. +initialize called before first message sent.

Hope this make sense

Отправлено с iPhone

22 июля 2016 г., в 15:00, Igor Vasilenko notifications@github.com написал(а):

On WWDC 2016 session https://developer.apple.com/videos/play/wwdc2016/406/ Apple recommends replace +(void)load with +initialise. In Typhoon framework I'm found the few places where used +(void)load method. It will be a nice enhancement follow to new Apple recommendations.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.