This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: manual build & deploy for Android | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| branche: | |
| description: 'Set the branch to build.' | |
| required: true | |
| default: 'develop' | |
| jobs: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: manual build & deploy for iOS | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| branche: | |
| description: 'Set the branch to build.' | |
| required: true | |
| default: 'main' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: auto build & deploy for iOS | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: auto build & deploy for Andorid | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| include: package:flutter_lints/flutter.yaml | |
| analyzer: | |
| exclude: | |
| - "**/*.g.dart" # for freezed | |
| - "**/*.freezed.dart" # for freezed | |
| errors: | |
| missing_required_param: warning | |
| missing_return: warning | |
| invalid_annotation_target: ignore # for freezed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Flutter_Analyzer | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| jobs: | |
| flutter_analyze: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.XR.ARFoundation; | |
| using UnityEngine.XR.ARSubsystems; | |
| public class ARRaycast : MonoBehaviour | |
| { | |
| private ARRaycastManager m_RaycastManager; | |
| private List<ARRaycastHit> hitResults = new List<ARRaycastHit>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ViewControllerのクラスをStoryboardInitializableプロトコルに準拠させる | |
| class IkujiLogInputViewController: UIViewController, StoryboardInitializable { | |
| // hoge〜 | |
| } | |
| // ViewControllerを取得して表示させる(別のViewControllerで記述する) | |
| let vc = IkujiLogInputViewController.instantiateStoryboard() | |
| present(vc, animated: true, completion: nil) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| protocol StoryboardInitializable { | |
| } | |
| extension StoryboardInitializable where Self: UIViewController { | |
| static func instantiateStoryboard() -> Self { | |
| let type = Mirror(reflecting: self).subjectType | |
| let name = String(describing: type).components(separatedBy: ".")[0] |