> On Oct 20, 2014, at 19:17 , Roland King <r...@rols.org> wrote:
> 
> well one is ‘==‘ and the other is ‘=‘ so not totally shocked there’s no error 
> in the second one. 

Well, okay, but == sure is getting confused, but = sees the two types as 
compatible.

> Have you tried
> 
> 1) a switch

Type 'McpSweepState' does not conform to protocol 'IntervalType'

(I've never been able to get switch to work)

> 2) using .MCP_SWEEP_UNKNOWN or an even more totally qualified name 
> McpSweepState.MCP_SWEEP_UNKNOWN

Could not find member 'MCP_SWEEP_UNKNOWN'

> 3) if !( mSweepState != MCP_SWEEP_UNKNOWN )  // I know you think I’m joking 
> but I’m not

Could not find an overload for '!' that accepts the supplied arguments

-- 
Rick Mann
rm...@latencyzero.com



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to