Unclear xcode interface builder feature - Beginner - xcode

When one uses the Interface Builder to arrange the UI Components, there is an option where you have to click to resize or arrange all UI components (buttons, labels, etc.) to fit the view. What is this feature called? And how can you do this programmatically?

I think you are referring to the autoresizingMask property for a UIView.
Have a look at the documentation

Related

How to create same UI as given UX in xamarin forms?

I am working in xamarin forms. I have some UX given by the designer. Now I want to create exactly same UI(same height of control, width of control, colors etc) in xamarin forms. My xaml view should be exactly xame like given UX.
Is there any tool that can guide me to create same UI like UX. I mean through that tool I can get the height, widths and colors of controls of screens and then can use it.
it's not good idea to use exact length of UI since the app will run on different screen and different devices. Xamarin forms uses native views for each platform which will also change the look of basic views.
What you need to do is to use grids or other layouts for sizing and control the height and the width of your views.
I also suggested that you always use scroll view incase if a mobile has a small screen size.
Finally, regarding the actual UI components and UX interactions, there are many ready components like calendars, custom checkboxes, sliders,... . If you can't find a component that cover what you need, you have 2 options:
combine different components and try to customize them with absolute
and Relative layouts.
Create the components yourself which will require some knowledge
on each platform to create the view component by drawing it and do
all the handling for each platform.
Regarding the UX, there are many libraries for animations and most components allow customizability.
Your question was very general so this answer is general. Please try to be more specific next time.

Using custom components in Cappuccino with Interface Builder

I know that in Cocoa, in order to use custom component in Interface Builder I should go to property inspector panel and change, say, my standard NSView to the custom one.
Is there any solution for using custom components in Cappuccino while laying out components in Interface Builder?
You can do the exact same thing.
You have your CPSupaView, you just drop a view in IB and you change the class name to CPSupaView.

Window resizing in Mac application development

Hello everyone I want to know that how could I design my user-interface relatively.I mean to say that if I resize my window its subviews should resize accordingly without overlapping each other.In .Net I remember that we use rows and columns to design our user-interface.What is the proper design pattern in xcode so our application is screen-size independent.As far as I know for this we will have to set the sizes of our views programmatically.We can not do it in interface builder.Any suggestions please!
Read the Setting a View’s Autosizing Behaviour section in Interface Builder User Guide. You want to configure the autosizing rules of your views with the springs & struts mechanism. This can be done either in Interface Builder or programatically via autoresizing masks.

Drop down menu like the default iPad application menus

I'm currently working on my first iOS application to run on the iPad, and I've come across a problem. I have been asked to implement menu's similar to the ones in the default applications such as when you click on the "Calendars" button in the top left of the calendars app.
Only issue is, I cant seem to find a standard UI object that looks like these, with the arrow connecting the menu to the button etc. Is this a standard UI component that I should be able to use, or will I have to imitate them by creating a custom object?
Thanks for any help.
That is a UIPopoverController. There isn't an Interface Builder control for this. You need to create one programmatically:
UIPopoverController *popover = [[UIPopoverController alloc]initWithContentViewController:someTableViewController];
See the documentation for more information and sample projects, specifically ToolbarSearch:

How To Create a iPhoto Like Interface

I'm trying to create a iPhoto like application, where using an array of objects I want to display a thumb along with a title at the bottom of each thumb. How do I display objects like iPhoto does?
Have a look at NSCollectionView / NSCollectionViewItem.
There is another tool palette in Interface Builder called Image Kit. You have to enable the plugin in IB's preferences (the Plug-ins palette). Then, under the object library, select the Image Kit to see the controls it offers. IKImageBrowserView gives you a ready-made control (with the ability to show titles) but I don't think it's as flexible as NSCollectionView/Item.

Resources