Post

Replies

Boosts

Views

Activity

Comment on looking for a timer function I can use with using @objc
I tried doing let _ = Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { myTimer in print("My Timer Fired") } and got property declaration does not bind any variables so tried     var gameTime = 0.0 var aTimer: Timer     func myTimer(tick: Double) { gameTime += 1 } and in my InitGame function I added     aTimer = Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { _ in myTimer(tick: 1.0) }      and that worked for me.
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’22
Comment on LaunchScreen not showing image
It does to work on any device running any version of iOS.
Replies
Boosts
Views
Activity
Feb ’23
Comment on does a launch screen need a view controller?
If the VC is automatically created can I get to the source and set a breakpoint in it?
Replies
Boosts
Views
Activity
Jan ’23
Comment on where to download ios 14.5 for iphone 6s
I have already tried IPSW.ME but the unsigned version is not accepted as you mentioned. Anyone any other suggestions please?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on view controller unreachable. tried segue and instantiate
I had another storyboard so deleted it. Could not get segue to work so using instantiate which does. Now all I have to do is sort out the GameView layout but that's another story. Thank you.
Replies
Boosts
Views
Activity
Mar ’22
Comment on imovie shared video lost the titles
I am sorry to have to ask but what big blue banner? I cannot see one in iMovie so please tell me where it is. p.s. I am new to Mac, less than 1 year, even newer to iMovie, 2 days, but have over 40 years experience in Computing.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on looking for a timer function I can use with using @objc
I tried doing let _ = Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { myTimer in print("My Timer Fired") } and got property declaration does not bind any variables so tried     var gameTime = 0.0 var aTimer: Timer     func myTimer(tick: Double) { gameTime += 1 } and in my InitGame function I added     aTimer = Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { _ in myTimer(tick: 1.0) }      and that worked for me.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’22