ios uitableviewcontroller edit mode - uitableview

I'm looking the CoreDataBooks sample to manage the data using the uitableviews and I have a question: when I choose a book, appears a table like this:
and if I press edit, to edit the values I need to go to another view....
it's possible make a think like the contacts app, and edit directly the values cliking?
thanks!

you can use the This Example from apple, hopes this helps.

Related

How to add a table to a NS/UITextView in Swift?

I can see in Apple Notes and other notes app that they have tables embedded into the text editor. Swift has NSTextTable, but it's just available for macOS. I'm wondering how I can add a table to both, macOS and iOS?
In addition, these tables should be interactive like in Apple Notes, like I can add a row or column, move them around, etc. I have seen this project which enables you to embed a NS/UIView into the editor, but this seems more like a hack.
Any ideas?
I think that there is no simple way to add such attachments to a textView on iOS, you may try to find something in NSAttributedString, but probably it won't have a solution, so https://github.com/vlas-voloshin/SubviewAttachingTextView looks like a good option.

Xamarin iOS project need suggestion

I am developing a survey app using Xamarin and Mvvmcross. Can some one help with suggesting a way to build a View to display questionnaire. These questionnaire will be supplying from my View Model as a List of question with Question Text, Answer options. Based on a flag I need to prompt the questionnaire with input type as drop down or Text boxes. Number of questions can be vary.
In Android I achieved it using MvxGridView and Layout templates. But not sure how to do it in iOS.
You could look up UITableView or UICollectionView and UITextFields and UIPickerView
Wellcome to Xamarin, about your question you can just take look the code I wrote for others, it's a tableview include custom cell to display images, you can just modify the MyTableCell.cs class to display anything you want.
Custom cell tableview(Xamarin.iOS)
If you still need some help, just leave it here, I will check latter.
Hope it can help you.

Creating selectbox in swift

I want to create select box just like creating events in calendar when choosing start time and end time. Any suggestion?
Because I can't find any resources about this.
Please help.
Normally, we handle this using UIDatePicker or custom of UIPickerView. But, it's still able to create something like a select box using UITableView. Some people do want it look like a select box instead of using the native iOS widget. However, we always suggest to use the iOS widget so that user will not get confused because they have adapted to the iOS world.
Using UIPickerView solved the problem.

Is it possible to use Monotouch.Dialog to create a custom list like this?

I just discovered Xamarin Studio and Monotouch.Dialog, and I've been doing a lot of research on custom table cells. So far I've been pretty successful experimenting with some of the features, but I'm having trouble figuring out how to create something like this:
All of the samples I have seen still look like a standard iOS table view, with maybe a few colors changed here and there. My goal is to create truly customized cells, with customized spacing and what not. I'm not sure if this is even possible, so I figured I would ask you guys.
Thanks in advance.
Yes, you can create an OwnerDrawnElement. There's an explanation of this in the Owner-Drawn Element section of this doc:
http://docs.xamarin.com/guides/ios/user_interface/monotouch.dialog
There's also a sample here:
https://github.com/migueldeicaza/MonoTouch.Dialog/blob/master/MonoTouch.Dialog/Elements/OwnerDrawnElement.cs

iPhone Share Button

How can I recreate this, something found throughout native iPhone apps such as Safari and Photos.
I'm assuming it is pretty simple, I just don't even know what it is called so I'm having trouble finding out how.
It is usually reached using an action (or export or something) button.
The same functionality is called as UIActionsheet. You can get plenty of examples for the same on SO itself.
you are looking for whats called a UIActionSheet
check this out for more info
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIActionSheet_Class/Reference/Reference.html
you have to create action sheet https://github.com/gpambrozio/BlockAlertsAnd-ActionSheets

Resources