Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

The 'Event' name #2

Closed
Tangdixi opened this issue Jul 6, 2016 · 3 comments
Closed

The 'Event' name #2

Tangdixi opened this issue Jul 6, 2016 · 3 comments

Comments

@Tangdixi
Copy link

Tangdixi commented Jul 6, 2016

I was try to do something like this in my viewModel:

struct UserEventModel {

  let events: Observable<[Event]>

}

It seems the name Event conflict with the Event in RxSwift.

: (

@onmyway133
Copy link
Owner

@Tangdixi Swift has namespace, so I think GithubSwift.Event will work

@Tangdixi
Copy link
Author

Tangdixi commented Jul 6, 2016

@onmyway133 Thx for your help ~

@Tangdixi Tangdixi closed this as completed Jul 6, 2016
@onmyway133
Copy link
Owner

@Tangdixi you're welcome 🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants