Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
iOS Development
UIAlertView in AppDelegate have to call Method in ViewController
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Mark FX" data-source="post: 1406485" data-attributes="member: 211556"><p>Your code is very confusing, I haven't used storyboards myself yet, so I will have accept your storyboard code is correct.</p><p></p><p>But to start with you are missing a curly brace in the second code snippet, try indenting your</p><p>code sections, so that you can see the different curly braces line up like this.</p><p></p><p>[CODE]</p><p>- (void)myMethod</p><p>{</p><p> if (thisIsTrue) {</p><p> </p><p> }</p><p>}</p><p>[/CODE]</p><p></p><p>Secondly you are releasing yourself twice in the first code snippet for some reason.</p><p></p><p>Sorry I can't help you much with this at the moment, but your code is very confusing, you </p><p>may have to be more specific with the details of your class files, and how they interact.</p><p></p><p>Regards Mark</p></blockquote><p></p>
[QUOTE="Mark FX, post: 1406485, member: 211556"] Your code is very confusing, I haven't used storyboards myself yet, so I will have accept your storyboard code is correct. But to start with you are missing a curly brace in the second code snippet, try indenting your code sections, so that you can see the different curly braces line up like this. [CODE] - (void)myMethod { if (thisIsTrue) { } } [/CODE] Secondly you are releasing yourself twice in the first code snippet for some reason. Sorry I can't help you much with this at the moment, but your code is very confusing, you may have to be more specific with the details of your class files, and how they interact. Regards Mark [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
iOS Development
UIAlertView in AppDelegate have to call Method in ViewController
Top