Latest 0.2.1
License MIT
Platforms ios 10.0
Dependencies StanwoodCore

StanwoodCore framework

[Swift Version]()
[iOS 10+]()

Debugging and testing iOS applications can be quite a long task due to the nature of Software Development. StanwoodDebugger tool provides reach information on Analytics, Errors, Logging, Networking, and UITesting to simplify this process.


Table of contents


Tal Zion [email protected]


pod 'StanwoodDebugger', :configurations => ['Debug'] # Make sure to not add this framework to Release


import StanwoodDebugger

class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    #if DEBUG
    lazy var debugger: StanwoodDebugger = StanwoodDebugger()

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

        #if DEBUG
        debugger.isEnabled = true

Adding logs


Option 1.

Set up your tracking payload:

public func payload() -> [String:String] {

    var payload: [String:String] = ["eventName": eventName]

    if let itemId = itemId {
        payload["itemId"] = itemId

    if let category = category {
        payload["category"] = category

    if let contentType = contentType {
        payload["contentType"] = contentType

    let dateFormatter = DateFormatter()
    dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ssZ"

    payload["createdAt"] = dateFormatter.string(from: Date())

    return payload

Post it to:

func post(_ payload: [String:String]) {
    let notificationCentre = NotificationCenter.default
    let notification = Notification.init(name: Notification.Name(rawValue: "io.stanwood.debugger.didReceiveAnalyticsItem"), object: nil, userInfo: payload)
Option 2.

Use StanwoodAnalytics as your tracking framework

        analyticsBuilder = analyticsBuilder.setDebuggerNotifications(enabled: true)

Error, UITesing, Networking, Print logs [WIP]


StanwoodDebugger is under MIT licence. See the LICENSE file for more info.


A brief summary of each StanwoodDebugger release can be found in the CHANGELOG.

Latest podspec

    "name": "StanwoodDebugger",
    "version": "0.2.1",
    "summary": "Stanwood debugger provide live view debugging",
    "description": "Live debugger for:n    1. Analyticsn    2. UITesting views and keys [WIP]n    3. General logger [WIP]n    4. Networking [WIP]n    5. Errors [WIP]",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "stanwood": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.2.1"
    "swift_version": "4.2",
    "platforms": {
        "ios": "10.0"
    "source_files": [
    "resource_bundles": {
        "StanwoodDebugger": [
    "dependencies": {
        "StanwoodCore": [
            "~> 1.4.1"

Pin It on Pinterest

Share This