Drawer View in Xcode? - objective-c

this is my first mac application, and i have been wanting to make something like this:
But, i have been looking and have found nearly nothing about the Window and Drawer. How can i put this into my application? Thanks!

That's not a drawer, that's a sheet. Here's the conceptual documentation about sheets, which includes sample code.

Related

React Native Modal VS Screen

I'm working on a RN application which has share and comment features. In Facebook, modals are used to display the comment and share screen contents. In my application I have used seperate screens hence it is bit slower. What is be the better approach to use here?
Always try to use SCREEN with navigator. Think about your form modal screen in overall. May be it more similar on 'screen' then you thought before))

Animating the tab bar

I'm following this guide to create some animations to my app and thought about writing a very light not distracting animation to my tab bar. I've searched apple guidelines but didn't saw anything against it, yet, I don't think I've ever seen an app doing something similar. Is that because it's not allowed or is there another reason I'm missing?
Any one knows an app that does something similar?
I'm using a simple slide in/out effect for the tab bar in my App.
No problems in the review.
The code I'm using is at https://stackoverflow.com/a/5272497/725594

Garageband like carousel for iPad

I'm looking for a way to achieve a menu kind of like the one you see in the "my songs" menu in Garageband. I've seen this menu in some other Apps (Omnigraffe, for example). I think it is a pretty common thing.
It will be for, like in the case of Garageband, a project menu, in the way that you can slide from one project to the next and when you tap one of them it zooms and opens it.
No questions on the zooming, I guess I'll have to build my own segue for that.
Is there a component for that?
If there's not, any thoughts on what would be the best way to build it?
Take a look to Nick Lockwood's carousel - https://github.com/nicklockwood/iCarousel.

Help to find out what component is being used

I'm a beginner with Objective-C and I have to create something similar to the one on this image but I don't know what are the components on the top bar.
Thanks in advance for any help
It looks like a navigation bar but I think a customized view with customized buttons are what it actually is.

Animating Tab Bar page switching

I'm quite confused with the whole animation stuff in iPhone SDK. I tried to study throught the SDK documentation, this website or tried googling it out without success.
I'm unable to get my scenario work.
I have single XIB file, with tab bar and a 4 tabs.
In a special event i want to switch from one page to another "in code", so I call eg: [tabController selectedIndex: 0].
I need this transition to be animated. Is there a way?
If user switches tabs manually, no animated transitions are needed
Also I have one subquestion:
In one of the tabs I have a UITableView with set of items. When user clicks any of these items, another set of items are beign shown (sort of hierarchy browser)
I tried to animate this transition using -deleteRowsAtIndexPaths:withRowAnimation: and -insertRowsAtIndexPaths:withRowAnimation:, but without luck.
Desired transition is shifting the old items set to the left side and the new items from the right side.
This is first time of my iPhone development, when I got lost even with all the forums and documentation. :)
Thanks in advance to anyone trying to help me!
As for your first question: Yes you can.
Try this link for some answer:
transition on tab bar sample code.
In short words: you should add a delegate object to handle the tab bar switching by setting the tabBarController.delegate = self.
Yet, what this forum post won't tell you is that you need to "import" some framework to do it.
First - right-click on the framework folder on the left hand list in Xcode and add an existing framework named: "QuartzCore.framework".
Than - add these lines to your tab bar holder (on .h file):
#import <QuartzCore/CAAnimation.h>
#import <QuartzCore/CAMediaTimingFunction.h>
As for your second question, try to replace the datasource (array or what ever) or create login function on the cell to replace its content.
Enjoy!
First Question: No, you can't animate tab switching. Please read Apple's Human Interface Guidelines on this. Tabs are meant to switch instantly. An animated transition would break the "tab" paradigm.
Second Question: When you tap on a row, the user does not expect other rows to disappear and new ones to appear. Instead, this sounds like a case for a UINavigationController. Please refer to Apple's sample code, specifically the UICatalog for sample code on how to implement this.