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

Dealloc just after alloc #100

Open
benebrice opened this issue Apr 25, 2014 · 0 comments
Open

Dealloc just after alloc #100

benebrice opened this issue Apr 25, 2014 · 0 comments

Comments

@benebrice
Copy link

Hello,

I have a problem when I'm trying to use FPPopover. I've posted an issue on StackOverFlow some weeks ago. I thought the problem was fixed by uninstalling and reinstalling the pod but finally not and I have no explanation of this bug.

- (IBAction)displayAlternateNicknames:(id)sender{
  PXAlternativeNicknamesViewController * suggestionsVC=    [[UIStoryboard storyboardWithName:[ViewsParamsSingleton sharedLoginSignUpStoryBoard] bundle:nil] instantiateViewControllerWithIdentifier:NicknameSuggestionsStoryBoardID];
  suggestionsVC.title=@"Suggestions";
  suggestionsVC.nicknameSuggestions=self.nicknameSuggestions;
  suggestionsVC.callerVC=self;

  //our popover
  suggestionsPopover = [[FPPopoverController alloc] initWithViewController:suggestionsVC];

  suggestionsPopover.contentSize = CGSizeMake(200,200);

  //the popover will be presented from the okButton view
  [suggestionsPopover presentPopoverFromView:sender];
}

When there is the alloc, on the following line there is a deallocdirectly do my content is never shown.

I can read this on the terminal:

FPPopoverController dealloc
FPTouchView dealloc
FPPopoverView dealloc

If any one has an idea to fix this bug I would really appreciate to know it?

Thank you in advance.

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

No branches or pull requests

1 participant