Questions tagged [catalyst]
Catalyst is a Perl web application framework, similar to Ruby on Rails, Spring (Java), and Maypole.
568
questions
1
vote
0
answers
20
views
Return or detach from Catalyst controller action?
Let's assume I have the following action in a Catalyst::Controller that requires the parameter bar to be present. If this parameter is not given in the query I want to show an error message:
sub foo : ...
0
votes
0
answers
26
views
Error on right click into textfield - swift
I have create an iOS app and I have ported for macOS with catalyst. I have create a simple login page with two textFiled one for email and one for password.
When I run the app in My Mac(Design for ...
2
votes
0
answers
36
views
HTML filter on Template Toolkit. perl [closed]
Can someone tell me why in others code I saw expression like: [% variable | html | html %]. What is the reason to use two html filters? For example in perl catalyst controller:
sub index :Path Args(0) ...
0
votes
1
answer
45
views
Catalyst Template-Toolkit failures when AUTHOR_TESTING or RELEASE_TESTING variables are set
I have a Catalyst application that uses Template Toolkit.
We recently decided to reorganise some of the tests so that some are skipped unless AUTHOR_TESTING or RELEASE_TESTING variables are set (which ...
1
vote
0
answers
56
views
canPerformAction not called in Catalyst app until app enters background
I have a Catalyst Application with a layout like
UISplitViewController
|
|––––– Sidebar
|
|
|––––– List VC
| |
| *on tap*
| |
|––––– Detail ...
0
votes
0
answers
41
views
Sign In with Apple fatal error for Catalyst app: Attempting to present ASAuthorizationController from a SwiftUI view not in a hierarchy
I have a SwiftUI app where I can sign in via Apple Sign In using Firebase Auth. This works completely fine on iPad and iPhone.
However when when running the app via catalyst on Mac, using Apple Sign ...
0
votes
0
answers
22
views
Center the main window of an app in Catalyst
It is possible to set the position on the screen of the app's main Window in UIWindowScene?
I want to center the window of my Catalyst app every time the user open it (instead of appearing in the last ...
2
votes
0
answers
58
views
How to import `State` from `catalyst` version 22.2.1?
I tried to run an old code on my local machine, but running:
from catalyst.dl import State
results into
ImportError: cannot import name 'State' from 'catalyst.dl'
I also tried
from catalyst.core....
2
votes
0
answers
58
views
Detect Cmd + klick on Catalyst with SwiftUI
I want to trigger differed events on tap, double tap and cmd+tap in a Mac- Catalyst application.
For the first two things I used the
.onTapGesture(count: 2) {
print("double tap")
}
....
-1
votes
1
answer
91
views
Where is the cache folder of an "Designed for iPad" App running on MacOS
We are distributing an iOS app to the Mac App Store via the "Designed for iPad" mechanism. I am now wondering where the documents / cache / ... folders are. I can't find anything in ~/...
2
votes
1
answer
43
views
Adding CatalystX::I18N::Maketext to my DBIC schema
sorry, I thought I had got there after my last post, however I only got as far as accessing from a separate PL file. I'm now trying to ensure I can load the lexicon with the schema load and not ...
1
vote
1
answer
66
views
Perl and Catalyst: accessing maketext from a model
Edited to clarify / reflect what I've been trying:
I'm using CatalystX::I18N::* in order to be able to internationalise my site. I have that working nicely, and my site text is coming from $c->...
0
votes
1
answer
123
views
Unable to load SwiftUI view in MacPlugin(a shared protocol between Appkit + UIKit) for Mac Catalyst app
Long story short, my usecase is to include Status bar menu in Mac catalyst app, for that I need to access Appkit library. Thanks to shared protocol approach I can include both Appkit & UIkit ...
0
votes
0
answers
50
views
Paraview plugin migration from 5.2 to 5.9
I want to migrate my paraview plugin, which worked at Paraview 5.2, to Paraview 5.9 but I get those strange error in cmake. Can anyone help me? Would be great. I am using CMake 3.15.2 and Visual ...
0
votes
1
answer
67
views
Custom Menu for Mac Catalyst App in Obj-C
Can anyone help with an example on how to configure the menu for a catalyst app in Objective-C. The main intend is to get rid of most of the menu items.
1
vote
0
answers
30
views
Python catalyst data type conflict
I have previously used the catalyst library to fit the classification model for images and had no issues, but now I would like to use it for "table" data, however, It seems that I am doing ...
2
votes
1
answer
90
views
Serving ionic vue build through perl server is not working
I have a perl application and want to change parts of it to an ionic app.
I'm building my ionic vue app with ionic build and redirect in a perl controller to the index.html file in the generated dist ...
0
votes
0
answers
878
views
MacOS 11.4 Perl: dyld: missing lazy symbol called
I get the following error when I'm running a perl catalyst application locally on mac big sur 11.4:
dyld: missing lazy symbol called
the application is compiling correctly, but when I enter the url ...
2
votes
1
answer
632
views
How to avoid strange behavior when scene-based document mac catalyst app reopens windows on app restart?
I have been struggling to get the mac version of a mac catalyst app to work. This is a scene-based, DocumentBrowserViewController based app that works fine on the iPad. On the Mac, it works fine, ...
1
vote
0
answers
49
views
Mac catalyst: change menu item name
Ho can I change the title from a menu entry in a catalyst app.
Let's say I wanna change the menu item title from File/About to File/About app
0
votes
1
answer
210
views
Building Realm for Mac Catalyst fails: Realm.h not found
I have an iOS app, which I recently updated to support Mac Catalyst. For the Mac version I added a new target, which I also added to my Podfile with the subset of the same libraries, including Realm.
...
1
vote
1
answer
291
views
Can I mix Catalyst with MacOS target?
Environment: Mac mini M1; and iPhone 6s Plus, etc.
Mac OS 11+, iOS 14+
I'm using SwiftUI/Combine Frameworks versus Storyboard.
Scenario: I have an iOS application that I want to expand into a MacOS ...
0
votes
1
answer
268
views
dyld: Library not loaded: @rpath/SwiftyStoreKit.framework/Versions/A/SwiftyStoreKit - macCatalyst
Run fails with the error for mac Catalyst
require 'cocoapods-catalyst-support'
platform :ios, '10.0'
target 'MyApp' do
use_frameworks!
pod 'SwiftyStoreKit'
end
# Configure your macCatalyst ...
1
vote
1
answer
78
views
Design components for Catalyst framework [closed]
After three years spent using Angular I decided to go back to one of my first loves, Perl (99% back-end). More than that, I want to create my first public website using the Catalyst Framework.
Is ...
0
votes
1
answer
33
views
Does Apple Catalyst support iPhone
There are many resources and tutorials mentioning iPad and/or iOS being compatible with Apple's Catalyst framework,
So, the same source-code runs on Mac OS X as well.
But does Catalyst support iPhone?
...
0
votes
1
answer
29
views
IOS catalyst can't get products in Catalina system, it is always in the request state
in-app-purchase. IOS catalyst can't get products in Catalina system, it is always in the request state. But it's normal in IOS and bigsur 。
1
vote
1
answer
83
views
requestApplicationPermission userDiscoverability failed in Mac Catalyst
I have ios app using requestApplicationPermission userDiscoverability. Today, I add Mac Catalyst support, but failed: "requestApplicationPermission(.userDiscoverability) failed, error: CloudKit ...
4
votes
1
answer
368
views
SwiftUI & Mac Catalyst: Sidebar is not displayed correctly
I enabled Mac Catalyst for an iPad App and encountered an strange Display Problem of the Sidebar.
Code:
@State private var selection: NavigationItem? = .start
NavigationView {
List(selection: $...
1
vote
0
answers
100
views
Show TabView elements in Touch Bar - SwiftUI
I'm working on a Mac app (via Mac Catalyst), and I'm looking for a way to display TabView items in the Touch Bar as well...
I tried with the .touchBar modifier, with the targetEnvironment(macCatalyst) ...
0
votes
1
answer
305
views
Big Sur-style sidebar Mac Catalyst in SwiftUI 2
I have problem with making sidebar look transparent. All advices about implementing it (even official Apple Documentation) is on AppDelegate/SceneDelegate. But since last update projects have only ...
0
votes
1
answer
131
views
Why is UIDocumentPickerViewController working on iOS, but showing the wrong folder on Mac Catalyst?
The code below works fine on an iPad or iPhone -- saveDocument() (see below) writes to /Users/me/Library/Containers/My-App/Data/Documents, and openDocument() shows me the content of that folder.
On ...
3
votes
0
answers
84
views
macCatalyst app builds but won't launch on Mac
I am designing a swiftUi app which runs seamlessly on iOS 14 simulators and devices, but fails to launch on the Mac (10.15.7).
The app builds without issues, then I have this in the console:
dyld: ...
0
votes
1
answer
120
views
How to Order a fraction of a Crypto (like Bitcoin) in zipline?
Basically as you all know we can backtest our strategies in Zipline, the problem is that Zipline is developed for stock markets and the minimum order of an asset that can be ordered is 1 in those ...
0
votes
0
answers
28
views
CoreML Catalyst MPSNNReduceFeatureChannelsArgumentMax returns all zeros
I'm using CoreML for image segmentation. I have a VNCoreMLRequest to run a model that returns a MLMultiArray. To accelerate processing the model output, I use MPSNNReduceFeatureChannelsArgumentMax to ...
2
votes
1
answer
53
views
Secondary click not working with iPadOS ported with MacCatalyst
I'm trying to bring an iPadOS app to macOS with catalyst. The app supports pointer (mouse/trackpad) interactions released with iPadOS 13.4. There are gestures in the app that work via secondary ...
0
votes
1
answer
43
views
is there anyway that I can get a list of all cli commands for a Cat4k switch?
looking for a way to get all the cli commands of the catalyst 4500 switch , is there anyway or any sites I need to refer?
1
vote
0
answers
242
views
UIPicker not showing in Mac Catalyst
I'm taking an iPhone app and making it available for Mac.
When I run the app on the Mac, the UIPicker displays nothing.
It places the cursor inside of the button and allows me to type, which is not ...
1
vote
1
answer
241
views
Mac Catalyst cannot capture .command key modifier with pressesBegan override
I'm developing a remote desktop control application for iOS (and MacOS through Mac Catalyst) that must be able to capture all keyboard input on the device including the Cmd key (equivalent to Super / ...
4
votes
0
answers
324
views
How to cross-compile curl on macosx to suport MAC catalyst Apple silicon?
catalyst + x86_64 to support intel script as below:
export CFLAGS="-target x86_64-apple-ios13.0-macabi -arch x86_64 -pipe -Os -gdwarf-2 -mmacosx-version-min="10.15" -fembed-bitcode -...
0
votes
1
answer
430
views
Right click on UIButton for UIKitForMac (catalyst)
Is it possible to easily enable right click on a Catalyst app within UIKitForMac?
Currently the following code works perfectly on left click, but nothing is called on right click:
button.addTarget(...
2
votes
1
answer
108
views
HTML string is not Working in MAC Catalyst
HTML attributed string is not working in Mac Catalyst but it is working fine on iPhone and iPad. HTML String code are the below.
var htmlToAttributedString: NSAttributedString? {
guard let ...
0
votes
1
answer
237
views
Is there a targetEnvironment for macCatalyst in SwiftUI?
how to make a conditional view in SwiftUI with a targetEnvironment which checks for macCatalyst?
Something like:
#if targetEnvironment(macCatalyst)
print("macOS")
#else
print("...
0
votes
2
answers
561
views
Mac Catalyst SwiftUI: Alert showing duplicate buttons
Does anyone know how to fix this bug? Otherwise I'll create my own alert modal maybe? It seems it's a old bug - at least from macOS 10.15.3, now 10.15.5 and still unresolved. What's funny is that in ...
0
votes
1
answer
782
views
How to install Python Catalyst on Python 3.7, getting error?
(catalyst) C:\Users\deliseev\Documents\Pyhon>pip install enigma-catalyst matplotlib
Collecting enigma-catalyst
Using cached enigma-catalyst-0.5.21.tar.gz (767 kB)
Collecting matplotlib
Using ...
1
vote
1
answer
506
views
UserDefaults Error in Catalyst App, Recommended solution doesn't work
I am getting the following error when my App runs as a Catalyst app, it does not happen on iOS.
2020-05-25 11:33:40.249195-0400 Wasted Time[80637:885413] [User Defaults] Couldn't write values for ...
0
votes
1
answer
16
views
with Catalyst framework, how to check the uri path in wrapper.tt
I like to check the path in wrapper.tt, so I can dynamically include links based on the path. But I can't figure out the way to get the path in the tt file after extensive online search. For example,...
1
vote
1
answer
172
views
Catalyst - SKCloudServiceController requestAuthorization always return denied
First of all thanks in advance,
I'm including support of catalyst on an iPad app. I make use of SKCloudServiceController requestAuthorization on the iPad app and everything works as expected. My ...
1
vote
0
answers
69
views
Perl catalyst development server not accepting connections
Here is the stdout
[lzhou@localhost script]$ perl dbauthtest_server.pl You are loading Catalyst::Engine::HTTP explicitly.
This is almost certainly a bad idea, as Catalyst::Engine::HTTP has been ...
2
votes
0
answers
79
views
Catalyst app using frameworks built for MacOS
This might sound weird, as I don't have much experience with iOS / Mac development but is it possible to use frameworks built for Mac in a Catalyst app?
I know , but I'm using React-Native to build a ...