Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
djinni
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
djinni
Commits
babbe4b1
Commit
babbe4b1
authored
Oct 01, 2015
by
Jacob Potter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update example
parent
3b12ba67
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
example/generated-src/objc/TXSItemList.h
example/generated-src/objc/TXSItemList.h
+3
-3
example/generated-src/objc/TXSItemList.mm
example/generated-src/objc/TXSItemList.mm
+2
-2
No files found.
example/generated-src/objc/TXSItemList.h
View file @
babbe4b1
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
#import <Foundation/Foundation.h>
#import <Foundation/Foundation.h>
@interface
TXSItemList
:
NSObject
@interface
TXSItemList
:
NSObject
-
(
nonnull
instancetype
)
initWithItems
:(
nonnull
NSArray
*
)
items
;
-
(
nonnull
instancetype
)
initWithItems
:(
nonnull
NSArray
<
NSString
*>
*
)
items
;
+
(
nonnull
instancetype
)
itemListWithItems
:(
nonnull
NSArray
*
)
items
;
+
(
nonnull
instancetype
)
itemListWithItems
:(
nonnull
NSArray
<
NSString
*>
*
)
items
;
@property
(
nonatomic
,
readonly
,
nonnull
)
NSArray
*
items
;
@property
(
nonatomic
,
readonly
,
nonnull
)
NSArray
<
NSString
*>
*
items
;
@end
@end
example/generated-src/objc/TXSItemList.mm
View file @
babbe4b1
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
@implementation
TXSItemList
@implementation
TXSItemList
-
(
nonnull
instancetype
)
initWithItems
:(
nonnull
NSArray
*
)
items
-
(
nonnull
instancetype
)
initWithItems
:(
nonnull
NSArray
<
NSString
*>
*
)
items
{
{
if
(
self
=
[
super
init
])
{
if
(
self
=
[
super
init
])
{
_items
=
items
;
_items
=
items
;
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
return
self
;
return
self
;
}
}
+
(
nonnull
instancetype
)
itemListWithItems
:(
nonnull
NSArray
*
)
items
+
(
nonnull
instancetype
)
itemListWithItems
:(
nonnull
NSArray
<
NSString
*>
*
)
items
{
{
return
[[
self
alloc
]
initWithItems
:
items
];
return
[[
self
alloc
]
initWithItems
:
items
];
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment