Skip to content

Commit

Permalink
more on display unit refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditi3 committed Dec 10, 2019
1 parent eef7b45 commit 7952077
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions CleverTapSDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -660,13 +660,13 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
0701E9572372AD550034AAC2 /* AdUnit */ = {
0701E9572372AD550034AAC2 /* DisplayUnit */ = {
isa = PBXGroup;
children = (
0701E95F2372C0970034AAC2 /* models */,
0701E95E2372BC550034AAC2 /* controllers */,
);
path = AdUnit;
path = DisplayUnit;
sourceTree = "<group>";
};
0701E95E2372BC550034AAC2 /* controllers */ = {
Expand Down Expand Up @@ -1064,7 +1064,7 @@
D0C7BBBF207D82C0001345EF /* CleverTapSDK */ = {
isa = PBXGroup;
children = (
0701E9572372AD550034AAC2 /* AdUnit */,
0701E9572372AD550034AAC2 /* DisplayUnit */,
07B874E122E982F400328982 /* ABTesting */,
07B94520219EA33800D4C542 /* Inbox */,
071EB476217F6427008F0FAB /* InApps */,
Expand Down
2 changes: 1 addition & 1 deletion CleverTapSDK/CleverTap+DisplayUnit.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The `CleverTapDisplayUnit` represents the display unit object.
/*!
* content defines the content of the display unit.
*/
@property (nullable, nonatomic, copy, readonly) NSArray<CleverTapDisplayUnitContent *> *content;
@property (nullable, nonatomic, copy, readonly) NSArray<CleverTapDisplayUnitContent *> *contents;

@end

Expand Down
2 changes: 1 addition & 1 deletion CleverTapSDK/CleverTap.m
Original file line number Diff line number Diff line change
Expand Up @@ -4431,7 +4431,7 @@ - (BOOL)didHandleDisplayUnitTestFromPushNotificaton:(NSDictionary*)notification
}


#pragma mark Ad View Public
#pragma mark Display Unit Public

- (NSArray<CleverTapDisplayUnit *>*)getAllDisplayUnits {
return self.displayUnitController.displayUnits;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ - (instancetype)initWithJSON:(NSDictionary *)json {
[contentList addObject:content];
}
}
_content = contentList;
_contents = contentList;

} @catch (NSException *e) {
CleverTapLogStaticDebug(@"Error intitializing CleverTapDisplayUnit: %@", e.reason);
Expand Down

0 comments on commit 7952077

Please sign in to comment.