Read widget event types from NSE

This commit is contained in:
ismailgulek
2021-03-19 02:52:04 +03:00
parent f0f06cf2d0
commit dbb33a3f2d
7 changed files with 94 additions and 24 deletions

View File

@@ -27,3 +27,4 @@ INFOPLIST_FILE = RiotNSE/Info.plist
CODE_SIGN_ENTITLEMENTS = RiotNSE/RiotNSE.entitlements
SKIP_INSTALL = YES
SWIFT_OBJC_BRIDGING_HEADER = $(SRCROOT)/$(PRODUCT_NAME)/SupportingFiles/RiotNSE-Bridging-Header.h

View File

@@ -0,0 +1,22 @@
//
// Copyright 2021 New Vector Ltd
//
// 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.
//
#ifndef RiotNSE_Bridging_Header_h
#define RiotNSE_Bridging_Header_h
#import "WidgetConstants.h"
#endif /* RiotNSE_Bridging_Header_h */

View File

@@ -58,3 +58,4 @@ targets:
- path: ../Riot/Utils/Constants.swift
- path: ../Riot/Categories/String.swift
- path: ../Riot/Categories/Character.swift
- path: ../Riot/Managers/Widgets/WidgetConstants.m