Posts by outrowender • 164 points
13 posts
-
-1
votes1
answer14
viewsA: Will using only 1 endpoint overload my API?
The short answer: yes. Sure don’t go that way. Try something more elaborate to create your endpoints like using the HTTP REST verbs.…
-
0
votes0
answers235
viewsQ: C# & Mongodb - How to filter in child document?
I am starting my adventures in Mongodb and I have a problem specifically with the filtering of documents. The model of my application: public class MatrizCurricular { [BsonId] public ObjectId _id {…
-
0
votes1
answer65
viewsQ: Can Expressjs be used in production?
I recently saw a course where Expressjs was used for backend testing in JSON for an application and I was amazed, but I came up with several questions: Could it be used in production? Can the most…
-
7
votes2
answers1003
viewsQ: Swift 3 / Xcode 8 - How to change the native language of my App?
I’m finishing an application and I couldn’t help but notice that some components of my app are in English: How to change the app’s native language? How to make it change automatically according to…
swiftasked outrowender 164 -
0
votes2
answers430
viewsQ: Swift 3 - How to instantiate a View Controller?
I need to work with a method with attributes that are in another Viewcontroller but I can’t do it. What I’m trying to do: let notasViewController: NotasViewController() And also: let…
-
0
votes1
answer129
viewsQ: Swift 3/Realm - How to filter an Object inside another filter
My intention is to filter a single line within the previous filter results, but returning the same type, so I can perform a third filter. This is my attempt: func salvarDadosAluno(_codPessoa:…
-
1
votes1
answer409
viewsQ: Swift 3/JSON - How to capture List of objects inside an object?
How do I access a list of objects within another list of objects? I can capture these objects peacefully, but I’m having trouble capturing objects within this list. This is my JSON: In this case I…
-
1
votes2
answers208
viewsQ: Swift 3 - How to resize Uitableview automatically
How to automatically resize a Uitableview according to the amount of content in it? I want to do something like what you can do with an Uitextview: MyTextView.sizeToFit()…
-
2
votes1
answer111
viewsA: Insert uilabel or uibutton into an image
In fact you can do the opposite by adding an image on a button. 1. Add an Uibutton 2. Go to the button inspector attribute 3. Set the button 'Title' property to empty 4. In the 'Image' property, set…
-
1
votes1
answer180
viewsA: Force running order Swift 3/Xcode 8 - Threads
To solve my problem, I used a Completionhandler self.FadbaWS.buscaAluno(matricula: MatriculaTbox.text!, senha: SenhaTbox.text!, token: "TOKEN", complete:{ resultado in if resultado.2 &&…
-
0
votes1
answer180
viewsQ: Force running order Swift 3/Xcode 8 - Threads
Hello, I’m new to Swift and this week I came across a problem that is already making me pull my hair out! What happens is this, I divided in my application in several classes to make my code more…
-
0
votes1
answer78
viewsA: List append on for loop - Swift 3 / Xcode 8
As a user here helped me, the Solution was to create a new 'Course' type Object with each loop. I Did not pay Attention to this and was Creating it before entering my loop for i in…
-
1
votes1
answer78
viewsQ: List append on for loop - Swift 3 / Xcode 8
I’m having a problem Adding items to a list Inside the 'for' loop, Where all items in the list are repeated with the last value entered. Here is my Nsmanagedobject list var listCursosNovos: [Cursos]…