Archive for the ‘Apple MAC’ Category

25
Jul

The following are the steps for downloading the sales report from iTunesConnect.

  1. Login to iTunesConnectHomePage.
  2. Select the option, Sales and Trends from the options which appear.
  3. Select the Sales tab from the two tabs which will be appearing.
  4. Now choose the day or the week for which the sales report is to be downloaded.
  5. After selecting the period, choose the Sales Report option.
  6. Now from the window which appears, select Save the file.
  7. The saved files name will be something in *.txt.gz format. Just unzip it and you will get the text file with the sales report in it.

 

, , , , , , , , ,

30
Jun

In iTunesConnect, you can create test users for testing of InApp purchases. This is how you can do it.

Login to your iTunesConnect Developer account.
Choose Manage Users from the options that are available.
Select AddNewUser button.
Fill the required details.
Click the save button.

Now your test user account is ready for use.

, , , ,

10
Jun

Apple is back with their new iOS 5 SDK. A special feature in the new SDK is the availability of location simulation in the Simulator. That means we can now test location-based features in your app without leaving your desk. In this we can select from preset locations and routes within the iOS Simulator and pick a custom latitude and longitude with accuracy while we’re running our simulated app.

, , , , , , , , , , ,

10
Jun

Automatic Reference Counting (ARC) for Objective-C makes memory management the job of the compiler. By enabling ARC with the new Apple LLVM compiler, we will never need to type retain or release again, thereby simplifying the development process, while reducing crashes and memory leaks. So the compiler will smartly handle the release of objects once it is no longer user. This will do a world of good to the speed and performance of the xcode.

, , , , , , , , , , , , ,

19
May

For inserting a string at a particular index use the following code,

NSMutableString *largeString; 

largeString = [NSMutableString stringWithString: @"That is a string"]; 

[largeString insertString: @"was and still " atIndex: 5]; 

,

19
May

For appending a sub string to the end of a string, use the following,

NSMutableString *largeString; 

largeString = [NSMutableString stringWithString: @"That is a string"]; 

[largeString appendString: @" and this is a string too."];

,

19
May

For extracting a substring from a larger string to the end of the string, use the following,

NSMutableString *largeString;

largeString = [NSMutableString stringWithString: @"That is a string"];

NSString *newString; newString = [largeString substringFromIndex: 5];

, ,

19
May

For extracting a substring from a larger string with location and length, use the following.

NSMutableString *largeString;

largeString = [NSMutableString stringWithString: @"That is a string"];

NSString *newString;

newString = [largeString substringWithRange: NSMakeRange(5, 4)];

Here

NSMakeRange(index, length): Defines the index and number of characters to extract

, ,

19
May

For deleting a part of a string using Cocoa Mac, use the following.

NSMutableString *largeString;

largeString = [NSMutableString stringWithString: @"That is a string"];

[largeString deleteCharactersInRange: [largeString rangeOfString: @"is a "]];

,

03
May

To edit a pull-down menu, you need to…

1. Double-click the MainMenu.xib file that contains the pull-down menu you want to edit. Interface Builder appears.

2. Double-click the Main Menu icon inside the MainMenu.xib window to display the pull-down menu bar.

3. Double-click the menu object that you want to edit. For example, if you want to change the name of the File menu, you would double-click File. Your chosen menu appears highlighted.

4. Type new text or use the arrow keys to edit the existing menu title.

 

, , , , , , , , ,