Posts

Post not yet marked as solved
0 Replies
603 Views
I'm building a progress calendar feature in my app. There is a progress bar in my app, if the user reaches 100% at the current day, I want to show them a checkmark in the calendar so they can see in which days they completed their goal. What would be the way to build it? I guess I can have a variable for each day of the month and make it true if the user reaches 100% for that day, but that seems like a really bad solution. Here is my calendar usage. CalendarView(interval: year) { date in 																if calendar.component(.day, from: date) == calendarCurrent.component(.day, from: currentDate) { 																		ZStack { 																				Text("30") 																						.hidden() 																						.padding(8) 																						.overlay( 																								RoundedRectangle(cornerRadius: 10, 																																 style: .continuous) 																										.stroke(Color(red: 50/255, green: 104/255, blue: 144/255), style: StrokeStyle(lineWidth: 2))) 																						 																						.padding(.vertical, 4) 																						.overlay( 																								Text(String(self.calendar.component(.day, from: date))).bold()) 																						.foregroundColor(.white) 																				 																				 																		} 																} else { 																		ZStack { 																				Text("30") 																						.hidden() 																						.padding(8) 																						.background(Color(red: 50/255, green: 104/255, blue: 144/255)) 																						.clipShape(RoundedRectangle(cornerRadius: 10)) 																						.padding(.vertical, 4) 																						.overlay( 																								Text(String(self.calendar.component(.day, from: date))).bold()) 																						.foregroundColor(.white) 																		} 																} 														}
Posted Last updated
.
Post not yet marked as solved
0 Replies
446 Views
Hey, just a quick question. I integrated HealthKit in my app and I want show the Apple Health badge on my App Store page to promote HealthKit feature.  Apple Guideline for HealthKit - https://developer.apple.com/news/?id=04202020a&1587406081 Apple provide developers different badges to download and use, but the problem is I can't find or download the "Works with Apple Health badge". I guess it should be available to download from here Works with Apple Health - https://developer.apple.com/health-fitness/works-with-apple-health/ but the page doesn't seem to work for the last couple of days. Tried with different browsers, different Macs and PCs but the page won't work. I'm from EU might that has something to do with it? I should publish my update today but I can't get the images I need. Should I contact Apple about it or what's recommended to do in this situation?
Posted Last updated
.
Post not yet marked as solved
1 Replies
448 Views
Hey, I'm kinda new to coding, I've been learning Swift in the past few months. Is there's any must have app which can make the process of creating apps more easy? For example like GitHub Desktop or Sublime Text, basically anything which makes the app development process more easy and fluid.
Posted Last updated
.
Post not yet marked as solved
2 Replies
4.6k Views
it's rumored that Xcode is coming to iPadOS, maybe announcement in WWDC? If so, could an iPad Pro completely replace a Mac? The iPad Pro performance would be more than enough for Xcode so could be the iPad become the go-to platform for programming? Maybe more IDEs for iPadOS in the future?
Posted Last updated
.