Initializing Appdelegate Object in xcode 8

Initialising appdelegate object in xcode 8 throwing warnings. Is anything wrong in the following syntax

AppDelegate *del=[[UIApplication sharedApplication]delegate];


I give you another option to use Appdelegate Object and decalre it in appdelegate.h file like this

#define theAppDelegate \
((AppDelegate *)[UIApplication sharedApplication].delegate)

HOPE This works fine

Need Your Help

Android FrameLayout Child Negative Margin Odd Effect

android android-layout android-animation android-view android-viewgroup

I made a custom View that is used to show feedback in the UI (usually in response to an action being taken). When FeedbackView.showText is called, it will animate the View in for 2 seconds, and then

Tomcat Website Returning Blank Pages

spring-mvc tomcat7 web-deployment catalina.out

I am have been grinding since last week trying to deploy a tomcat7 website. I am using JDK8.