eureka-forms

    1熱度

    1回答

    我有以下示例性形式設置: let testForm = Form() testForm +++ Section() <<< PushRow().cellSetup({ (cell, row) in row.title = "foo" }) +++ Section() testForm +++ Section()導致錯誤Ambiguous reference to membe

    2熱度

    2回答

    我試圖在swift 3中構建一個自定義的演示者行Eureka,當點擊時顯示一個UIViewController。 的documentation建議如下代碼: public final class CustomPushRow<T: Equatable>: SelectorRow<PushSelectorCell<T>, SelectorViewController<T>>, RowType {

    0熱度

    3回答

    有沒有什麼方法可以用尤里卡創建範圍滑塊? 就是這樣。 <<< RangeSlideRow() { $0.maxValue = 10000 $0.minValue = 0 $0.selectedMaxValue = 9000 $0.selectedMinValue = 5 }

    1熱度

    1回答

    我正在嘗試創建一個顯示圖像的自定義行。於是我開始試圖在尤里卡的網頁表示的基本自定義行:https://github.com/xmartlabs/Eureka#basic-custom-rows 下面是我使用的代碼: import Eureka public class CustomCell2: Cell<Bool>, CellType{ @IBOutlet weak var

    0熱度

    1回答

    我需要讓SegmentedRow的片段通過文本標籤進行自動調整。 我的想法是使用: segmentedControl.apportionsSegmentWidthsByContent = true ,但不能得到segmentedControl參考。

    5熱度

    1回答

    我正在尋找一種方法來更改textField文本對齊方式。我已經試過 cell.textField.textAlignment = .Left 但是這並不改變對齊。它將始終保持對齊。我想知道爲什麼這是默認的,因爲蘋果公司在大多數地方(如果不是所有的地方)都使用左對齊的文本輸入。

    0熱度

    1回答

    我很努力從尤里卡表格中提取確切的價值。下面是我的源代碼迄今: Optional(Optional("Comments")) Feedback Optional(nil) Office Optional(nil) Time Optional(nil) Method Optional(nil) Date 當提供正確的輸入時,返回以下結果:: class CommunityReportVie

    0熱度

    1回答

    let rowEndTime = form.rowByTag("End Time")?.baseValue let formatter = NSDateFormatter() formatter.locale = NSLocale.currentLocale() let stringEnd = formatter.stringFromDate((rowEndTi

    0熱度

    2回答

    I am unsure how to implement a sliding imageview like the one in the top of this screenshot. 上滑動的ImageView的頭,我使用尤里卡形式和我想包括這個滑動的ImageView作爲標題。 目前我使用的是自定義視圖,這Library 我覺得我的問題的根源是由手勢識別和方法「點擊」造成的。 Xcode在se

    2熱度

    1回答

    我正在做尤里卡的過濾器形式。所以有一個包含所有類別的列表,前面還有一個「All」單元格。所以我的問題是,當我按下「全部」時,我怎樣才能立即取消選中所有其他單元格,以及如何在單擊其他單元格時取消選擇「全部」。