Blog

iOS Programs

UITableView

  • Simple UITableView RW TableViews Using iOS
  • Segue
  • TableViewController
  • Sections
  • Deleting Rows
  • Inserting Rows
  • Moving Rows
  • Custom Cells
  • Static Cells
  • Custom Action on Swipe
  • Display Checkmark
  • Accessory Views
  • Indexing
  • Table View Cell to Multiple Views Youtube Jared Davidson
  • Download Table Data in Excel
  • Expanding Table View Cells
  • Table View cells with Dynamic Size

UIScrollView

  • Frames vs Bounds
  • Simple ScrollView
  • ScrollView using Code
  • Zooming
  • Centering
  • Paging ScrollViews I
  • Paging ScrollViews II

 

UICollectionView

  • Simple
  • Segue
  • Sections
  • Insert, Delete

UIImagePickerController

  • Simple

Complete Application

UIKit Controls

  • Making a Round Image
  • Making a Round Button

UITextField

  • Custom TextField
  • Doing Validation

UIGestureRecognizer

  • Pan
  • Swipe

Concurrency

  • Background updates

Core Data

  • Adding and Fetching
  • NSManagedObject subclasses

 

 

 

 

 

 

 

 

Advertisements

React Hello World Demo 4 Adding Styles

index.js

import React from 'react';
import ReactDOM from 'react-dom';
 
const {createElement} = React
const {render} = ReactDOM
 
const style = {
    backgroundColor: 'orange',
    color: 'white',
    fontFamily: 'verdana'
}

const title = createElement(
    'h1',
    {id: 'title', className: 'header', style: style},
    'Hello World'
)
 
render(
    title,
    document.getElementById('root')
)

React Hello World Demo 3

index.js

import React from 'react';
import ReactDOM from 'react-dom';

const {createElement} = React
const {render} = ReactDOM

const title = createElement(
    'h1',
    {id: 'title', className: 'header'},
    'Hello World'
)

render(
    title,
    document.getElementById('root')
)