r/iOSDevelopment • • Aug 02 '24

IOS Chatting Application Problem

3 Upvotes

I’m developing a chatting application using flutter that is intended to work on (IOS and Android).

My application uses local storage to store the conversations and the application data and uses events to update the storage. When my app is in foreground state it’s connected to pusher service which give me a socket like experience, but once my app is in the background/terminated state and specifically on IOS i’m using data messages to wake up the app and do the processing which is (adding the message to the local database and notifying the user). However when I first deployed the app it was working fine but ever since my user base got larger meaning the events got a lot more, firebase have been failing to deliver most of my data messages and when trying to debug the issue I came across “~https://developer.apple.com/documentation/usernotifications/pushing-background-updates-to-your-app#Enable-the-remote-notifications-capability~” this article from IOS documentation stating that we should not use the remote notification more than 2 - 3 times an hour. Now my question is, regardless of the chatting giants (WhatsApp and Telegram) , how are other applications performing and delivering to all users in all cases? Please be noted that I have tested many solutions manually (Cliq, Botim, Comera, Element) they all use local storage and what the experiment I did is 

IOS device in terminated state and offline (no internet connection) I send from another device 20-50 messages then I switch the internet on on the device without opening the app, I receive the notifications one by one without any drop and ordered and I switch off the internet again and launch the app I find my messages synced into the local database in a correct order. This means that the app received not a notification message but a data message because actions have been made on the app without the app being in foreground. 

One last thing, if my app is in background or terminated I can’t initiate a server polling to get the data that have not been synced because this is restricted in IOS and even if it was allowed I can’t do it each second or minute to ensure I’m up to date and not receiving messages in a delayed manner. 

I have to solve this issue and I’m looking forward to your kind help.


r/iOSDevelopment • • Jul 20 '24

How to Achieve this kind of animation and graph in SwiftUI?

3 Upvotes

I've recently started learning iOS development with SwiftUI, and I'm enjoying the Swift language and the SwiftUI framework. To apply what I've learned, I began developing a clone of the Gentler Streak app, which is one of my favourite apps for its UI/UX, on iPhone.

I've made some progress, as shown in this video: [https://drive.google.com/file/d/13F2gC0IgHydXSRfNibsKSMaqnK0HgQM7/view ], but I'm struggling with my understanding of how to develop the graph and its animation, as seen in this attached video.

Can anyone help me understand how to approach this problem? Do I need to use any specific frameworks or libraries to achieve this with SwiftUI?


r/iOSDevelopment • • Jul 11 '24

Which language to choose for DSA ??

3 Upvotes

Recently I was interviewing for iOS development role and I was asked DSA question and language was restricted to Swift ?? Is it expected across all other org hiring ?? Given my background I did prepare for DSA with C++ in my college and I am good and comfortable at it. Now doing it in Swift finds a bit annoying as I have to find new data structure methods for handling the data and all ?? Any past experiences related to the language restriction to Swift for DSA iOS developers ?? Please share if there is any ??

THANK YOU!!


r/iOSDevelopment • • Jul 03 '24

iOS app to learn swift

3 Upvotes

Hi, here's an app to learn iOS Development and swift! it's free!

https://apps.apple.com/in/app/code-weekly/id6505076608


r/iOSDevelopment • • Jun 07 '24

Me this week: I’m going to take it easy and mentally prepare for WWDC24. No touching Xcode. Also me:

3 Upvotes

Looking for an app… Meh, meh, the fuck nope… Wait, I could do this. Let’s build a little test. And how does this work? Oooo. That’s nice. Let’s plan a little database here. Add this layout package. Dang, this UX is coming together almost by magic.

Oh crap I’m building another app again

Sorry if this is not allowed I just thought someone might relate.


r/iOSDevelopment • • Apr 24 '24

Looking for Swift Playground learning sites and resources

3 Upvotes

Do you have any recommendations for Swift Playgrounds resources?


r/iOSDevelopment • • Apr 12 '24

Getting started with iOS Development – Any advice would be helpful!

3 Upvotes

