Posts by Fábio Reibnitz • 113 points
12 posts
-
-1
votes2
answers1102
viewsQ: fatal error: unexpectedly found nil while unwrapping an Optional value
I know the problem is simple. but I can’t seem to solve it my variable Beats only appears in the second view, but a function ends up calling it in the first view, I just need to check if she’s…
-
1
votes3
answers1491
viewsA: How to round Double values?
After the replies of @Maniero and @iTSanguar I made a function that uses part of the concepts presented by them and also me for this that I found in ONLY extension Double { /// Arredonda um Double…
-
3
votes3
answers1491
viewsQ: How to round Double values?
I made a function to return the rounding of values of type Double, the function is working, but I do not know if it is the ideal way to have this result, I think there must be a way without having…
-
1
votes2
answers497
viewsA: How to receive value from a variable of another Class
I resolved through the prepare as suggested by @Jadsonmedeiros learned through that James Leist’s website 1) I created a follow selecting the screen button and holding the CTRL key, I dragged the…
-
1
votes2
answers497
viewsQ: How to receive value from a variable of another Class
I have a class variable Class1 and I want to use this variable in a function in the class Class2 Tela1 has as its control the Class1 and tela2 has as control the Class2 when called to tela2, Class2…
-
0
votes0
answers50
viewsQ: ERROR: 177: when playing sound Avaudioplayer [Swift]
I’m getting this error message when I play a sound, error has always happened the first time you play the sound, in some tests there is no error and in others yes.. var beep : AVAudioPlayer?…
-
0
votes1
answer84
viewsQ: mathematical function class (regression) in SWIFT
What class to use mathematical equations for regression? And how to plot the graph?
-
1
votes1
answer124
viewsA: Custom components
Gian, see if this can help you https://www.weheartswift.com/make-awesome-ui-components-ios-8-using-swift-xcode-6/ PS: I can’t put as a comment…
-
2
votes2
answers3385
viewsA: How to test an application without registration?
Augusto , to solve the problem of the non-certified developer do the following Go to Settings -> General -> Profile under "Developer App", permission for apple id
-
0
votes1
answer28
viewsA: Coredata Appdelegate - ERROR
The problem appeared after I modified the database.. The problem was solved by restarting the Simulator, in the Simulator menu -> Reset Content and Settings
swiftanswered Fábio Reibnitz 113 -
0
votes1
answer28
viewsQ: Coredata Appdelegate - ERROR
I am encountering error when creating the context variable "There was an error Creating or loading the application’s saved data." The error returned is in the persistentStoreCoordinator of…
swiftasked Fábio Reibnitz 113 -
2
votes2
answers52
viewsQ: return Coredat - Swift
I am unable to assign a textField with the result of a search when it is int, with the right string var results:NSArray = try context.executeFetchRequest(request) as! [NSManagedObject]…