profile
viewpoint

push eventjcraane/KotlinNativeStarter

Lammert Westerhoff

commit sha 41c502c90cab2e5b9939c86de112bd4e513be838

Fix property

view details

Lammert Westerhoff

commit sha 8bdc4b4a86197a4727b2d1f0c82a61ab15df5d73

Support 32 bit

view details

push time in 18 days

issue commentPicnicSupermarket/localicious

Cannot find module 'commander'

I also thought that it would generate code for iOS (the enum code for iOS presented last week at CocoaheadsNL) but I only see the .strings files.

lammertw

comment created time in 24 days

issue commentPicnicSupermarket/localicious

Cannot find module 'commander'

Yes, that does seem to work. When I now set the output path to some other folder it seems to completely ignore that and just puts it in the render folder of the working directory.

lammertw

comment created time in 24 days

issue commentPicnicSupermarket/localicious

Cannot find module 'commander'

node path_to_localicious/bin/localicious render LocaliciousConfig.yaml . --platforms android --languages en

lammertw

comment created time in 24 days

issue commentPicnicSupermarket/localicious

Cannot find module 'commander'

I've changed the contents to exactly that and now I get this:

❌ Something went wrong rendering.
Something went wrong.
lammertw

comment created time in 24 days

issue commentPicnicSupermarket/localicious

Cannot find module 'commander'

The yarn install is missing from the Requirements and installation section so I didn't run that.

When I now run it, it still fails.

Am I supposed to run it with localicious render ./copy.yaml or localicious render ./LocaliciousConfig.yaml? Both result in different errors. I don't have a file named copy.yaml but the docs mention this so I'm not sure if it's supposed to be the output or input file.

When running localicious render LocaliciousConfig.yaml . --platforms android --languages en I get the following:

let result = Object.keys(data).map(key => {
                      ^

TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at aggregate (/Users/lwesterhoff/Developer/forks/localicious/src/actions/normalize.js:28:23)
    at /Users/lwesterhoff/Developer/forks/localicious/src/actions/normalize.js:17:24
    at Array.map (<anonymous>)
    at normalizeYaml (/Users/lwesterhoff/Developer/forks/localicious/src/actions/normalize.js:17:8)
    at render (/Users/lwesterhoff/Developer/forks/localicious/src/actions/render.js:10:24)
    at /Users/lwesterhoff/Developer/forks/localicious/src/actions/validateAndRender.js:14:22
    at Result.flatMap (/Users/lwesterhoff/Developer/forks/localicious/src/utils/result.js:42:17)
    at validateAndRender (/Users/lwesterhoff/Developer/forks/localicious/src/actions/validateAndRender.js:14:6)
    at Object.<anonymous> (/Users/lwesterhoff/Developer/forks/localicious/bin/localicious-render:44:1)

Contents of LocaliciousConfig.yaml:

shared:
  eneco:
    company:
      name:
        en: 'Test'
        nl: 'Test'
lammertw

comment created time in 24 days

issue openedPicnicSupermarket/localicious

Cannot find module 'commander'

Running localicious gives me the following error:

internal/modules/cjs/loader.js:775
    throw err;
    ^

Error: Cannot find module 'commander'
Require stack:
- /Users/lwesterhoff/Developer/forks/localicious/bin/localicious
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:772:15)
    at Function.Module._load (internal/modules/cjs/loader.js:677:27)
    at Module.require (internal/modules/cjs/loader.js:830:19)
    at require (internal/modules/cjs/helpers.js:68:18)
    at Object.<anonymous> (/Users/lwesterhoff/Developer/forks/localicious/bin/localicious:2:17)
    at Module._compile (internal/modules/cjs/loader.js:936:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
    at Module.load (internal/modules/cjs/loader.js:790:32)
    at Function.Module._load (internal/modules/cjs/loader.js:703:12)
    at Function.Module.runMain (internal/modules/cjs/loader.js:999:10) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/Users/lwesterhoff/Developer/forks/localicious/bin/localicious' ]
}

created time in 24 days

fork lammertw/SwiftyRSA

RSA public/private key encryption in Swift

fork in a month

PR opened guillermomuntaner/Burritos

Make EnvironmentVariable name publicly accessible

I was unable to create a EnvironmentVariable without name being public and having a public init. This fixes that.

+5 -1

0 comment

1 changed file

pr created time in 2 months

create barnchlammertw/Burritos

branch : environment-variable-public

created branch time in 2 months

fork lammertw/Burritos

A collection of Swift Property Wrappers (formerly "Property Delegates")

fork in 2 months

issue commentguillermomuntaner/Burritos

The deploy target version is too high in the podspec

I'm running into the same problem. And the DynamicUIColor even has explicit support for versions before iOS 13. So why is the minimum target set to iOS 13?

Whirlwind

comment created time in 2 months

issue commentusabilla/usabilla-u4a-ios-swift-sdk

Usabilla for Xcode 11 GM

Seems like you can just use the Xcode-11-beta7 branch to build in Xcode 11 GM.

teameh

comment created time in 2 months

push eventlammertw/BonMot

Lammert Westerhoff

commit sha df9bb702e263f3e3e80ab0550047735fdd153a28

Make it work with app extensions by dropping iOS 9 support

view details

push time in 2 months

issue commentRightpoint/BonMot

Support use in app extensions

I guess this issue is easily fixed by dropping support for iOS 9 correct? In that case it can just use UIScreen.main.traitCollection.preferredContentSizeCategory:

    public var bon_preferredContentSizeCategory: BonMotContentSizeCategory {
        if preferredContentSizeCategory != .unspecified {
            return preferredContentSizeCategory
        }

        return UIScreen.main.traitCollection.preferredContentSizeCategory
    }

Since we're almost at iOS 13 now wouldn't it be ok to just drop iOS 9 support?

ZevEisenberg

comment created time in 2 months

fork lammertw/BonMot

Beautiful, easy attributed strings in Swift

fork in 2 months

more