GroundControl alternatives and similar libraries
Based on the "Utility" category.
Alternatively, view GroundControl alternatives based on common mentions on social networks and blogs.
-
SwifterSwift
A handy collection of more than 500 native Swift extensions to boost your productivity. -
InAppSettingsKit
This iOS framework allows settings to be in-app in addition to or instead of being in the Settings app. -
Reusable
A Swift mixin for reusing views easily and in a type-safe way (UITableViewCells, UICollectionViewCells, custom UIViews, ViewControllers, Storyboards…) -
SwiftLinkPreview
It makes a preview from an URL, grabbing all the information such as title, relevant texts and images. -
BFKit-Swift
BFKit-Swift is a collection of useful classes, structs and extensions to develop Apps faster. -
VTAcknowledgementsViewController
Acknowledgements screen displaying a list of licenses, for example from CocoaPods dependencies. -
SwiftFoundation
Cross-Platform, Protocol-Oriented Programming base library to complement the Swift Standard Library. (Pure Swift, Supports Linux) -
AssistantKit
Easy way to detect iOS device properties, OS versions and work with screen sizes. Powered by Swift. -
DeviceGuru
DeviceGuru is a simple lib (Swift) to know the exact type of the device, e.g. iPhone 6 or iPhone 6s. Please ⭐️ this repo on the top right corner to make this repo popular. -
ZamzamKit
A Swift package for rapid development using a collection of micro utility extensions for Standard Library, Foundation, and other native frameworks.
InfluxDB - Purpose built for real-time analytics at any scale.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of GroundControl or a related project?
README
GroundControl
Remote configuration for iOS
Many developers don't realize that they are allowed to remotely control the behavior of their app (provided that the application isn't downloading any new code).
GroundControl gives you a dead-simple way to remotely configure your app, allowing you to add things like feature flags, impromptu A/B tests, or a simple "message of the day".
It's built on top of AFNetworking, and provides a single category on NSUserDefaults
(just add #import "NSUserDefaults+GroundControl.h"
to the top of any file you want to use it in).
This project is part of a series of open source libraries covering the mission-critical aspects of an iOS app's infrastructure. Be sure to check out its sister projects: SkyLab, CargoBay, houston, and Orbiter.
Client Code
NSURL *URL = [NSURL URLWithString:@"http://example.com/defaults.plist"];
[[NSUserDefaults standardUserDefaults] registerDefaultsWithURL:URL];
...or if you need callbacks for success/failure, and prefer not to listen for a NSUserDefaultsDidChangeNotification
:
NSURL *URL = [NSURL URLWithString:@"http://example.com/defaults.plist"];
[[NSUserDefaults standardUserDefaults] registerDefaultsWithURL:URL
success:^(NSDictionary *) {
// ...
} failure:^(NSError *) {
// ...
}];
...or if you need to use an HTTP method other than GET, or need to set any special headers, specify an NSURLRequest
:
NSURL *URL = [NSURL URLWithString:@"http://example.com/defaults.plist"];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:URL];
[[NSUserDefaults standardUserDefaults] registerDefaultsWithURLRequest:request
success:^(NSURLRequest *, NSHTTPURLResponse *, NSDictionary *) {
// ...
} failure:^(NSURLRequest *, NSHTTPURLResponse *, NSError *) {
// ...
}];
Server Code
GroundControl asynchronously downloads and reads a remote plist file. This could be a static file or generated dynamically, like in the following examples (see also the complete Sinatra application found in example/server
):
Ruby
require 'sinatra'
require 'plist'
get '/defaults.plist' do
content_type 'application/x-plist'
{
'Greeting' => "Hello, World",
'Price' => 4.20,
'FeatureXIsLaunched' => true
}.to_plist
end
Python
from django.http import HttpResponse
import plistlib
def property_list(request):
plist = {
'Greeting': "Hello, World",
'Price': 4.20,
'FeatureXIsLaunched': True,
'Status': 1
}
return HttpResponse(plistlib.writePlistToString(plist))
Node.js
var plist = require('plist'),
express = require('express')
var host = "127.0.0.1"
var port = 8080
var app = express()
app.get("/", function(request, response) {
response.send(plist.build(
{
'Greeting': "Hello, World",
'Price': 4.20,
'FeatureXIsLaunched': true,
'Status': 1
}
).toString())
})
app.listen(port, host)
Contact
Mattt Thompson
License
GroundControl is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the GroundControl README section above
are relevant to that project's source code only.