r/iOSProgramming • u/BumbleEngineers • Apr 02 '20
Discussion Ask us Anything! We’re the Bumble iOS engineering team.
This is Bumble’s first iOS AMA and we are really excited to be participating in it!
For those of you who don’t know much about us, we are the company behind the dating and social network Bumble and Badoo apps counting half a billion users around the world. Our iOS apps are huge, with over 450K lines of code, over 350K downloads per week on the app store and an amazing team of 18 people who develop it.
This is a great opportunity for you to ask any technical questions you may have about developing iOS apps at this scale, the technical challenges we face, our Open Source projects, articles in our Tech Blog and anything in-between. Please note we’re only able to answer questions relevant to the iOS development team.
We will start answering questions from 6pm (GMT+1) but you can already start writing them. We will be here with you guys until 9pm (GMT+1). Check here for other timezones
------
About our developers who will answer you:
Alex: 8 lovely years of iOS development. Meanwhile, I enjoy using Golang/MongoDB/Docker as my hobby projects.
Asif: programming since 2009, passionate about application architecture and code complexity management.
Azat: iOS developer since 2013. Enthusiastic about startups and now developing the Bumble app.
Ilya: Engineering manager in the Revenue Team. ObjC hacker and Swift ninja👨💻
Jairo: Over a decade of experience working in social networks. Leading different teams with laser focus on Badoo growth for the last 4 years.
Ruslan: Working as a developer from 2010 and iOS Developer since 2013. Old enthusiastic developer 😁
---------
Proof: https://twitter.com/BadooTech/status/1245300561588740097?s=20
--------
EDIT We're now starting to answer your questions!
--------
EDIT Thank you Reddit! We enjoyed answering your questions but it's now time for us to close the session - some answers are still incoming. If you have any more questions feel free to leave them below and we will try to answer in the following days.

