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

Commit 322f218

Browse files
author
Ignacio Romero Zurbuchen
committed
Updates license to MIT
1 parent 6e99e32 commit 322f218

25 files changed

+106
-277
lines changed

Examples/Messenger-Shared/MessageViewController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ - (MessageTableViewCell *)messageCellForRowAtIndexPath:(NSIndexPath *)indexPath
623623
UILongPressGestureRecognizer *longPress = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(didLongPressCell:)];
624624
[cell addGestureRecognizer:longPress];
625625
}
626-
626+
627627
Message *message = self.messages[indexPath.row];
628628

629629
cell.titleLabel.text = message.username;

Examples/Uncrustify/Source

-1
This file was deleted.

LICENSE

+17-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
1+
Copyright (c) Slack Technologies, Inc.
12

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

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

8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Source/SLKInputAccessoryView.h

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#import <UIKit/UIKit.h>

Source/SLKInputAccessoryView.m

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#import "SLKInputAccessoryView.h"

Source/SLKTextInput+Implementation.m

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#import "SLKTextInput.h"

Source/SLKTextInput.h

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#import <UIKit/UIKit.h>

Source/SLKTextInputbar.h

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#import <UIKit/UIKit.h>

Source/SLKTextInputbar.m

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#import "SLKTextInputbar.h"

Source/SLKTextView+SLKAdditions.h

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#import "SLKTextView.h"

Source/SLKTextView+SLKAdditions.m

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#import "SLKTextView+SLKAdditions.h"

Source/SLKTextView.h

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#import <UIKit/UIKit.h>

Source/SLKTextView.m

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#import "SLKTextView.h"

Source/SLKTextViewController.h

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#import <Foundation/Foundation.h>

Source/SLKTextViewController.m

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#import "SLKTextViewController.h"

Source/SLKTypingIndicatorProtocol.h

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#import <Foundation/Foundation.h>

Source/SLKTypingIndicatorView.h

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#import <UIKit/UIKit.h>

Source/SLKTypingIndicatorView.m

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#import "SLKTypingIndicatorView.h"

Source/SLKUIConstants.h

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
//
2-
// Copyright 2014-2016 Slack Technologies, Inc.
2+
// SlackTextViewController
3+
// https://github.com/slackhq/SlackTextViewController
34
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
5+
// Copyright 2014-2016 Slack Technologies, Inc.
6+
// Licence: MIT-Licence
157
//
168

179
#define SLK_IS_LANDSCAPE ([[UIApplication sharedApplication] statusBarOrientation] == UIDeviceOrientationLandscapeLeft || [[UIApplication sharedApplication] statusBarOrientation] == UIDeviceOrientationLandscapeRight)

0 commit comments

Comments
 (0)