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 8697141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:26:45+00:00 2026-06-13T01:26:45+00:00

How can I obtain a CGAffineTransform from a NSString in Cocoa? On iOS there

  • 0

How can I obtain a CGAffineTransform from a NSString in Cocoa?

On iOS there is CGAffineTransformFromString.

  • 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-06-13T01:26:46+00:00Added an answer on June 13, 2026 at 1:26 am

    For lack of a better solution I’m currently doing this:

    CGAffineTransform CGAffineTransformFromString(NSString *string)
    {
        string = [string stringByTrimmingCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@"[ ]"]];
        NSArray *components = [string componentsSeparatedByString:@","];
        CGAffineTransform transform;
        transform.a = [[components objectAtIndex:0] floatValue];
        transform.b = [[components objectAtIndex:1] floatValue];
        transform.c = [[components objectAtIndex:2] floatValue];
        transform.d = [[components objectAtIndex:3] floatValue];
        transform.tx = [[components objectAtIndex:4] floatValue];
        transform.ty = [[components objectAtIndex:5] floatValue];
        return transform;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I obtain the count of faulted messages from a Windows Azure Storage
There's anyway that I can obtain the music category of a band with the
Is there a way I can obtain a datetime aware object out of a
How can obtain the last update date from the sync adapters services (marked with
I found out that in gnuplot one can obtain multiple curves / datasets from
i want to make Mysql Database converter that can obtain the data from Database
I can obtain the phone number from an incoming call or from a sms
I do not know how I can obtain user inputs from a keyboard and
is there any way I can obtain installed fonts as a list (or array,
Does anyone know how I can obtain latitude and longtitude from the Country Name

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.