Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Updates license to MIT
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignacio Romero Zurbuchen committed Apr 13, 2016
1 parent 6e99e32 commit 322f218
Show file tree
Hide file tree
Showing 25 changed files with 106 additions and 277 deletions.
2 changes: 1 addition & 1 deletion Examples/Messenger-Shared/MessageViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ - (MessageTableViewCell *)messageCellForRowAtIndexPath:(NSIndexPath *)indexPath
UILongPressGestureRecognizer *longPress = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(didLongPressCell:)];
[cell addGestureRecognizer:longPress];
}

Message *message = self.messages[indexPath.row];

cell.titleLabel.text = message.username;
Expand Down
1 change: 0 additions & 1 deletion Examples/Uncrustify/Source
Submodule Source deleted from 5987f2
28 changes: 17 additions & 11 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
Copyright (c) Slack Technologies, Inc.

Copyright 2014-2016 Slack Technologies, Inc.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
16 changes: 4 additions & 12 deletions Source/SLKInputAccessoryView.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#import <UIKit/UIKit.h>
Expand Down
16 changes: 4 additions & 12 deletions Source/SLKInputAccessoryView.m
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#import "SLKInputAccessoryView.h"
Expand Down
16 changes: 4 additions & 12 deletions Source/SLKTextInput+Implementation.m
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#import "SLKTextInput.h"
Expand Down
16 changes: 4 additions & 12 deletions Source/SLKTextInput.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#import <UIKit/UIKit.h>
Expand Down
16 changes: 4 additions & 12 deletions Source/SLKTextInputbar.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#import <UIKit/UIKit.h>
Expand Down
16 changes: 4 additions & 12 deletions Source/SLKTextInputbar.m
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#import "SLKTextInputbar.h"
Expand Down
16 changes: 4 additions & 12 deletions Source/SLKTextView+SLKAdditions.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#import "SLKTextView.h"
Expand Down
16 changes: 4 additions & 12 deletions Source/SLKTextView+SLKAdditions.m
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#import "SLKTextView+SLKAdditions.h"
Expand Down
16 changes: 4 additions & 12 deletions Source/SLKTextView.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#import <UIKit/UIKit.h>
Expand Down
16 changes: 4 additions & 12 deletions Source/SLKTextView.m
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#import "SLKTextView.h"
Expand Down
16 changes: 4 additions & 12 deletions Source/SLKTextViewController.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#import <Foundation/Foundation.h>
Expand Down
16 changes: 4 additions & 12 deletions Source/SLKTextViewController.m
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#import "SLKTextViewController.h"
Expand Down
16 changes: 4 additions & 12 deletions Source/SLKTypingIndicatorProtocol.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#import <Foundation/Foundation.h>
Expand Down
16 changes: 4 additions & 12 deletions Source/SLKTypingIndicatorView.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#import <UIKit/UIKit.h>
Expand Down
16 changes: 4 additions & 12 deletions Source/SLKTypingIndicatorView.m
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#import "SLKTypingIndicatorView.h"
Expand Down
16 changes: 4 additions & 12 deletions Source/SLKUIConstants.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
//
// Copyright 2014-2016 Slack Technologies, Inc.
// SlackTextViewController
// https://github.com/slackhq/SlackTextViewController
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright 2014-2016 Slack Technologies, Inc.
// Licence: MIT-Licence
//

#define SLK_IS_LANDSCAPE ([[UIApplication sharedApplication] statusBarOrientation] == UIDeviceOrientationLandscapeLeft || [[UIApplication sharedApplication] statusBarOrientation] == UIDeviceOrientationLandscapeRight)
Expand Down
Loading

0 comments on commit 322f218

Please sign in to comment.