Shinren Pan

1,599 Flips | 1 Magazine | 2 Likes | 72 Followers | @shinrenpan | Keep up with Shinren Pan on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “Shinren Pan”

iBeacons Tutorial for iOS 7 with CLBeaconRegion and CLBeacon

Updated to Swift. Please visit here for the tutorial using Swift.<p>At WWDC earlier this year (2013) Apple announced iOS 7. Along with that announcement …

Objective-C

Mastering iOS auto layout anchors programmatically from Swift - The.Swift.Dev.

Looking for best practices of using layout anchors? Let's learn how to use the iOS autolayout system in the proper way using Swift.<p>Creating views and …

30 Auto Layout Best Practices for Xcode 9 and iOS 11

To design iPhone or iPad app user interface that resizes for any device you need Auto Layout. Auto Layout enables responsive design between different …

IPhone 8

Build performance analysing in Xcode 10 - SwiftLee

To narrow down the causes of slow build times you can enable swift-flags to gather more insights. These flags were already available before Xcode 10, …

XCode

Ultimate Guide to JSON Parsing with Swift 4

This guide is now permalinked at <b>http://swiftjson.guide</b>Swift 4 and Foundation has finally answered the question of how to parse JSON with Swift.There …

100-Days-Of-ML-Code

README.md<p>100 Days of Machine Learning Coding as proposed by Siraj Raval<p>Get the datasets from here<p>Data PreProcessing | Day 1<p>Check out the code from …

Machine Learning

iOS development

根據這篇 網路爬蟲, 可以使用 WKWebView 實作爬蟲, 但是缺點是無法 model 化,<br>所以基於 WKWebView, 實做出可以 model 化的爬蟲 Framework - WebParser.<p><b>步驟 1: 設置 Model</b><p><b>步驟 2: 初始化 WebParser</b><p><b>步驟 3:</b> …

iOS

2015 Objective-C 新特性 · sunnyxx的技術博客

Overview自 WWDC 2015 推出和开源 Swift 2.0 后,大家对 Swift 的热情又一次高涨起来,在羡慕创业公司的朋友们大谈 Swift 新特性的同时,也有很多像我一样工作上依然需要坚守着 Objective-C 语言的开发者们。今年的 WWDC 中介绍了几个 …

iOS 开发中 runtime 常用的几种方法

公司项目中用了一些 runtime 相关的知识, 初看时有些蒙, 虽然用的并不多, 但还是想着系统的把 runtime 相关的常用方法整理一下, 自己以后用着方便, 也希望对看到的朋友有所帮助. ...<b><br>文章分类</b>:iOS开发<br>阅读全文 | 邮件推荐 | 评论回复

iOS蓝牙开发(4.0)

最近由于项目需要, 一直在研究蓝牙4.0,在这儿分享给大家, 望共同进步. ...<b><br>文章分类</b>:iOS开发<br>阅读全文 | 邮件推荐 | 评论回复

Swift Protocols: Properties distinction(get, get set)🏃🏻‍♀️🏃🏻

Protocol Oriented programming is the new swing in iOS even though it was introduced in swift which is now already few years old. Swift is new age …

iOS 开发者必会的几项技能,不知不用你就OUT了

一个多月的996生活,996并不算什么的,重点是996真的是996.几乎在这时间段里面全是不停地码代码,不过目前已经进入测试阶段,每天稍微改点小bug,空闲时间总算有了那么一丢丢。兜兜转转写了好久,却一直没有正式的将这篇文章分享出去,说来甚是惭愧。主要是公司出现一些状态。。只可意会不可言传~~~ . …

Improving Optionals

Optionals are great. I've tracked down too many bugs to Objective-C's magical "messages to nil return nil"; I have no interest in going back.<p>But …

MemoryLayout

A quick word of warning to those of you using UnsafePointer and MemoryLayout.<p>The size of a type tells you how many bytes it takes to hold that type …

How To Stay Up-To-Date On iOS Development

iOS development is changing very quickly. Not a long time ago, nobody knew about Swift and size classes. Today, they are essential tools and …

Social Media

Swift 4中的新特性(Whatʼs New in Swift 4) 3(@objc) - 掘金

Better iOS projects: Getting (nearly) rid of Xcodeproject - A (not so) short Introduction to Xcodegen

<i>July 24, 2018,by Wolfgang Lutz(Twitter, GitHub)</i><p>In the series “Better iOS projects”, we have a look at the various tools and environments that are …

iOS Programming

Swift already has a Result type

Maybe.<p>Over the last few years I’ve had the privilege of writing and deploying applications using a myriad of languages. Scala, ruby, javascript, …

Programming

Elegantly chaining UIViewPropertyAnimators

Usually my posts are mostly about design patterns, software architectures (or RxFlow 😀), but this time it will be different and frankly I didn’t …

iOS

Animating Tab Bar Controller Taps

Following on from my previous animation posts (here and here), this post is about animating the taps on an iOS tab bar - an effect used by Spotify in …

iOS导航栏使用总结

目录:一、设置导航栏样式二、自定义导航栏返回按钮后侧滑不可用问题三、隐藏导航栏底部的分割线四、导航栏引起的布局问题 ...<b><br>文章分类</b>:iOS开发<br>阅读全文 | 邮件推荐 | 评论回复

iOS-性能优化深入探究

从多方面讲述如何进行性能优化 ...<b><br>文章分类</b>:iOS开发<br>阅读全文 | 邮件推荐 | 评论回复

Is it possible to get the KVC-String from Swift 4 KeyPath?

For a project I am currently working on, it would be very useful to get the KVC-String from a KeyPath instance my method is receiving. Short …

Swift 4 KeyPaths and You

Swift 4 is almost upon us, and I thought I would explore one of its features that I haven’t had the opportunity to that much: KeyPaths. There’s a lot …

Compilers

Smoothen your table view data loading using UITableViewDataSource Prefetching

Say you have a view controller with a table view, and you want to load 100 rows of data into it, these data are retrieved from a web API, how would …

iOS Programming

Codable in practice

One of the first tasks I got in my new team was to convert entire code base from in-house JSON encoding/decoding solution (in fact two of them) to …

iOS WKWebView使用总结

iOS中的WKWebView使用简单方便。使用它你只用将你用到的进行封装。在你的ViewController中进行初始化WKWebView并加载和对其配置,就能完整的使用了。 ...<b><br>文章分类</b>:iOS开发<br>阅读全文 | 邮件推荐 | 评论回复

Switching Your Brain to Swift

Existing codebase + existing brain + Swift. What could go wrong?<p>17 August 2015 • Tags: OS X, iOS, Swift, conferences<p><i>Based on a talk given at 360iDev</i> …

A Multicast Delegate Pattern for iOS Controls

<i>This blog post introduces a simple pattern for adding multicasting capabilities to existing iOS controls. Adding multicasting allows for improved</i> …

iOS私有Api检测

最近提交APP审核被苹果的审核人员是虐的不要不要的, 一直都说是使用了私有API但是我使出了浑身解数, 也没找到自己写的代码里哪里用到了私有API, 最后网上找了一些检测私有API的方法才发现在SDK里面涉及到了下面就检测私有API的方法简单介绍一下 ...<b><br>文章分类</b>:iOS开发<br>阅读全文 | 邮件推荐 …