summaryrefslogtreecommitdiff
path: root/docs/Enums/MenuCellState.html
blob: 541e97d712761f7ee84b395fa33773b3a43d6602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<h1>MenuCellState Enumeration Reference</h1>

<h3>Section Contents</h3>

<ul>
  <li><a href="#section-MenuCellStateDelete">MenuCellStateDelete</a></li>
  <li><a href="#section-MenuCellStateAdd">MenuCellStateAdd</a></li>
  <li><a href="#section-MenuCellStateKeep">MenuCellStateKeep</a></li>
</ul>

<h3>Overview</h3>

<p>Menu cell state</p>

<p>Cell state that tells the menu manager what it should do with a given SDLMenuCell</p>


<section class="section task-group-section">
  <h3 id="section-MenuCellStateDelete">
      MenuCellStateDelete
  </h3>
  
  <p>Marks the cell to be deleted</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">MenuCellStateDelete</span> <span class="o">=</span> <span class="mi">0</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">delete</span> <span class="o">=</span> <span class="mi">0</span></code></pre>

  
  
  
  <h3 id="section-MenuCellStateAdd">
      MenuCellStateAdd
  </h3>
  
  <p>Marks the cell to be added</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">MenuCellStateAdd</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">add</span> <span class="o">=</span> <span class="mi">1</span></code></pre>

  
  
  
  <h3 id="section-MenuCellStateKeep">
      MenuCellStateKeep
  </h3>
  
  <p>Marks the cell to be kept</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">MenuCellStateKeep</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">keep</span> <span class="o">=</span> <span class="mi">2</span></code></pre>

  
  
  
</section>