PresenceIndicatorView Swift implementation

This commit is contained in:
aringenbach
2022-04-05 15:13:58 +02:00
parent ce05f3de08
commit 10cebea479
11 changed files with 107 additions and 138 deletions
@@ -17,10 +17,10 @@
#import "MatrixKit.h"
#import "RoomPreviewData.h"
#import "PresenceIndicatorView.h"
// We add here a protocol to handle tap gesture in title view.
@class RoomTitleView;
@class PresenceIndicatorView;
@protocol RoomTitleViewTapGestureDelegate <NSObject>
/**
@@ -50,7 +50,7 @@
<constraint firstAttribute="width" secondItem="Ky3-cy-HAx" secondAttribute="height" multiplier="1:1" id="peq-8l-eJv"/>
</constraints>
</imageView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="grc-2K-fj1" customClass="PresenceIndicatorView">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="grc-2K-fj1" customClass="PresenceIndicatorView" customModule="Riot" customModuleProvider="target">
<rect key="frame" x="29" y="26" width="12" height="12"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>