Open in app
Home
Notifications
Lists
Stories

Write
Alex Shirokov
Alex Shirokov

Home

Dec 7, 2018

Who can see a not isHidden UIView?

Is it only me who has a mind-blow every time dealing with the isHidden property of the UIView? My intuition always was, that a ‘true’ value of Boolean type means something that exists, in contrast with a ‘false’ value that is about a non-existence. With this in mind, it’s so…

I OS

2 min read

Who can see a not isHidden UIView?
Who can see a not isHidden UIView?

Nov 23, 2018

Let’s do it better: UITableViewCell

Every iOS Developer creates UITableViewCells, but let’s do it better. Here are five principles based on my practice. TL;DR Do it in its own xib; Make UI private; Do not configure with the model; Let em crush; Reset before reuse. Source code of the complete sample application: https://github.com/alekseishirokov/medium-01-better-uitableviewcell Do it in its own xib Every time you…

I OS

5 min read

Let’s do it better: UITableViewCell
Let’s do it better: UITableViewCell

Apr 8, 2018

Closure expressions in Swift

Suppose we have a function with last parameter as a function type. For example ‘sort’ function, that sorts an array of strings, according to a decision function, passed as ‘isSortedPair:’ parameter. func sort( values: [String], isSortedPair: (s1: String, s2: String) -> Bool ) -> [String] { // I use a build-in ‘sort’…

Swift

2 min read

Alex Shirokov

Alex Shirokov

iOS Developer, Advanced Swift Programmer http://ashirokov.ru

Following
  • Zeplin

    Zeplin

  • WHITE RUSSIAN STUDIO

    WHITE RUSSIAN STUDIO

  • 3co

    3co

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable