Giter Club home page Giter Club logo

Comments (7)

DavydLiu avatar DavydLiu commented on June 14, 2024

Yes, you can set A.otherButtons = @[B, C, D];. This will chain all four buttons together. After that, you simply call selectedButton on any of these four buttons to retrieve the currently selected one.

from dlradiobutton.

limeh avatar limeh commented on June 14, 2024

Hi David,

thanks so much for this. I’m having some problems with ‘otherButtons’. Having assign 11 checkboxes to my primary checkbox (total of 12), the app crashes. I spent some time digging and found that the loop for ‘(void)setOtherButtons’ is really a lot, causing the crash on this line ‘
[radioButton setOtherButtons:[otherButtons copy]];’

Is it meant to be like this? Unfortunately my project requires up to 15 checkboxes so this doesn't work for me ☹

Sent from Windows Mail

From: David Liu
Sent: ‎Friday‎, ‎January‎ ‎8‎, ‎2016 ‎12‎:‎35‎ ‎AM
To: DavydLiu/DLRadioButton
Cc: limeh

Yes, you can set A.otherButtons = @[B, C, D];. This will chain all four buttons together. After that, you simply call selectedButton on any of these four buttons to retrieve the currently selected one.


Reply to this email directly or view it on GitHub.

from dlradiobutton.

DavydLiu avatar DavydLiu commented on June 14, 2024

I'll try to chain 15 buttons together later.

from dlradiobutton.

DavydLiu avatar DavydLiu commented on June 14, 2024

I was able to reproduce the problem and have fixed it. Will push up the fix tomorrow, stay tuned!

from dlradiobutton.

limeh avatar limeh commented on June 14, 2024

Awesome! Thank you so much!

Sent from my Samsung device

-------- Original message --------
From: David Liu [email protected]
Date: 16/01/2016 01:19 (GMT+08:00)
To: DavydLiu/DLRadioButton [email protected]
Cc: limeh [email protected]
Subject: Re: [DLRadioButton] How to loop through otherButtons for radiobox? (#19)

I was able to reproduce the problem and have fixed it. Will push up the fix tomorrow, stay tuned!


Reply to this email directly or view it on GitHub:
#19 (comment)

from dlradiobutton.

DavydLiu avatar DavydLiu commented on June 14, 2024

I've updated it to 1.4.5, please update to the latest version. Let me know if it fixes the issue!

from dlradiobutton.

limeh avatar limeh commented on June 14, 2024

It works like a charm now! Thanks so much. Using 15 with no slow down at all. :)

from dlradiobutton.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.