Go Premium for a chance to win a PS4. Enter to Win

x

Objective-C Programming

175

Solutions

206

Contributors

Objective-C is an object-oriented programming language that is a strict superset of C (any valid C code is equally valid Objective-C code), and it inherits its object-oriented capabilities from Smalltalk. All procedural syntax is identical to that of C, and all object-oriented syntax is an implementation of Smalltalk messaging. It is the main programming language used by Apple for OS-X and iOS and their respective APIs/ Objective-C inherits the syntax, primitive types, and flow control statements of C and adds syntax for defining classes and methods.

Share tech news, updates, or what's on your mind.

Sign up to Post

im facing issue in the encryption and decryption on ios im not able to decrypt the  encrypted data given by .net and here encrypted data given by me is decrypted by the .net
0
Free Tool: Site Down Detector
LVL 11
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Is there any 3rd party libraries? I have to create different radio button as shared screenshot and the text field data will changed as clicked by user and while final submitting all data will stored on dB and Also payment will be done by only one method.
Screen-Shot-2017-10-27-at-12.29.55-P.png
0
IOS 11, xcode 9

   
// Creating view controller for a new contact
        ABNewPersonViewController *c = [[ABNewPersonViewController alloc] init];
        [c setNewPersonViewDelegate:self];
        [c setDisplayedPerson:person];
        CFRelease(person);
        [self.navigationController pushViewController:c animated:YES];
        [c release];


    - (void)newPersonViewController:(ABNewPersonViewController *)newPersonView didCompleteWithNewPerson:(ABRecordRef)person {
        if (person) {
            ABAddressBookRef addressBook = ABAddressBookCreate();
            ABAddressBookAddRecord(addressBook, person, nil);
            ABAddressBookSave(addressBook, nil);
            CFRelease(addressBook);
        }
        [self.navigationController popViewControllerAnimated:YES];
    }

i'm getting error ABNewPersonViewController is not navigation controller.
[i]
[CNUI WARN] <CNContactViewController: 0x7f984b9a6400> is added to a controller that's not a navigation controller, we'll update the parent navigation item <ABNewPersonViewController: 0x7f984b12d430> automatically[/i]

Open in new window

0
Filelist like:
/Users/Utilizator/Documents/sample.sh

Open in new window

Many things, but no results (
0
So I would like to make this program read a user inputted matrix instead of the one that is provided in the main function. Also, the limit to the 2d matrix should be more than 9, but no more than about 100 and should also be user defined.

The main function purpose that I had in mind would be something like:
int main(){
    int graph[V][V];
  printf("Enter number of towns: ");
  scanf("%d", V);
  printf("Enter distance matrix");
  scanf("%d", graph[V][V]);
  dijkstra(graph, 0);
return 0;}

Open in new window

which is giving me a great headache trying to write.. Any help would be greatly appreciated. Thank you.


// A C / C++ program for Dijkstra's single source shortest path algorithm.
// The program is for adjacency matrix representation of the graph
  
#include <stdio.h>
#include <limits.h>
  
// Number of vertices in the graph
#define V 9
  
// A utility function to find the vertex with minimum distance value, from
// the set of vertices not yet included in shortest path tree
int minDistance(int dist[], bool sptSet[])
{
   // Initialize min value
   int min = INT_MAX, min_index;
  
   for (int v = 0; v < V; v++)
     if (sptSet[v] == false && dist[v] <= min)
         min = dist[v], min_index = v;
  
   return min_index;
}
  
// A utility function to print the constructed distance array
int printSolution(int dist[], int n)
{
   printf("Vertex   Distance from Source\n");
   for (int i = 0; i < V; i++)
      printf("%d \t\t %d\n", i, dist[i]);
}
  
// Funtion that 

Open in new window

0
i am using turbo c++ in my pc and the cursor has an issue that when i type the code and i have to enter a line in my typed code then the cursor simply moves to next line instead of adding a line .Moreover on doing any sort of correction in data like adding some new words in a particular line then the succeeding words get erased instead of shifting...
0

Objective-C Programming

175

Solutions

206

Contributors

Objective-C is an object-oriented programming language that is a strict superset of C (any valid C code is equally valid Objective-C code), and it inherits its object-oriented capabilities from Smalltalk. All procedural syntax is identical to that of C, and all object-oriented syntax is an implementation of Smalltalk messaging. It is the main programming language used by Apple for OS-X and iOS and their respective APIs/ Objective-C inherits the syntax, primitive types, and flow control statements of C and adds syntax for defining classes and methods.

Top Experts In
Objective-C Programming
<
Monthly
>

No Top Experts for this time period. Answer questions to earn the title!