Learn from the experts: Create a successful blog with our brand new course
Are you new to blogging, and do you want step-by-step guidance on how to publish and grow your blog? Learn more about our new Blogging for Beginners course and get 50% off through December 10th.
WordPress.com is excited to announce our newest offering: a course just for beginning bloggers where you’ll learn everything you need to know about blogging from the most trusted experts in the industry. We have helped millions of blogs get up and running, we know what works, and we want you to to know everything we know. This course provides all the fundamental skills and inspiration you need to get your blog started, an interactive community forum, and content updated annually.
Garlic – A drag-n-drop Remote Configuration Framework for iOS (objective-c)
Features:
- Easy 1-line integration
- ZERO libraries required (not even AFNetworking!)
- Remote feature flags
- Local settings fallback
- Custom remote settings
- Force updates
- No collisions with other frameworks
Setup:
In most cases, you want to load remote settings either in the lifecycle events in your AppDelegate or ViewController, or anywhere else you like:
- #import “Garlic.h”
- Init and setup Garlic with a remote settings plist URL and a completion block: [[Garlic sharedInstance] setupWithRemoteConfigURL:@”{{your-remote-settings-plist-url-here.com}}” completionHandler:^(void){ // code to run when setup was done }
Force update:
Determine if the app should be updated, based on build numbers
if ([[Garlic sharedInstance] shouldForceUpdateApp]) { // ask user to update app }
Feature flags:
Check if a feature should be activated
if ([[Garlic sharedInstance] shouldAllowFeature:@”{{your-feature-name-here}}”]) { // show the button/menu that enables that feature}
Custom values:
Get remote values for your custom purposes
NSString *tipOfTheDay = [[Garlic sharedInstance] getSettingForKey:@”TipOfTheDay-2015-11-27″]
Future features:
- Force synchronous url request
- Load settings from JSONs and XMLs, in addition to plists
- POST remote settings: change remote settings in the server when shaking the device
- Web-based remote settings editor
- Push updates: engage a remote settings update using a push notification
- Targeted Feature Flags: toggle features for specific user IDs, geolocations, device models..
Made with ❤ by Nur Nachman – nur.xyz
Copy to clipboard