In-House Articles
Progress View In SwiftUI
We all remember getting impatient with the landing screen or a buffer screen. Well, regardless of how impatient it makes you, one would have to integrate a progress view in the app in order to present the progress of a URL session processing.
VideoPlayer In SwiftUI
Visual media like videos and images are essential parts of modern-day apps and software. In this week’s article, learn about integrating VideoPlayer in SwiftUI along with integrating an overlay on top of it.
How to generate random numbers in Swift
Suppose you have an array of some test data in Swift. While testing, maybe you want to pop a random user. What you can do is show the profile for a random index of the test user’s data.
Jobs
iOS Developer - Infosys
Location : Bengaluru, Karnataka, India
Company Description : Infosys Limited is an Indian multinational information technology company that provides business consulting, information technology and outsourcing services. The company was founded in Pune and is headquartered in Bangalore Infosys is the second-largest Indian IT company, after Tata Consultancy Services, by 2020 revenue figures, and the 602nd largest public company in the world, according to the Forbes Global 2000 ranking.
Senior iOS Developer - MakeMyTrip
Location : Gurugram, Haryana, India
Company Description : Our teams are driven by the purpose providing exceptional travel experience for our customers. We have continuously stayed ahead of the curve by developing our technology and products to meet the ever-changing demands of the rapidly evolving travel ecosystem.
iOS Developer - Numerator
Location : India (Remote)
Company Description : At Numerator, we believe tomorrow’s success starts with today’s market intelligence. We empower the world’s leading brands and retailers with unmatched insights into consumer behaviour and the influencers that drive it.
Cracking the iOS Interview
How do you handle data binding in SwiftUI?
In SwiftUI, property wrappers are used to bind data. For this, you can use @State, @Binding, and @ObservedObject to bind the data. Data binding enables views to access and modify the application state and observe changes when the state changes.
What’s the difference between the flatMap and compactMap functions in Swift?
The flatMap function is used to apply a transformation to each element in a sequence and flatten the resulting nested sequences into a single sequence, while the compactMap function is used to apply a transformation to each element in a sequence and remove any nil values from the resulting sequence.
iOS Good Practices
Test your app on a variety of devices or simulators
In most cases, you run and test your app on a single simulator or device. Xcode enables you to run your app on a variety of simulators and configurations: iOS devices come in a range of sizes, resolutions, and form factors, and it’s imperative to test your app on as many of these as possible to ensure that it works well and looks good on all of them.