Scrollview not working while using xib custom view in swift? - ios

Hi I am new for developing ios application.
I have used cocopods framework for doing the page segmentation control.
I have used following mentioned Cocopods PageMenu framework.
In that Its working fine able to use that pageMenu. In that we need to create the xib customview for doing page menu. so In that framework mentioned with tableview so its able to scroll the page. so I have changed instead of using tableview I have used some form details like ( register page ). so I need to add more textFields for that page.In that scroll not happening. please anyone help for fixing the problem.

Related

How to launch a custom UIView as a Dialog iOS

I'm working on a Dialog for my iOS app, and have decided that the default boxes don't allow for the level of customization I am looking for.
So, I have created a view inside a storyboard. It is embedded in a view called DialogBoxView inside DialogLayout.storyboard with a view controller called DialogLayoutViewController.
In short, I want to be able to open the specific view as a Dialog. (Like this below.)
But, as previously mentioned, I want the View inside the Storyboard to inflate as the dialog's layout.
What I need is a way to call into the ViewController handling the Storyboard [I can do this] and open the specific DialogBoxView inside.
See:
My Hierarchy
See:
My Layout
Please note that I have browsed around a bit on Google, and nothing is useful. It is either outdated (OBJ-C) or not what I really need.
Additionally, is it possible just to (like in Android/Java) "inflate" the View layout as the Dialog's view?
Summary:
Can anyone give me an example on how to inflate a specific view (inside a Storyboard) as the dialog programmatically from the ViewController?
I'm still kinda new to Swift and iOS development in general, and I have come across some functions that may work, I just can't put them together in a way that actually works.
NOTE: I have found a way around custom layouts, but am still curious as to how this might work.
Swift 5
Some time ago, I created one project similar: You can see in: https://github.com/MaatheusGois/custom-alert

2 page view using UIPageViewController

I am trying to create a TWO-PAGE view same like a open book with curl effect. Sample Image attached here -
To achieve this, there is a one library named "leaves" using which this can be achieved, but this library is obsoleted, and i want to implement same effect using UIPageViewController. I made a view with single page which we can be easily created using UIPageViewController sucessfully but i am not getting idea to achieve such kind of functionality using UIPageViewController.
if anyone can give me some idea,guidance,share a link or any help by which i can achieve this functionality using only UIPageViewController then it will help.
you can see http://www.appcoda.com/uipageviewcontroller-tutorial-intro/ and use or tutorial this project for done work.

UiTableView as Navigation method in iOS

please have a look at the attached image. I would like to build such a view to add some data to my app. Is the view shown in the image a UiTableView with custom cells? Is there a tutarial showing how to use an UiTableView for form elements (using siwft)?
Thanks
Suggest you look for a third party library that has already implemented what you want. If they're Objective-C you can still use them from Swift through the bridging header.
See this question for some ideas:
Existing iOS form framework

Adding Static Cells to UITableView in Interface Builder for iOS8? Content Section Not Shown

I am trying to add static cells to a UITableView in XCode 6 using Interface Builder. All the tutorials I am seeing online show a section called "Content" which allows the cells to be made static. Also, there is a feature to switch the number of sections.
I have screenshots below for both.
This is the first, with the feature:
This is the second, without the feature:
I could probably figure this out, but I'm wondering why the problem is happening. The one with the feature is from an older version of iOS and is placed inside a storyboard. The one without the feature is from the newest version of iOS and XCode, and is in a .xib file, without a view controller in the file.
I'm thinking this may be an issue with the new XCode, but I'd love to hear why. I'm really needing to make these static cells, and all the answers I've found on the internet seem to assume that this section is available.
Dynamic prototype and static cells are only available in storyboard table views.
Static table view cells are only available when using storyboards. However, if you aren't using storyboards for your entire UI you can still use them for individual screens instead of a collection of screens.
Please see this link.
https://stackoverflow.com/a/11041693/3683148

adding items to tableView in IOS

Can someone go help me figure out how to hookup the table view so that i can add items to the table view? I'm trying to make a news screen for this app and am having trouble adding data to it. I have the xib file all set up i just don't know how to hook it all up in xcode 4.
It looked like you have not use UITableView class before. I would suggest get one of the samples from Apple. Here is the link.

Resources