Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3270670
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:39:39+00:00 2026-05-17T18:39:39+00:00

I am just starting my cocoa education and I had a quick question, I

  • 0

I am just starting my cocoa education and I had a quick question, I see that the ability to click a word and have the mac text-to-speech functions say that text is built in automatically. (ie – for the hello world app, you can click hello world and in the menu have it say “hello world” back to you)

My question is this, is there a way for me to program the app to just loop that text automatically when someone opens the app? So, when they click the app on the dock, it opens up the window with the “Hello World” label on it and just loops saying “Hello World, Hello World,Hello World,Hello World,Hello World,…”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T18:39:39+00:00Added an answer on May 17, 2026 at 6:39 pm

    Take another look at the documentation. Specifically the Speaking Text part. You create your synthesizer somewhere then feed it an NSString. It doesn’t have to be (and shouldn’t be) tied to the label.

    You’ll just want to wait until it’s finished (via -speechSynthesizer:didFinishSpeaking: method) each time before sending it the string again. To make it stop, you could check the state (controlled by a checkbox, for example) at that point as well before continuing.

    I have an example of a full implementation of NSSpeechSynthesizer’s available methods here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just starting with Rails. I have a quick question that uses Paperclip and S3
Just starting to use backbone and have a quick question and thought I'd write
I'm just starting out on my first 'real' cocoa app. Note that this is
Just starting out with Facebook's API. I have a client that sends me the
Just starting to use Ruby on Rails to see what its like. I have
Just starting out with rails and I have a question. My grasp on associations
I'm just starting to teach myself objective-c and attempting to learn the cocoa touch
Just starting out in python on a pendrive 12.04 Kubuntu environment. I had to
Just starting with FactoryGirl. I have a Model named Subscription . It has a
Just starting out with subversion, have set up repos for 3 current projects and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.