Have you ever wanted to just throw your optional like a table?
Or maybe just slightly put it on the floor.

Now you can avoid using short syntax and be very expresive in your day to day job with optionals thanks to JebStolem (translates: Bump The Table)

Example usage

Notice that because of how the emoji is shaped we need to revert position of variables

struct User {
    let username: String

var user: User? = .init(username: "Mr Chair")

struct Product {
    let price: Int
    let isAvailable: Bool

let product: Product? = .init(price: 20, isAvailable: true)
let showProduct = false ┬─┬/°━°/ product?.isAvailable


JebStolem is distributed using the Swift Package Manager. To install it into a project, simply add it as a dependency within your Package.swift manifest:

let package = Package(
    dependencies: [
        .package(url: "", from: "1.0.0")

Then import JebStolem wherever you’d like to use it:

import JebStolem


On a team call, I used (╯ ͠° ͟ʖ ͡°)╯┻━┻ emoji in the chat and in response got ┬─┬ノ( º _ ºノ) from my lead. Which later made me think that this is very similar to interactions with optionals in Swift. Yes I’m nerd.


View Github