<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Deprecate your Own API in Objective-C	</title>
	<atom:link href="https://apptyrant.com/2015/01/17/how-to-deprecate-your-own-api-in-objective-c/feed/" rel="self" type="application/rss+xml" />
	<link>https://apptyrant.com/2015/01/17/how-to-deprecate-your-own-api-in-objective-c/</link>
	<description>Great apps for macOS and iOS</description>
	<lastBuildDate>Thu, 23 Jan 2020 19:27:55 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>
		By: AT2014		</title>
		<link>https://apptyrant.com/2015/01/17/how-to-deprecate-your-own-api-in-objective-c/#comment-152</link>

		<dc:creator><![CDATA[AT2014]]></dc:creator>
		<pubDate>Fri, 17 Jul 2015 02:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://apptyrant.com/?p=991#comment-152</guid>

					<description><![CDATA[Yes, you can mark an entire class as deprecated. 

In NSObjCRuntime.h you can find some macros to do so.

As an example, the header file for a deprecated class could look like this:
--------------------------------------------------------------------------------------------------------

NS_CLASS_DEPRECATED_IOS(2_0, 4_0, &quot;This has been replaced by the NewClass.&quot;)
@interface OldClass : NSObject

@property (nonatomic) BOOL someProperty;

@end]]></description>
			<content:encoded><![CDATA[<p>Yes, you can mark an entire class as deprecated. </p>
<p>In NSObjCRuntime.h you can find some macros to do so.</p>
<p>As an example, the header file for a deprecated class could look like this:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>NS_CLASS_DEPRECATED_IOS(2_0, 4_0, &#8220;This has been replaced by the NewClass.&#8221;)<br />
@interface OldClass : NSObject</p>
<p>@property (nonatomic) BOOL someProperty;</p>
<p>@end</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: aa bb		</title>
		<link>https://apptyrant.com/2015/01/17/how-to-deprecate-your-own-api-in-objective-c/#comment-151</link>

		<dc:creator><![CDATA[aa bb]]></dc:creator>
		<pubDate>Thu, 16 Jul 2015 20:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://apptyrant.com/?p=991#comment-151</guid>

					<description><![CDATA[Instead of marking each method as deprecated, is there a way to mark the whole class as deprecated?]]></description>
			<content:encoded><![CDATA[<p>Instead of marking each method as deprecated, is there a way to mark the whole class as deprecated?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
