Today Apple came with a new Swift (again). After endless syntax changes I managed to compile (I needed to get rid of xcstate as well as it kept throwing nonsense error messages). But now my applicationDidFinishLaunching
is no longer being called.
Asked
Active
Viewed 573 times
2

qwerty_so
- 35,448
- 8
- 62
- 86
-
The signature has changed slightly. – vadian Sep 14 '16 at 14:44
-
@vadian I found that out, but I guess that others will have that trouble too. – qwerty_so Sep 14 '16 at 14:45
-
Actually the migrator is supposed to change the signatures accordingly. – vadian Sep 14 '16 at 14:47
-
@vadian Well, in my case it didn't. Plus a couple of other nasty things.
– qwerty_so Sep 14 '16 at 15:02
1 Answers
4
It turns out that you need to change it to
func applicationDidFinishLaunching(_ aNotification: Notification)
Probably I'm the only one using that method :-/

qwerty_so
- 35,448
- 8
- 62
- 86