I've been involved with digital marketing for the past 8+ years, but I'm looking into switching over to iOS development. It has always been a big interest of mine, and I decided to go ahead with it.

I've started with the Swift Playground course and I'm in the basic course called "Get Started with Code". I have no idea how to break into iOS development besides this course. Although it's good so far, I've heard that it's mainly aimed for children. Any recommendations on how I should approach iOS development to where it can lead me to an eventual junior role?

Thank you!


r/iOSDevelopment • • Apr 04 '24

High quality iOS app Boilerplate - Auth, UI components, IAP, SwiftData, etc

Thumbnail
swiftsail.dev
3 Upvotes

r/iOSDevelopment • • Mar 27 '24

How to install an app in development without publishing on app store?

3 Upvotes

I'm pretty new to creating apps on mobile devices (as new as haven't even started yet). I like to make stuff as a hobby in my free time.

I have an idea for an app i would like to make for a friend. Problem is idk how to send it to them (ios user) without publishing it on the appstore.

On windows its pretty straightforward. On androind an apk file will do. But is it possible for them to install and keep an app and how would i need to send it to them?

Thank you for your time


r/iOSDevelopment • • Mar 21 '24

Auto-send message feature in Whatsapp

3 Upvotes

I am developing a messaging app in swift, I came to know about the feature that normally messaging apps have, like when no internet connection, it automatically sends unsent messages when internet connection is restored, even when app is closed.

How to implement this thing, to send messages automatically even when app is closed, when internet connection is restored?


r/iOSDevelopment • • Jan 16 '24

Lessons learned after 1 year of development

3 Upvotes

In January 2023, our small team of two embarked on building an app. Our idea was to allow users to save web pages and automatically tag these pages with personal names, organizations, geographical locations and keywords and provide strong search tools to search this library of knowledge.

We also wanted this data to sync across user devices seamlessly and work on a broad swath of web pages.

We started with a few technical goals:

  • Design the user interface with SwiftUI, with minimal custom UI code.

  • Embrace MVVM (Model - ViewModel - View paradigm), Coordinators and Dependency Injection.

  • Write as many unit tests as possible during development and run the test suite on every Pull Request.

  • Use the platform’s native capabilities as often as possible (localization, defaults storage, share extension).

Here are the major frameworks we used:

  • CoreData for storage and CloudKit for syncing (abstracted from NSPersistentContainer).

  • Apple’s NaturalLanguage framework for tag detection and processing.

  • Resolver for Dependency Injection. This is an older framework and we didn't migrate to the latest Factory from the same author.

  • SwiftSoup for parsing HTML.

  • Apple’s Foundation for networking.

There were some major roadblocks and difficulties that we encountered, notably:

  • Parsing web pages to extract meaningful content is a fairly difficult task. We looked at how Mozilla, and other Open Source browsers do it for inspiration but this task alone ate away at a lot (>50%?) of the development time. Some of this difficulty stems from the fact that we only interpret the raw HTML and CSS and don’t run any JavaScript. Looking back, we could have implemented a hidden browser view and attempted to obtain the resulting HTML from that.

  • While CoreData and CloudKit do work well together and the solution is quite simple to implement, there are situations that are not handled properly, notably deduplication. In our Model, a URL is a unique key but that is not enforceable by Core Data, especially if a given URL can be inserted from different devices talking to the same CloudKit database. We had to implement a deduplication process to counteract potential situations like these.

  • Some of Apple’s NaturalLanguage API is inconsistent (or doesn’t work in the way the documentation says it does). We had to walk back some early decisions regarding these deficiencies. Bug reports were sent but we haven’t heard back from that in time for release.

Some of what I would consider wins:

  • Unit tests, specifically in the context of our web parsing engine. Since the internet is constantly changing and you want stable tests, we extracted the full contents of over 50 pages on popular websites and were running our unit tests against this benchmark.

  • The task of producing screenshots for multiple devices (iPhone in 2 sizes and iPad in 2 sizes), in multiple languages (for us English and French), is daunting. We used XCUITests to produce these screenshots which cut down on a lot of manual time this task.

  • I was not familiar with Dependency Injection at the start of this project and it does remove a lot of the pain points of passing around instances of worker classes. The technique also invaluable when writing unit tests. I would definitely reuse this in future endeavours.

