UIActionSheet with disabled buttons? [closed] - ios

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I wondered if displaying a disabled option in a UIActionSheet was a mistake ?
According to Apple guidelines:
Use an action sheet to: Provide alternative ways to complete a task. An action sheet lets you to provide a range of choices that
make sense in the context of the current task, without giving these
choices a permanent place in the UI.
So I understand it is better to add buttons in some context and remove it when the context changes. Here I'm looking for some experienced developer answers or feedback about it.

An action sheet provides contextually relevant actions. If an action is unavailable in some context, then it should not be shown. So as you ponder, add and remove actions as appropriate rather than try to disable some actions.

Related

How can I re-create this customized Action Sheet with text field? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm trying to figure out how I can re-create what I believe to be a customized Action Sheet (see photo link below) with a text field and two buttons. I'm relatively new to Swift, so I don't know whether an Action Sheet can be customized to this degree.
It would be helpful if someone could point me to any resources that could help me re-create this. Or if you believe this was created using a framework/library, which specific Cocoapod would be useful for my project. (Note: I am not using SwiftUI, so please exclude that in your recommendations.) Thanks.
Welcome to Stackoverflow. You can literally "re-create" that UI in your storyboard or do it in code. No need for fancy libraries that might get you stuck.
It does not matter if you're new to Swift or not. What you need to have a good grasp of is UIKit.
Here's the only material you need to learn, in my opinion. Autolayout
https://www.raywenderlich.com/811496-auto-layout-tutorial-in-ios-getting-started
Hope this helps.

How do you order the calendar widgets of bootstrap daterangepicker rails after collapse? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I'm using the bootstrap-daterangepicker-rails gem by Dan Grossman, Jordan Brock . I noticed that when the two calendars are collapsed using bootstrap for a phone-size screen, that the "from" calendar falls below the "to" calendar. Is this an issue for anyone else. Is there a way to reorder this, or do I need to select a different range-picker?
This question was posted and answered on github under the "issues" section.https://github.com/dangrossman/bootstrap-daterangepicker/issues/225. There are various code updates recommended to correct the issue, but the work-around acceptable for my application was to set the "opens: left" option.

how to implement selection of date range in iOS? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Has anyone implemented the calendar control in iOS which facilitate selection of date range?
I am developing a app which require selection of date in range.If any body has implemented. Please suggest. also attached reference image.
You can use DSLCalendarView.
https://www.cocoacontrols.com/controls/dslcalendarview
It is simple and easy to use.
You can check this component, it has the facility of selection of date range. This is one other resourceful link for finding open source controls.

Does it make sense to show the create button only if there are changes [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
We have a simple form for creation of a new Article object and it has few attributes which needs to be populated. Would it make sense to show the create only if any attribute was filled? Are there any rails applications which behave this way
I think it's relatively common to disable the create button until all information has been correctly entered, but be sure to include helpful messages either at the top of the field, next to fields which require editing, or both. You want it to be clear to the user why you've disabled the button.
However, hiding the create button entirely might be confusing. I think there are good reasons to not do that, and I don't recall seeing that in the wild.
It depends on the situation, but I would prefer doing extra validations instead of hiding the show button because it will confuse people. A create button simply tells the purpose of the page.

Bug Items in TFS with Scrum Template [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
How do you handle bug duplicates in tfs with scrum template? Do you use the state "delete" or do you first set the bug to "in progress"?
I got some duplicates in the list of user stories too.
I simply use the state "Closed" with the description "Out of Scope", and I add a comment stating that the user story was closed because it was a duplicate.
Sounds good to add a reference to the original item.
I guess something like this can be done for bugs as well.
That entirely depends on what you would try to achieve. I would suggest that you could simply set the duplicate to 'delete' possibly creating a link to the other bug.
You should have an option to set it to a state of "duplicate" from its initial state. I agree with #mfloryan that you should link to the original bug.
If you let mek now which template you are using I may be able to revice this to be more specific.

Resources