Open AsimNet opened 8 years ago
I never used swift so I'm afraid I can't help you with that, if you find the solution, just do me a PR
Thanks!
Did you find the solution?
The issue is the Masonry shorthand macro, I solved it by modifying the GCC_PREPOCESSOR_DEFINITIONS in the post_install step of my Podfile definition:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)']
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] << 'MAS_SHORTHAND=1'
end
end
end
Sounds great! I'll add it latter today and see if works!
I added it to the project pod, but I think it should be added to any project using this lib, do you know if there is a way fo tix this in the podscpec itself?
Yeah sorry, that's what I meant: this solution should be applied on the project using the library. I didn't tried solving it on the podspec. When I have some time i'll look into it .
Fork it and submit a pull request On Wed, Jan 25, 2017 at 12:49 AM EricBeato notifications@github.com wrote:
Yeah sorry, that's what I meant: this solution should be applied on the project using the library. I didn't tried solving it on the podspec. When I have some time i'll look into it .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BadChoice/RVCalendarWeekView/issues/15#issuecomment-274949950, or mute the thread https://github.com/notifications/unsubscribe-auth/ADdN-WlCAO5tU5gpM5FwpWyoPPEAQgCiks5rVnH0gaJpZM4KhpzG .
@AsimNet @BadChoice Hi First, Thank you ! i need example in swift. how to implement it? can you please provide example. @AsimNet did you find solution ?
I tried swift and it was total pain, so I sticked in objective-c
Hello,
is there a swift version of this library ?
here what happens when I use it with swift: