Top Tweets for #ioscodingtips
Enable this in general settings of Xcode if you're frustrated with not seeing all the errors after a build in latest xcode. With this more will show in one go after a single build instead of one by one after multiple builds.
#xcode #swift #swiftlang #ios #ioscodingtips

Found a neat GQL trick to conditionally include some field in your query with @include(if: $shouldIncludeProperty) directive.
https://t.co/teJupn2jRx
#ios #swift #swiftlang #GraphQL #gql #codingtips #ioscodingtips #ioscodingtips #iosdev

iOS/Swift coding tip: use xcrun simctl openurl booted "https://your-deep-link" to open a given link in your currently running simulator. It will either trigger deep linking into your app or open safari.
#ios #swift #swiftlang #ioscodingtips #mobile #deeplinking

iOS/Swift coding tip: in your mocks add properties methodNameCallCount and methodNameHandler for each function in protocol you're mocking. This allows you to stub values in tests and assert how many times a method was called.
https://t.co/szi6CsXPh7
#ios #swift #ioscodingtips
iOS/Swift coding tip: make properties and methods private by default. This will force you to think about what your actual public/internal interface looks like facilitating good design and architecture practices such as extracting interfaces.
#ios #swift #swiftlang #ioscodingtips

iOS/Swift coding tip: use dependency injection instead of singletons. This will improve your design, testability, and decouple from concrete implementations. One instance has the same result as singleton.
More in our podcast: https://t.co/z43xH6erOq
#ios #swift #ioscodingtips

iOS/Swift coding tip: Use sudo xcode-select -switch /path/to/xcode/Xcode-beta.app to select beta version of Xcode as your main version to be able to play with all the new stuff like #SwiftUI and #combine announced at #wwdc last week.
#ios #swift #swiftlang #mac #ioscodingtips

iOS/Swift coding tip: Use sudo xcode-select -switch /path/to/xcode/Xcode-beta.app to select beta version of Xcode as your main version to be able to play with all the new stuff like #SwiftUI and #combine announced at #wwdc last week
#ios #swift #swiftlang #mac #ioscodingtips

iOS/Swift coding tip: use CFAbsoluteTimeGetCurrent to calculate how long does it take for a line of code to execute. In general you should apple's instruments tool for this but CFAbsoluteTimeGetCurrent is handy for quick checkup
#ios #swift #swiftlang #ioscodingtips #performance

iOS/Swift coding tip: use https://t.co/9R3VwXBvZI to generate codable structs out of a JSON file. It will create types and link them with CodingKeys enums. It's handy if you need to generate a lot of models passed from the backend.
#ios #swift #swiftlang #ioscodingtips

iOS/Swift coding tip: use "xc" bash command to open Xcode project in your current folder https://t.co/gJN9sQ1AwA
It goes through your folder and finds xcworkspace or xcodeproj to open. I've been using it for years and originally got it from @subdigital
#ios #swift #ioscodingtips
iOS/Swift coding tip: use typealias to name networking request callback closures. It is more explicit and correct to give your callbacks a name. Naming them is the first step to eventually extracting an enum or other type if they get complex.
#ios #swift #swiftlang #ioscodingtips

iOS/Swift coding tip: use @CocoaPods as your preferred dependency management tool. It does a better job than Carthage or Swift Package Manager and is a gateway to using other helpful #ruby tools in your project such as @FastlaneTools.
#ios #swift #swiftlang #ioscodingtips #mobile

iOS/Swift coding tip: use UITableViewCell extension helper that declares static identifier function to be used for registering and dequeueing cells. NSStringFromClass(self) will help you avoid typos and declaring static string for each cell.
#ios #swift #swiftlang #ioscodingtips

iOS/Swift coding tip: Xcode has a powerful pattern search. Access it by pressing crl + alt + cmd + P in Find In Workspace field. You could add Any character or word pattern and mix and match multiple. Handy if you stick with name conventions.
#ios #swift #swiftlang #ioscodingtips

iOS/Swift coding tip: use SnapKit (https://t.co/e4vPoETgYz) over Apple autolayout API and programmatic autolayout over storyboards/xibs.
Programmatic autolayouts are more expressive and let you scale to bigger teams. PRs show clear diff too.
#ios #swift #swiftlang #ioscodingtips

iOS/Swift coding tip: I highly recommend using an xcode code snippet like this one to create private let properties. Have it be bound to `plet` completion shortcut. This will help and encourage you to set your properties as private by default
#ios #swift #swiftlang #ioscodingtips

iOS/Swift coding tip: use higher level of abstraction for async work such as RxSwift, ReactiveCocoa, PromiseKit, NSOperation rather than GCD functions. Grand Central Dispatch is what powers all of them but in most cases it's too low level.
#ios #swift #swiftlang #ioscodingtips

iOS/Swift coding tip: use very helpful https://t.co/Da50NPXDce to quickly test different formats for your dates. (I don't know how about you but I can never remember how to do it correctly).
Thank you @subdigital for creating it!
#ios #swift #swiftlang #ioscodingtips

iOS/Swift coding tip: use private static properties when you need to share something internally across instances of a type. Only use it for things that don't need to be injected, such as a formatter that's expensive to create in a viewmodel.
#ios #swift #swiftlang #ioscodingtips

Last Seen Hashtags on Sotwe
comprarvideosbdsm
Seen from United States
snapchatt(())************************************************************************************************************************************************************************
Seen from Australia
chapinas()***********************************************************************************+filter:media
Seen from United States
ΰΈΰΈ₯ΰΈΈΰΉΰΈ‘ΰΉΰΈΰΉΰΈΰΈΰΈ£ΰΈ΅
Seen from Thailand
marocaine renoi
Seen from France
brosis(((((((((())))))))))
Seen from United Kingdom
RIVERPLAYDIGITAL
Seen from United States
Necrofencer
Seen from United States
ometv sound
Seen from France
incest #sister #creampie
Seen from Switzerland
Trends for you
Most Popular Users

Elon Musk 
@elonmusk
240.9M followers

Barack Obama 
@barackobama
118.8M followers

Cristiano Ronaldo 
@cristiano
114.5M followers

Donald J. Trump 
@realdonaldtrump
111.9M followers

Narendra Modi 
@narendramodi
107M followers

Rihanna 
@rihanna
98.7M followers

NASA 
@nasa
92.3M followers

Justin Bieber 
@justinbieber
91.8M followers

KATY PERRY 
@katyperry
90M followers

Taylor Swift 
@taylorswift13
84M followers

Lady Gaga 
@ladygaga
75.5M followers

Virat Kohli 
@imvkohli
73.4M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.7M followers

Neymar Jr 
@neymarjr
66.4M followers

Bill Gates 
@billgates
65.2M followers

Selena Gomez 
@selenagomez
63.1M followers

The Ellen Show
@theellenshow
62.2M followers

CNN 
@cnn
61.7M followers

X 
@x
60.6M followers