16
u/thenorussian Apr 02 '20
As a self taught iOS developer breaking out of a junior level bubble of thinking, I’m seeing a lot of advice to start thinking about how to build stuff that’s able to scale.
If you can go into some detail: at the inflection point when bumble started growing more rapidly, how did you handle this increase in scale in certain areas, features, or systems, anything—either proactively or otherwise? hearing a specific example from your company would be very helpful as sometimes the advice on the internet is surface level. Thanks for doing this AMA!
2
u/BumbleEngineers Apr 02 '20
Azat: When the amount of active users grows, the cost of bugs and mistakes rise as well. It forces teams to make tools and processes for automating the quality control.
Another challenge is to cope with a growing team of developers. It’s more like organisational change but in fact, it changes a lot. For example, some issues can’t be resolved just in the private chat-room, changes and agreements should be available for all members of the team. Also, the team starts to introduce tools for controlling the consistency of the code, like code-linters and the growing number of tests forces developers to introduce CI and Git flow with it. These are just off the top of my head but there are many more!Ruslan: Our company is data-driven, we are measuring everything and it helps us to control bad fluctuations or underperformed features. We are A-B testing all our new features and only after we have checked that the feature is performing as expected, do we roll it out, but in case of crashes or if some metrics are going down, we pause such features and start an investigation with our lovely BI team to understand what went wrong. Also, the UX researchers help us with pre-feature testing and better design/UX for our users.
Jairo: We had examples in the past of the same functionality (similar code in different places) written 2 or 3 times, even copy-pasted. When you move fast, you can’t really overengineer, but at some point, you need to slow down and think about how to make your system more robust or the amount of features will make your business metrics dance with every small bug. This happened to Bumble and Badoo and it still happens for some experimental features. The rule of thumb when you’re scaling: fix bugs once. In the end, we try to reuse our code as much as possible in all our apps (from UI components to platform specifics). We have amazing monitoring in all our product and performance metrics, together with great coverage at all levels following the testing pyramid principle. We also have very agile dynamics and processes between our QA and development teams. It might look like overkill, but that’s the price you have to pay if you want to keep a business with millions of people actively using it ;)
1
u/thenorussian Apr 03 '20
Great detail in these answers and it helps a ton. Thanks all and have a good weekend.
36
u/huskorstork Apr 02 '20
Bumble is a female first product, how do you maintain that as a design focus? Focus groups? A/b testing? Do you hire exclusively women?
2
u/BumbleEngineers Apr 02 '20
Bumble is a female first product, how do you maintain that as a design focus? Focus groups? A/b testing?
Azat: On the technical side the main difference from other dating apps is the fact that only women can start a conversation after the match. But in general, the whole process of creating the concept of new features is based on ideas of equality and protecting women from misogyny. Women become objects of harassment and misogyny much more often than men and that’s why we should protect them first.
Jairo: Our product team works very closely with customer support, product analysts, data analysts, UX experts, marketing… we use all these techniques and much more! We trust in data and experiments to validate hypotheses and do not rest until we have answers to all our questions!
Do you hire exclusively women?
Amy: Bumble is an equal opportunity employer and welcomes everyone to our team. We strongly encourage people of colour, lesbian, gay, bisexual, transgender, queer and non-binary people, veterans, and individuals with disabilities to apply.
0
Apr 03 '20
[deleted]
1
u/huskorstork Apr 03 '20
Especially when it makes sense to hire majority women at the very least. You have a product that is targeting a unique underfed segment of the market. It’s not a niche product because female isn’t a niche gender. At least trust that the code has to be checked by a group of humans and not just a series of people who can produce reports to a high degree.
I think google called it “dogfeeding” and in Apple campus culture, you just say “I’m on x version”
24
Apr 02 '20
This question sounds weird but “what do those 450k lines do?” If I were to build a bumble clone I imagine it would take less than a quarter of those lines. Am I just an inexperienced iOS Dev or is that a lot of code? (Not trying to sound arrogant just genuinely curious lol)
8
u/BumbleEngineers Apr 02 '20
Alex: Great question. It may look like apps only have one screen but there are plenty of features in Bumble or Badoo apps. Apart from the obvious like Chat or Encounters, we have a lot of small ones, some of them available only for specific groups of users under A/B test experiments. E.g. features like in-house email domain prediction at registration or suggestions on how to start your first chat, all these tiny features that we did for years accommodates a big part of these lines =)
Ilya: I agree, it sounds like an extremely huge project. But one thing to keep in mind here: product as you see it now was not born like this. Products are constantly changing and evolving - there is a lot of hidden mechanics under (and some legacy code as well). Also, we’re trying to handle enormous amount of different cases: from Chat and Contacts DB migration to cases when a user started registration and killed the app in the middle of the process (like PIN code screen) - in this case, we’ll show the exact screen the user left the app (you can check this case, BTW 😊). On top of that, we prefer to not to use third-party dependencies unless we really need it (like WebRTC or FB SDK). This means we’re doing everything in house which is a significant part of those 450k
12
Apr 02 '20
Can you provide tips on getting a junior developer position?
4
u/BumbleEngineers Apr 02 '20
Asif: Learn important CS concepts, it also helps to start a hobby project to apply those learnings.
Ilya: Pet projects it is! Set yourself a goal. For example a simple weather app for your iPhone. Done? Add some animations. Also done? What about Reddit client?
0
23
u/needymango Swift Apr 02 '20
Do you think it is critical to have Objective-C experience to get a job at big app companies such as Bumble?
11
u/BumbleEngineers Apr 02 '20
Azat: It’s not required to have deep knowledge of Objective-C syntax. But it’s still important to know how Swift and Objective-C work together in one project and how Objective-C runtime works because many system frameworks are still built on this language. Different companies have different policies, we try to stay practical.
Ilya: even if you have 100% swift app still there will be system/third party library crashes and you will see stacktrace full of ObjC code. You need to understand it, otherwise, there is no way to find a solution to fix it. Apple is slowly moving away from ObjC, but we’re years away from the point when ObjC knowledge is not needed in the iOS development world. And trust me: ObjC is easy. Weird syntax, but much easier than Swift.
1
Apr 02 '20
Not necessarily. It certainly helps, but nowadays there are large companies whose code bases are mostly Swift. However, I would recommend being able to at least read basic objc code and make small modifications it.
0
Apr 02 '20
[deleted]
7
Apr 02 '20
I’m sure there are companies that would do this, but anecdotally I interviewed for iOS roles at Google, Facebook, and Amazon and never received an objc specific question so there definitely are large companies that don’t. I just stated upfront that I preferred to answer questions in Swift.
9
u/well___duh Apr 02 '20
Google/FB/Amazon don't really care about specific languages. They mainly care about CS fundamentals that can be used in nearly any programming language.
You could be the guy who wrote on Swift itself, or even wrote many iOS apps with millions of users, but if you don't know how to write a quicksort algo from scratch, none of those companies will consider you, despite the fact that that will never be a real-world scenario in any situation (why waste time and resources re-inventing the wheel when you could google it).
That's actually the problem with a lot of companies' interviews: a lot of their questions are too fundamental where the answer is either A) already supported by your language of choice's stdlib, or B) easily googleable on StackOverflow and answered years ago and still works just fine to this day.
0
Apr 02 '20
[deleted]
1
u/well___duh Apr 02 '20 edited Apr 03 '20
Thing is, you could be a genius at algos, but that doesn't mean you're even slightly competent at UIViews or anything about iOS UIs in general. The two don't overlap (for the most part), and in the context of this sub and hiring an iOS dev, I would favor the dev that knows more about iOS itself than a dev who can sort their way out of an oak tree. Congrats on knowing a StackOverflow answer by heart, but I'll take the iOS dev who knows a lot of iOS pitfalls and gotchas due to experience for the iOS job than the CS whiz who would have to learn as they go.
Of course I'm talking about mid or senior level iOS jobs, not entry level.
1
u/yoloswagrofl Apr 02 '20
What other languages besides Swift did you have on your portfolio when you interviewed with them?
1
Apr 02 '20
In my portfolio? I think C++, Java, Python, and maybe JS. Nothing related to native iOS development aside from Swift.
11
u/mawuss Apr 02 '20
What do you recommend indie to do to make their apps more visible in the store?
6
u/BumbleEngineers Apr 02 '20
Azat: I’m not sure that developer is the best person to answer this question but I’ll try.
First thing is to try to understand where the problem is, which level of the download funnel is a bottleneck.
Try to iterate the name more often and see how impression metrics react to these changes.
Keywords can also be very useful for improving the top of the funnel.
Screenshots improve a lower level of the funnel.
If you are sure of the quality of the app, watch WWDC and try to be an early adopter of the new features! Then you even can try to contact the person who presented the talk and introduce your case. If you are very lucky you can be featured in AppStore, but again, the quality of the app needs to be very good.Ilya: in general this is a question for a separate role in our company: ASO Manager (AppStore Optimisation Manager). But from top of my head: proper keywords, graphic (screenshots, icon and video), proper app category and catchy name should help.
Alex: Idea matters too. Apple features great applications with a fresh look and exceptional functionality, it may easily boost your launch.
21
u/Alcoholic_Synonymous Apr 02 '20
How do you manage API changes and legacy app versions out in the wild?
Which, if any, popular 3rd party tools/libraries have you re-written in house, and why?
What does your caching / persistence layer look like?
What's your favourite detail that most users have probably missed?
I once shaved off 3/100ths of a second from the launch time of an incredibly popular app. I estimated that I saved approximately 70 man years, or one entire life, with this change. Bumble and Badoo as products are used by millions of people, so what is your favourite story of how a change you introduced impacted one or many of your users?
7
u/BumbleEngineers Apr 02 '20
How do you manage API changes and legacy app versions out in the wild?
Alex: If we think of each version as a set of supported features it’s not hard after all. Each version reports to servers all the features it supports and the server responds accordingly. The server may also request the client to disable some of them too. Additionally, each year we freeze the state of the server for the last version of the app shipped for iOS version we want to deprecate.
Which, if any, popular 3rd party tools/libraries have you re-written in house, and why?
Asif: Unlike our Android peers who adapted RIBs to their needs (BadooRIBs), we haven’t followed the same approach, most of the frameworks are developed in-house, like networking, A/B testing, analytics etc. this allows us to optimize everything based on our needs. Some of the libraries are also open-sourced, you can check them at https://github.com/badoo
What does your caching / persistence layer look like?
Azat: We use YapDatabase to store objects in the database. It’s convenient and simple. In general, we try to keep things as simple as possible to avoid unexpected cases and lower the entry threshold for new developers. Basically we use the database as simple key-value storage. Persistent entities are not thread-dependent and it simplifies their usage. We haven’t faced any serious race-conditions or performance issues with this approach.
What's your favourite detail that most users have probably missed?
Ruslan: ¯_(ツ)_/¯ Really don’t know :D
Jairo: How fast the profiles in the people nearby list are loading. It’s full of enhancements! Also, we have some Easter eggs in the app. And Easter is coming!!
Jairo: The way profiles are presented in the “encounters” game is quite smart. Not random at all ;)
Ilya: On Badoo, if you buy a subscription the adverts disappear ;D
Alex: Our Photo upload component follows all iCloud updates. It took me several sleepless nights but now users can see live updates on the go while the library is syncing =)
Bumble and Badoo as products are used by millions of people, so what is your favourite story of how a change you introduced impacted one or many of your users?
Ruslan: Almost all our new features are affecting millions of people, but we have an interesting example with app startup improvement made by our lovely Core team. In general, we do features isolated in frameworks and at one point our startup time started growing. The Core team migrated all our frameworks first to shared Xcode xcconfigs and as a second step all frameworks were switched to static libraries, which gave us a really good boost in-app startup time. We saved 5,000 hours for our users every day :)
2
u/Alcoholic_Synonymous Apr 02 '20
Interesting use of static libraries, I assume that drastically reduced compile times too?
2
6
u/ladypalutena1231 Apr 02 '20
3/100ths of a second
I'm legitimately curious, how did you extrapolate this figure to 70 man years?
0
Apr 02 '20
[deleted]
3
u/criosist Objective-C / Swift Apr 02 '20
This assumes the app is always opened from cold? is a very small chance in the current state of iOS devices?
3
u/Alcoholic_Synonymous Apr 02 '20
This was back when the iPhone 4 was brand new, the app was used on average once a week, and I was measuring for cold opens. Yes, it's a different world now but my calculation at the time stands.
2
u/Alcoholic_Synonymous Apr 02 '20
Yup, limited to the expected lifespan of the current implementation of the app.
4
u/Esteluk Apr 02 '20
At scale, it’s incredible how the smallest improvements can make a big difference. There’s a carbon footprint associated with network bandwidth. I remember trying to argue for a refactor on the basis that reducing the app install size by a few megabytes would result in a net saving of hundreds of tonnes of CO2 per month.
2
u/Alcoholic_Synonymous Apr 02 '20
That's really cool, but I think you'd have to execute a quite drastic size decrease to get that level of effect. More Or Less: Netflix vs. The Environment (Podcast) went through the numbers of bandwidth emissions and found that it's _really_ efficient.
2
u/Esteluk Apr 02 '20
Thanks for that link, it's really interesting! I wish they provided a full breakdown for their calculations, to help refine the numbers!
With the user numbers it was definitely something like reducing total network traffic by 5TB for every app release.
10
u/bcarte Apr 02 '20
How do you feel about working remotely? And what resources do you use to help manage people remotely?
2
u/BumbleEngineers Apr 02 '20
Jairo: Despite not having full-remote positions, we have offices in different countries. We are very used to remote communication and all our processes are remote-friendly. In general, we follow a rule of thumb: being inclusive. We try to schedule in advance the “communication forums” (also known as meetings) so nobody is left aside when he or she is not physically present, and we try to keep logs and keep everything well documented and shared in advance with participants. To keep the human touch and team spirit, all our meeting rooms are connected by video conferencing, which we can access from our machines in case we are working from home, also we have several “live cams” with big TVs around the office to connect us with our peers from different countries.
In terms of managing people remotely, it requires very good communication (do not confuse with micromanaging). As we are humans, informal conversations and personal catch-ups are important, we fly to/from Moscow/Austin quite often and organise team-building in other locations quite frequently.Ruslan: Our company has all the instruments to work remotely in an efficient way, when you need to stay at home, but we don’t yet have full-remote positions. When you are at home you can call the office meeting room or to colleagues working phones from your laptops. Also mostly we are documenting everything and this is very useful when someone can’t participate in a meeting he or she can read after.
2
u/bcarte Apr 02 '20
Thanks for both responses. Also the appreciation that being human beings is important!
10
u/jorgelub122 Apr 02 '20 edited Apr 02 '20
- How do you guys modularize the project?
- Cocoapods, carthage or spm and why?
- What is your process of release a new build/feature?
2
u/BumbleEngineers Apr 06 '20
How do you guys modularize the project?
Asif: We have a combined workspace which contains all the modules (frameworks). These modules are reused in the apps. We have a few in-house tools to generate the modules and add them as dependency.
Cocoapods, carthage or spm and why?
Azat: We use Carthage for the third party dependency because of its simplicity. For managing dependencies between our custom modules we use standard Xcode tools. To simplify the burden of adding all the necessary things manually we have a tool that automates it by editing .pbxproj files automatically and validates (and fixes) the dependency graph.
Alex: One of the reasons we chose Carthage is prebuilt binaries. We have an ongoing war with compile time and that was one of our actions to reduce it.
What is your process of release a new build/feature?
Ilya: we’re using the ‘Release Trains’ approach: each week, at a specific time our CI creates a release branch with whatever is in master (all the features/tasks and bug fixes finished till this moment). Then our mighty QA team performs all the necessary checks (running full test suite on all the supported iOS versions, real devices suite and many others). After the green light from QA application our CI submits application binary to Apple Itunes connect. Features usually covered with feature toggles and/or AB tests so we can easily disable it if something goes wrong.
Jairo: We use a stage rollout process for the new versions of our apps, but also for each of our features via our in-house a/b test framework.
1
7
u/obkenobi13 Apr 02 '20
Can you talk a little bit about your architecture? How do you make sure your code is nicely separated and testable?
2
u/BumbleEngineers Apr 03 '20
Ruslan: In general we use MVVM as our standard architecture and are trying to isolate features in standalone frameworks, like UI and logic frameworks. For UI we are using snapshot tests and for logic framework unit tests where we can check what the coverage is. We have a target to cover logic with unit tests with 40% - 50% at least, so we are not trying to reach 100% coverage.
Ilya: MVVM works really well for us. We’re also using a custom Routing mechanism. Also, we’re creating isolated, reusable and testable modules with single responsibility (typical feature or set of features).
6
Apr 02 '20
I used to work on the floor below you (Swift and Obj-C at the time) in the office off Wardour St! Hope you're all working from home today though :)
1
u/BumbleEngineers Apr 02 '20 edited Apr 03 '20
Everyone: We're all working from home thanks for your thought :) Hope you're working from home too :)
1
u/Alcoholic_Synonymous Apr 02 '20
Never found anywhere good to go for lunch when I worked on Wardour Street :(
2
Apr 02 '20
There were two food markets in walking distance (Berwick St and Rupert St), and literally hundreds of good food options aside from that. I've worked in Soho for the past 10 years, what were you playing at?
1
u/Alcoholic_Synonymous Apr 02 '20
I was only there a couple of months and I guess I was pretty miserable, meaning my enjoyment of lunch was not the best. I worked near Spitalfields before that, which had hundreds of lunch options available. Berwick Street didn’t have the most inspiring options and was pretty limited by which day of the week you went, right? Never went to Rupert Street.
2
Apr 02 '20
Berwick St is indeed better near the end of the week. If you keep on going through Berwick St through sex alley you come out at Rupert St (next to Madame Jojos)
5
u/CulturalWorry5 Apr 02 '20
How do you architect/handle cross-cutting concerns at scale? I have a little experience at 'Unicorn scale' app development and I noticed when working for these clients that adding user functionality is often hard to maintain at high velocity when the app architecture does not loosely couple cross-cutting concerns specifically around a/b testing experiments, analytics, logging, i8n, white labelling and so on. Are there any frameworks you know of to help with this, or architectural patterns that might make these issues more tractable?
2
u/BumbleEngineers Apr 06 '20
How do you architect/handle cross-cutting concerns at scale? I have a little experience at 'Unicorn scale' app development and I noticed when working for these clients that adding user functionality is often hard to maintain at high velocity when the app architecture does not loosely couple cross-cutting concerns specifically around a/b testing experiments, analytics, logging, i8n, white labelling and so on.
Azat: Good question.
I would say the main difference between developing apps on a small and large scale is the cost of the mistake and the required quality of the code. By quality, I mean reliability of the code. Even almost impossible cases become reality when the code is executed in a million variations of the context. That’s why such teams should introduce tools and processes to eliminate as many mistakes as possible before it goes to production.
There are some other specific things:
- Often we have many simultaneously active A/B tests and developers have to be aware that some parts of the app are dynamic (their behavior can change).
- Architecturally the coupling problem is resolved by abstractions.
- Coverage of the business logic of the components helps with that forcing developers explicitly pass contextual dependencies from outside.
- Also end-to-end tests validate that the new features behave correctly in different conditions and don’t introduce other features regression.Jairo: You are absolutely right. We had examples in the past of the same functionality (similar code in different places) written 2 or 3 times, even copy-pasted just to run similar experiments. When you move fast, you can’t really overengineer, but at some point you need to slow down and think about how to make your system more robust or the amount of features will make your business metrics dance with every small bug. This happened to Bumble and Badoo and it still happens for some experimental features. The rule of thumb when you’re scaling: fix bugs once. In the end, we try to reuse our code as much as possible in all our apps (from UI components to platform specifics). If reusing allows us to move fast, to be robust we use monitoring in all our product and performance metrics and a great coverage at all levels following the testing pyramid principle. We also have very agile dynamics and processes between our QA and development teams. It might look like overkill, but that’s the price you have to pay if you want to keep a business with millions of people actively using it ;)
Are there any frameworks you know of to help with this, or architectural patterns that might make these issues more tractable?
Ruslan: I think SOLID is very helpful for such problems and of course protocol oriented programming when you can easily change behaviour with another implementation. Also, MVVM architecture shows big scalability and flexibility too, that’s why we are using it widely as our main architecture and all our code is protocol oriented with dependencies injections to make logic testable and flexible enough. And one more thing don’t use globals/singletons inside your classes, always inject them cause in the long run you will win and won’t suffer with refactoring.
1
u/CulturalWorry5 Apr 07 '20
Even almost impossible cases become reality when the code is executed in a million variations of the context
This.
For me it really mandates quality processes at the core of scaling. The difficulty is that in the 'move fast and break things' phase, enough clutter may have been created that make it hard to retrofit quality code.
I believe that current architectural patterns at the level of coding patterns such as SOLID, MVVM are insufficient to handle this problem.
I don't have a solution but it is the case that some of the new software tools might help, the missing piece is the abstraction a level higher than code level patterns, where common modules and patterns provide ways of delivering business functionality, probably the most complex example is A/B testing and the ability to dynamically configure application features.
I find the Flint framework for iOS interesting for this in theory, but have not had a chance yet to try to apply it on a project.
5
u/LinkTheBatman Apr 02 '20
Do you guys prefer storyboards, xibs, or all code?
Have you started implementing any SwiftUI stuff?
What sort of architecture do you use (mvp, mvc, mvvm, etc)
3
u/BumbleEngineers Apr 02 '20
Do you guys prefer storyboards, xibs, or all code?
Azat: Vast majority of our views are made in code. It allows us to unify practices, easily work with the design system. Also, it allows us to detect UI issues in the early stages during the code review.
Have you started implementing any SwiftUI stuff?
Asif: Not yet, we are still supporting iOS 12
What sort of architecture do you use (mvp, mvc, mvvm, etc)
Ruslan: The main architecture for us is MVVM
9
Apr 02 '20
What are your thoughts on frameworks like Flutter? I have heard super good things about it and it is acquired by Google. If you have experience with it, what is it that you think it lacks the most compared to native iOS/Android?
5
u/BumbleEngineers Apr 02 '20
Asif: Flutter is a great framework and it does not lack anything specific, but in our case, since we have all the codebase already written in native and all the CI and processes are aligned using the same, it would be difficult to pivot/experiment with cross-platform frameworks like flutter, we are still evaluating if it would be worth the time!
Azat: It’s a nice try to make a usable cross-platform framework but the biggest risk right now is to be dependent on the third-party company support of this framework. Unfortunately, the community is not big enough yet to be sure that this technology will still be alive after several years. So I wouldn’t advise migrating products with a long lifetime expectancy. But it can be great for creating some MVP for both mobile platforms.
1
8
Apr 02 '20
Have you started adopting SwiftUI yet? Which architectural pattern will you try to use for decoupling logic when moving towards SwiftUI?
1
u/BumbleEngineers Apr 02 '20
Ruslan: No, we didn’t because we are supporting iOS 12 and it’s impossible to use SwiftUI in this version. We will still use the MVVM pattern, but there is also one problem with the \@State and other property wrappers because we can’t use property wrappers in protocols for now and it means we can’t write proper unit tests. As I know there is a proposal to add such possibility to Swift protocols.
2
Apr 02 '20
Ty for your response, im struggling with the same problem since I prefer the MVVm pattern myself. Cheers.
4
u/iDontWantABurrito Apr 02 '20
What keeps you motivated while working remotely?
Do you still ever feel like you don’t really know anything? If not, at what point in your career did you overcome that?
Any iOS libraries that you like using and would recommend to us that might prove useful in our personal projects?
Thanks :)
2
u/BumbleEngineers Apr 03 '20
What keeps you motivated while working remotely?
Alex: New activities like this AMA session or online-random coffee =).
Jairo: Having lunch with my family is my main motivator! But on top of that, MagicLab has provided us with online Yoga, Meditation and cooking classes and other wellbeing goodies. Plus, the company has delivered office equipment to us at home where needed and has provided an additional bonus for us to ensure we have everything we need to work effectively and not to miss any of the other amazing small perks we value in the office - such as snacks - Yummy!
Ruslan: No need to use the underground 😂
Ilya: Beers with my peers with no commuting afterwards
Asif: Staying safe and healthy and slowing the spread of Covid-19 :)
Azat: Staying alive and still employed :)
Kelly: Working from my bed 😂… beside that, we receive daily updates with lots of tips and guidance on how to work from home effectively, adjusting to social distancing, activities we can take part in and daily video calls with the team.
Do you still ever feel like you don’t really know anything? If not, at what point in your career did you overcome that?
Alex: At some point, it turns from “I don’t really know anything” to “I don’t know something and I need to learn it”. Learning is a natural part of our life, it’s fine to have questions like these from time to time.
Jairo: Never! Learning is a never-ending process. Especially in such fast-paced and challenging environments such as tech, the impostor syndrome is something we all suffer from time to time. I personally feel amazing knowing that I’m surrounded by people who know more than me but are keen to help and support. That means I’m in the right place to learn!
Ilya: Absolutely. It could be even “Wow! This feature went really well. Looks like I can do stuff! What’s next? OMG animated layout transition in UICollectionView! OMG HOW?”. You’re constantly learning, also you are constantly learning how to learn. There will always be stuff you don’t know. With time it will move towards larger areas like project management, communications, working with people, business and strategy.
Any iOS libraries that you like using and would recommend to us that might prove useful in our personal projects?
Alex: In my personal projects I prefer to use libraries that I know very well. It allows me to save precious time and speed up project set up. This is a set of pods I’m usually starting with: Alamofire, Cache, Nuke, R.swift, Swinject
4
u/jagdishjadeja Apr 02 '20
have you tried flutter? if yes how was your experience over swiftUI ?
1
u/BumbleEngineers Apr 09 '20
Asif: We evaluated these options and decided not to proceed with any of them for different reasons in our projects, although we plan to adapt SwiftUI later sometime. We can’t use SwiftUI at this time since we support iOS 12.
4
Apr 02 '20
What do you guys look for when hiring a iOS Developer?
6
u/BumbleEngineers Apr 02 '20
Tom: An engineer who can influence the product thought, someone who is not just a coder. Must be able to work with product managers, deep understanding of the theoretical areas of iOS platform, teamed up with strong coding skills. Someone who can both work as a team player and also owns / can make decisions on their projects.
3
u/Esteluk Apr 02 '20
Morning, thanks for doing this! :)
What does your current stack look like?
What does your feature development cycle look like? ie. what does the feature pipeline look like, who's responsible for prioritisation, do you have any unusual criteria for DOR, how closely aligned are design/product/QA with the engineers?
What's in your CI pipelines?
3
u/BumbleEngineers Apr 02 '20
What does your current stack look like?
Ruslan:
Network: We use RPC-like socket connection with Protobuf-serialized objects
Storage: We use YapDatabase for our database storage
Multithreading: As usual for iOS world GCD and NSOperationQueue
What does your feature development cycle look like? ie. what does the feature pipeline look like, who's responsible for prioritisation, do you have any unusual criteria for DOR, how closely aligned are design/product/QA with the engineers?
Asif: The team is divided into a lot of smaller teams based on different areas like registration, chat, payments etc. Every team has dedicated product owners, designers and developers. QA resources are shared or dedicated based on need and availability.
The general process for feature development for a developer starts with a product requirement document which is then discussed within the team and we check if there is anything missing or blocking, there is also a design ticket linked. Once the feature is ready to be started, there is a kickoff meeting where we again, go through the document, think about all corner cases, decide on a timeline and list down all test scenarios. Once the development is done, there is a short QA session to go through the feature and test it, followed by presenting a demo of the feature, if everything is fine then the feature is merged and a retro is done sometime later to look back and improve where needed.Jairo: In addition to this, I’d like to mention we have something really special at Badoo/Bumble, which is the MAPI team. Once the PRD contains enough information (discussed with all parties), the very first step of the development (and before client or server developers write any code), is to define the interface of communications. We do this within a dedicated team, called MAPI (Mobile API), using Google Protocol Buffers. The documentation generated describes how the requests from clients and answers from the server will look like. Client and server developers can define this as well, but it will always be reviewed by a member of MAPI team + members of SRV and client, to make sure our technical documentation page is pristine and up to date. An article about this will be out very soon, stay updated with our tech blog here - badootech.badoo.com).
What's in your CI pipelines?
Asif: We have 3 main triggers:
- Entry point: runs all unit tests and snapshot tests, this is always run before a ticket could be merged
- Functional tests: We have a lot of Calabash tests written, so this runs all (or a subset based on changes), running this is optional
- Nightly/Release build tests: Runs all of the above, during the night or weekly to test release candidates.
3
u/br0kensword Apr 02 '20
How much the data & algorithms you practice for interviews are actually used in your day to day (or just some regular period) work?
Generally, would love to know the kind of technical problems you need to solve on the job.
Thanks for a great app! Really enjoy using it, and it’s web app companion.
3
u/BumbleEngineers Apr 02 '20 edited Apr 02 '20
How much the data & algorithms you practice for interviews are actually used in your day to day (or just some regular period) work?
Ruslan: We use data structure knowledge periodically because developers must understand what efficiency has each type of data structure to know what to use and when. In case of a wrong container, performance of the app can dramatically decrease, like using Array for lookups instead of Set (as a small example).
Azat: In iOS applications, the performance of non-UI related logic is rarely a bottleneck. We don’t deal with large amounts of data. The most useful thing for developers is understanding the complexity of operations with collection types. Best practices of working in a multithreaded environment are also useful sometimes.
Generally, would love to know the kind of technical problems you need to solve on the job.
Ivan: There are several large domains of the problems at this scale. One of them is the reliability of the app as we release apps every week for many millions of users and it is extremely important that apps do not crash and that all functionality works. We address it through several automation layers - unit, integration, visual regression and VRT tests, we also use AB-tests and feature toggle for pretty much everything, so we can roll back functionality which is not working well, we also have automated anomaly detection system which highlights unexpected fluctuations of metrics. Thanks to that we can develop new functionality and release with minimum manual testing.
Another area is in the complexity of the features e.g. Chat and Billing areas of our code are huge, so we address it with modularisation, clear and strict architectural guidelines and internal tools like automated dependency management.Thanks for your nice words about our app :)
2
3
u/gayboiandroo Apr 02 '20
Do most of your engineers specialize in either iOS or Android development, or is there cross over?
Does Bumble prioritize iOS development over Android?
Has company culture changed since Blackstone bought a majority stake in MagicLab/Bumble/Badoo?
Have you adopted SwiftUI yet? If not, are you planning on migrating to it in the near future?
1
u/BumbleEngineers Apr 02 '20
Do most of your engineers specialize in either iOS or Android development, or is there cross over?
Asif: Most of the engineers specialise in either iOS or Android, however, it’s not a policy or requirement, some of the developers do have expertise in both and sometimes teams are changed as well.
Does Bumble prioritize iOS development over Android?
Asif: Not as such, the platform is chosen based on the availability of resources, target audience and other factors.
Have you adopted SwiftUI yet? If not, are you planning on migrating to it in the near future?
Asif: Not yet, We are still supporting iOS 12 but we do plan to adopt it when the time is right!
3
u/CrusTyJeanZz Apr 02 '20
Which sub-module in your app are you most proud of? Which one needs some work?
Thanks for doing this!
3
u/BumbleEngineers Apr 02 '20
Asif: All the submodules serve their purpose and are constantly being improved, however, one of the components we open-sourced received a lot of love, you can checkout it out here: https://github.com/badoo/Chatto
Ilya: I think the answer will depend on the person you ask. Probably, each of the developers are proud of their modules (and I’m not an exception here). But from my perspective one of the best modules are: Chat (it’s very huge and complex, but easy and highly modular), Payments (old payment code were a huge pile of if..else, and new one implemented using Actors patter with pluggable Subflows - works like a charm for 1.5 years already)
And thanks for your question :)
3
u/HeilThePoptartKitty Apr 02 '20
First off, thanks for an amazing service! Used it for awhile and it enabled me to meet my current girlfriend :)
Anyways, as a college student who's starting to look for internships, I'm just curious if Bumble ever hires any interns from college for something software related such as iOS, etc?
1
u/BumbleEngineers Apr 02 '20
Ivan: Thank you for the great feedback! We have people who were finishing their university education already working at Bumble, so do prepare well and do not hesitate to apply! Check other answers here for more info on the interviews and required knowledge!
3
u/lechatsportif Apr 02 '20
This might not apply to your team, but I'm curious if Bumble uses any automated detection for people who shouldn't be using the service, previously reported users for example.
3
u/BumbleEngineers Apr 02 '20
Azat: Yes we are proud of our system of detecting so-called “catfishes”. It’s implemented on the server-side so I’m not sure how it works in detail but I’ll try to give some information.
Most users will see a proposal to photo-verify themself to make sure that their pictures are real. If user activity becomes suspicious then we can force him/her to verify him/herself. We also have a tool that detects inappropriate pictures uploaded to the profiles.Ivan: We cannot say too much about it, but we have many automated and manual measures in place to protect our users from fake profiles, spam, scam and any other type of harmful and abusive behaviour and this is a top priority for us.
2
2
u/MohammadBashirSidani Apr 02 '20
How did it all start (how was the idea found) and how did it come to reality? How much did the first version take to get fully developed?
1
u/BumbleEngineers Apr 06 '20
Azat: It depends on the understanding of the word “fully” :) The first version was ready to ship to AppStore in a couple of months but it was using some parts of the Badoo app.
2
u/dikachu12 Apr 02 '20
- There is no updated information or quality content for modular projects. Would you give a mini-tutorial or an article to guide us?
2
u/BumbleEngineers Apr 02 '20
Ruslan: Thank you for your question, yes we are going to write an article about this and we have already delivered a couple of talks at local meetups on this too.
2
u/circlxthxgravx Apr 02 '20
Do you think it is better to use Swift/ObjC (native) or React native for development? let's say it's for any project, big, small, company, or individual. Also, What are the pros and cons of using it?
1
u/BumbleEngineers Apr 06 '20
Alex: Both native and non-native development have pros and cons. I’d say React/Flutter are good starting points for proof of concept projects. We’ve had a great experiment of building a small production app entirely on React Native and one of our internal apps uses Kotlin/Native. But if you want to build and support a large app, like Bumble or Badoo, you actually don’t have the choice, go native.
Ruslan: With non-native frameworks in large scale we faced big problems during new iOS releases and migration to new Xcode/Swift versions because usually those non-native frameworks need time to do the same and it means that you are blocked by them. Big risk in the long run.
2
u/cyanxx Apr 02 '20
What is the most important quality you look for in a candidate when hiring a developer?
How much autonomy do you have over the direction of the app? Do you just receive briefs from above and get sent design specs? Or can you feed suggestions on what you think back up the chain?
2
u/BumbleEngineers Apr 02 '20
What is the most important quality you look for in a candidate when hiring a developer?
Tom: Strong coding skills, collaboration with xfn departments, communication skills with technical and non-technical departments, ability to shape and influence the product, project ownership, positive attitude.
Jairo: The will to learn, initiative, responsibility and collaboration are top things we’re looking for.
How much autonomy do you have over the direction of the app? Do you just receive briefs from above and get sent design specs? Or can you feed suggestions on what you think back up the chain?
Ruslan: All our developers can suggest improvements during the feature development and in some cases, we have modified features dramatically and delivered them much faster than they were initially designed. So I would say that developers have influence and can suggest reasonable changes. Another thing is that all our developers are very autonomous and our managers expect self-leadership and avoid micromanagement.
Ivan: We work in teams that are assembled for the feature. Usually, a feature is aiming to improve something for our users or to solve a problem. To achieve this goal we collaborate with Product Managers, QAs, Analysts, Server developers and other teams and often the initial idea of the feature can be transformed significantly to achieve the initial goal better, so, yes, there is lots of possibilities to influence what is being done.
1
2
u/internalocean Apr 02 '20
How do you benchmark collectionview cell optimisations with things like rasterised layers as its hard to judge the benefit, and cpu, gpu profiling isnt a fixed benchmarking tool.
2
u/BumbleEngineers Apr 02 '20
Azat: We don’t have any specific tools for measuring FPS regression of the scrolling of some collections. In Badoo and Bumble we have a pretty sophisticated chat and we made some optimisation to achieve better user experience. You can find some of them in this article.
2
Apr 02 '20
Do you have any plans to start leveraging compositional collection layout or diffable data source? What are your opinions about using lottie vs built in things like property animators
2
u/BumbleEngineers Apr 06 '20
Do you have any plans to start leveraging compositional collection layout or diffable data source?
Azat: It’s definitely a very useful thing that simplifies the process of the development and makes the code more reliable (everyone is scared of annoying crashes because of inconsistent updates of collections).
We investigated different open-source solutions and came up with an in-house small framework which will probably be open-sourced at some point. IGListKit is great but is written in Objective C and it doesn’t allow you to leverage the type system of the Swift language.
Alex: iOS 13+ compatibility is another reason we haven’t used it yet. But it’s amazing how Apple takes the best solutions on the market and integrates into their native frameworks. We’ll definitely give it a shot as soon as we drop iOS 12.
What are your opinions about using lottie vs built in things like property animators?
Ilya: We’re using Lottie a lot. In fact, we’ve built flexible an on-demand animation system (used for downloading animations, caching, versioning them etc) so it’s quite easy for us to add new animation (vector/vector with images) to any of the applications. Also, all the animations are provided by our designers. Unfortunately, iOS built in solution does not provide that level of flexibility.
2
u/demodemo9083343 Apr 02 '20
We made a game app which requires special bluetooth device to play. Without the device, user can't play. User must buy it.
Can we publish such app at App Store? If so, how long does it take?
1
u/BumbleEngineers Apr 03 '20
Alex: You definitely can do it. There are plenty of apps available in AppStore that require specific equipment, like fitness trackers or smart home devices. Also, Apple guidelines allow you to sell physical items in your app without paying 30% commission, so you can make a screen where users may order your device. It’s difficult to say about the review process without knowing details, it actually depends a lot on a reviewer that will take your app.
Jairo: If the device is yours, you might want to have a look to Apple Mfi program. We were exploring this while experimenting with bluetooth discoverability ;)
2
u/demodemo9083343 Apr 04 '20
Thanks Alex and Jairo!
Jairo, what is pros and cons with/without Mfi program?
2
u/TuffRivers Apr 02 '20
Are matches using some sort of Pub/Sub? When i used bumble you cant rewind a like because "theyve already been notified" while on tinder you can. Can you explain how the "liking" feature actually works from a technical stand point?
1
u/BumbleEngineers Apr 03 '20
Azat: Probably “notified” means that liked users may have already received a push notification, or/and email or could be notified via some other way.
If a user will receive such notification and then won’t find this like in the app, it will lead to poor and inconsistent user experience. That’s why we don’t allow rewind (basically cancel) likes.Jairo: Matches are mostly implemented on the server-side when the client sends the likes. When there’s a match, the server sends a specific response or notification to the client. However, we have some performance enhancements here and there. For example, every time the current user views a profile in the encounters game, it contains the information if the other has liked the current user. This way, we can present a -client-side match screen- without waiting for server response/notification after the current user taps “like”. The speed of votes and presenting matches is essential in the encounters game to keep the user’s engagement.
2
Apr 02 '20
Which Cocoapods/libraries do you use in Badoo?
2
u/BumbleEngineers Apr 02 '20
Alex: We have a few. HyperLabel, Lottie, CocoaLumberjack, YapDatabase are the most widely used.
2
u/vuk- Apr 02 '20
What percent code coverage does each app have and what app architecture is used?
2
u/BumbleEngineers Apr 02 '20
Ruslan: We have a lot of feature frameworks to share between applications and usually coverage for them is ranging between 30% and 60%. We don’t want to cover everything by 100% with unit tests because it does not make sense to do so. We are covering the main logic and crucial parts with unit tests, but we also have integration and end-to-end tests on top of it. App architecture is MVVM.
2
u/vuk- Apr 02 '20
Awesome thanks for the reply! Does the team use a reactive programming library like RxSwift or ReactiveSwift with the MVVM architecture?
2
u/notchrisfarley1 Apr 02 '20
How do you handle storyboard editing on a professional iOS development team? I've been running into issues with merge conflicts in the storyboard and another Apple created file. And do you usually create the UI programmatically or using the storyboard?
1
u/BumbleEngineers Apr 02 '20
Ilya: storyboards are a super convenient approach to design your UI and ViewControllers interaction. But with time storyboards tend to become a big messy file which is hard to edit, merge and support. We’re creating UI programmatically using our own design system - Cosmos (you can read an article about our iOS design system here)
Alex: Storyboards are amazing for pet projects where you work alone or with your close friend. As soon as your team increases in size to 4-5 people, having conflicts becomes inevitable. These conflicts are often very error prone and time consuming. In order to deal with it, you can step back having separate XIB for each screen or view but conflicts are still possible. For a big project, the only benefit I can mention is compilation time, you can rebuild projects much faster by changing settings in XIB then by changing the same properties in code.
2
u/ritaph Apr 02 '20 edited Apr 02 '20
Thanks for doing this. I want to ask about design system as I remember reading about design system in the Badoo iOS app somewhere in the internet. What’s your experience in creating a flexible design system? How do you manage UI components with different themes? Is it possible to do A/B testing for a component with different styles? Do you use any declarative UI framework like ComponentKit? Where do you store colors, typography, spacing etc? Do you store them as constants that the component can access directly to or do you create them in the composition root and pass them down to child components? I think the latter approach is more flexible as the theme is injected into each component but its too much hassle to pass the theme around. What are your thoughts on this?
2
u/BumbleEngineers Apr 02 '20
What’s your experience in creating a flexible design system?
Alex: It was challenging but the results are worth it. Since the introduction of our Design system, we drastically improved reusability of our components, set rules and guidelines for creating new ones and made components more flexible to changes.
Jairo: The biggest challenge here is the adoption of the design system by all departments. It’s not something that you can decide and implement in one day, as the boundaries you’ll create will affect all your processes and daily work. In the development side, it has to be easy to produce, find and consume components, otherwise, it won’t be used. But the key important part is designers and product managers, who need to be fully on board. Developers can’t reuse something that is not designed to be reused ;).
How do you manage UI components with different themes?
Ruslan: We have a system design (Cosmos) and style sheet with design tokens, so we can easily customise colours, fonts and even spacings.
Alex: In short details, every reusable view has defined Style and Layout structs that contain all the variable settings. We keep these views in the UI frameworks. Whenever an app uses a view we build the Style or Layout from tokens provided by our design system.
Is it possible to do A/B testing for a component with different styles?
Ruslan: Yes, we have a system design (Cosmos) and style sheet with design tokens (placeholder properties), so we can easily customise colours, fonts and even spacings and do it under ab test too.
Do you use any declarative UI framework like ComponentKit?
Azat: Not at the moment but I guess soon we all will have to. *Pointing at SwiftUI*
Where do you store colours, typography, spacing etc?
Ruslan: We have a system design Cosmos and style sheet with design tokens (which are placeholder-properties), so we can easily customise colours, fonts and even spacings and all our design tokens are produced as compile Swift sources. We have tooling scripts written in Swift to generate those files by json taken from the design system. Images are stored in xcassets on the generation step.
Do you store them as constants that the component can access directly to or do you create them at the composition root and pass them down to child components?
Ruslan: We are injecting them as dependencies like different Style/Layout structures and images injected as well.
What are your thoughts on this?
Ruslan: Agree with you, we have difficulties providing everything on the top level, but mostly we solve it with custom View->Style structures. We have different application-specific categories to create such Styles and then inject them.
1
u/ritaph Apr 03 '20 edited Apr 03 '20
Hi, thanks a lot for your detailed reply. Could you please elaborate the last point? How could you solve it with custom View->Style structures? Do you have any example? From what I understand, you still have style as a dependency of a component and but you have the default style as a static var. That would allow you to create components without passing the styles down from the top of object graph and still able to inject the style if needed, so basically the ambient context pattern. Did I understand correctly?
2
u/aeioudis Apr 02 '20 edited Apr 02 '20
What’s the video call API service that Bumble uses? Did the video call volume go up during the COVID times?
2
u/BumbleEngineers Apr 02 '20
What’s the video call API service that Bumble uses?
Ilya: I assume you’re talking about the Bumble VideoChat feature. We’re using Google WebRTC framework - it’s a very powerful library for Video/Audio peer to peer communications. Also, there is a lot of information on how to set it up on iOS and Android
Does the video call volume go up during the COVID times?
Amy: Yes, we have seen an increase in the number of people using the video chat feature in Bumble as people adhere to social distancing.
2
u/rhcpfan91 Apr 02 '20
How do you handle localization throughout your application?
1
u/BumbleEngineers Apr 02 '20
Ilya: we have the whole department involved in localisation of our applications. Usually, the process is almost invisible for regular iOS developers. All the internationalisation / localisation is done in parallel with feature development and at the end, you have the .lproj bundle updated via script. Also, we have Hot Lexemes updates - you can read more here
2
Apr 02 '20 edited Apr 02 '20
Edit: primarily questions towards bumble, but happy to hear response from all apps.
Whats the app architecture?
MVC/MVVM/...?
All Swift or bits of MVC?
How many 3rd party dependencies?
Thoughts on 3rd party libs? Do you use them as much as possible or sparingly?
1
u/BumbleEngineers Apr 02 '20
Whats the app architecture? MVC/MVVM/...? All Swift or bits of MVC?
Ruslan: We use MVVM as our standard architecture and all our new features are written in swift, no more objc for new functionality :)
Ilya: Yup. MVVM works well for us, but we’re constantly tweaking it and introducing new entities (Routers, ViewData, etc)
How many 3rd party dependencies?
Ilya: Not that much (around 10). We’re trying to use 3rd party libraries only when there is no other way. Examples are: WebRTC, FB SDK, YapDatabase, OCMock, Lottie. Any new 3rd party library is potential crashes (huge problem on our scale - library might work well on smaller apps though), maintenance, new iOS version migration etc.
Thoughts on 3rd party libs? Do you use them as much as possible or sparingly?Asif: We are usually very cautious of which 3rd party libraries we use because of future maintenance and support.
1
Apr 02 '20
For MVVM do you use callbacks or RXSwift or something else for binding?
Thanks for the replys!!
Edit: Unsure if you are still answering
2
u/aeioudis Apr 02 '20 edited Apr 02 '20
Do women or men initiate more calls? ((or are only women allowed to do so as it is?))
1
u/BumbleEngineers Apr 02 '20
Ruslan: Men try to 😀. Though to protect our users from too many unsolicited calls, they can only be initiated after the exchange of several text messages. Also in Bumble, chats can be only initiated by women in the first place. Women make the first move.
2
u/mehdzor Apr 02 '20
How is your CI/CD process configured? Do you have issues/pain with it?
1
u/BumbleEngineers Apr 02 '20
Azat: We have a dedicated team for managing CI/CD tools for all platforms.
We use TeamCity and its job is to support our current Git flow and run static code checks asynchronously on each commit. At certain times (like after sending the ticket to Code Review, before merging to the master branch) it runs Unit tests only for the changed parts of the code. Developers can also decide to run end-to-end Calabash tests before merging to master. We have a big codebase and complicated graph of dependencies of submodules so we keep optimizing our CI logic to decrease the median time of the build and not to do any extra work.
Also, our CI is tightly integrated with Jira and automates a lot of things.
2
u/aeioudis Apr 02 '20
What’s the build time (a clean build) for your project?
1
u/BumbleEngineers Apr 02 '20
Azat: Clean build takes around 11 minutes (100 seconds on average). Our Core Team continually optimises our codebase to achieve better results. The main problem we are having at the moment is the interoperability between Swift and Objective-C in old components.
2
Apr 02 '20
What should I learn to get a job?
1
u/BumbleEngineers Apr 02 '20
Asif: Learn CS concepts, focus on algorithms, data structures, design patterns and get a good understanding of the platform.
Ilya: Language knowledge (focus on Swift, but ObjC is also important), platform (app lifecycle, Foundation and UIKit frameworks), applications architecture and testing approaches
2
u/cpaigis9 Apr 02 '20
What were the engineering challenges that you faced from iOS side while scaling the app for a larger audience around the world?
Any pointers on how to make the right tech decision from the start to avoid scaling issues?
1
u/BumbleEngineers Apr 06 '20
What were the engineering challenges that you faced from iOS side while scaling the app for a larger audience around the world?
Azat: Adapting to the amount of users and adapting to different counties are different topics :)
About many countries: We have a large team of localisation specialists and they do a great job to simplify the lives of developers. But we still have to think about localised strings and images and remember country-specific representation of data. Also, we have country-specific features (available only in some countries).
Another technical problem, not iOS though, is to provide high availability of our services around the world.Alex: Date and time formats might be challenging. Did you know it’s year 2563 in Thailand right now? ;)
Jairo: I can remember a couple of funny UI bugs in right-to-left languages. It’s hard to take all these variants into consideration. Also, maintaining the app store information and images in good shape for all countries in all languages with new features coming every weekly release is not easy. We have built specific tools to translate and import such information into the AppStoreConnect.
Any pointers on how to make the right tech decision from the start to avoid scaling issues?
Ilya: avoid MassiveViewController pattern 😄. I would suggest choosing one architecture (even MVC is fine if you know how to use it), use protocols, move navigation to separate entities (Router), try to create ‘modules’ (shouldn’t be separate Xcode projects, folder is fine at the beginning) with clean input and output. But the most important part is SOLID.
Ruslan: Inject singletons at the beginning 😀Avoid globals inside your classes and use protocols for all classes with logic, no one should know about implementation. Start with SOLID and go deeper in patterns from gang of four.
3
u/NewBieBR Apr 02 '20
If I want to learn iOS programming now to build real world app, where should I start? Swift or Objective-C? Ressources, tutorials,...?
For a dev that knows C, C++,...
3
u/BumbleEngineers Apr 02 '20
Asif: I would say the best way is to read apple documentation and getting started guides first. It is quite comprehensive and always up to date.
Azat: If you already have experience in developing applications for other platforms I would suggest learning the basics of the Swift language and then just try to create some simple test app. It will give you an idea of the application structure and lifecycle. Also, there is a good video-course from Stanford.
Ilya: Recently Apple released Swift Playground application. I think it’s a perfect way to start. Plus Coursera / Youtube tutorials
Alex: I personally like to learn things by example and one of the best resources for iOS is raywenderlich.com
1
3
u/aporcelaintouch Apr 02 '20
Y’all are currently getting by without offering some semblance of restore functionality for in app purchases which is clearly against App Store guidelines.
Can you provide info on how you continue to escape that or your reluctance to do so for years now?
0
u/BumbleEngineers Apr 02 '20
Alex: Our apps follow the same strict rules as all the other apps in AppStore. All our purchasable products are consumable (like coins, votes or time restrictions) and stored on your account, such consumable products can’t be restored.
Ilya: Bumble is huge and we attract lots of attention from Apple. Apple reviewers check big applications very carefully because of the user impact they can have. But yes - rules are the same as for any other app in the AppStore
0
u/aporcelaintouch Apr 02 '20
I know you’re probably talking in double speak here, BUT, 3.1.1 clearly states:
“Any credits or in-game currencies purchased via in-app purchase may not expire, and you should make sure you have a restore mechanism for any restorable in-app purchases.”
You currently do not have that (unless things have changed recently) unless a user reaches out to your customer support. You’re clearly very capable of providing a restore functionality (via requests to do so) but I’m interested why you don’t take that route? Seems like it would save your support team some time.
1
u/swiftmakesmeswift Apr 03 '20
There are two types of purchases. Consumables & Non-Consumables. Consumables products do not require restore button.
1
1
1
1
u/Thasian2 Apr 03 '20
What are your thoughts on migrating Pods/Carthage dependencies to SPM right now? At my company, we've already begun to do so, at least with dependencies that support SPM. We've encountered a few setbacks in the process like how SPM only supports static dependencies so we have to make shim dependencies which encapsulate a certain dependency and distribute that amongst different targets - and thus it becomes a dynamic library. Also, you guys reactive?
1
u/Jarrediezincorp Mar 24 '24
Hello, I'm working on building my own app and I've been using CHATGPT. Is there a coding language that creates front end and back end or do you have to use multiples languages?
1
1
1
u/CosminZoRR Apr 02 '20
Why do you think your application is better than other dating apps? What makes it so special?
-9
u/theDaveB Apr 02 '20
When you hire me, you can put - Developer since 1989, iOS developer since 2020. So in theory got the most experience in the company. Am half way through a Udemy course in iOS development.
On a serious note would love to know what you use on the backend in database terms.
Thanks,
0
Apr 02 '20
[deleted]
1
u/BumbleEngineers Apr 09 '20
How do y'all manage your third party dependencies? Cocoapods, Carthage, Swift Package Manager, or manually?
Ilya: we’re using Carthage at the moment. Back in the day we were using Cocoapods with private development pods, but after we moved to monorepo (all the projects in one git repository) and we switched to Carthage with prebuilt binaries.
Do y'all use a xcworkspace and keep various code separated or have everything in a one xcodeproj file?
Ilya: Several workspaces in fact. One - to rule them all (one huge workspace with all the projects). And workspace for each application. And we have our internal tool to manage all the dependencies (similar to what Cocoapods doing).
What kind of crash reporting do y'all use?
Ilya: Microsoft App Center, but we’re moving to our in-house solution.
How do you track user interactions - how do y'all know what features are being used the most?
Ilya: most of the companies are using some kind of Analytics system which tracks user actions and analyses application usage. We’re no exception. We have our internal analytic events tracking system.
Moreover, we have a huge Hadoop cluster to process all the events and several departments responsible for tracking, analysing data, and helping Product Managers understand the performance of features released.
0
Apr 02 '20
[deleted]
1
u/BumbleEngineers Apr 02 '20
Ivan: We have a very talented marketing team who are responsible for all marketing activity. As for the revenue-related part of the question, I’m afraid we can’t say much about it. Please ask more iOS-app related questions.
0
Apr 02 '20
[deleted]
1
u/BumbleEngineers Apr 02 '20
That doesn’t sound right. We suggest contacting Bumble Support so they can look into your profile and assist: https://bumble.com/tl/contact-us
0
Apr 02 '20
[deleted]
2
u/BumbleEngineers Apr 02 '20
Tom: From a recruitment perspective any kind of experience is valuable, even if it’s voluntary or personal project related. Having worked on projects or apps in your own time, releasing them and having them out there can be more valuable than an internship - especially if you are planning to join a team which is keen on passion for the craft, desire to build something great and have the users enjoying it.
0
Apr 02 '20
[deleted]
1
1
u/MuskIsAlien Apr 02 '20
!remindme 3 hour
1
u/RemindMeBot Apr 02 '20
There is a 1 hour delay fetching comments.
I will be messaging you in 2 hours on 2020-04-02 16:26:35 UTC to remind you of this link
CLICK THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
Info Custom Your Reminders Feedback
1
Apr 02 '20
[removed] — view removed comment
1
u/AutoModerator Apr 02 '20
You don't have enough karma to post here. Your submission has been removed. Please do not message the moderators; if you have negative karma, you're not allowed to post here, at all.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
Apr 02 '20
[removed] — view removed comment
1
u/AutoModerator Apr 02 '20
You don't have enough karma to post here. Your submission has been removed. Please do not message the moderators; if you have negative karma, you're not allowed to post here, at all.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
Aug 16 '22
[removed] — view removed comment
1
u/AutoModerator Aug 16 '22
Hey /u/woodin57, unfortunately you have negative comment karma, so you can't post here. Your submission has been removed. DO NOT message the moderators; if you have negative comment karma, you cannot post here. We will not respond. Your karma may appear to be 0 or positive if your post karma outweighs your comment karma, but if your comment karma is negative, your comments will still be removed.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
0
Apr 02 '20
[deleted]
1
u/BumbleEngineers Apr 03 '20
To what extent do you use native components and how do you look at the trade-offs between native and custom made UI elements?
Ruslan: Usually we are trying to use native as much as possible, cause it helps us with delivery, but we have our own System Design (Cosmos) where we built a lot of custom but very flexible components and we didn’t notice any trade-offs I would say with it. Actually, the opposite, they helped us move much faster because the designers are now limited and are thinking in term of system design.
Ilya: Native FTW! The closer to the native OS frameworks - the better. Don’t try to fight with the system: try to make the very best of it. All the built-in iOS applications are built using native SDKs - this means you can too, but like any tool, it needs to be mastered. On the other hand, the design team always tends to use some insane custom design which requires the implementation of custom (and mostly not reusable) components. In our case, we’re always trying to discuss mockups with designers. This was one of the reasons why our design system - Cosmos was born.
How is Bumble adapting to the global health situation?
Ivan: There’s not much impact on our apps, there is some increase in activity, especially in chats between users, but we are able to handle it.
Jairo: We are promoting features that will help our users to make the most of this social distancing period (such as video-chat) and supporting communities and workers around the globe with in-app messages and micro-features ;)
60
u/Drarok Objective-C / Swift Apr 02 '20
What are your thoughts on SwiftUI in its current state? Usable for some parts of an app right now, or hold off? Wants/needs before it’s adoptable?