Skip to content

Instantly share code, notes, and snippets.

View MortenGregersen's full-sized avatar
🎉

Morten Bjerg Gregersen MortenGregersen

🎉
View GitHub Profile
//
// HaikuStreamView.swift
// HeyAIku
//
// Created by Morten Bjerg Gregersen on 15/05/2023.
//
import SwiftUI
struct HaikuStreamView: View {
@MortenGregersen
MortenGregersen / WaveformView.swift
Last active May 16, 2023 19:52
An animating waveform view made with SwiftUI as seen here: https://mastodon.social/@mortengregersen/110377187270004199
//
// WaveformView.swift
// HeyAIku
//
// Created by Morten Bjerg Gregersen on 16/05/2023.
//
import SwiftUI
struct WaveformView: View {
struct PlayView: View {
...
@Environment(\.locale) private var locale
@EnvironmentObject private var settingsController: SettingsController
var body: some View {
Form {
...
DateLabel()
.environment(\.locale, settingsController.useEnglishCategoryNames ? .init(identifier: "en") : locale)
2017-01-17 10:59:35.026 DEBUG FBControlCoreLogger:130 | CoreSimulator: Loading from /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework
2017-01-17 10:59:35.035 DEBUG FBControlCoreLogger:130 | CoreSimulator: Successfully loaded
2017-01-17 10:59:35.035 DEBUG FBControlCoreLogger:130 | CoreSimulator: SimDevice has correct path of /Applications/Xcode.app
2017-01-17 10:59:35.035 DEBUG FBControlCoreLogger:130 | SimulatorKit: Loading from /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework
2017-01-17 10:59:35.042 DEBUG FBControlCoreLogger:130 | SimulatorKit: Successfully loaded
2017-01-17 10:59:35.042 DEBUG FBControlCoreLogger:130 | SimulatorKit: SimDeviceFramebufferService has correct path of /Applications/Xcode.app
2017-01-17 10:59:35.042 DEBUG FBControlCoreLogger:130 | Loaded All Private Frameworks [CoreSimulator, SimulatorKit]
2017-01-17 10:59:35.088 DEBUG FBControlCoreLogger:130 | Completed Pool Preconditons
2017-01-17 10:59:35.122
Jan 17 10:59:35 Mortens-MacBook-Pro CoreSimulatorBridge[63401]: Pasteboard change listener callback port <NSMachPort: 0x7f86f9b02350> registered
Jan 17 10:59:35 Mortens-MacBook-Pro CoreSimulatorBridge[63401]: Getting container class internal daemon!
Jan 17 10:59:35 Mortens-MacBook-Pro logd[63386]: metadata shared cached uuid is null (using logd's shared cache info) SimulatorBridge (63399)
Jan 17 10:59:35 Mortens-MacBook-Pro logd[63386]: Failed to harvest strings for pathless uuid '00000000-0000-0000-0000-000000000000'
Jan 17 10:59:35 Mortens-MacBook-Pro SimulatorBridge[63399]: [Common] [FBSSystemService][0xe5eb] Sending request to open "com.apple.test.DeviceAgent-Runner"
Jan 17 10:59:35 Mortens-MacBook-Pro SimulatorBridge[63399]: [Common] [FBSSystemService][0xe5eb] Request successful: <FBSProcessHandle: 0x7f880f201db0; XCTRunner:63676; valid: YES>
Jan 17 10:59:35 Mortens-MacBook-Pro logd[63386]: metadata shared cached uuid is null (using logd's shared cache info) XCTRunner (63676)
Jan 17 10:59:35 Mortens-MacB
OS_VERSION=10.2 BUNDLE_GEMFILE=../Gemfile-iphone APP=/Users/bdumgr/Bankdata/Projects/bankdata_test_tools/automated_tests/moberhverv/apps/MyBank.app RUN_FROM_SCRIPT=1 bundle exec cucumber -p iphone6_moberhverv @rerun_moberhverv_iphone6-10.2.txt -f 'Slowhandcuke::Formatter' -f html -o login_s-moberhverv-MyBank-iphone6-10.2_result.html -f json -o result.json
Code:
* shared/ios/support/env.rb
* moberhverv/support/users.rb
* shared/ios/support/00_helpers.rb
* shared/ios/support/00_launcher.rb
* shared/ios/support/00_ruby_mine_support.rb
* shared/ios/support/01_hooks.rb
* shared/ios/support/ibd_base.rb
$ DEBUG=1 ./run_tests.rb moberhverv MyBank iphone4s introguide
Bundler gems
bundle install --gemfile=../Gemfile-iphone
OS_VERSION=9.3 BUNDLE_GEMFILE=../Gemfile-iphone APP=/Users/bdumgr/Bankdata/Projects/bankdata_test_tools/automated_tests/moberhverv/apps/MyBank.app RUN_FROM_SCRIPT=1 bundle exec cucumber -p iphone4s_moberhverv moberhverv/features/special_snapshots/Til-Introguide.feature -f 'Slowhandcuke::Formatter' -f html -o introguide-moberhverv-MyBank-iphone4s-9.3_result.html -f json -o result.json -f rerun -o rerun_moberhverv_iphone4s-9.3.txt
Code:
* shared/ios/support/env.rb
* moberhverv/support/users.rb
* shared/ios/support/00_helpers.rb