Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8072869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:09:47+00:00 2026-06-05T14:09:47+00:00

I have a strange behavior with Xcode (4.3.2) and deprecated warnings, I would like

  • 0

I have a strange behavior with Xcode (4.3.2) and deprecated warnings, I would like to understand why.
It seems that the deprecated warnings are triggered only on certain methods.
For example (both methods are deprecated):

[[UITableViewCell alloc] initWithFrame:CGRectMake(0, 0, 0, 0) reuseIdentifier:@"Cell"];

The compiler warn (Correctly) that the method is deprecated.
But:

[self presentModalViewController:viewController animated:YES];

doesn’t trigger the warning. Why? 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T14:09:49+00:00Added an answer on June 5, 2026 at 2:09 pm

    Check in the developer docs, you will get like –

    1- It is deprecated currently-

    // Frame is ignored. The size will be specified by the table view width and row height.

    - (id)initWithFrame:(CGRect)frame reuseIdentifier:(NSString *)reuseIdentifier __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_NA,__MAC_NA,__IPHONE_2_0,__IPHONE_3_0);
    

    2- It will be deprecated soon.

    // Display another view controller as a modal child. Uses a vertical sheet transition if animated.This method has been replaced by presentViewController:animated:completion:
    // It will be DEPRECATED, plan accordingly.

    - (void)presentModalViewController:(UIViewController *)modalViewController animated:(BOOL)animated; 
    

    Hope it clears why you are getting warning in first, not in second.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know why the framework might have this strange behavior. If
I have a horizontal animated menu that has a strange behavior because it works
I have some strange behavior occurring in an ASP.NET application that I am trying
I have a strange app behavior: The App updates the GUI changes only after
I have a strange behavior in a tests where I want to test that
Possible Duplicate: iOS 5.1 with Xcode 4.3.1: [UIColor colorWithPatternImage:] strange behavior only on device
SPListItem.GetFormattedValue seems to have a strange behavior for DateTime fields. It retrieves the DateTime
In Opera (and only in Opera) I have strange behavior of select element. In
I have a strange behavior for an application that I have implemented and that
I have a strange behavior with my WPF ListView Control. ListViews ItemSource is Observable

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.