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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:16:45+00:00 2026-06-09T13:16:45+00:00

I am using Titanium. and I want to make Titanium Module (for iOS). every

  • 0

I am using Titanium. and I want to make Titanium Module (for iOS).
every thing is working fine. But, how i retrieve data in xCode whose i send through .js file.

in .js file

var data = "Mritunjay";
var oldData = "Singh";
var data = module_tset.findData({"newData":data,"oldData":oldData});

in xCode 

-(id)findData:(NSMutableArray *)args
{
 NSMutableArray *ary = [[NSMutableArray alloc]initWithArray:args];

// How i retrieve "newData" Value in xCode?

}

please help me..! thanks

  • 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-09T13:16:47+00:00Added an answer on June 9, 2026 at 1:16 pm

    First you should check the documentation for this.

    Also, check the example moddevguide projects on GitHub, they have very simple and straightforward examples of how to do this.

    In a nutshell heres the code to extract those arguments (assuming you setup this correctly).

    -(id)findData:(id)args
    {
        ENSURE_SINGLE_ARG(args,NSDictionary); // Standard practice
        NSString *newData_Pass = [TiUtils stringValue:[args objectForKey:@"newData"]];  
    
        // Now do something with newData!
    
    }
    

    Thats it!

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

Sidebar

Related Questions

I've developed an iOS application using the Appcelerator's Titanium framework, I want to integrate
I am using titanium for developing Android application. I want to delete some data
I'm working on building a c2dm module for my Titanium project. (I actually want
I am writing my app in JavaScript using Appcelerator's Titanium IDE. I've been working
I have a JSON that contains the following: {p1:{debris:{titanium:0,silicum:0}},p2:{debris:{titanium:0,silicum:0}}... I declare the data using
Hi I am working Android application development using titanium studio.I have developed small application.my
Using Titanium Appcelerator SDK 1.7.1 for iOS 4.3 I have a TableViewRow and need
I am working on an iPad app using appcelarator titanium and need to iterate
I am using Titanium Appcelerator, I want to refresh Window/TableView/ScrollView manually. How can I
i'm planning on working with titanium. i want to know if Same origin policy

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.