16 ธันวาคม 2561

Android utility app for Pokemon Go user

If you play Pokemon Go game. I would like to suggest the utility app for you. The "go app" on Android play store (https://play.google.com/store/apps/details?id=draood.pokeapp2).


You can search for each your favorite pokemons by filtering the type, pokemon name and sort by your prefered criteria.

When you open the app, you will see the result like this in the 1st time.



In the pokemon type dropdown, you can filter the type that you want to filter.


In the sort drop down, you can perform sorting by the condition that you want.


In the example below, I will filter pokemon type to "water" and sort by "cp", the result will look like this image.



In the example below, I will filter the pokemon name that contain "poli" only.


You can see pokemon detail by clicking each pokemon card. The example below, I click poliwag.
I can see basic information including the shiny form image.


I can see the pokemon move list like this.



I can also see the type counter for this pokemon and see the evolution forms of this pokemon.

This app is free to use on Android Play store (https://play.google.com/store/apps/details?id=draood.goapp)

If you like it, please review the app for me and provide feed back.

05 ธันวาคม 2561

create swift framework and include some dependency using swift package manager

in the example, i gonna create swift framework and use library https://github.com/vapor/jwt

1. create new folder, e.g., testJwt
$ mkdir testJwt

2. goto the folder
$ cd testJwt

3. init package
$ swift package init

4. update Package.swift
$ vi Package.swift

update file like this

dependencies: [
        // Dependencies declare other packages that this package depends on.
        // .package(url: /* package url */, from: "1.0.0"),
        .package(url: "https://github.com/vapor/jwt.git", from: "3.0.0")
    ],
    targets: [
        // Targets are the basic building blocks of a package. A target can define a module or a test suite.
        // Targets can depend on other targets in this package, and on products in packages which this package depends on.
        .target(
            name: "testJwt",
            dependencies: ["JWT"]),
        .testTarget(
            name: "testJwtTests",
            dependencies: ["testJwt"]),

    ]


5. install package dependencies
$ swift package update

6. generate xcode project
$ swift package generate-xcodeproj

7. build project
$ swift build

8. then you can call JWT from your framework code by adding import JWT at the top of the swift file


Note:

if you found the error like error: 'openssl/conf.h' file not found

try to install commands below

$ brew install openssl
$ brew upgrade openssl
$ brew install libressl

บทความยอดนิยม (ล่าสุด)

บทความยอดนิยม (All Time)