SlideShare’s first experience with iOS and Swift

Francisco Meza
6 min readbeginner
--
View Original

Overview

The article discusses SlideShare's initial experience developing their first iOS app using Swift, detailing the challenges and successes encountered during the process. It highlights the advantages of adopting iOS 8 and Swift, along with specific features that enhanced the app's functionality and user experience.

What You'll Learn

1

How to create a prototype for an iOS app using Swift

2

Why adopting new programming languages like Swift can improve development efficiency

3

How to leverage iOS 8 features for adaptive layouts

Prerequisites & Requirements

  • Basic understanding of iOS development concepts
  • Familiarity with Xcode and Swift

Key Questions Answered

What challenges did SlideShare face while developing their iOS app?
SlideShare encountered several challenges, including beta version bugs in iOS, Swift, and Xcode, which resulted in issues like inaccurate compilation errors and limited documentation. However, they found workarounds for these problems and were able to continue development without being blocked.
What advantages did Swift provide over Objective-C for SlideShare's app development?
Swift offered a more expressive syntax and functional programming features, allowing SlideShare to write fewer lines of more readable code. This included improvements like closures, tuples, and property observers, which contributed to a more stable app compared to Objective-C.
How did SlideShare utilize iOS 8 features in their app?
SlideShare leveraged iOS 8 features such as UISplitViewController for adaptive layouts, allowing their app to display different interfaces based on device orientation. This significantly reduced code complexity and improved user experience across various screen sizes.

Technologies & Tools

Some links below are affiliate links. We may earn a commission if you make a purchase.

Programming Language
Swift
Used for developing the SlideShare iOS app, providing a modern syntax and functional programming features.
Operating System
Ios 8
The platform for which the SlideShare app was developed, allowing access to new features and components.
Development Tool
Xcode
The integrated development environment used for building the SlideShare iOS app.

Key Actionable Insights

1
Adopt new programming languages like Swift when developing for new platforms to take advantage of modern features.
Using Swift allowed SlideShare to create a more efficient and readable codebase, which can lead to faster development cycles and improved app performance.
2
Utilize iOS 8's adaptive layout features to enhance user experience across different devices.
By implementing size classes and Auto Layout, developers can ensure that their applications provide a consistent and optimized experience on various screen sizes and orientations.
3
Prototype early and often to validate ideas and familiarize yourself with new technologies.
SlideShare's approach of creating a throw-away prototype helped their team quickly learn Swift and iOS, allowing for more informed decisions during the full app development.

Common Pitfalls

1
Relying on outdated documentation and resources can lead to confusion and wasted time.
Early adopters of new technologies often face limited documentation, which can hinder progress. It's crucial to seek out community resources and forums for support.
2
Neglecting to account for interoperability issues between new and existing codebases.
While Swift's interoperability with Objective-C is beneficial, it can also lead to verbose code. Developers should strive for clean, expressive code while leveraging existing libraries.

Related Concepts

Ios Development
Swift Programming
Adaptive Layouts In Mobile Applications
Prototyping In Software Development