How do I set up the deployment section in PhpStorm? - deployment

This is a two part question.
The first part is how do I fill out the deployment section of PhpStorm, if I am trying to set up Homestead via vagrant. I have attached a picture showing how I think it needs to be set up.
The second question is whenever I try and click the "Test Connection" button I get the error shown in the second image. How can I fix this?

Fixed it :)
Okay so I had to change several things. But in the end this is what it looks like.

Related

Launchpad has a different style to the views

i have a question.
Why is the style of the view a different one in the launchpad as without ?
Its kinda annoying because some of the labels or inputs sometimes gets readjust and than it is not clean. The ui looks way smaller, can it be fixed? I tryed already to put "fullWidth": true in the manifest but yeah no changes.. when i open the dev menu and delete the sapUiSizeCompact from the body in the launchpad then it looks normal. But i did never set the sapUiSizeCompact is there a way to remove it?
Example:
Not launchpad
In the Launchpad
i found a way but it seems you have to set it per user.. i am not really happy but maybe someone know how to do it as a standard so the user dont have to set it by deafult. You can set this option in the settings of the flp

Swift ViewController does not respond to -getFile, Could not connect action, target class

My code works all fine but there is always two console message every time I run it.
app works fine but the messages just bugs me so much. Could anyone tell me what is wrong with my code and what does these console message means,thanks
2016-06-13 14:31:15.014
LazyHackintoshGenerator[1625:37250] Could not connect action, target class
LazyHackintoshGenerator.ViewController does not respond to -getFile:
Select your ViewController.
Right-click on its “View Controller” icon (the blue circle with a white square inside).
Look for warning icons (yellow triangles).
Hover over them. An explanation of the problem will appear.
As Feldur said, the problem is probably a leftover link from your storyboard to a method that does not exist anymore (maybe you renamed it or deleted it manually). Remove the link by clicking on the cross, and, if needed, re-link to the appropriate method in your code.
Here is an example of what it will look like in Interface Builder.
Likely a control's action in your storyboard is linked to a method getfile that no longer exists

Custom PickerView froze up (With sample project)

Background: I have been wanting a PickerView that is exactly matches that of Safari. I looked through many Gits and found none that work quite as exactly. I decided to build my own. It is complete now, but there is a bug that would not go away.
Problem: If you run the sample project you will be greeted with 2 text fields.
Tap on one of the textfields - it brings up the BTPickerView. Everything works just as you would expect.
Choose the fourth choice, then press done.
Tap on the same textfield. This time, the debug log will show you that you have executed an infinite loop, which freezes the app.
Question: What did I do to cause it? And how do I fix it?
I have tried everything to boil it down. It comes down to this and I could not go any further. Please advise.
Edit: Here is the sample code you can download in case anyone missed the blue link above.
The issue seems to be with the constraints in BTPickerLabel. If you temporarily disable the constraints from BTPickerLabel, code works fine. Enforcing constraint might trigger the reloading of entire picker view infinitely. I hope it should help you to fix the problem.

How to go back to an earlier screen in install4j?

Basically, I want to go to the Installation Components screen, after one installation. Just like the dbca setup wizard.
Note the ID of the screen you want to go to, say "123", and call
context.gotoScreen(context.getScreenById("123"));
in a script, for example the validation expression of another screen.

UISearchBar error when entering Searchbar textbox

I have found a strange error. I have been following this sample:
http://jduff.github.com/2010/03/09/throwing-a-uinavigationcontroller-uitabbarcontroller-and-uisearchbar-together/
I tested it and then tried to roll it in my app. It worked in the sample but not my app. In my app I would SIGABRT or BAD_ACCESS errors whenever I entered the textview inside the searchbar. The main difference was that I placed the Search on the second tab rather than the first. When I changed the taborder on my app to have the search on the first tab's navigation controller, it worked! It seems that unless I first enter the searchbar's textview. The object gets released and if I try to enter it later it fails. Very weird. I don't know enough about the objects here to say what the initialization sequence is but my guess is I need to do more initialization to get it to work.
go through the article in the link once more. especially through the "Setting up the Project" part.
In the article everything is set for the "selected view controller" which is the first one. And you say you implement everything to the second tab. Make sure you didn't implement everything in the first one of your project.
Let me know if this helps. If not I'll figure out something else.