Comments (6)
Using
self.calendarView.firstDayOfWeek = .Monday
should work.
Can you tell me this:
- is it Vertical or horizontal scrolling?
- Is paging enabled?
- Is number of rows per week = 6? or something else
You need to give me enough information so that i can re-create your scenario
from jtapplecalendar.
I finally found a solution:
I add calendarView.numberOfRowsPerMonth = 6
and now it works.
So maybe there is a problem with the default value.
Thanks for your help ;)
from jtapplecalendar.
Thank you. I will look into this.
The default date should work out of the box. Testing this now.
Or can you paste your calendar setup code that you have in your viewDidLoad()
function?
from jtapplecalendar.
Never mind. I have recreated the issue. Thanks for letting me know of this. Will fix the default value.
from jtapplecalendar.
When you change the first day of week, you are supposed to do a calendarView.reloadData()
But this was failing because I left out one line of code that marked the calendarView as layoutNeedsUpdating = true
Its a one line code fix. Will push this fix to the next version coming this weekend. In the mean time, continue using your method.
from jtapplecalendar.
OK, thanks for your help !
from jtapplecalendar.
Related Issues (20)
- Application got crashed :
- Application got crashed at JTACMonthLayout
- Application got crashed at JTACMonthLayout due to nil value HOT 11
- Calendar crashing on iOS 17 HOT 4
- Crashlytics Reports 100% Crash Rate in iOS 17 HOT 8
- Stored properties cannot be marked unavailable with '@available' error on Xcode 15 HOT 4
- Error - Stored properties cannot be marked unavailable with '@available' HOT 3
- Xcode 15 Error "Stored properties cannot be marked unavailable with '@available" HOT 4
- xCode 15 compatibility issue
- Only iOS 17 Crash - JTACMonthLayout - setupDataFromDelegate HOT 11
- I use Xcode Version 14.3.1 (14E300c). But the bug? issue has 'No such module 'JTAppleCalendar' HOT 3
- Additional line of days in previous month if use cellState.dateBelongsTo for cells hide or style HOT 5
- Stored properties cannot be marked unavailable with '@available' HOT 10
- View dependend protocols should be marked with @MainActor HOT 2
- reload data doesn't work HOT 2
- Any support/plan of Privacy Manifest? HOT 2
- Month view display incorrectly when endDate <= Oct 1582 HOT 6
- Adding Privacy Manifest incomplete HOT 1
- SSL_ERROR_INTERNAL_ERROR_ALERT HOT 2
- Documentation is unavailable HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jtapplecalendar.