Closed tambaTech closed 3 years ago
The fact that you are also using another API shouldn't prevent you from using this library. It would be up to you to decide how to combine the data from the two sets.
I was looking for guidance on how to. I've looked at the documents but I'm too new in Swift to understand it all.
Then, it it better to learn swift first and then come back again. Because, no one can not guide you throughout the whole process . :( You should learn at least the working level of swift .
@LaminT theres also an example project included in this repo, you can find it here https://github.com/batoulapps/adhan-swift/tree/main/Example/Swift%20Example
Please try using the library and then if you get stuck on a specific problem we can hopefully point you in the right direction
Ok, should I install the package first to get the features?
@LaminT Yes, I recommend installing using the Swift Package Manager.
I'm not a beginner like that. I've already built the app, just missing some features like upcoming prayer, notifications and so on..
Jazâkallâhu khairan
Sorry for misunderstanding.
Here is an article for scheduling local notification
You can get tommorrow Date
by this code -> Calendar.current.date(byAdding: .day, value: 1, to: Date())!
Then, use the Date
object to retrieve the prayer time for that day.
Good Luck
Sorry for misunderstanding.
Here is an article for scheduling local notification
You can get tommorrow
Date
by this code ->Calendar.current.date(byAdding: .day, value: 1, to: Date())!
Then, use the
Date
object to retrieve the prayer time for that day.Good Luck
Jazâkallâhu khairan
@LaminT Wa iyyaka
As-salâmu ‘alaykum wa Rahmatullâhi wa barakatuhu . I am making a Salah app only for some cities in Denmark. I’m using a network call with another API with json response. I was wondering is it possible to combine the data I get back from API with your API, so I can use some of your features ? I’m very new in Swift, please be patient with me