Posts by Marcos Tanaka • 184 points
10 posts
-
1
votes1
answer350
viewsA: How do I call a function in Swift Xcode
The function you want to call is the goToTutorialOrTo right? By the code you shared, this is a static function, i.e., it belongs to the class where it was defined. To call her, you can do so:…
-
0
votes1
answer39
viewsA: Programmatically create Entity and save to core data
I usually do like this: func saveTransaction(name: String, value: Decimal) -> Transaction { let context = CoreDataManager.shared.persistentContainer.viewContext let tr =…
-
0
votes1
answer90
viewsA: Connect Sql Server Database to Ios Swfit Program
If you want to access an external database directly from iOS, it will not be possible. You need to communicate with a web service, and this web service yes connects with the database to make…
-
0
votes1
answer84
viewsA: Login to Swift Authorization
From what I understand, you want to direct the user to another screen if the login is successful. In this case you can present the next screen as a modal: if loginOK {…
-
0
votes2
answers117
viewsA: Create a Download according to element id
You can do it like this: import org.springframework.core.io.InputStreamResource; import org.springframework.web.bind.annotation.*; import org.springframework.http.HttpHeaders; import…
-
0
votes1
answer63
viewsA: Perform a search from a certain date
To facilitate processing, create a class Linha to represent the line. On each line read from the file, instate an object Linha with the data read. Store the instantiated object in a list. Browse the…
-
2
votes0
answers162
viewsQ: How to generate XSD that requires sending the contents of an XML element using JAX-WS
I’m creating a web service with JAX-WS. In an operation, I receive an object that contains some attributes and I want these attributes to always come with value. @XmlRootElement…
-
1
votes1
answer58
viewsA: How to enable the Macbook camera in the Simulator?
Unfortunately it is not possible to access Macbook camera in Simulator. Features like camera can be tested only on a real device. A complete list of features that cannot be tested in Simulator can…
xcodeanswered Marcos Tanaka 184 -
1
votes2
answers2173
viewsA: Import class that is not inside an eclipse project
In order to instantiate an object of this class, it needs: be a class in your project or Be on your project’s dependency list
-
0
votes1
answer293
viewsA: Report title in Ireport
The title band (Title) actually only airs once in the report. You can leave the Title band empty and put the title in the header band (Page Header).
javaanswered Marcos Tanaka 184