What to include while creating a framework
Hi All,
I have a project and I want it to be as a framework. Now to create a framework, I create a new project of type 'cocoa framework'. My question might be a primary question, but still, I wanted to know
1) what do I need to include in the new project(framework) i.e. only header files or both source files and header files?
2) How/where can I mention to consider a header file as 'public' or 'project level'.
I have gone through "http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPFrame works/Tasks/CreatingFrameworks.html#//apple_ref/doc/uid/20002258" and "http://www.cimgf.com/2008/09/04/cocoa-tutorial-creating-your-very-own-framewor k/"
I couldn't get answer for above questions.
Note: I tried including source files and header file. I got errors(No such file or directory) for "CoreFoundation/CFUserNotification.h", "CoreFoundation/CFXMLNode.h", even if I added "CoreFoundation.framework" in dependencies of 'framework target'.
It would be great, if I get help from anybody.
Thanks.
I don't know if this will help you, but :
http://www.cimgf.com/2008/09/04/cocoa-tutorial-creating-your-very-own-framework/
I also found this :
http://my.safaribooksonline.com/0321213149/ch30
It shows Aaron Hillegass' book online, even though the image they show is for the second edition. When I went to my third edition book, I found that, that chapter is not in the third edition, not quite sure what has happened.
I have written several helper methods that I would like to put into a framework that I can include and reuse, but I haven't gotten that far yet.
Maybe some of the more advanced folks might provide some advice...
Good Luck,
Bill Hernandez
Plano, Texas
Similar Messages
-
What to include while returning dvr unit?
hi,
i did an exchange for the dvr but lost the page which had the instructions for what to include with my return. does anyone have any ideas as to what cables, remote and other stuff i am obligated to send back .I don't know if this will help you, but :
http://www.cimgf.com/2008/09/04/cocoa-tutorial-creating-your-very-own-framework/
I also found this :
http://my.safaribooksonline.com/0321213149/ch30
It shows Aaron Hillegass' book online, even though the image they show is for the second edition. When I went to my third edition book, I found that, that chapter is not in the third edition, not quite sure what has happened.
I have written several helper methods that I would like to put into a framework that I can include and reuse, but I haven't gotten that far yet.
Maybe some of the more advanced folks might provide some advice...
Good Luck,
Bill Hernandez
Plano, Texas -
Whats this error while creating a trigger
HI ,
I was creating a trigger and getting the following Error . What is this
1 CREATE OR REPLACE TRIGGER TRG_AUDIT_LOGON AFTER
2 LOGON ON DATABASE
3 Declare
4 v_sid v$session.sid%type ;
5 v_serial v$session.serial# %type;
6 v_username v$session.username%type;
7 v_osuserid v$session.osuser%type;
8 v_machinename v$session.machine%type;
9 v_PROGRAM v$session.program%type;
10 v_TERMINAL v$session.terminal%type;
11 v_hostname v$instance.host_name%type;
12 v_instance_name v$instance.instance_name%type;
13 v_application_id v$database.dbid%type;
14 v_logon_time date;
15 v_Audit_tab_check varchar2(30);
16 v_system_users_tab_check varchar2(30);
17 v_sql_Audit_upload varchar2(1000) := 'INSERT INTO dbaoper.T_AUDIT (HOST_NAME, APPLICATION_ID, INSTANCE_NAME, SID, SERIAL#, USERNAME, OSUSERID, MACHINENAME, PROGRAM, TERMINAL, LOGON_TIME) VALUES (:v_hostname,:v_application_id,:v_instance_name, :v_sid, :v_serial, :v_username ,:v_osuserid,: v_machinename, :v_program,:v_TERMINAL,:v_logon_time ) ';
18 type c_audit_cur_typ is ref cursor;
19 C_Audit c_audit_cur_typ ;
20 V_system_users_tab := 'T_SYSTEM_USERS';
21 No_Audit_records Exception;
22 Begin
23 Select table_name into v_Audit_tab_check from dba_tables where owner='DBAOPER' and table_name='T_AUDIT';
24 Select table_name into v_system_users_tab_check from dba_tables where owner='DBAOPER' and table_name='T_SYSTEM_USERS';
25 Open c_Audit for ' SELECT sid, serial#, username, osuser, machine, program, terminal FROM v$session WHERE audsid = userenv (''''sessionid'''') and program not like ''''oracle@%J0%'''' and username not in (select * from dbaoper.' || V_system_users_tab||' ) and type!=''''BACKGROUND'''' ' ;
26 Fetch c_Audit into v_sid, v_serial, v_username, v_osuserid, v_machinename,v_program,v_TERMINAL ;
27 If c_Audit%Notfound then
28 Raise No_Audit_records ;
29 Else
30 Select host_name, instance_name into v_hostname, v_instance_name from v$instance;
31 select dbid into v_application_id from v$database;
32 select sysdate into v_logon_time from dual;
33 execute immediate v_sql_Audit_upload using v_hostname,v_application_id,v_instance_name,v_sid,v_serial,v_username,v_osuserid,v_machinename,v_program,v_TERMINAL,v_logon_time;
34 end if;
35 close C_Audit;
36 exception
37 when no_data_found then
38 dbms_system.ksdwrt(2, ' ORA-20001 Audit tables T_AUDIT or T_SYSTEM_USERS not found Audit information is not being captured'
39 );
40 When No_Audit_records then
41 dbms_output.put_line ('No Audit records to insert ');
42* end;
SQL> /
Warning: Trigger created with compilation errors.
SQL> sho err
Errors for TRIGGER TRG_AUDIT_LOGON:
LINE/COL ERROR
18/20 PLS-00103: Encountered the symbol "=" when expecting one of the
following:
constant exception <an identifier>
<a double-quoted delimited-identifier> table LONG_ double ref
char time timestamp interval date binary national character
nchar
The symbol "<an identifier>" was substituted for "=" to
continue.
Thanks
PramodHi
I am sorry...i am getting the following error once trigger is created and one of the user is trying to connect....what might be the reason ?
Enter user-name: test
Enter password:
ERROR:
ORA-00604: error occurred at recursive SQL level 1
ORA-00907: missing right parenthesis
ORA-06512: at line 23
Thanks
Prmaod -
SC description while creating Development Configuration
Hi all
I am using NWDS and trying to understand more this tool and this kind of developing. I am looking at Archive SC including while creating the Development Configuration. They are indicated with a sort of ID not completely self explaining and I don't know which of them I have to include because I don't know what they do. The question is: is there a description of SC and their functionality? And does anybody know why if I add an Archive SC later, I have to mandatory change the name of SC even if I included it while creating Development Configuration, was left its Archive name?
Thanks
GabrieleHi ,
This exception is raised when a connection or communications failure occurs.
This exception reports all failures and system problems on the remote machine . so look like there is some porblem with your system connection .
Could you please check in your host file , is that entry for system is maintain or not ?
Hope this help .
Regards,
Dinesh -
Time Machine warning: An error occured while creating a backup folder. What to do???
If you have more than one user account, these instructions must be carried out as an administrator.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
View ▹ Show Log List
from the menu bar.
Enter the word "Starting" (without the quotes) in the String Matching text field. You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard." Note the timestamp of the last such message that corresponds to an abnormal backup. Now
CLEAR THE WORD "Starting" FROM THE TEXT FIELD
so that all messages are showing, and scroll back in the log to the time you noted. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them to the Clipboard by pressing the key combination command-C. Paste (command-V) into a reply to this message.
If all you see are messages that contain the word "Starting," you didn't clear the text field.
If there are runs of repeated messages, post only one example of each. Don't post many repetitions of the same message.
When posting a log extract, be selective. Don't post more than is requested.
Please do not indiscriminately dump thousands of lines from the log into this discussion.
Some personal information, such as the names of your files, may be included — anonymize before posting. -
Freight cost to be included in the Raw material cost while creating VL31N
Hi all,
We are purchasing raw material from other country. we are paying freight for the imported material.
My requirement is, when doing inbound delivery freight cost has to be included in the raw material cost.
Now its not getting included in the raw material cost.
What are all the necessary steps to be done to include the freight cost into the raw material?
Thanks in advance,
BabuHi,
You can create dummy material inmaterial master record.
You can enter the material manually while creating inbound delivery, which will come as unplanned delivery cost.
Br,
Tushar Patankar -
What kind of inforobject can be used for compounding while creating charac
Hi all :
what kind of standard inforobject can be used for compounding while creating characteristic ?
I found that some could be , but some couldn't , like 0RESP_PERS.
THE ERROR :
1 Characteristic 0RESP_PERS was included in the compounding for COS09 (-> Long Text) QLong text exists
2 0RESP_PERS is just an attribute and is not allowed in the compounding No long text exists
0RESP_PERS is an object, why can't be used for compouning?
Could you please tell me why ?
Thank you very much!
Edited by: jingying Sony on May 10, 2009 7:05 AMHi Jingying Sony,
One can mark an infoobject as an Attribute Only in the General tab.
This means that the infoobject will only act as an attribute and cannot be used as a characteristic in infocubes. Neither can it be used as a navigational attribute and I guess it may not be available for compounding then(since in compounding - it implicitly becomes a characteristic).
For your ref
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
If you uncheck this checkbox, then may be it will allow you to compound this characteristic..
You may try with a (self created) ZRESP_PERS reference chararacteristic of 0RESP_PERS, to confirm this.
One more link for your reference
http://jgtang82.javaeye.com/blog/191795
Hope this helps,
Best regards,
Sunmit. -
What are the sources system will pick the document type while creating invo
hi
I would like to know how system will pickup the doucment type while creating invoice in vf01.
i have taken off the fields f1, f2, from the document type. in billing sub tab. so The moment when am creating billing system automatically displaying F2 invoice doucment creation. What are the sources for this.
thanks & Regards
Rack129Hi,
Hope you have maintained u2018Delivery relevant billing type F2u2019 and u2018Order relevant billing type F1u2019 in the billing tab of the Sales document type in VOV8.
If you create delivery related billing, the system will pick F2. This is controlled in Item category (VOV7). Billing relevance in Business data of Item category decides whether this is delivery related or order related. u2018Au2019 for delivery related billing; u2018Bu2019 for order related billing and so on.
Item category is determined by this combination: Sales document type + Item cat group + usage + higher level item cat.
Regards,
K Bharathi -
What is the wrong in code while creating a container
Hello all,
what is the wrong in code while creating container.
*& Report ZTEST_TREE4
REPORT ztest_tree4.
* CLASS lcl_application DEFINITION
CLASS lcl_application DEFINITION CREATE PRIVATE.
PUBLIC SECTION.
CLASS-METHODS: run_application.
METHODS constructor.
PRIVATE SECTION.
CLASS-DATA: s_container TYPE REF TO cl_gui_simple_container.
DATA: container TYPE REF TO cl_gui_simple_container.
ENDCLASS. "lcl_application DEFINITION
* CLASS lcl_implementation DEFINITION
CLASS lcl_application IMPLEMENTATION.
METHOD run_application.
IF lcl_application=>s_container IS INITIAL.
CREATE OBJECT lcl_application=>s_container.
ENDIF.
ENDMETHOD. "run_application
METHOD constructor.
CREATE OBJECT container.
ENDMETHOD. "constructor
ENDCLASS. "lcl_implementation DEFINITION
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
CALL METHOD lcl_application=>run_application.
SET PF-STATUS 'CO_100'.
SET TITLEBAR 'CO_100'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Module exit INPUT
* text
MODULE exit INPUT.
LEAVE PROGRAM.
ENDMODULE. " exit INPUT
START-OF-SELECTION.
CALL SCREEN 100.
regards,
Lisa.
Edited by: Lisa Roy on Mar 6, 2008 10:15 AM
Edited by: Lisa Roy on Mar 6, 2008 10:29 AMHi Lisa,
a container must be placed in a respective screen area. Also the module calls must be implemented in your screen input and output sections. Finally you have to place something (a GUI control) in your container.
I do not see anything like this in your program. So I don't know what you are asking about. Do you get any error message?
Regards,
Clemens -
WHAT ALL MESSAGE'S ISSUED WHILE CREATING PO
Sir,
ply let me know after saving the po i want to know what all messages were issued while creating the po.
Like "warning" or "information" message
where can i see this
regards
ameyHi,
PAth- Spro-MM-Purchasing-Environment Data-Define Attributes of System Messages...
Here are few message type:
Contract has different purchasing organization & W
Validity period of contract does not start until & W
Validity period of contract expired on & W
Target value of contract & exceeded by & & W
Net price for item & taken from conditions W
Purchase requisition & item & already deleted W
Scheduled quantity & & greater than target quantity & & W
Quantity smaller than invoiced quantity & W
Target quantity exceeded by & & W
Not possible to determine a consumption account W
Release date lies in the past W
Base unit of measure & adopted from material master record
Release date: next workday is & W
Contract target value & reached W
Please only use plants with company code &
Order unit copied from material master record W
Hope it helps.
Utsav.. -
I am trying to use Time Machine to back-up to an external hard drive and I get the following message.Unable to complete backup. An error occurred while creating the backup folder. Does anyone know what I should do?
Hello Drake, I suspect one or more of the Drives needs repairing, but...
Have you looked through Pondini's extensive TM help site?
http://Pondini.org/TM/FAQ.html
http://pondini.org/TM/Troubleshooting.html
Can't imaging something not being covered there. -
What settings we need to check in PS module while creating the new plant.
Dear Friends,
If we extending the new plant what all the things that we need to check in Project systems module, what all the configuration that needs to performed. Here we are using the Standard Project structure to creating the projects.
But it is not a manufacturing plant. All the service processes are takes place from this plant.
While creating the plant if we are copying from the existing plant, is that the all assignments are copying to the new plant?
Regards,
Hari
Edited by: Hari Krishna on Jan 5, 2009 10:17 AMDear Hari,
Mainly two settings have to be extended for using networks for that plant..
1) Extending Network type Parameters - T-code - OPUV
2) Production Order control Parameters - T-code - OPU6
Rdgs,
Deepa -
What settings we need to check in SD module while creating the new plant.
Dear Friends,
If we extending(creating) the new plant what all the things that we need to check in sales and distribution module, what all the configuration that needs to be performed.
But it is not a manufacturing plant. All the service processes are takes place from this plant.
While creating the plant if we are copying from the existing plant, is that the all assignments are copying to the new plant or not?
Regards,
HariHi,
Check the below check list
SD Activities path
creation of plant IMG>ES>def>log gen>define copy delete check plant
define locations in plant IMG>ES>def>log gen>define location
Assign Business Area to Plant/Valuation Area and Division IMG>ES>***>log gen>Assign Business Area to Plant/Valuation Area and Division
Assign sales organization - distribution channel - plant IMG>ES>***>sd>Assign sales organization - distribution channel - plant
Assign Business Area To Plant And Division IMG>ES>***>sd>buss area acct asst-->*** buss area to palnt and divison
Assign shipping point to plant
Shipping Points determination plant required for shipping point determination
Checking Rule For Updating Backorders AC
Define Checking Groups Default Value combination of material type plant and Ac
Assign Organizational Units By Plant in STO 's
Material and plantwise chapter id combination tcode J1ID for excise maintainence
Materail assessable value
In CENVAT determination
Excise indicator for palnt
Exceptional material excise rates
Quantity based AED, SED, NCCD
Maintain Excise Registrations IMG>log gen>tax on goods moments>INDIA->Basic settings
Maintain Plant Settings
Maintain Excise Groups
Maintain Default Excise Groups and Series Groups
Specify Printers for ARE documents
Regards,
kishore. -
What are the naming conventions we should follow while creating an object
hi
what are the naming conventions we should follow while creating an object in ABAP dictionary, i.e while creating zee table.Hi,
Namespaces and Naming Conventions
SAP has reserved name ranges for customer objects and SAP objects. Use these customer name ranges to make sure that your objects are not overwritten by SAP objects during the import of corrections or an upgrade.
This documentation lists the customer name ranges for the different system objects.
Only use the customer name ranges. If you do not keep to the name ranges for customer objects you may lose your development objects.
SAP delivers a few system objects with names that fall within the customer name range. These objects already existed when the customer name range was extended from YY/ZZ to Y/Z. These objects are listed in table TDKZ.
Regards -
While creating an account from my iPad there is no option for selecting none in the payment options. It states I have to give my credit card details. What's the procedure to open a free account?
It's in the article. You must first sign-out your current account, then go to App store to purchase a Free App. It will ask you to either Sign in or create a new AppleID. That's when you start creating a new AppleaID and NONE will be available as a payment option.
Maybe you are looking for
-
Cannot open PDF, Word 2010, or XLS files stored in DMS.
Hi Experts, I have been working on a program to open a DMS file using a .net access. When I create a new attachment for lets say a purchases order and save the attachment as a pdf, the file save ok. But when I try and execute my program I get a dump.
-
Error in validation an input field in a table ui and high lighting the cell
Hello All, I have a table ui in one of my application. This table has, say 6 columns; out of these 6 columns 4 columns are shown as input fields. User needs to put in some numbers in two of the fields. I need to capture these two number fields da
-
Help with moving between custom screens in a Standard Transaction
All, I'm working with a standard transaction, but in this transaction, the I'm having 2 tabs of customized screens. In each of the screen, I have 1 mandatory fields to be filled. If the user only fill in the mandatory field of the first screen and cl
-
Review Problems and Solutions after upgrade question
I have recently migrated from WSS 3.0 to Sharepoint Foundation 2010. I now have a the following messages in Sharepoint Admin. The SharePoint Health Analyzer has detected some critical issues that require your attention. View these issues. Accounts u
-
hi, When i am logging to Oracle every time i have to see the banner Can any body suggest me, How can i stop the banner to be displayed? Regards Tanmaya