This code is used for Show - Hide a UIView on a particular UIButton Click. Put your content on viewMenu. This code will Show - Hide this UIView with animation.
-(IBAction)btnMenu_TouchUpInside:(id)sender{
[self.view bringSubviewToFront:viewMenu];
UIButton* btnSelect = (UIButton*)sender;
btnSelect.selected = !(btnSelect.selected);
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5];
if(btnSelect.selected)
{
[viewMenu setAlpha:1.0];
}
else
{
[viewMenu setAlpha:0.0];
}
[UIView commitAnimations];
}
Do you want the application “Xcode.app” to accept incoming network
connections
-
If you have to allow every time you runs Xcode..
here is the soluation
1. Open command tool
2. sudo /usr/libexec/ApplicationFirewall/socketfilterfw ...
9 years ago
thanks a lot but where is the source code for this file
ReplyDelete