Questions tagged [liveview]

Xcode's liveview provides a way to directly render an Obj-C or Swift code into the Interface Builder.

The term liveview refers to at least 3 very different technologies:

  • Xcode liveview which is a way to directly render an Obj-C or Swift code into the Interface Builder
  • TIBCO Streaming LiveView is a product that allows for continuous ad-hoc querying and visualization of streaming event data (related and former brandings include TIBCO Live Datamart and TIBCO Spotfire Data Streams)
  • Sony Ericsson Liveview which is a watch-like interface for a smart phone
29 questions
5
votes
1 answer

How do you create an iOS liveView in Xcode 8/Swift 3

I can't figure out how to create and display a live view in an Xcode 8/Swift 3 Playground. If Apple has comprehensive documentation on playgrounds and live views, I can't find it, and all my searching online reveals either tutorials on Xcode 7 or…
Duncan C
  • 128,072
  • 22
  • 173
  • 272
3
votes
4 answers

Sony Camera Remote API, How can I show/use liveview-stream data with VB.net (use of Sony QX1)

I'm programming a small software for the remote use of a Sony camera (I use QX1 but the model should be irrelevant) in VB.net. I could make pictures by sending the JSON-commands to the camera and also could start the liveview-stream with the method…
user5068404
  • 43
  • 2
  • 6
2
votes
0 answers

How to center my Playgrounds Live View

I am instantiating a playground live view using the following code: import UIKit import PlaygroundSupport let view = UIView() view.frame = CGRect(x: 0, y: 0, width: 100, height: 100) view.backgroundColor = .white PlaygroundPage.current.liveView =…
omranK
  • 71
  • 5
1
vote
1 answer

Updating nested html element in LiveView of Phoenix application without rendering the whole component

I have the following leex template with a collection of cards and inside each card, there is a nested button. I would like to update the text on the button only without rendering again the whole component. Is it possible? I am stuck here. The idea…
Dmitry Dyachkov
  • 1,715
  • 2
  • 19
  • 46
1
vote
0 answers

Phoenix Liveview - Assets out of container

I'm struggling to do a Docker image in Phoenix 1.6 with Liveview and deploying with releases. Running with mix phx.server everything goes fine but with a Dockerfile the assets are not loaded. Images and css/js files do not load. The assets folder is…
Allan Duarte
  • 157
  • 1
  • 3
  • 14
1
vote
2 answers

EDSDK LiveView zoom 10x

Using LiveView on EOS is fun and helps getting objects in focus (in case of objectives which do not offer autofocus). Magnification of the LiveView image (stream) really helps focusing. On camera site, you may magnify that LiveView image 5x and 10x…
0
votes
1 answer

How to update assigns inside phx-update="stream" block of code in LiveView

I have a list of notes to show using LiveView stream, and I want to use an assign called online_users_map continuously updated by Phoenix Presence, in order to show which note's author is currently online . In the sample code below, I noticed the…
Jason O.
  • 3,168
  • 6
  • 33
  • 72
0
votes
0 answers

Phoenix LiveView add/update schema is using POST instead of Websockets

I created a toy app using Phoenix/LiveView. I used the generators to create things. It's possible I messed with routes. The app is a simple CRUD, list-o-stuff application. Nothing tricky. I can see the list of sets (my schema/struct). I can open up…
jaydel
  • 14,389
  • 14
  • 62
  • 98
0
votes
1 answer

How to pass data to JavaScript Hook from Database in Elixir Phoenix

In Phoenix, I am using a third-party library named Plotly.js. To incorporate it, I am using a JavaScript Hook. How can I get data from Ecto to Plotly via the JS Hook? To crystalize my problem I have a tangible example below. let liveSocket = new…
William
  • 4,422
  • 17
  • 55
  • 108
0
votes
1 answer

How to Livestream camera using sony sdk api

Im implementing a program to control sony camera attached to a robot. As of now Ive build application to control camera settings such as shutter speed,ISO, Aperture etc. Now i want to live stream the video on my remote controller. As a first step…
0
votes
2 answers

Programmatically composing a ~H sigil in LiveView

how can I populate a part of or a whole ~H sigil with a variable? I’m trying to use it to insert some existing html table markup into a Liveview page. I tried the following methods, but they result in texts like “#{html_codes}” or “ … ” on the page…
Jason O.
  • 3,168
  • 6
  • 33
  • 72
0
votes
0 answers

How to display a canvas activity in another page using htlm, js and nodejs?

I am developing an application that needs to render the real time canvas activity (canvas1.html) in another page(canvas2.html). For ex: canvas1.html (Contains the actual canvas layer) if I click the background colour button in this page then the…
Suren
  • 1
  • 1
0
votes
1 answer

JSON-LD tag on Phoenix Liveview

I need to put some JSON-LD content inside a script tag. Today, I’m put the content like this: page_live.ex defmodule ProjectWeb.PageLive do use ProjectWeb, :live_view @data_structure %{ "@context": "http://www.schema.org", "@type":…
Allan Duarte
  • 157
  • 1
  • 3
  • 14
0
votes
1 answer

ModuleBuildError with NPM in phoenix-liveview app

Background Background I am trying to run the demo app desktop-example-app showed in Elixir Berlin meetup February 2021: https://www.youtube.com/watch?v=aFpBHQ0YEw4&t=2016s https://github.com/elixir-desktop/desktop-example-app I can launch the…
Flame_Phoenix
  • 16,489
  • 37
  • 131
  • 266
0
votes
1 answer

Xcode: Playground Live View navigation controller clipped at top

I am creating a playground live view of a navigation controller with a single view controller. import UIKit import PlaygroundSupport final class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() title =…
1
2