Fileprivate vs private


(Milos Jakovljevic) #1

Hi everyone,

Can anyone elaborate whats the idea behind private and fileprivate ? Or better yet what is the purpose of fileprivate ?

Thanks,
Milos

···

Sent from my iPad


(Chris Lattner) #2

See SE-0025 and the discussion links at the top of the proposal:
https://github.com/apple/swift-evolution/blob/master/proposals/0025-scoped-access-level.md

-Chris

···

On Feb 12, 2017, at 9:19 AM, Milos Jakovljevic via swift-evolution <swift-evolution@swift.org> wrote:

Hi everyone,

Can anyone elaborate whats the idea behind private and fileprivate ? Or better yet what is the purpose of fileprivate ?