Questions tagged [eureka-forms]

Use this tag for questions related to Eureka, an iOS form-building framework.

Eureka is an open-source iOS form-building framework written in Swift. It is maintained by Xmartlabs, who are also responsible for the XLForm framework.

Useful Links

Related Tags

302 questions
14
votes
3 answers

Array.map() produces '[T]', not the expected contextual result type '[String: Any?]'

I'm writing an extension to bridge the dictionary values between FirebaseDatabase and Eureka. private extension Dictionary { func firebaseFriendlyDictionary() -> [String: Any?] { return self.map({ (key: String, value: Any?) -> (String,…
Liau Jian Jie
  • 7,071
  • 2
  • 15
  • 16
13
votes
2 answers

Swift Eureka forms: how do you limit the number of rows in a multivalued section?

I am using Eureka to build a form in iOS using Swift. I have created a multivalued section, e.g.: form +++ MultivaluedSection(multivaluedOptions: [.Insert, .Delete], header: "My Header", footer: "My footer") { section in section.tag =…
shim
  • 9,289
  • 12
  • 69
  • 108
13
votes
2 answers

Eureka Forms for iOS - variable row height?

All -- I’ve just started using Eureka forms builder on an iOS project, and it has a lot of wonderful features. It’s very nicely done. However, I eventually realized that there doesn’t seem to be a good way to customize the Height of any given row. …
rondoagogo
  • 664
  • 6
  • 22
9
votes
1 answer

How to present a viewController using a row in Eureka Forms

As Eureka is used for creating a new record, which includes different datatypes, one being MediaPicker, I'm wondering how to present its viewController. Which row would do the job? PushRow or ButtonRow Here is my class where I try to create…
Shyam
  • 561
  • 5
  • 22
9
votes
3 answers

How to make multiline label with Eureka

I use Eureka library and i encountered a problem. I need a multiline label row but don't know how to do it. I can see only one-line with truncation label rows. class MainViewController: FormViewController { override func viewDidLoad() { …
Andrey M.
  • 3,021
  • 29
  • 42
7
votes
3 answers

Loop within Swift Eureka Form

I am building a Eureka form and would like to put a loop within the form to build a list of steppers based on an array. The code I am trying to use is: let itemNames = ["one","two","three"] // Eureka From Set-up form +++ Section("Select item…
Michael Moulsdale
  • 1,488
  • 13
  • 34
6
votes
1 answer

How do you remove the < > (next / previous) Done toolbar in Eureka forms?

How do I remove the toolbar with " < > Done" on top of the keyboard when a Eureka form row is selected? I'd just like to have the regular keyboard. It isn't clear from the documentation how to do this. Also, what is this toolbar generally…
demig0d
  • 1,131
  • 1
  • 12
  • 24
6
votes
1 answer

Change the text alignment for Eureka TextRow

I am looking for a way to change the textField text alignment. I have tried it with cell.textField.textAlignment = .Left but that doesn't change the alignment. It will always stay right aligned. I was wondering why this was the default, as Apple…
ff10
  • 3,046
  • 1
  • 32
  • 55
6
votes
2 answers

Eureka Forms Library responding to a row's textfield finishing editing?

We are evaluating Eureka Forms, and have created a simple form with a couple FieldRows. I see how you can get all the values out of a form, and how you can respond when any row is changed at all using onChange() (on a character by character basis)…
Andrew Kinnie
  • 277
  • 6
  • 17
5
votes
1 answer

How can I use TypedRowControllerType to create a custom presenter row in Eureka 4.3?

I am migrating an old project to Swift 4, so naturally I also updated to Eureka 4.3. In the old project, there is a custom row called LatitudeSelectorRow that presents a LatitudeSelectorController. LatitudeSelectorRow used to look like this: final…
Sweeper
  • 213,210
  • 22
  • 193
  • 313
5
votes
1 answer

Swift 3 Eureka Forms change button row font color

I am creating an IOS app using Swift 3 and implementing Eureka Forms. As part of a form I have a Button Row that is being used as a Delete button. I'm therefore looking to change the text colour to white. I have tried the following, however cell…
Michael Moulsdale
  • 1,488
  • 13
  • 34
5
votes
0 answers

Formatting PhoneRow & Filtering InlinePickerRow

I am learning how to program in Swift and currently working with the Eureka framework on a project. If anyone could provide some hints/suggestions and brief examples on how to accomplish the following it would be greatly appreciated. Formatting…
Plastus
  • 241
  • 4
  • 13
4
votes
2 answers

Dynamically generate Eureka Form Rows

Is there a way to build eureka forms from a json/api response. So far i've been able to convert to json returned to an object. But having issues creating a for loop to generate the form. form +++ Section("API Returns") for values in JSONObject{ …
dankthreads
  • 313
  • 2
  • 16
4
votes
3 answers

Eureka Forms broken after Swift 4.1 Update

I just updated to Swift 4.1 and Eureka Forms is broken. I am trying to fix it myself, but I am not sure where to start. Does any one know if the library authors have fixed this yet? I didn't see any issues posted about it. The errors I get are as…
Taylor Simpson
  • 940
  • 1
  • 10
  • 27
4
votes
2 answers

Strange behavior with MultivaluedSection?

) I have been using Eureka for a while,It's amazing!!! Recently I work on with MultivaluedSection,I write a simple project for test : It simple add/delete person from tableView. here are code , first for model : Person struct…
hopy
  • 559
  • 3
  • 18
1
2 3
20 21