We were a two-person team, working part-time on this. Started in January 2023 and released on the App Store in December 2024.

If you're interested in seeing the end result, I’d love to hear your feedback. The app is called com.post and is available for free here.


r/iOSDevelopment • • Jan 15 '24

When to start applying to jobs?

3 Upvotes

Title says it all. Been at it for two years or so have a portfolio that I’m proud of but still feel like I have no idea what I’m doing.

I feel the interview process will be a failure but also give me the feedback I need to make the jump to switch careers?

Thanks for the help.


r/iOSDevelopment • • Jan 11 '24

Need help in enrolling for apple developer program

3 Upvotes

So after trying many times on my macos and iphone , I am not able to enroll in the apple developer account and I am getting an error message unable to continue.please contact support.

I need help from someone. You just need to download the apple developer app and sign in with my account details and enroll (I will obviously share my payment details for the enrollment) .I am from India (not that it matters) so let me know if anyone is willing to help.


r/iOSDevelopment • • Aug 14 '23

Can I create an app for someone else's account?

3 Upvotes

I have a business contact who is having a freelancer code an app for her. She asked me to set up the app id in her developer account so that he can upload it, since she's pretty inexperienced with the process. She gave me admin access to her account (it's single developer account), but although I can add and remove users for her, etc, I still can't create a new app id for her. Is there I way I can create an app id for her, or am I going to have to walk her through it?


r/iOSDevelopment • • Jul 31 '23

We are hiring a Mobile Developer to create a Widget for an iOS and Android App.

3 Upvotes

Hello,

We are looking for a Mobile developer who can create a widget for our meditation and mental wellbeing app. This widget is going to be a meditation tool, consisting of a simple animation. The app itself (which we will be developing ourselves) will have a settings tool where the widget itself can be customized, changing its appearance, color, and breathing exercise.


r/iOSDevelopment • • Jun 30 '23

Looking for a study/project group

3 Upvotes

Hello! Is there anyone who is learning or trying their hand at iOS development and would like a partner? I'm putting in my best effort to become an iOS developer and have recently started building my portfolio from scratch. However, I currently have no work experience with Swift or Object-C. I speak english and Spanish. You can dm me or just comment and i talk to you

——-

Hola, estoy aprendiendo Swift/SwiftUI y estoy intentando armar mi portfolio con ideas propias o proyectos interesantes que sean un poco desafío. Si estás interesado/a en hablar y ayudarnos mutuamente, podes escribirme o, si prefers, puedo contactarte si dejas un comentario. No tengo experiencia


r/iOSDevelopment • • Jun 29 '23

Calendar Changes on iOS 17

3 Upvotes

Hey guys,

Was reviewing some videos from WWDC 2023 and was particularly curious about the changes Apple introduced regarding the EventKit and EventKitUI frameworks. However, while analysing the related Technotes, I came across TN3152 and found something weird there.

Regarding the usage descriptions keys changes, more specifically the part related with the "Protect user privacy with information property list keys" Section, i noticed the following:

Important

On iOS 17 or later, if your app doesn’t include usage description keys, or only includes the older NSCalendarsUsageDescription key for describing events access, iOS automatically denies any access request.

However, the following comes immediately after:

To access a person’s calendar events or reminders through EventKit or EventKit UI, your app needs to include descriptions for the following if your app links to iOS 10 or later, and runs on iOS 10 through iOS 16:

- NSCalendarsUsageDescription, which is a fallback if your app runs on iOS 17 or later and doesn’t include descriptions for NSCalendarsWriteOnlyAccessUsageDescription or NSCalendarsFullAccessUsageDescription.

I find this very confusing as the two concepts seem to be the opposite of each other. Am I misunderstanding something or is there an issue with the documentation?

Thanks for your input!


r/iOSDevelopment • • Jun 13 '23

