@@ -177,7 +177,6 @@ internal extension CPInformationTemplate {
177177 // The template can display three actions maximum.
178178 // If the array contains more actions, the template uses only the first three.
179179 let actions = Array ( newValue. prefix ( 3 ) )
180- print ( " [Form.actions] replace \( _coordinator. actions. map { ObjectIdentifier ( $0) } ) -> \( actions. map { ObjectIdentifier ( $0) } ) " )
181180 // store original instance
182181 _coordinator. actions = actions
183182 // send to CarPlay IPC
@@ -186,7 +185,6 @@ internal extension CPInformationTemplate {
186185 }
187186
188187 func insert( _ action: CPTextButton , before sibling: CPTextButton ? = nil ) {
189- print ( " [Form.actions] insert \( ObjectIdentifier ( action) ) before \( sibling. map { ObjectIdentifier ( $0) } . map ( String . init ( describing: ) ) ?? " nil " ) — current: \( _actions. map { ObjectIdentifier ( $0) } ) " )
190188 // move to before sibling
191189 if let sibling, let index = _actions. firstIndex ( of: sibling) {
192190 _actions. insert ( action, before: index)
@@ -197,7 +195,6 @@ internal extension CPInformationTemplate {
197195 }
198196
199197 func update( oldValue: CPTextButton , newValue: CPTextButton ) {
200- print ( " [Form.actions] update oldValue \( ObjectIdentifier ( oldValue) ) -> newValue \( ObjectIdentifier ( newValue) ) — current: \( _actions. map { ObjectIdentifier ( $0) } ) " )
201198 guard let index = _actions. firstIndex ( where: { $0 === oldValue } ) else {
202199 _actions. append ( newValue)
203200 return
@@ -207,7 +204,6 @@ internal extension CPInformationTemplate {
207204 }
208205
209206 func remove( action: CPTextButton ) {
210- print ( " [Form.actions] remove \( ObjectIdentifier ( action) ) — current: \( _actions. map { ObjectIdentifier ( $0) } ) " )
211207 guard let index = _actions. firstIndex ( where: { $0 === action } ) else {
212208 return
213209 }
0 commit comments