diff --git a/PinLayout.xcodeproj/project.pbxproj b/PinLayout.xcodeproj/project.pbxproj index 30eeb49f..b22db754 100644 --- a/PinLayout.xcodeproj/project.pbxproj +++ b/PinLayout.xcodeproj/project.pbxproj @@ -129,8 +129,8 @@ isa = PBXGroup; children = ( DFC97CA61E8A8F2C001545D5 /* PinLayout.swift */, - DFC97CA41E8A8EB3001545D5 /* PinLayoutImpl.swift */, DF11A3701E833F03008B33E5 /* Types.swift */, + DFA06B031E8B38B300B6D5E7 /* Impl */, DF11A3751E834194008B33E5 /* Extensions */, DF11A3761E8341A2008B33E5 /* Helpers */, ); @@ -178,6 +178,14 @@ path = Helpers; sourceTree = ""; }; + DFA06B031E8B38B300B6D5E7 /* Impl */ = { + isa = PBXGroup; + children = ( + DFC97CA41E8A8EB3001545D5 /* PinLayoutImpl.swift */, + ); + name = Impl; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ diff --git a/PinLayout/Extensions/UIView+PinLayout.swift b/PinLayout/Extensions/UIView+PinLayout.swift index 6b44de49..e2f32f58 100644 --- a/PinLayout/Extensions/UIView+PinLayout.swift +++ b/PinLayout/Extensions/UIView+PinLayout.swift @@ -1,10 +1,29 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// UIView+PinLayout.swift -// PinLayout +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by Luc Dion on 2017-03-22. -// Copyright © 2017 mcswiftlayyout.mirego.com. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. import UIKit diff --git a/PinLayout/Helpers/Coordinates.swift b/PinLayout/Helpers/Coordinates.swift index 91e2663e..16000897 100644 --- a/PinLayout/Helpers/Coordinates.swift +++ b/PinLayout/Helpers/Coordinates.swift @@ -1,10 +1,29 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// View.swift -// PinLayout +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by Luc Dion on 2017-03-22. -// Copyright © 2017 mcswiftlayyout.mirego.com. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. import UIKit diff --git a/PinLayout/PinLayout.swift b/PinLayout/PinLayout.swift index 996d13ec..82fe51e1 100644 --- a/PinLayout/PinLayout.swift +++ b/PinLayout/PinLayout.swift @@ -1,10 +1,29 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// PinLayout.swift -// PinLayout +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by Luc Dion on 2017-03-28. -// Copyright © 2017 mcswiftlayyout.mirego.com. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. import UIKit diff --git a/PinLayout/PinLayoutImpl.swift b/PinLayout/PinLayoutImpl.swift index c43abef3..c467d1de 100644 --- a/PinLayout/PinLayoutImpl.swift +++ b/PinLayout/PinLayoutImpl.swift @@ -1,11 +1,31 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// PinLayout.swift +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-17. -// Copyright © 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // -import UIKit +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +import UIKit /* =============================================== diff --git a/PinLayout/Types.swift b/PinLayout/Types.swift index 816601cd..4b6c858c 100644 --- a/PinLayout/Types.swift +++ b/PinLayout/Types.swift @@ -1,10 +1,29 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// Types.swift -// PinLayout +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by Luc Dion on 2017-03-22. -// Copyright © 2017 mcswiftlayyout.mirego.com. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. import UIKit diff --git a/PinLayoutSample/PinLayoutSample/AppDelegate.swift b/PinLayoutSample/PinLayoutSample/AppDelegate.swift index c429ab7e..7a53c2fc 100644 --- a/PinLayoutSample/PinLayoutSample/AppDelegate.swift +++ b/PinLayoutSample/PinLayoutSample/AppDelegate.swift @@ -1,10 +1,29 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// AppDelegate.swift -// PinLayoutSample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-27. -// Copyright © 2017 mcswiftlayyout.mirego.com. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. import UIKit import PinLayout diff --git a/PinLayoutSample/PinLayoutSample/Domain/Expect.swift b/PinLayoutSample/PinLayoutSample/Domain/Expect.swift index 3f6775c4..f6881020 100644 --- a/PinLayoutSample/PinLayoutSample/Domain/Expect.swift +++ b/PinLayoutSample/PinLayoutSample/Domain/Expect.swift @@ -1,10 +1,29 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// Expect.swift -// PinLayoutSample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-03-02. -// Copyright © 2017 mcswiftlayyout.mirego.com. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. import UIKit diff --git a/PinLayoutSample/PinLayoutSample/UI/Common/BasicView.swift b/PinLayoutSample/PinLayoutSample/UI/Common/BasicView.swift index eb048fc0..551e6376 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Common/BasicView.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Common/BasicView.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// BasicView.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-21. -// Copyright © 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class BasicView: UIView { diff --git a/PinLayoutSample/PinLayoutSample/UI/Main/MenuView.swift b/PinLayoutSample/PinLayoutSample/UI/Main/MenuView.swift index b0b8e0ec..d7b004aa 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Main/MenuView.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Main/MenuView.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// MenuView.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by Luc Dion on 2016-09-03. -// Copyright © 2016 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit protocol MenuViewDelegate: class { diff --git a/PinLayoutSample/PinLayoutSample/UI/Main/MenuViewController.swift b/PinLayoutSample/PinLayoutSample/UI/Main/MenuViewController.swift index 31cfbd01..057574cc 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Main/MenuViewController.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Main/MenuViewController.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// MenuViewController.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by Luc Dion on 2016-09-03. -// Copyright © 2016 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit enum Page: Int { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/BothEdgesSnapped/BothEdgesSnappedView.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/BothEdgesSnapped/BothEdgesSnappedView.swift index 48f5291e..92b23376 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/BothEdgesSnapped/BothEdgesSnappedView.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/BothEdgesSnapped/BothEdgesSnappedView.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// BothEdgesSnappedView.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-21. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit import PinLayout diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/BothEdgesSnapped/BothEdgesSnappedViewController.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/BothEdgesSnapped/BothEdgesSnappedViewController.swift index 4fef2825..2c87edf7 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/BothEdgesSnapped/BothEdgesSnappedViewController.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/BothEdgesSnapped/BothEdgesSnappedViewController.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// BothEdgesSnappedViewController.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-21. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class BothEdgesSnappedViewController: UIViewController { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/ChainedLayoutView/ChainedLayoutView.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/ChainedLayoutView/ChainedLayoutView.swift index 5b23cc3c..df89dfb9 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/ChainedLayoutView/ChainedLayoutView.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/ChainedLayoutView/ChainedLayoutView.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// ChainedLayoutView.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-20. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class ChainedLayoutView: UIView { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/ChainedLayoutView/ChainedLayoutViewController.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/ChainedLayoutView/ChainedLayoutViewController.swift index b1da60a6..51550f04 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/ChainedLayoutView/ChainedLayoutViewController.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/ChainedLayoutView/ChainedLayoutViewController.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// ChainedLayoutViewController.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-20. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class ChainedLayoutViewController: UIViewController { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndInsets/MarginsAndInsetsView.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndInsets/MarginsAndInsetsView.swift index aab79245..21086600 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndInsets/MarginsAndInsetsView.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndInsets/MarginsAndInsetsView.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// MarginsAndInsetsView.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-21. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit import PinLayout diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndInsets/MarginsAndInsetsViewController.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndInsets/MarginsAndInsetsViewController.swift index fa5c9a45..e7152f3c 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndInsets/MarginsAndInsetsViewController.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndInsets/MarginsAndInsetsViewController.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// MarginsAndInsetsViewController.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-21. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class MarginsAndInsetsViewController: UIViewController { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftRightView/MarginsAndPaddingsLeftRightView.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftRightView/MarginsAndPaddingsLeftRightView.swift index 155f90d7..8e6cf7d1 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftRightView/MarginsAndPaddingsLeftRightView.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftRightView/MarginsAndPaddingsLeftRightView.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// MarginsAndPaddingsLeftRightView.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-21. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class MarginsAndPaddingsLeftRightView: UIView { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftRightView/MarginsAndPaddingsLeftRightViewController.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftRightView/MarginsAndPaddingsLeftRightViewController.swift index c8392dc6..1bb08547 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftRightView/MarginsAndPaddingsLeftRightViewController.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftRightView/MarginsAndPaddingsLeftRightViewController.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// MarginsAndPaddingsLeftRightViewController.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-21. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class MarginsAndPaddingsLeftRightViewController: UIViewController { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftWidthView/MarginsAndPaddingsLeftWidthView.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftWidthView/MarginsAndPaddingsLeftWidthView.swift index 4c465807..a667f081 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftWidthView/MarginsAndPaddingsLeftWidthView.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftWidthView/MarginsAndPaddingsLeftWidthView.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// MarginsAndPaddingsLeftWidthView.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-21. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class MarginsAndPaddingsLeftWidthView: UIView { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftWidthView/MarginsAndPaddingsLeftWidthViewController.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftWidthView/MarginsAndPaddingsLeftWidthViewController.swift index 92bef7d1..57a928d4 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftWidthView/MarginsAndPaddingsLeftWidthViewController.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/MarginsAndPaddingsLeftWidthView/MarginsAndPaddingsLeftWidthViewController.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// MarginsAndPaddingsLeftWidthViewController.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-21. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class MarginsAndPaddingsLeftWidthViewController: UIViewController { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/MultiRelativeView/MultiRelativeView.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/MultiRelativeView/MultiRelativeView.swift index 35fe88f2..e0448891 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/MultiRelativeView/MultiRelativeView.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/MultiRelativeView/MultiRelativeView.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// MultiRelativeView.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-25. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class MultiRelativeView: UIView { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/MultiRelativeView/MultiRelativeViewController.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/MultiRelativeView/MultiRelativeViewController.swift index d63d3610..0f4fd07d 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/MultiRelativeView/MultiRelativeViewController.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/MultiRelativeView/MultiRelativeViewController.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// MultiRelativeViewController.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-25. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class MultiRelativeViewController: UIViewController { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/PinScrolling/PinScrollingView.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/PinScrolling/PinScrollingView.swift index bb564db4..6cda97b8 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/PinScrolling/PinScrollingView.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/PinScrolling/PinScrollingView.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// PinScrollingView.swift -// PinLayoutSample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by Luc Dion on 2017-03-23. -// Copyright (c) 2017 mcswiftlayyout.mirego.com. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class PinScrollingView: UIView { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/PinScrolling/PinScrollingViewController.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/PinScrolling/PinScrollingViewController.swift index 7366b7bd..4e5c198d 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/PinScrolling/PinScrollingViewController.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/PinScrolling/PinScrollingViewController.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// PinScrollingViewController.swift -// PinLayoutSample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by Luc Dion on 2017-03-23. -// Copyright (c) 2017 mcswiftlayyout.mirego.com. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class PinScrollingViewController: UIViewController { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/RelativeView/RelativeView.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/RelativeView/RelativeView.swift index 45a9f6e1..a54d67d4 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/RelativeView/RelativeView.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/RelativeView/RelativeView.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// RelativeView.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-22. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit import PinLayout diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/RelativeView/RelativeViewController.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/RelativeView/RelativeViewController.swift index 2cccea15..86ea6f3c 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/RelativeView/RelativeViewController.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/RelativeView/RelativeViewController.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// RelativeViewController.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-22. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class RelativeViewController: UIViewController { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/ValidateConflictsView/ValidateConflictsView.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/ValidateConflictsView/ValidateConflictsView.swift index 8a4b6f11..5b2ff8bd 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/ValidateConflictsView/ValidateConflictsView.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/ValidateConflictsView/ValidateConflictsView.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// ValidateConflictsView.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-23. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class ValidateConflictsView: UIView { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/ValidateConflictsView/ValidateConflictsViewController.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/ValidateConflictsView/ValidateConflictsViewController.swift index 8c34d52d..5fe2d16c 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/ValidateConflictsView/ValidateConflictsViewController.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/ValidateConflictsView/ValidateConflictsViewController.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// ValidateConflictsViewController.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-23. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class ValidateConflictsViewController: UIViewController { diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/ViewExtensionsPositionningView/ViewExtensionsPositionningView.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/ViewExtensionsPositionningView/ViewExtensionsPositionningView.swift index 68f7a932..0432a890 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/ViewExtensionsPositionningView/ViewExtensionsPositionningView.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/ViewExtensionsPositionningView/ViewExtensionsPositionningView.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// ViewExtensionsPositionningView.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-17. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit import PinLayout diff --git a/PinLayoutSample/PinLayoutSample/UI/Tests/ViewExtensionsPositionningView/ViewExtensionsPositionningViewController.swift b/PinLayoutSample/PinLayoutSample/UI/Tests/ViewExtensionsPositionningView/ViewExtensionsPositionningViewController.swift index 573ffac0..9c095dff 100644 --- a/PinLayoutSample/PinLayoutSample/UI/Tests/ViewExtensionsPositionningView/ViewExtensionsPositionningViewController.swift +++ b/PinLayoutSample/PinLayoutSample/UI/Tests/ViewExtensionsPositionningView/ViewExtensionsPositionningViewController.swift @@ -1,11 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// ViewExtensionsPositionningViewController.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-17. -// Copyright (c) 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // -import UIKit +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class ViewExtensionsPositionningViewController: UIViewController { diff --git a/PinLayoutTests/AdjustSizeSpec.swift b/PinLayoutTests/AdjustSizeSpec.swift index 80c82272..b2678c60 100644 --- a/PinLayoutTests/AdjustSizeSpec.swift +++ b/PinLayoutTests/AdjustSizeSpec.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// AdjustSizeSpec.swift -// PinLayout +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-03-05. -// Copyright © 2017 mcswiftlayyout.mirego.com. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import Quick import Nimble import PinLayout diff --git a/PinLayoutTests/BasicView.swift b/PinLayoutTests/BasicView.swift index eb048fc0..551e6376 100644 --- a/PinLayoutTests/BasicView.swift +++ b/PinLayoutTests/BasicView.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// BasicView.swift -// MCLayoutExample +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-21. -// Copyright © 2017 Mirego. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import UIKit class BasicView: UIView { diff --git a/PinLayoutTests/MarginsAndInsetsSpec.swift b/PinLayoutTests/MarginsAndInsetsSpec.swift index 8b80d1a7..71662a6c 100644 --- a/PinLayoutTests/MarginsAndInsetsSpec.swift +++ b/PinLayoutTests/MarginsAndInsetsSpec.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// MarginsAndInsetsSpec.swift -// PinLayout +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-03-05. -// Copyright © 2017 mcswiftlayyout.mirego.com. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import Quick import Nimble import PinLayout diff --git a/PinLayoutTests/PinEdgeCoordinateSpec.swift b/PinLayoutTests/PinEdgeCoordinateSpec.swift index 9b81213c..07f5ba01 100644 --- a/PinLayoutTests/PinEdgeCoordinateSpec.swift +++ b/PinLayoutTests/PinEdgeCoordinateSpec.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// PinEdgeCoordinateSpec.swift -// PinLayout +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-03-05. -// Copyright © 2017 mcswiftlayyout.mirego.com. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import Quick import Nimble import PinLayout diff --git a/PinLayoutTests/PinLayoutTests.swift b/PinLayoutTests/PinLayoutTests.swift index 0968f7f2..0562bd34 100644 --- a/PinLayoutTests/PinLayoutTests.swift +++ b/PinLayoutTests/PinLayoutTests.swift @@ -1,10 +1,29 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// PinLayout.swift -// PinLayoutTests +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-02-27. -// Copyright © 2017 mcswiftlayyout.mirego.com. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. import XCTest @testable import PinLayout diff --git a/PinLayoutTests/PinPointCoordinatesSpec.swift b/PinLayoutTests/PinPointCoordinatesSpec.swift index dee3e9a6..2ea228ec 100644 --- a/PinLayoutTests/PinPointCoordinatesSpec.swift +++ b/PinLayoutTests/PinPointCoordinatesSpec.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// PinPointCoordinatesSpec.swift -// PinLayout +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-03-05. -// Copyright © 2017 mcswiftlayyout.mirego.com. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import Quick import Nimble import PinLayout diff --git a/PinLayoutTests/RectNimbleMatcher.swift b/PinLayoutTests/RectNimbleMatcher.swift index 9fb2ada6..76b49b5c 100644 --- a/PinLayoutTests/RectNimbleMatcher.swift +++ b/PinLayoutTests/RectNimbleMatcher.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// RectNimbleMatcher.swift -// PinLayout +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-03-12. -// Copyright © 2017 mcswiftlayyout.mirego.com. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import Nimble import UIKit diff --git a/PinLayoutTests/RelativePositionSpec.swift b/PinLayoutTests/RelativePositionSpec.swift index 784f57d4..fda79a6e 100644 --- a/PinLayoutTests/RelativePositionSpec.swift +++ b/PinLayoutTests/RelativePositionSpec.swift @@ -1,10 +1,30 @@ +// Copyright (c) 2017, Mirego +// All rights reserved. // -// RelativePositionSpec.swift -// PinLayout +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: // -// Created by DION, Luc (MTL) on 2017-03-05. -// Copyright © 2017 mcswiftlayyout.mirego.com. All rights reserved. +// - Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// - Neither the name of the Mirego nor the names of its contributors may +// be used to endorse or promote products derived from this software without +// specific prior written permission. // +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + import Quick import Nimble import PinLayout