
Agentic SDLC. Mobile dev at Appsfactory GmbH
Joined March 2011
- Tweets494
- Following703
- Followers171
- Likes651
Xcode was preventing me to set a breakpoint by deactivating it (not disabling). It took me several minutes to realise that method wasn’t called anywhere. Hovering other the breakpoint symbol shows the following info:
Always a bad idea to use the same color with close shades. The only ones I can easily identify are the darkest.
UIPasteboard’s ‘detectPatterns’ method which checks if a string is likely an URL is a decent solution.
This is a great explanation. In my case I was copying a link using Command+C from Safari on Mac, which is passed to Pasteboard as a string. On the destination side, on iPad, this fails to be identified as an URL.
developer.apple.com/forums/t…
1
Reminded me of technique (“artificial waiting”) used by many companies to slow down software, which gives users an impression that lots of heavy stuff is done in background, when in reality this is done in few milliseconds. Otherwise they’re skeptical if software runs too fast.
Apparently, I just replied to a support ticket "too fast".
The customer thought that I'm a bot and that they had received an automated canned reply.
Makes me wonder ... Is this good or bad? And what if they are right and I actually turned into a bot without noticing? 😅
2
NSArray and target object types. Setting custom class using Swift array syntax is handy when recreating the subclass of NSManagedObject since it will create a property of type [NSValue].
If you have a habit of typing “po”, an UI equivalent would be to select an item from “Variables” view and click “Print description” button.
When Xcode is not really helping you, try out using print to read out a variable 👌🏻
#swiftlang #iosdev
2


















