Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Eric Marchand
@phimage
Same problem, never discover why one of my framework receive many stars one week, no tweet, no blog found by google search. Maybe someone with many followers give a star
Nikolai Vazquez
@nvzqz
For FileKit I got a good number of stars from posting it on reddit but other times idk how
It's a good problem to have
Eric Marchand
@phimage
Id
I d'
I don't like to not understand
Nikolai Vazquez
@nvzqz
It also helps if you get enough stars to appear on Github.com/trending
Eric Marchand
@phimage
yes it could help to keep the flow of stars
did you use other way to advertise? than redit, swifttoolbox.io, awesome-swift
Nikolai Vazquez
@nvzqz
I wrote to two blogs suggesting they take a look at it and one of them did so that was nice
Eric Marchand
@phimage
I will use RandomKit to choose between a list of site to advertise
Nikolai Vazquez
@nvzqz
Ha ha that's pretty meta
Nikolai Vazquez
@nvzqz
do you think randomkit is ready for another release?
any other small features we can add beforehand?
Eric Marchand
@phimage
my idea box is empty
Nikolai Vazquez
@nvzqz
Ok, in that case I'll try pushing out a new release tonight (my timezone)
Dingzhong Weng
@oasisweng
I have downloaded 1.6.0 version just now. But I can't use any feature at all somehow, for example, "var n : NSNumber = NSNumber.random()". Other pod libs are all working. Should I drag all of your extension files into my own project then?
I tried "import RandomKit" but it was an error. There isnt any instruction on how this lib works. Mind explaining this please?
Eric Marchand
@phimage
yes "import RandomKit" is need in your file
Dingzhong Weng
@oasisweng
nice it works
somehow it reported error at first
thanks
Eric Marchand
@phimage
sometimes xcode does'nt compil depencies immediatly
dependencies*
Dingzhong Weng
@oasisweng
i noticed, its very slow responding to changes lately.
but im working on an app where i want to generate some fake names for testing.
it will be nice if your String extension can actually generate names!
fake names ofc
Eric Marchand
@phimage
you can make an array of name and select randomly on it
there is method on array to select randomly
Dingzhong Weng
@oasisweng
i use this lib for my rails project it allows me to generate random names and addresses
if i need to randomize an array of name, i might just as well use this array without randomizing you know
anyway its just a suggestion
here is the array of this library
Dingzhong Weng
@oasisweng
yeah i know. i am suggesting that you can use it too. it will save my time finding these names and copy n paste
not big deal without this feature. thanks for helping out my first problem
see yah
Eric Marchand
@phimage
project owner will read it later and maybe add that into Random class
Nikolai Vazquez
@nvzqz
Yup I will
I'll try to get started on that this weekend
Eric Marchand
@phimage
only english name/word https://github.com/stympy/faker/blob/e4d5e7c9afa18fddcb43e1a68776f6e29758f5f2/lib/locales/en.yml or according to user locale (maybe too much work here)
Nikolai Vazquez
@nvzqz
Is there an enum for locale or something to make it easy to manage?
Eric Marchand
@phimage
I don't know if there is a swifty way to do it, only NSLocale or NSBundle
Nikolai Vazquez
@nvzqz
It can't be that hard to implement
Eric Marchand
@phimage
    for code in NSLocale.ISOLanguageCodes() {
        print("case \(code)")
    }
:panda_face:
Nikolai Vazquez
@nvzqz
Huh... I'd try that out but I'm not at my computer
Nikolai Vazquez
@nvzqz
Is there no actual way to get static values for these codes?
Punita Ojha
@punitaojha
This message was deleted