Hey, I started programming with Cocoa recently. Created an application which makes REST calls and displays the response values in a simple window. For each particular REST function I have a corresponding class which defines functionality for constructing a proper URL needed to call a function, initiating the call and informing the interested delegate object once the REST response is received.
Right now I have the host part of the url hardcoded in each class that represents a different REST function call. I know I should store it in one place, not sure what's the recommended "place" in cocoa apps. I was thinking maybe one class with #defines and then all the REST representing classes would include that? Also I see some docs mentioning plist setting files, could that be a better place? Based on my environment (debug, testing, prod) this url will change as well. Thanks for any recommendations, L _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]