Re: Hurdles in converting to Swift

2015-12-24 Thread John Brownie
On 24/12/2015 11:49, Quincey Morris wrote: On Dec 23, 2015, at 17:38 , John Brownie mailto:john_brow...@sil.org>> wrote: 2015-12-24 10:43:40.664 AppName[10464:1086828] Unknown class SearchViewController in Interface Builder file. Try going to the inspector in IB and remove the class name Sear

Re: Swift Generics Error When Enforcing Protocol Conformance...

2015-12-24 Thread Quincey Morris
On Dec 24, 2015, at 15:55 , Peters, Brandon wrote: > > Maybe they will “remedy” it in the forever. A bug report would probably be a good idea. Either FloatingPointType should include arithmetic behavior (along the lines of the integer type protocol), or there should be a protocol that abstract

Re: Hurdles in converting to Swift

2015-12-24 Thread Jaikanth CK
In your IB, go to connections inspector. Check the connection for activityIndicator (if is is broken there will be an “!”). Cheers, Jai > On 24-Dec-2015, at 7:23 am, John Brownie wrote: > > > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.

Re: Swift Generics Error When Enforcing Protocol Conformance...

2015-12-24 Thread Peters, Brandon
Quincey, I will read more. Wow! Did not realize that difference was enough to cause this. Maybe they will “remedy” it in the forever. On Dec 24, 2015, at 5:41 PM, Quincey Morris mailto:quinceymor...@rivergatesoftware.com>> wrote: On Dec 24, 2015, at 13:22 , Peters, Brandon mailto:bap...@my.f

Re: Swift Generics Error When Enforcing Protocol Conformance...

2015-12-24 Thread Quincey Morris
On Dec 24, 2015, at 13:22 , Peters, Brandon wrote: > > I do not see this one being any different from the integer type version. What’s different is that FloatingPointType doesn’t have any arithmetic operators defined on it. The solution is to add a protocol that requires that behavior: > prot

Re: Swift Generics Error When Enforcing Protocol Conformance...

2015-12-24 Thread Peters, Brandon
Quincey, That part works, but now I get an error on a line of code where multiplication takes place. This error occurred after the change for suggested: func linconv(signal_A signal_A: [T], signal_B: [T]) -> [T]? { // guard guard signal_A.isEmpty == false && signal_B.isEmpty == false

Re: Swift Generics Error When Enforcing Protocol Conformance...

2015-12-24 Thread Peters, Brandon
Quincey, I must have missed something small earlier. Tried it again and it works. Thank you... On Dec 24, 2015, at 12:28 PM, Quincey Morris mailto:quinceymor...@rivergatesoftware.com>> wrote: On Dec 24, 2015, at 04:55 , Peters, Brandon mailto:bap...@my.fsu.edu>> wrote: I am using Xcode 7.2.

Re: Swift Generics Error When Enforcing Protocol Conformance...

2015-12-24 Thread Quincey Morris
On Dec 24, 2015, at 04:55 , Peters, Brandon wrote: > > I am using Xcode 7.2. What version of Xcode are you running? Unless I am > missing something, the version you typed into playground is not working for > me in code editor when I press run. Also 7.2. Here is exactly what I have in the playg

Re: Swift Generics Error When Enforcing Protocol Conformance...

2015-12-24 Thread Peters, Brandon
Quincey, I am using Xcode 7.2. What version of Xcode are you running? Unless I am missing something, the version you typed into playground is not working for me in code editor when I press run. On Dec 24, 2015, at 1:20 AM, Quincey Morris mailto:quinceymor...@rivergatesoftware.com>> wrote: On