I kept it in because there might be points that RK or some other legacy code relies on NSUserDefaults that I'm not entirely sure about and wasn't sure if I could track down.

Yes, it should come from Application Settings but I'm not entirely sure if it does. Regardless, I'm pretty sure it gets the urls from the correct place so I'm willing to take this out and test it out…

--jacob

From: John Dzak <notifications@github.com<mailto:notifications@github.com>>
Reply-To: NUBIC/ncs_navigator_field <reply@reply.github.com<mailto:reply@reply.github.com>>
Date: Tuesday, April 16, 2013 9:20 PM
To: NUBIC/ncs_navigator_field <ncs_navigator_field@noreply.github.com<mailto:ncs_navigator_field@noreply.github.com>>
Cc: Jacob Van Order <jacob.vanorder@northwestern.edu<mailto:jacob.vanorder@northwestern.edu>>
Subject: Re: [ncs_navigator_field] Fixed Purge button not appearing after toggling on. Bug #3845. (#16)


In NCSNavField/NCSNavFieldAppDelegate.m:

> @@ -76,6 +73,8 @@ - (void)applicationWillEnterForeground:(UIApplication *)application
>
>  - (void)applicationDidBecomeActive:(UIApplication *)application
>  {
> +    [[NSUserDefaults standardUserDefaults] synchronize];
> +    [RestKitSettings reload];


Since we moved the configuration URLs out of the NSUserDefaults, I think we can remove this call to reload the RestKitSettings.

—
Reply to this email directly or view it on GitHub<https://github.com/NUBIC/ncs_navigator_field/pull/16/files#r3825360>.