Why am I getting a blank screen? - swift3

I'm following this tutorial on Github to learn how to use SwiftyDropbox, and I've followed the steps to the point where I should be able to run the app, and I log into Dropbox. However, when I run the app on my phone, I just get a blank screen. Can someone help me figure out why?
Here's the code for my AppDelegate
The ViewController
the plist
and the podfile

The tutorial isn't exhaustive of every step you need to take to run the app. If you download the whole project and open TestSwifty > TestSwifty_iOS > TestSwifty_iOS.xcworkspace, you'll see in the Main.storyboard that there are buttons, which are connected to code.

Related

Skin lesion segmentation MaskRCNN error (bool index does not match)

i have a task of using MaskRCNN to do a skin lesion segmentation. I have my work on my github but i have an error on cell 22 when training the model.
https://github.com/leahcimali/Skin-cancer-segmentation/blob/main/Project%20Mask.ipynb
Knowing that the shape of my image is (128,128,3).
My code is based on this project, but i had to remove json description because we i download them, they get corrupted.
https://github.com/NeyoxDrago/Skin-lesion-detection-with-MRCNN
Thank, in advance for advice.
I tried installing different environment because some people with similar error had wrong environment setup. But everything i tried i got the same error. I even tried with the recommanded docker image on https://github.com/matterport/Mask_RCNN .

Tailwind__css- live server not working properlly

This is my first time in here so at first I want to say Hello to everyone!
I just start using tailwindcss , I've watch few tutorials on YT and I've done exaclly everything as in video.The issue I got with live server extension, I have to press couple times ctr+s to see changes on my web, same situation with prettier.If anyone had same problem pls write down how to solve it.
I can't get exactly what you are asking for, but i faced a similar problem like this.
When adding tailwind classes to html element and saving the file while live server(vs code) is running, but the browser don't show the changes unless I reload it.
For fixing this issue,
Go to live server extension -> extension settings -> scroll down until you find
Liver Server -> clik on the ⚙️ -> extension settings-> Full Reload -> enable it.
Then restart the live server, there we go you fixed the issue.
It works for me, happy day!!!

How to open or view a Microsoft document from a url in SwiftUI

When I think of documents, I'm thinking about Microsoft products: Word, Excel etc and PDFs. An example, Teams for iOS, I can open a Word file in-app or download and view later.
I know Microsoft is doing some complexity behind the scenes but I wanted to view a document, an excel, from a given url. I have an S3 url to the file that I want to load/read. I do not know where to start so I've Googled "Loading excel/word file from url in swiftui". Nothing really useful shows up. What I do see is how to download and save a file but for what I'm doing, I wont be downloading anything. I came across these resources:
Build document-based apps in SwiftUI
Building a Document-Based App with SwiftUI (Code)
None of the above give me a clue on how to load a document file from a given url: https://www.path-to-file.docx/xls but will be useful later in the process.
PS: I'm building an app while learning, and to break this down, the first step is to load/view the doc/excel file in a view window, later I'll read more documentations to figure out how to make changes etc. The question, how to open a file from a url, any Microsoft products? If that's too much, how to open just one? Is there a resource I could read?
If not possible in SwiftUI, I could learn the UIKit way. Anything to get the job done.

Codelite page gone blank

I have been writing code in codelite for c++ since past 20 days, today morning while writing code, by mistake i clicked somewhere and the top menu of options and side menu of projects vanished. I tried many things but i couldnt get them back. I am not a technical person and learning c++ from a tutorial. Now my codelite page is blank and i am stuck. I have unistalled and installed again but when i opened it, it still shows the blank page . I dont know what to do. Is there any history i need to delete from my laptop(for reinstallation) or need to do something in codelite , to get back default codelite page which comes when newly installed.Please help.
might be a little late here but I think I had your problem, if someone encounters similar
Double check what "perspective" you are on
Ctrl + M key can minimize several open views such as the "workspace view" and the "debugger view"
It's pretty simple, this happened to me too. It happens just because you are on full screen mode, and because you are currently in the workspace folder in which your source code is. Just follow these:
press Alt+M to you exit full screen mode. You should now be
able to view the top menu.
now go to view in the top menu and click on the Workspace pane.
After the Workspace pane appears, you will notice that you are now
in the workspace folder rather than on the source code file. Now, to go
to the file, click on the workspace on which your file is, click on
the project name under which your source code is, click on src,
then click on the file, e.g. main.cpp
Post your doubts if you still have any

Robot framework log not generating properly

Screen of the log file which has failed
Screen of the log file which has Passed
I have been working on RobotFramework. As I am new to it, got these problem.
My Test has 17 Test Cases. I Tested it and got log file as shown in image.
Initially it was showing perfect log with all description of each test cases but now I don't know what exactly I have done. It's showing incomplete log with no any description of test case.
How can it might happen:
Related to Browser (I'm using Chrome).
Or some problem with either Test Suite setup/tear down.
Please point out the exact issue.
I was facing the similar issue with the Robot framework. I tried to remove the robotframework.jar file from my environmental variable CLASSPATH. It worked like a charm.
This jar is necessary if you are using robot keyword annotations in your project. Turns out it wasn't necessary at all in my project. If it is in your case, try to update the Jar file by using latest release.