Xcode storyboard interface bind items to Popup Button [closed] - swift

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 6 years ago.
Improve this question
Building Osx application using swift.I am trying to add "Pop Up Button" object to storyboard window and and populate those items list with my own array.
How to Programmatically Populate add items to "Popup button" list in Swift?

Related

Change the collectionView cells layout on button click in swift [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 1 year ago.
This post was edited and submitted for review 1 year ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
This is the main scenario which is a collection view and by pressing View button (highlighted in the image) i want to change the layout of cells like tableview cells shown in the 2nd picture.
Result needed:
You can create two UICollectionViewLayout objects, each with their layout options, and use setCollectionViewLayout(_:animated:) to switch between the two.

"Swift Core Data" How to add a Scope Bars to UISearchBar? [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
So, I have a tableView with NSFetchedResultsController! I have also a UISearchController, and works perfectly! But I need a Scope Bars to the UISearchBar. How to create and how to add a Scope Bars in Swift Core Data?
Thanks!
Just give the search bar scopeButtonTitles at the time you obtain it from the UISearchController. As you present the search controller, set the search results controller as the search bar's delegate, so it will get searchBar:selectedScopeButtonIndexDidChange: when the user changes scope buttons, and there you just call updateSearchResultsForSearchController and deal with the search as you're already doing — taking account, now, of what the current scope button index is.

Making GoTo Sheet Button [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 7 years ago.
Improve this question
I want to create a "View" Button on top and the list below which contains the sheet names.
e.g
"View"
sheet 1
Sheet 2
Sheet 3
Sheet 4
... .
If I select Sheet 3 and then click View, it should take me to Sheet 3
I tried macro but it is somehow taking input for a particular sheet only and is taking me to one sheet only even if I select others
Place this routine in a standard code module:
Public Sub SelectSheet()
On Error Resume Next
Sheets(Selection(1, 1).Value).Select
End Sub
Create a Form Button on the worksheet and give it a caption of GoTo.
Assign the macro to the button.

How is implemented the "Edit Details" view in the Contacts app? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
Is a UITableView set in "Edit Mode"?
If so:
Are several sections used? (Such as a section for phone and email?)
Does each section have a "Add row" row (i.e. "add phone"), so I can add a row at the end of each section?
Both questions can be answered with YES.
You can verify this by watching the animation when a new field is added or deleted. This is the usual insert and delete UITableViewRowAnimation. Also the deletion button on the left side of the row is the UITableView delete button.

Is it possible to have a TextView without a system Keyboard but what i write by myself? [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 9 years ago.
Improve this question
I just want to use my own keyboard and input method when type word in a TextView in my own apps without jailbreak my iPhone
You can make your own view and set it as the inputView property of the text view. You'll need to write your own event handling code to update the text after each key press.
I have heard anecdotally on this site that Apple aren't too keen on keyboard replacements if your keyboard is still basically a keyboard (ie just qwerty buttons, but different shapes or looks) but if you have genuine different functionality in there you shouldn't have a problem.