Discussion on Apple Watch (iWatch) Calculator in Swift

8 comments found.

Nice work, GLWS! :)

Thank you!

Why doesn’t it work in simulator. When I press for example 8 nothing happen. On pressing ”*” it insert “8”. I seems that the iWatch simulator works not properly. From your coding it is ok. Do you have also this issues??

Hi there, I have tested the application and was not able to reproduce this issue. Can you provide me with the specific steps taken? I have included a video showing that the functionality works: https://streamable.com/4013

It is a problem of Xcode 6.3 Beta. In Xcode 6.2 Beta 5 it works. Thank you

An update, I have checked the app on Xcode 6.3 beta 2 with Swift 1.2 and see that it functions correctly. I believe you are seeing the previous button pressed. The label will not update until the next button is pressed if that makes sense.

Hi Can the app process (1+3+7+4+8) and then =, or you should use equal after each equation. for example (1+3=x + 7 = x + 4=x + 8=x) ???

It can process multiple (i.e. 1+3+7+4+8), see video: http://streamable.com/zea2

Looks very cool! Does it come with the iphone version too? My understanding that watch apps need a container app (iphone)

Thanks!

Mo

There’s nothing that runs on the iPhone besides an icon to launch the application. When launching the app from the iPhone it will load a splash screen then go back to springboard. I believe that native iPhone apps with Apple Watch functionality are being accepted now, and native watch apps will be accepted at a later time.

Hi; i’m facing problem regarding singing the certificate in the App ” the bundle ID ”; i need your help regarding the correct way to sing the app and how many bundle Id i need

Thank you

Thank you, but i have more than 170 app i know how to do that but signing the watch kit , the app and all the targets with the same Id give me signing error, do they all have to use the same id or i have to create Id for each target ? Thanks

Seems that there’s a lot of confusion about this, admittedly this part is not my strong suit. However, in the Apple Developer Forums, there a lot of people who are having the same problems. These discussions might be of help to you: https://devforums.apple.com/thread/265555?tstart=0 https://devforums.apple.com/message/1086182 https://devforums.apple.com/message/1122535#1122535

Thank you very much i will see them , but yes this the issue here

There is no accompanying iPhone app? So this can’t be used in the App Store?

It’s an apple watch app. I did not mention an iPhone app at all (I also mention this in my comments above). Standalone applications will be accepted by Apple later this year.

I encourage all users to ask me questions prior to purchasing and leaving a negative review. Thank you.

HI,

are the buttons all images we can change? or are they coded natively

thanks

Dean

Hey there,

The buttons are implemented using interface builder. So technically you could replace them with images, or just change the button colors. Screenshot with more explanation: http://i.imgur.com/iRPsu4q.png

Regards,

Yashar

I updated the code to swift3 and I’m getting an error “Cannot convert the value of type ‘(viewController) > (Double, Double) -> Double’ to expected dictionary value of type ‘(Double, Double) -> Double’. this is the line of code in questions”let ops: [String: Binop] = [ ”+” : add, “” : sub, ”*” : mul, ”/” : div ]” any help would be appreciated .

by
by
by
by
by
by