Show the custom view in window in objective C
NickName:Jonny Vu Ask DateTime:2013-11-05T13:00:48

Show the custom view in window in objective C

I'm showing a normal ViewController. Now i will tap on a button and all i want to see is like the following image:

My Custom View interaction

In this image, the background is my root view controller and when i tap on the button, an image view that include black color(alpha = 0.8) will put on top and show my Custom View. In my Custom View, when i tap on DONE button -> the content of textField1 and textField2 will send back to rootViewController and hide my Custom View.

So, could you please help me for solve my situation? Tks in advance.

Copyright Notice:Content Author:「Jonny Vu」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/19782176/show-the-custom-view-in-window-in-objective-c

Answers
Meenakshi 2013-11-05T05:14:17

You can use the delegate & block programming to send the data back to the root View Controller.",


More about “Show the custom view in window in objective C” related questions

Show the custom view in window in objective C

I'm showing a normal ViewController. Now i will tap on a button and all i want to see is like the following image: In this image, the background is my root view controller and when i tap on the bu...

Show Detail

How to fade animate hide/show window with Objective C

In Objective C, is it possible to hide my application window on launch, and then at some point of time make the call to do a pleasant fade animation to show my application window? Not that you nee...

Show Detail

How to import swift class as a custom class for view controller in objective c

I have imported chart library(swift file) into my objective C project.Then i have created a new file in swift called BarchartViewController. Now i want to set BarchartViewController as a custom cla...

Show Detail

Objective c change autosizing of NSRect in custom view

The title is fairly specific about what I want to do. I have a custom view and have drawn some elements inside that view. How do I change the autosizing properties programmtically? I have looked ar...

Show Detail

SafeArea in iOS 11: how add view on main screen with custom navigationBar without safeArea from code in objective-c

In my project on Objective-C mainScreen with Custom NavigationBar (created from code): mainNavigationController = [[NavigationController alloc] initWithRootViewController:mainMenuViewController];

Show Detail

Call method in different controller in objective c

I have a view controller from where I will be showing a window controller using [runmodal]. I have some textfields and button in the modal window. When i click the button i need to call a method i...

Show Detail

Use SwiftUI View file inside Objective C framework

I am building an objective C framework in which I want to show a screen when a function is called from the app that will import the framework. I am trying to use the swift code as I have seen in some

Show Detail

Show alert from UITableViewCell class - Objective c

I want to show alert with button in custom cell. How can I do this in Objective C? Thanks

Show Detail

Add Original Custom View to the Window

I added my custom view to the window but it doesn't work. I tried to figure it out but it doesn't work well. (I created this project with the empty project template without using storyboards). This

Show Detail

Custom cell for Objective C

I am new to coding in Objective C. Originally I was bringing in a string of data into my tableView and I was having a really tough time with spacing out everything row by row. So I just need some

Show Detail