Recommended control or page flow for iOS app - ios

I have an app that implement only two main features - a form to create a table entry and another to look it up with entry screen as login screen. What is the best way to implement the screen flow navigation to these different features? Possible options:
Have a new screen after login screen to display a menu to navigate to form or to search screen - just one more screen for navigation purpose is not very intuitive
Use tab bar controller - but usually tab bar has minimum of 3 items, in my case its only two
Any other recommendations?

One optimal option could be,
Post login there should only screen which shows a list of entries with a search bar at the top
In the search bar, you can search Entry - Display the results based on your search query
Display the selected item details on based on selection
In the navigation bar, you can show one + bar button item to add an entry
On tapping the + item -> Create Entry Form -> Confirmation Screen
It should look like,

Related

Create function which only starts after a specific tab bar is changed

I have been trying to make a function start after specific tab bar is changed.
My problem is that I am making a movie app and in one of the tab bars you can choose which genres you want the app to search for. However I need to update the request string when the user switches from the genreselector to another tab bar like settings or the movie finder tab bar.
I have looked at using a tab bar controller but i can only see if the user cliked on one of the tab bars and not see when they specifically change from the genreSelector to another tab view item.
Would love if someone could point me in the right direction :)
You can implement the tabBarControllerDelegate method:
func tabBarController(UITabBarController, shouldSelect: UIViewController)
It's called when a specific UIViewController is selected. If the view controller that should be selected is not genreSelector you can go ahead and update the request string.

Swift iOS search bar loads custom view

I am designing an iOS app with swift which looks like in the picture.
When the user taps on the search bar (first image), a new view should appear (second image) while the search bar stays focused. When the user puts in some search query the expanded view shall be updated. When the user selects a result, the expanded view should go away and show the table view with updated results (third image).
How can I model this custom search bar behavior?
I think the best way to achieve this scheme is to create 2 view..let's say for example A and B.
In view A there is a searchBar and your tableview with different cell. When searchBar got focused or is clicked view B is presented. When a cell is selected, view A is presented back calling maybe API for new data

iOS Design: Is a search button better placed in navigation bar or in its own tab?

I have an app and a feature is where people can search by tags and a big problem I am having is whether I should put the search button in its own tab or in the navigation bar right side.
Setup is currently a tab bar with the feed, browse, and profile tabs. I would either be adding a 4th tab for search, or place it in the right side of the navigation bar of each tab. Can I get pros and cons of each of these options to consider?
If you consider search a core functionality of your app, equal to the levels of your feed, browse, and profile, then I would place it in the tab bar.
If search is meant to behave differently on your feed, browse, and profile pages, I would place it in the nav bar.
I hope this helps; its difficult to make a judgement like this because there is no right answer.

Custom/common toolbar in Swift

I'm quite new to Swift and am working on an app where I'm not sure how to setup the navigation. It works with a tab bar, except that I want the bar to display nomatter what view is being displayed. There are 4 "main" views that the user should always be able to get to. The problem comes when I get into subviews of one of those main views.
I have the tab bar with the 4 icons for the primary views. It's currently displaying the "activity list". When the user clicks on an activity, it will display a list at the next level of detail. However, that view is not one of the primary ones that is represented in the tab bar, so it has no tab bar and no way to transition directly to one of the primary views. You have to back your way out to the Activity list before you can select a different tab.
Say that the main views (represented in the tab bar) are A, B, C, and D. I want to be able to display the same toolbar on all sub-views (e.g. C-1, C-2, etc.) and allow direct transition to any of the other main views, without the user having to manually back out of each sub-view.
What is the "best" way to accomplish this?
1) Should I be creating a custom toolbar object that gets implemented on every view controller?
2) Should it be a combination of tab bar and tool bars?
3) If I have drilled into a stack of views, do I need to pop all of those views individually before I can switch to a different tab?
4) What do I use as my "root" view?
Thanks for any suggestions. I have hunted, but haven't found an example of a scenario quite like this.
I think I figured it out. I needed to embed each "tab" view in a navigation controller.
So...
Tab Bar Controller --> Navigation Controller --> View Controller --> "view stack"
The tab bar now remains at the bottom for every view, and if I touch the tab icon a second time, it goes back to the original tab view controller.

Custom UITabBarItem like in the Evernote app

I'm trying to create a tab bar, where one of the tab items will open a modal view instead of opening a tab. I've already figured out how to do it, but I want that special tab item to look prominent, like in the Evernote tab bar. The Evernote "Add" button looks as if it is always in the selected state (while there is a regular selected tab in the tab bar at the same time).
I wonder - is it possible to achieve the same look (2 blue buttons at the same time) without overlaying custom buttons on top of the tab bar?
Thank you
Create a tabbar item without contents
add a button above it with the plus image and set action to the tab bar action

Resources