"Your submission was accepted for release on the App Store" -> still shows as "In Review", can't release it

3 Upvotes

A new one on me (have been releasing apps since 2013), anyone seen this before?

A few hours ago the app went In Review. Then one hour ago I got the push notification that the app was approved, and got the email "Your submission was accepted for release on the App Store.". An hour later I went to log in to release it, but it still shows as In Review. The submission was for only this app.

So I can't release it... I guess i'll wait a few hours and see if it magically improves? Maybe Apple is using AWS which is currently having an outage in us-east-1 ? that'd be a hoot eh.


r/iOSDevelopment • • Apr 30 '23

First freelance job, how much should I charge?

3 Upvotes

I’ve been learning SwiftUI for the past two months, ofcourse I still have a long way to go. I made a grocery store some days back and posted it. Someone approached me to make one for him. This is my very first contract, it’ll let me dive deep to explore my skills and learn. It’ll be a grocery store where you can make orders, user authentication and live support. How much should I charge?


r/iOSDevelopment • • Mar 24 '23

Support for apps created with older Xcode version

3 Upvotes

Newb question.

I have an app I created a while back that I'm considering refreshing. It doesn't really take advantage of any particular feature of iOS. And my setup only goes to Big Sur.

I see that the last version that was created with Xcode 11, still works on iOS 16.3.1 on my iPhone 11.

Does it really matter what version of Xcode I use for future or backwards compatibility if I don't need any features of later iOS versions?


r/iOSDevelopment • • Mar 12 '23

Creating an app for NFC emulation.

3 Upvotes

I couldn't find anything about this on the internet really but apps have been able to add NFC passes to the wallet app. The only example i can think of is Nando's, their pass uses NFC emulation from the wallet app. Surely there's a way to develop an app that can do this just with passes that have been scanned. I would be willing to develop this even if its just for my own personal use but i have little swiftUI and Apple API knowledge so i was wondering if anyone with better understanding could let me know if this is possible. I'd love to create an app like Aemulo although this requires a jailbreak. If I am an enrolled developer so have the correct entitlements for adding passes to the wallet, what's requiring this app to need a jailbreak?

Thanks for any help.


r/iOSDevelopment • • Mar 12 '23

Today I released my app on the App Store. Easily paste text shortcuts directly from your keyboard. After trying similar apps that were too confusing, I designed this to be simple and easy. Introducing Clipboard Copy and Paste!

3 Upvotes

👋 Hey r/Apple!

I am an indie iOS developer and today I am releasing my new app: Clipboard Copy and Paste.

Here is a little info about my app:

📋 The keyboard extension integrates seamlessly with your favorite apps, allowing you to quickly paste your text snippets. Save your most common links, emails, usernames, replies, phrases, etc. No more tedious copy and paste - just select your shortcut and it's automatically pasted in your message.

✏️ Adding and editing shortcuts is a breeze. This app was designed to be as simple as possible.

✅ There is no signup, no ads, and we do not save any of your keyboard data.

Here are just a few of the features:

• ⁠Add shortcuts to your copy/paste keyboard.

• ⁠Keyboard toolbar (edit, spacebar, return, delete)

• ⁠Organize your shortcuts.

• ⁠Swipe to delete shortcuts.

• Mac, Apple Watch and Device sync coming soon.

If you’re interested to try it I’ve included a link below. Please let me know what you think in the comments (I take user feedback seriously).

App Store Link: https://apps.apple.com/us/app/id1671907787

Have a great Sunday.


r/iOSDevelopment • • Jan 19 '23

Communicating between an iOS App & Extensions using App Groups

Thumbnail
fleksy.com
3 Upvotes

r/iOSDevelopment • • Jan 13 '23

How to read bluetooth connection history on ios 16.1

3 Upvotes

r/iOSDevelopment • • Nov 26 '22

How can I become an iOS developer?

3 Upvotes

How can I become an iOS developer? I know HTML and CSS can build basic websites but iOS development has caught my attention. Should I go to college or boot camp? What’s the the best way to learn iOS development? Thank you!