Giter Site home page Giter Site logo

nippochanswiftui's Introduction

勤怠ちゃん 〜Kintai-chan〜

Overview of this app

This app is a Watch app using SwiftUI.
You can post fixed words on Slack using Apple Watch.

15_PostActivity.gif

Commentary article

This app is a sample app made for Qiita Advent Calendar 2019.
The commentary is as follows. Written in Japanese.

https://qiita.com/MilanistaDev/items/dbc4d2c2cc4522f12972

Support

  • macOS Catalina 10.15.1 and later
  • Xcode 11.2.1 and later
  • watchOS 6.1.1 and later

You need an iOS 13 or higher iPad or iPhone paired with your Apple Watch to input the information needed to post Slack.

How to use

1. Clone or download this project and build.
2. Edit or Delete preset data.
09_edit_and_delete.gif
3. Open the Settings List Screen.
10_Settings.gif
4. Input your activity and favorite emoji.
11_Add_Activity.gif
5. Input info for slack post
12_Slack_Settings.gif

On this screen, enter the information required when posting Slack and use it as a parameter when sending. Similarly, text input is performed on the iOS 13 iOS device that is paired. Enter Slack's Webhook URL and GitHub account name, User name and favorite color code. This information will be used when posting to Slack. When the "?" Button is tapped, an explanation screen is displayed for each item in a modal manner.

Slack Webhook URL can be obtained from the following link.
Set the icon and user name for Slack posting in this site.

https://slack.com/services/new/incoming-webhook

※ New Entry was moved to bottom of ActivityList(v1.1.0~)
Simulator Screen Shot - Apple Watch Series 6 - 44mm - 2021-05-06 at 23 33 39

6. Slack post

Finally, you can post Slack by tapping the cell on the top list screen.

15_PostActivity.gif

Existing bugs and issues

Bugs

Please inform when you find bugs.

issues

  • When entering the Webhook URL, you cannot copy and paste on the iPhone side, so you must enter each character.
  • Code is bad...

App update history

App Version Date MEMO
1.0.0 2019-12-20 v1.0.0 released.
1.1.0 2021-05-06 Bug fixed.
Code Refactoring.

Contact

Please feel free to contact us if you find a bug or have any feedback.
Suggestions for adding functions and code corrections are also welcome.

let name = "Takuya Aso" 
let email = "milanista224" + "@" + "icloud.com"
let profession = "iOS Engineer"
let location = "Tokyo"

nippochanswiftui's People

Contributors

milanistadev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

farisalbalawi

nippochanswiftui's Issues

ActivityList のコード改善

内容

  • ActivityModelActivityType みたいな enum を導入
enum ActivityType: Int, Codable {
    case normal
    case setting
    case newEntry
}
  • name で比較する代わりに @ViewBuilder を使って ActivityType で場合分けし,セルの View を返すようにする
  • 子 View のプロパティ宣言が冗長な気がする

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.