ArtSabintsev

Washington, DC

sabintsev.com

Age: 28

Lead Mobile Architect at ID.me

2d
awarded Nice Question
Nov
22
comment How to calculate the correct Text Color for status bar programmatically?
My apologies - the wording of the your question may have confused me then. Glad you got your answer! Good luck!
Nov
21
comment How to calculate the correct Text Color for status bar programmatically?
So, you essentially want us to write the main function of your app for you? There's nothing wrong with asking a question like this, but please provide code snippets showing us your attempts next time.
Nov
21
comment Parent View leaving space at top
Please provide the sample code for the ViewController. Without even looking at the code (that isn't provided), you may want to check your Status Bar style settings. I think the issue may be there.
Nov
21
answered Header File Changed mistakenly and stuck on running on Simulator in Xcode 6.0
Nov
19
comment UILabel created using Auto Layout does not show attributes for NSMutableAttributedString
The funny thing is, I initially had the secondLineRange code, but when Xcode's autocomplete showed me NSRangeFromString(), I just assumed I could use that without really thinking about it.
Nov
19
comment UILabel created using Auto Layout does not show attributes for NSMutableAttributedString
I didn't RTFM on NSRangeFromString() - I just assumed it did something it didn't.
Nov
19
comment UILabel created using Auto Layout does not show attributes for NSMutableAttributedString
Yup, that fixed it. I feel like an idiot - thanks fabio!
Nov
19
accepted UILabel created using Auto Layout does not show attributes for NSMutableAttributedString
Nov
18
asked UILabel created using Auto Layout does not show attributes for NSMutableAttributedString
Nov
15
awarded Notable Question
Nov
13
comment Cell spacing in UICollectionView
Perfect solution - thanks!
Nov
12
comment How to get a UITableView's visible sections?
What a beautifully simple answer. Thanks!
Nov
11
comment iOS7 when UIsearchbar added in UINavigationBar not showing cancel button
If your app enables both portrait and landscape mode, then it won't recalculate the size properly when you switch orientations. This is where auto-layout would be helpful, but it would involve some finagling with the titleView property, which auto adjusts size when an item is set. So annoying. I ended up just creating my own cancel button and placing it as the rightBarButtonItem.
Nov
11
awarded Popular Question
Oct
29
awarded Yearling
Oct
29
awarded Autobiographer
Oct
10
awarded ios
Sep
24
comment How do I locate the CGRect for a substring of text in a UILabel?
Perfect solution! Thanks!
Sep
15
accepted Continuous vertical scrolling between UICollectionView nested in UIScrollView
1 2 3 4 5