Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up an error with the status code #9

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

theory
Copy link

@theory theory commented Dec 22, 2010

Could use a localized library with a nice error message as well, but this gets me what I need for now.

I have a controller that was storing a TwitterTweetPoster object and assigning
itself as a delegate to the TwitterTweetPoster. However, because the
TwitterTweetPoster was retaining its delegate, I ended up with a circular
retain. The result was that the controller was never released from memory, and
neither was the TwitterTweetPoster.

Standard practice in iOS apps is to make delegate properties non-retaining.
Looks like all the other delegates in this package use `assign`; it was just
this one that did not.
Shoud fix compiler errors on Xcode 4.3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants