<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>information</title>
	<atom:link href="https://apptyrant.com/tag/information/feed/" rel="self" type="application/rss+xml" />
	<link>https://apptyrant.com</link>
	<description>Great apps for macOS and iOS</description>
	<lastBuildDate>Thu, 23 Jan 2020 19:27:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://i0.wp.com/apptyrant.com/wordpress/wp-content/uploads/2018/04/cropped-1024AppTyrantIconOnTanBG3.png?fit=32%2C32&#038;ssl=1</url>
	<title>information</title>
	<link>https://apptyrant.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">103265284</site>	<item>
		<title>How to Deprecate your Own API in Objective-C</title>
		<link>https://apptyrant.com/2015/01/17/how-to-deprecate-your-own-api-in-objective-c/</link>
					<comments>https://apptyrant.com/2015/01/17/how-to-deprecate-your-own-api-in-objective-c/#comments</comments>
		
		<dc:creator><![CDATA[App Tyrant Corp]]></dc:creator>
		<pubDate>Sat, 17 Jan 2015 17:12:27 +0000</pubDate>
				<category><![CDATA[Developer Reference]]></category>
		<category><![CDATA[app development]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Cocoa Touch]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[SDK]]></category>
		<category><![CDATA[Xcode]]></category>
		<guid isPermaLink="false">http://apptyrant.com/?p=991</guid>

					<description><![CDATA[<p>To mark some of your own API as deprecated in Objective-C, you simply can add the following attribute to your method declaration (as seen in the snippet below): -(void)myOldMethod __attribute((deprecated("Use the myNewMethod instead."))); Now when you call myOldMethod in your code, the compiler will warn you that: &#8220;myOldMethod is deprecated. Use the myNewMethod instead&#8221;. You ... <a title="How to Deprecate your Own API in Objective-C" class="read-more" href="https://apptyrant.com/2015/01/17/how-to-deprecate-your-own-api-in-objective-c/" aria-label="Read more about How to Deprecate your Own API in Objective-C">Read more</a></p>
The post <a href="https://apptyrant.com/2015/01/17/how-to-deprecate-your-own-api-in-objective-c/">How to Deprecate your Own API in Objective-C</a> first appeared on <a href="https://apptyrant.com">App Tyrant</a>.]]></description>
										<content:encoded><![CDATA[<p>To mark some of your own API as deprecated in Objective-C, you simply can add the following attribute to your method declaration (as seen in the snippet below):</p>
<pre lang="objc" >-(void)myOldMethod __attribute((deprecated("Use the myNewMethod instead.")));
</pre>
<p>
Now when you call myOldMethod in your code, the compiler will warn you that: &#8220;myOldMethod is deprecated. Use the myNewMethod instead&#8221;. You can also add the deprecated attribute to property declarations.
</p>
<p>
But what if you wanted to be more specific?  For instance, if there is a better way to handle something in the iOS 8 SDK, you can mark an old method as deprecated only for projects that have iOS 8.0 or later as the deployment target.
</p>
<pre lang="objc">
-(void)myOldMethod NS_DEPRECATED_IOS(3_0, 8_0,"Use myNewMethod instead.");
</pre>
<p>Using the code snippet above, if you call myOldMethod the compiler will <i>only</i> warn you that the method is deprecated if your project&#8217;s deployment target is set to iOS 8 or later. </p>
<p>
Deprecating your own methods can come in handy especially if you have written your own framework that is used across multiple projects. You may choose to deprecate some of your own API rather than removing the methods entirely until you get around to modifying your existing projects to use your new API.
</p>The post <a href="https://apptyrant.com/2015/01/17/how-to-deprecate-your-own-api-in-objective-c/">How to Deprecate your Own API in Objective-C</a> first appeared on <a href="https://apptyrant.com">App Tyrant</a>.]]></content:encoded>
					
					<wfw:commentRss>https://apptyrant.com/2015/01/17/how-to-deprecate-your-own-api-in-objective-c/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">991</post-id>	</item>
		<item>
		<title>iOS Devices: Screen Bounds List</title>
		<link>https://apptyrant.com/2014/12/12/ios-devices-screen-bounds/</link>
		
		<dc:creator><![CDATA[App Tyrant Corp]]></dc:creator>
		<pubDate>Fri, 12 Dec 2014 22:56:26 +0000</pubDate>
				<category><![CDATA[Developer Reference]]></category>
		<category><![CDATA[app development]]></category>
		<category><![CDATA[bounds]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[screen]]></category>
		<guid isPermaLink="false">http://apptyrant.com/?p=783</guid>

					<description><![CDATA[<p>Dimensions (in points): *Note: Starting in iOS 8, the bounds property on UIScreen is orientation based, so for example if the bounds in portrait mode is 320&#215;480, in the landscape orientation the bounds would be 480&#215;320. The list below assumes that the device is in the portrait orientation. 320 x 480 -iPhone 4s and earlier ... <a title="iOS Devices: Screen Bounds List" class="read-more" href="https://apptyrant.com/2014/12/12/ios-devices-screen-bounds/" aria-label="Read more about iOS Devices: Screen Bounds List">Read more</a></p>
The post <a href="https://apptyrant.com/2014/12/12/ios-devices-screen-bounds/">iOS Devices: Screen Bounds List</a> first appeared on <a href="https://apptyrant.com">App Tyrant</a>.]]></description>
										<content:encoded><![CDATA[<strong>Dimensions (in points):</strong></br>
<p style="font-size:13px; margin-top:3px;">*Note: Starting in iOS 8, the bounds property on UIScreen is orientation based, so for example if the bounds in portrait mode is 320&#215;480, in the landscape orientation the bounds would be 480&#215;320. The list below assumes that the device is in the portrait orientation.</p>

<div id="containtime">
<div class="dimcontainer" style="position:relative; border-style:solid; border-width:0px; float:left; clear:right; width:100%; min-width:430px;">
<div style="position:relative; border-style:solid; border-width:1px; float:left; text-align:center; min-width:200px; font-size:16px;">
<b>320 x 480</b></div>
<div class="devicediv" style="position:relative; border-style:solid; border-width:1px; text-align:center; min-width:290px; font-size:16px;">
-iPhone 4s and earlier models.</div>
</div>
<div class="dimcontainer" style="position:relative; border-style:solid; border-width:0px; float:left; width:100%; min-width:430px;">
<div style="position:relative; border-style:solid; border-width:1px; float:left; text-align:center; min-width:200px; min-height:75px; font-size:16px;">
<div style="padding-top:20px;">
<b>320 x 568</b></div>
</div>
<div class="devicediv" style="position:relative; border-style:solid; border-width:1px; text-align:center; min-width:290px; font-size:16px; min-height:75px;">
-iPhone 5</br>
-iPhone 5S</br>
-iPhone 5C</div>
</div>
<div class="dimcontainer" style="position:relative; float:left; width:100%; min-width:430px;">
<div style="position:relative; border-style:solid; border-width:1px; float:left; text-align:center; min-width:200px; font-size:16px;">
<b>375 x 667</b></div>
<div class="devicediv" style="position:relative; border-style:solid; border-width:1px; text-align:center; min-width:290px; font-size:16px;">
-iPhone 6</div>
</div>
<div class="dimcontainer" style="position:relative; float:left; width:100%; min-width:430px;">
<div style="position:relative; border-style:solid; border-width:1px; float:left; text-align:center; min-width:200px; font-size:16px;">
<b>414 x 736</b></div>
<div class="devicediv" style="position:relative; border-style:solid; border-width:1px; text-align:center; min-width:290px; font-size:16px;">
-iPhone 6 Plus</div>
</div>
<div class="dimcontainer" style="position:relative; border-style:solid; border-width:0px; float:left; width:100%; min-width:430px;">
<div style="position:relative; border-style:solid; border-width:1px; float:left; text-align:center; min-width:200px; font-size:16px;">
<b>768 x 1024</b></div>
<div class="devicediv" style="position:relative; border-style:solid; border-width:1px; text-align:center; min-width:290px; font-size:16px;">
-iPad</div>
</div>
</div>

<div id="mobile" style="display:none;">
<b>320 x 480</b> iPhone 4s and earlier
</br></br>
<b> 320 x 568</b> -iPhone 5s -iPhone 5 -iPhone 5C
</br></br>
<b>375 x 667</b> -iPhone 6</br></br>
<b>414 x 667</b> -iPhone 6 Plus</br></br>
<b>768 x 1024</b> -iPad
</div>

<script>window.onresize = resizeHandler;function resizeHandler(){var container=document.getElementsByClassName("devicediv");var windowWidth=window.innerWidth;var mobileContainer = document.getElementById("mobile");var dimcontainer = document.getElementById("containtime");if (windowWidth >= 440){dimcontainer.style.display = "block";mobileContainer.style.display = "none";}else{dimcontainer.style.display = "none";mobileContainer.style.display = "block";}}function windowLoaded (){resizeHandler();}document.addEventListener( "DOMContentLoaded", windowLoaded, false)</script>The post <a href="https://apptyrant.com/2014/12/12/ios-devices-screen-bounds/">iOS Devices: Screen Bounds List</a> first appeared on <a href="https://apptyrant.com">App Tyrant</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">783</post-id>	</item>
	</channel>
</rss>
