<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	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>swift - 四号程序员</title>
	<atom:link href="https://www.coder4.com/archives/tag/swift/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Fri, 23 May 2025 17:58:17 +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>
	<item>
		<title>Swift中，如何等到多个回调都完成后再执行</title>
		<link>https://www.coder4.com/archives/5376</link>
					<comments>https://www.coder4.com/archives/5376#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Wed, 08 Mar 2017 04:15:35 +0000</pubDate>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[swift]]></category>
		<category><![CDATA[回调]]></category>
		<category><![CDATA[等待]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=5376</guid>

					<description><![CDATA[var myGroup = DispatchGroup() override func viewDidLoad() { super.viewDidLoad() for i in 0 ..&#60; 5 { myGroup.enter() Alamofire.request("https://httpbin.org/get", parameters: ["foo": "bar"]).responseJSON { response[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/5376/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Swift的Array如何过滤数组中的nil数据 - 用flatMap</title>
		<link>https://www.coder4.com/archives/5372</link>
					<comments>https://www.coder4.com/archives/5372#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Tue, 07 Mar 2017 09:10:24 +0000</pubDate>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[swift]]></category>
		<category><![CDATA[过滤nil]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=5372</guid>

					<description><![CDATA[As of Swift 2.0, you don't need to write your own extension to filter nil values from an Array, you can use flatMap, which flattens the Array and filters nils: let optionals : [String?] = ["a", "b", nil, "d"] let nonOptionals = optionals.flatMap{$0[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/5372/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Swift3 如何 字符串中 过滤emoji表情</title>
		<link>https://www.coder4.com/archives/5253</link>
					<comments>https://www.coder4.com/archives/5253#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Fri, 30 Dec 2016 14:48:34 +0000</pubDate>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[emoji]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[swift]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=5253</guid>

					<description><![CDATA[http://stackoverflow.com/questions/38408645/swift-regex-to-match-unicodes The Unicode code point of the emoji you have shown is U+1F600. (Unicode 9.0 Character Code Charts - Emoticons) And your regex pattern (which may work for UTF-16 repres[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/5253/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>swift中如何使用#pragma mark分割线</title>
		<link>https://www.coder4.com/archives/4931</link>
					<comments>https://www.coder4.com/archives/4931#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Thu, 23 Jun 2016 03:56:50 +0000</pubDate>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[MARK]]></category>
		<category><![CDATA[pragma mark]]></category>
		<category><![CDATA[swift]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=4931</guid>

					<description><![CDATA[OC中的#progma分割线，可以很好的分割代码，让逻辑更佳清晰 在Swift中，可以这样用： // MARK: YOUR TEXT TO GO &#160;[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/4931/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[转]在OC项目中添加Swift文件并实现混合编程</title>
		<link>https://www.coder4.com/archives/4926</link>
					<comments>https://www.coder4.com/archives/4926#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Thu, 23 Jun 2016 01:27:04 +0000</pubDate>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[oc]]></category>
		<category><![CDATA[swift]]></category>
		<category><![CDATA[混编]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=4926</guid>

					<description><![CDATA[关键摘要： 1、swift中调用OC，引用 项目名-Bridging-Header.h 2、OC中调用swift，引用 项目名-Swift.h 转载自：http://www.it165.net/pro/html/201501/32179.html 对于已经工作的开发者,并不适合也没有条件从一个全新的swift项目开始,进行开发. 虽然网上关于swift和oc混合编程的教程比较多,但是大多是基于 swift项目的,所以对咱们 OCer的参考价值有一定折扣. 现在swi[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/4926/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
