Re: Looking at moving part of our iOS app become an iOS framework to be used in other apps.
Re: Looking at moving part of our iOS app become an iOS framework to be used in other apps.
- Subject: Re: Looking at moving part of our iOS app become an iOS framework to be used in other apps.
- From: Alex Kac <email@hidden>
- Date: Fri, 15 Jan 2016 14:45:48 -0700
I created a singleton called “<myAppState>” that I moved all of that to. That way even my windows, my logging, my push, everything that is shared between my OS X and iOS code and extensions would use that instead of the App Delegate. With that in place, very little if anything calls the app delegate anymore.
> On Jan 15, 2016, at 2:31 PM, Alex Zavatone <email@hidden> wrote:
>
> And this framework would be utilized by other applications.
>
> However, a good amount of app startup and config is triggered in the appDelegate, same as push notification, opening the app via URLs and other appDelegate related tasks would conflict with the appDelegate of the app using the framework.
>
> Is there a set of standard operating practices that are available online to review for this type of app restructuring?
>
> Thanks in advance.
>
> - Alex Zavatone
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
Alex Kac - El capitán
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden