Library that makes it easy to create multiple environments within a single app. You can switch environments without deleting the application.

Related tags

Layout AppContainer
Overview

AppContainer

Library that makes it easy to create multiple environments within a single app. You can switch environments without deleting the application.

This is useful when you want to test multiple accounts in a staging application.

Document

Create New Container

let container = try AppContainer.shared.createNewContainer(name: "Debug1")

Get Container List

let containers: [Container] = AppContainer.shared.containers

Get Active Container

let activeContainer: Container? = AppContainer.shared.activeContainer

Activate Contrainer

restart app required.

try AppContainer.shared.activate(container: container)
try AppContainer.shared.activateContainer(uuid: uuid)

Delete Container

try AppContainer.shared.delete(container: container)
try AppContainer.shared.deleteContainer(uuid: uuid)

Clean Container

try AppContainer.shared.clean(container: container)
try AppContainer.shared.cleanContainer(uuid: uuid)

Reset

try AppContainer.shared.reset()
You might also like...
Easy to create & custom segmented view
Easy to create & custom segmented view

TCSegmentedView Easy to create & custom segmented view Usage Examples An Objective-C example project demonstrating customization options is included i

Multiple UI adaptable vertical segments slider

SSVerticalSegmentsSlider It's a vertical segment slider developed in SwiftUI. It offers many properties to create different UI that fit your needs. We

A custom layout built on top of SwiftUI's Layout API that lays elements out in multiple lines. Similar to flex-wrap in CSS, CollectionViewFlowLayout.
A custom layout built on top of SwiftUI's Layout API that lays elements out in multiple lines. Similar to flex-wrap in CSS, CollectionViewFlowLayout.

WrapLayout A custom layout built on top of SwiftUI's Layout API that lays elements out in multiple lines. Similar to flex-wrap in CSS, CollectionViewF

Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]
Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]

Extremely Fast views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainabl

Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast
Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast

Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]

TinyConstraints is the syntactic sugar that makes Auto Layout sweeter for human use.
TinyConstraints is the syntactic sugar that makes Auto Layout sweeter for human use.

TinyConstraints is the syntactic sugar that makes Auto Layout sweeter for human use. Features Pure Swift 5 sweetness. Everything you can do with Auto

Breezz: an application with which it is easy and simple to practice breathing exercises and meditation
Breezz: an application with which it is easy and simple to practice breathing exercises and meditation

breezz will help you relax Breezz is an application with which it is easy and si

An iOS application enables you explore art works provided by DeviartArt.com with high quality UX.
An iOS application enables you explore art works provided by DeviartArt.com with high quality UX.

Iris.iOS Iris is a model mobile application based on iOS. It provides basic functions allow users to explore on DeviantArt and check Daily Arts, Notif

iOS simple project to create half-screen modal view controller with pan
iOS simple project to create half-screen modal view controller with pan

Simple Half-screen view controller, draggable and less code (learning purpose)

Comments
  • Support multiple suites of `UserDefaults`

    Support multiple suites of `UserDefaults`

    closes #7 closes #12

    Use the following code to check if the data was created by the user

    let keys = CFPreferencesCopyKeyList(applicationID, kCFPreferencesCurrentUser, kCFPreferencesCurrentHost)
    let dictionary = CFPreferencesCopyMultiple(keys, applicationID, kCFPreferencesCurrentUser, kCFPreferencesCurrentHost) as? Dictionary<String, Any>
    
    opened by p-x9 0
  • Check if UserDefault data is created from user

    Check if UserDefault data is created from user

    dictionaryRepresentation is contains system data. So, Only user-created keys can be extracted as follows

    CFPreferencesCopyKeyList(kCFPreferencesCurrentApplication, kCFPreferencesCurrentUser, kCFPreferencesCurrentHost)
    
    opened by p-x9 0
Releases(0.0.4)
  • 0.0.4(Oct 23, 2022)

    What's Changed

    • updated README.md for HTTPCookieStorage by @p-x9 in https://github.com/p-x9/AppContainer/pull/27
    • add screenshot of example app by @p-x9 in https://github.com/p-x9/AppContainer/pull/28
    • AppContainer UI by @p-x9 in https://github.com/p-x9/AppContainer/pull/29

    Full Changelog: https://github.com/p-x9/AppContainer/compare/0.0.3...0.0.4

    Source code(tar.gz)
    Source code(zip)
  • 0.0.3(Oct 12, 2022)

    What's Changed

    • fix UserDefaults suites that should be synchronized by @p-x9 in https://github.com/p-x9/AppContainer/pull/25
    • fix to handle files directory under the home directory by @p-x9 in https://github.com/p-x9/AppContainer/pull/24

    Full Changelog: https://github.com/p-x9/AppContainer/compare/0.0.2...0.0.3

    Source code(tar.gz)
    Source code(zip)
  • 0.0.2(Oct 8, 2022)

    What's Changed

    • add default suite name by @p-x9 in https://github.com/p-x9/AppContainer/pull/23
    • fix to export http cookies before stashing container by @p-x9 in https://github.com/p-x9/AppContainer/pull/22

    Full Changelog: https://github.com/p-x9/AppContainer/compare/0.0.1...0.0.2

    Source code(tar.gz)
    Source code(zip)
Owner
初心者プログラマー
null
UIView category which makes it easy to create layout constraints in code

FLKAutoLayout FLKAutoLayout is a collection of categories on UIView which makes it easy to setup layout constraints in code. FLKAutoLayout creates sim

Florian Kugler 1.5k Nov 24, 2022
This "Calculator" application is a simple one screen design of calculator screen i have made this single screen design application just to practice AutoLayout concepts.

Calculator Layout This "Calculator" application is a simple one screen design of calculator screen i have made this single screen design application j

Chetan Parate 1 Oct 29, 2021
Server Driven UI can enable faster iterations and allowing apps to instantly update on multiple platforms.

Pets App Server Driven UI can enable faster iterations and allowing apps to instantly update on multiple platforms Steps to run Pets-Web: Download or

Metin Atalay 0 Jun 11, 2022
Using the UIKitChain framework, You can create a UIKit component in one line of code.

Using the UIKitChain framework, You can create a UIKit component in one line of code. Installation CocoaPods CocoaPods is a dependency manager for Coc

Malith Nadeeshan 1 Sep 1, 2022
An example project showing how to use `overrideUserInterfaceStyle` to build an in-app light/dark mode switch

OverrideDarkMode A sample project to show how using overrideUserInterfaceStyle enables having a dark / light mode switch directly in the app, while st

Zouhair Mahieddine 1 Jan 19, 2022
NintendoSwitch-BezierPath-Example - Nintendo Switch Bezier Path Example

NintendoSwitch-BezierPath-Example An example app that demonstrates the use of Be

Juan Vasquez 0 Jan 12, 2022
Makes building HTTP URLs and requests easy.

ModestProposal 2.0 Makes building HTTP URLs and requests easy. Can be used with any networking library that accepts NSURLRequest as a parameter. Featu

Justin Kolb 10 Jun 3, 2021
CompositionalLayoutDSL, library to simplify the creation of UICollectionViewCompositionalLayout. It wraps the UIKit API and makes the code shorter and easier to read.

CompositionalLayoutDSL CompositionalLayoutDSL is a Swift library. It makes easier to create compositional layout for collection view. Requirements Doc

FABERNOVEL 44 Dec 27, 2022
SuperLayout is a Swift library that makes using Auto Layout a breeze.

SuperLayout is a library that adds a few custom operators to Swift that makes using the amazing NSLayoutAnchor API for Auto Layout a breeze. SuperLayo

Lionheart Software 53 Oct 12, 2022
An easy way to create and layout UI components for iOS (Swift version).

Introduction Cupcake is a framework that allow you to easily create and layout UI components for iOS 8.0+. It use chaining syntax and provides some fr

nerdycat 288 Oct 9, 2022